| /xsrc/external/mit/pixman/dist/test/ |
| prng-test.c | 57 #define BUFSIZE (8 * 1024 * 1024) 65 uint8_t *buf = aligned_malloc (16, BUFSIZE + 1); 70 prng_randmemset_r (&prng, buf, BUFSIZE, 0); 73 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 77 prng_randmemset_r (&prng, buf + 1, BUFSIZE, 0); 80 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 85 prng_randmemset_r (&prng, buf, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 89 (double)BUFSIZE * N / 1000000. / (t2 - t1)); 94 prng_randmemset_r (&prng, buf + 1, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); 98 (double)BUFSIZE * N / 1000000. / (t2 - t1)) [all...] |
| lowlevel-blt-bench.c | 46 #define BUFSIZE (WIDTH * HEIGHT * 4) 70 memcpy (dst, src, BUFSIZE - 64); 71 memcpy (src, dst, BUFSIZE - 64); 72 n += 4 * (BUFSIZE - 64); 83 memcpy ((char *)dst + 1, (char *)src + x, BUFSIZE - 64); 84 memcpy ((char *)src + 1, (char *)dst + x, BUFSIZE - 64); 85 n -= 4 * (BUFSIZE - 64); 480 memcpy (dst, src, BUFSIZE); 481 memcpy (src, dst, BUFSIZE); 502 memcpy (dst, src, BUFSIZE); [all...] |
| /xsrc/external/mit/libpciaccess/dist/src/ |
| common_vgaarb.c | 43 #define BUFSIZE 64 129 char buf[BUFSIZE + 1]; /* reading BUFSIZE characters, + 1 for NULL */ 139 ret = read(pci_sys->vgaarb_fd, buf, BUFSIZE); 143 buf[ret] = 0; /* ret will never be greater than BUFSIZE */ 231 char buf[BUFSIZE + 1]; /* reading BUFSIZE characters, + 1 for NULL */ 239 len = snprintf(buf, BUFSIZE, "target PCI:%04x:%02x:%02x.%x", 246 ret = read(pci_sys->vgaarb_fd, buf, BUFSIZE); 250 buf[ret] = 0; /* ret will never be greater than BUFSIZE */ [all...] |
| /xsrc/external/mit/xfs/dist/os/ |
| osdep.h | 52 #define BUFSIZE 4096
|
| io.c | 218 (oci->bufcnt < BUFSIZE) && (needed < BUFSIZE)) { 221 ibuf = (char *) FSrealloc(oci->buffer, BUFSIZE); 223 oci->size = BUFSIZE; 601 oci->buffer = (char *) FSalloc(BUFSIZE); 607 oci->size = BUFSIZE; 622 oco->buf = (unsigned char *) FSalloc(BUFSIZE); 627 oco->size = BUFSIZE;
|
| /xsrc/external/mit/libFS/dist/src/ |
| FSConnServ.c | 160 char buf[BUFSIZE]; 178 if (pend > BUFSIZE) 179 pend = BUFSIZE;
|
| FSOpenServ.c | 240 if ((svr->bufptr = svr->buffer = FSmalloc(BUFSIZE)) == NULL) { 243 svr->bufmax = svr->buffer + BUFSIZE;
|
| FSlibint.h | 102 #ifndef BUFSIZE 103 #define BUFSIZE 2048 /* FS output buffer size. */
|
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| XlcDL.c | 339 char lc_dir[BUFSIZE], lc_lib_dir[BUFSIZE]; 343 if (_XlcLocaleDirName(lc_dir, BUFSIZE, lc_name) == NULL) 345 if (_XlcLocaleLibDirName(lc_lib_dir, BUFSIZE, lc_name) == NULL) 380 char lc_dir[BUFSIZE]; 388 if (_XlcLocaleLibDirName(lc_dir, BUFSIZE, lc_name) == NULL) return (XIM)0; 423 char lc_dir[BUFSIZE]; 432 if (_XlcLocaleLibDirName(lc_dir, BUFSIZE, lc_name) == NULL) return False; 467 char lc_dir[BUFSIZE]; 475 if (_XlcLocaleDirName(lc_dir, BUFSIZE, lc_name) == NULL) return False [all...] |
| lcDB.c | 55 #ifndef BUFSIZE 56 #define BUFSIZE 2048 60 #ifdef BUFSIZE 61 #undef BUFSIZE 63 #define BUFSIZE 6144 /* 2048*3 */ 154 int bufsize; /* bufMaxSize >= bufsize >= 0 */ member in struct:__anon5701 155 int bufMaxSize; /* default : BUFSIZE */ 169 parse_info.buf = Xmalloc(BUFSIZE); 170 parse_info.bufMaxSize = BUFSIZE; [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| pickdepth.c | 132 #define BUFSIZE 512 137 GLuint selectBuf[BUFSIZE]; 146 glSelectBuffer(BUFSIZE, selectBuf);
|
| picksquare.c | 118 #define BUFSIZE 512 122 GLuint selectBuf[BUFSIZE]; 131 glSelectBuffer (BUFSIZE, selectBuf);
|
| select.c | 151 #define BUFSIZE 512 155 GLuint selectBuf[BUFSIZE]; 158 glSelectBuffer (BUFSIZE, selectBuf);
|
| /xsrc/external/mit/xkbevd/dist/ |
| cfgscan.c | 50 #define BUFSIZE 512 52 static char buf[BUFSIZE]; 240 if (nInBuf < BUFSIZE - 1) 311 if (nInBuf < BUFSIZE - 1) 350 if (nInBuf < BUFSIZE - 1)
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imDefIm.c | 547 CARD32 buf32[BUFSIZE/4]; 574 CARD32 buf32[BUFSIZE/4]; 580 CARD32 reply32[BUFSIZE/4]; 622 buf_size = BUFSIZE; 754 CARD32 buf32[BUFSIZE/4]; 757 CARD32 reply32[BUFSIZE/4]; 768 buf_size = BUFSIZE; 813 CARD32 buf32[BUFSIZE/4]; 818 CARD32 reply32[BUFSIZE/4]; 840 buf_size = BUFSIZE; [all...] |
| imDefIc.c | 97 CARD32 tmp_buf32[BUFSIZE/4]; 106 CARD32 reply32[BUFSIZE/4]; 147 data_len = BUFSIZE - buf_size; 196 buf_size = BUFSIZE; 303 CARD32 reply32[BUFSIZE/4]; 377 buf_size = BUFSIZE; 670 CARD32 tmp_buf32[BUFSIZE/4]; 679 CARD32 reply32[BUFSIZE/4]; 715 data_len = BUFSIZE - buf_size; 778 buf_size = BUFSIZE; [all...] |
| imExten.c | 223 CARD32 buf32[BUFSIZE/4]; 228 CARD32 reply32[BUFSIZE/4]; 264 buf_size = BUFSIZE; 423 CARD32 reply32[BUFSIZE/4]; 458 buf_size = BUFSIZE; 528 CARD32 buf32[BUFSIZE/4];
|
| imDefLkup.c | 136 CARD32 buf32[BUFSIZE/4]; 140 CARD32 reply32[BUFSIZE/4]; 156 buf_size = BUFSIZE; 194 CARD32 buf32[BUFSIZE/4]; 263 CARD32 buf32[BUFSIZE/4]; 266 CARD32 reply32[BUFSIZE/4]; 296 buf_size = BUFSIZE; 619 CARD32 buf32[BUFSIZE/4]; 623 CARD32 reply32[BUFSIZE/4]; 647 buf_size = BUFSIZE; [all...] |
| imTransR.c | 271 CARD32 reply32[BUFSIZE/4]; 277 buf_size = BUFSIZE;
|
| imDefFlt.c | 47 CARD32 buf32[BUFSIZE/4]; 55 XLookupString(ev, buf, BUFSIZE, &keysym, NULL);
|
| /xsrc/external/mit/xorg-server/dist/os/ |
| io.c | 121 #define BUFSIZE 16384 378 (oci->bufcnt < BUFSIZE) && (needed < BUFSIZE)) { 381 ibuf = (char *) realloc(oci->buffer, BUFSIZE); 383 oci->size = BUFSIZE; 929 if (notWritten + BUFSIZE <= INT_MAX) { 930 obuf = realloc(oco->buf, notWritten + BUFSIZE); 938 oco->size = notWritten + BUFSIZE; 991 oci->buffer = malloc(BUFSIZE); 996 oci->size = BUFSIZE; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/os/ |
| io.c | 372 (oci->bufcnt < BUFSIZE) && (needed < BUFSIZE)) 376 ibuf = (char *)realloc(oci->buffer, BUFSIZE); 379 oci->size = BUFSIZE; 981 notWritten + BUFSIZE); 991 oco->size = notWritten + BUFSIZE; 1057 oci->buffer = malloc(BUFSIZE); 1063 oci->size = BUFSIZE; 1079 oco->buf = calloc(1, BUFSIZE); 1085 oco->size = BUFSIZE; [all...] |
| osdep.h | 56 #define BUFSIZE 4096
|
| /xsrc/external/mit/xkbcomp/dist/ |
| xkbscan.c | 58 #define BUFSIZE 4096 59 static char readBuf[BUFSIZE]; 291 readBufLen = fread(readBuf, 1, BUFSIZE, yyin);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| disk_cache.c | 733 #define BUFSIZE 256 * 1024 761 out = malloc(BUFSIZE * sizeof(unsigned char)); 766 int remaining = in_data_size - BUFSIZE; 768 in_data_size -= BUFSIZE; 774 strm.avail_out = BUFSIZE; 780 size_t have = BUFSIZE - strm.avail_out;
|