/ndk/sources/host-tools/make-3.81/ |
strcache.c | 39 static int bufsize = CACHE_BUFFER_SIZE; variable 46 new = (struct strcache *) xmalloc (sizeof (*new) + bufsize); 49 new->bytesfree = bufsize; 67 if (len > bufsize) 68 bufsize = len * 2; 168 if (size > bufsize) 169 bufsize = size; 170 return bufsize; 186 int totsize = 0, avgsize, maxsize = 0, minsize = bufsize; 187 int totfree = 0, avgfree, maxfree = 0, minfree = bufsize; [all...] |
ansi2knr.c | 238 #define bufsize 5000 /* arbitrary size */ macro 302 buf = malloc(bufsize); 309 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL ) 320 f: if ( line >= buf + (bufsize - 1) ) /* overflow check */ 322 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL ) 346 if ( line != buf + (bufsize - 1) ) /* overflow check */
|
/system/core/libzipfile/ |
centraldir.c | 186 ssize_t bufsize = file->bufsize;
local 194 if (bufsize < EOCD_LEN) {
195 fprintf(stderr, "Length is %zd -- too small\n", bufsize);
200 if (bufsize > MAX_EOCD_SEARCH) {
201 start = buf + bufsize - MAX_EOCD_SEARCH;
205 p = buf + bufsize - 4;
219 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd);
233 len = (buf+bufsize)-p;
|
/external/chromium/base/win/ |
registry.cc | 114 DWORD bufsize = arraysize(buf); local 115 LONG r = ::RegEnumValue(key_, index, buf, &bufsize, NULL, NULL, NULL, NULL);
|
/external/chromium/net/base/ |
nss_memio.c | 30 int bufsize; /* number of bytes allocated to buf */ member in struct:memio_buffer 90 mb->bufsize = size; 106 return (((mb->tail >= mb->head) ? mb->tail : mb->bufsize) - mb->head); 119 return mb->bufsize - mb->tail - (mb->head == 0); 134 if (mb->tail == mb->bufsize) 146 if (mb->tail == mb->bufsize) 167 if (mb->head == mb->bufsize) 178 if (mb->head == mb->bufsize) 223 PR_ASSERT(mb->bufsize); 251 PR_ASSERT(mb->bufsize); [all...] |
/external/chromium_org/base/win/ |
registry.cc | 147 DWORD bufsize = arraysize(buf); local 148 LONG r = ::RegEnumValue(key_, index, buf, &bufsize, NULL, NULL, NULL, NULL);
|
/external/chromium_org/net/base/ |
nss_memio.c | 30 int bufsize; /* number of bytes allocated to buf */ member in struct:memio_buffer 94 mb->bufsize = size; 110 return (((mb->tail >= mb->head) ? mb->tail : mb->bufsize) - mb->head); 123 return mb->bufsize - mb->tail - (mb->head == 0); 138 if (mb->tail == mb->bufsize) 150 if (mb->tail == mb->bufsize) 171 if (mb->head == mb->bufsize) 182 if (mb->head == mb->bufsize) 227 PR_ASSERT(mb->bufsize); 266 PR_ASSERT(mb->bufsize); [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
enc.c | 107 unsigned char *buff=NULL,*bufsize=NULL; local 218 else if (strcmp(*argv,"-bufsize") == 0) 221 bufsize=(unsigned char *)*(++argv); 312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>"); 345 if (bufsize != NULL) 349 for (n=0; *bufsize; bufsize++) 351 i= *bufsize; 357 bufsize++; 361 if (*bufsize != '\0' [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
bio_asn1.c | 95 int bufsize; member in struct:BIO_ASN1_BUF_CTX_t 169 ctx->bufsize = size; 237 OPENSSL_assert(ctx->buflen <= ctx->bufsize);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/cpp/ |
cpp-preproc.c | 238 int bufsize = BSIZE; local 253 buf = yasm_xmalloc((size_t)bufsize); 256 if (!fgets(p, bufsize-(p-buf), pp->f)) { 268 if ((p-buf) >= bufsize) { 271 bufsize *= 2; 272 buf = yasm_xrealloc(buf, (size_t)bufsize);
|
/external/chromium_org/tools/win/link_limiter/ |
limiter.cc | 104 DWORD bufsize = buffer.size(); local 107 &bufsize); 110 bufsize > buffer.size()) { 111 buffer.resize(bufsize);
|
/external/e2fsprogs/lib/ext2fs/ |
inode.c | 405 struct ext2_inode *inode, int bufsize) 479 memset(inode, 0, bufsize); 483 0, bufsize); 492 memset(inode, 0, bufsize); 496 0, bufsize); 498 memcpy(inode, scan->ptr, bufsize); 523 struct ext2_inode * inode, int bufsize) 548 if (bufsize == sizeof(struct ext2_inode)) { 580 if (bufsize < length) 581 length = bufsize; 609 0, bufsize); local [all...] |
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 386 int bufsize = 4096; local 389 bufs[i] = new byte[bufsize]; 393 len = fin.read(bufs[i], size, bufsize - size); 397 byte[] result = new byte[bufsize - 4096 + size]; 407 } while (size < bufsize); 408 bufsize *= 2; 422 int bufsize = 4096; local 424 byte[] buf = new byte[bufsize]; 428 len = fin.read(buf, size, bufsize - size); 435 } while (size < bufsize); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 188 int bufsize = sock.getReceiveBufferSize(); local 189 byte message[] = new byte[bufsize]; 190 DatagramPacket packet = new DatagramPacket(message, bufsize);
|
/external/openssl/apps/ |
enc.c | 107 unsigned char *buff=NULL,*bufsize=NULL; local 218 else if (strcmp(*argv,"-bufsize") == 0) 221 bufsize=(unsigned char *)*(++argv); 312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>"); 345 if (bufsize != NULL) 349 for (n=0; *bufsize; bufsize++) 351 i= *bufsize; 357 bufsize++; 361 if (*bufsize != '\0' [all...] |
/external/openssl/crypto/asn1/ |
bio_asn1.c | 95 int bufsize; member in struct:BIO_ASN1_BUF_CTX_t 169 ctx->bufsize = size; 237 OPENSSL_assert(ctx->buflen <= ctx->bufsize);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/alsa/ |
SDL_alsa_audio.c | 363 snd_pcm_uframes_t bufsize; local 372 status = SDL_NAME(snd_pcm_hw_params_get_buffer_size)(hwparams, &bufsize); 376 if ( !override && bufsize != spec->samples * 2 ) { 381 spec->samples = bufsize / 2; 391 fprintf(stderr, "ALSA: period size = %ld, periods = %u, buffer size = %lu\n", persize, periods, bufsize);
|
/hardware/ti/omap4xxx/camera/ |
Encoder_libjpeg.cpp | 66 int bufsize; member in struct:android::libjpeg_destination_mgr 74 dest->free_in_buffer = dest->bufsize; 82 dest->free_in_buffer = dest->bufsize; 88 dest->jpegsize = dest->bufsize - dest->free_in_buffer; 97 this->bufsize = size;
|
/ndk/sources/host-tools/nawk-20071023/ |
lex.c | 174 static int bufsize = 5; /* BUG: setting this small causes core dump! */ local 176 if (buf == 0 && (buf = (char *) malloc(bufsize)) == NULL) 187 c = gettok(&buf, &bufsize); 304 c = gettok(&buf, &bufsize);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-profile-table.h | 287 bufsize(bufsize_arg) { 292 int bufsize; member in struct:HeapProfileTable::BufferArgs 357 // at buf + buflen, and promise not to go beyond buf + bufsize. 367 char* buf, int buflen, int bufsize,
|
/external/dropbear/ |
loginrec.c | 313 unsigned int bufsize = sa_size; local 317 bufsize = sizeof(li->hostaddr); 319 memcpy((void *)&(li->hostaddr.sa), (const void *)sa, bufsize); [all...] |
/external/e2fsprogs/e2fsck/ |
journal.c | 71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - local 74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer");
|
/external/iputils/ninfod/ |
ni_ifaddrs.c | 166 size_t bufsize = 65536, lastbufsize = 0; local 172 void *newbuff = realloc(buff, bufsize); 173 if (newbuff == NULL || bufsize < lastbufsize) { 179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); 181 lastbufsize = bufsize; 182 bufsize *= 2;
|
/external/opencv/cv/src/ |
cvpyramids.cpp | 439 int channels, int *bufSize ) 443 if( !bufSize ) 445 *bufSize = 0; 459 *bufSize = bufStep * PU_SZ; 466 int channels, int *bufSize ) 470 if( !bufSize ) 472 *bufSize = 0; 486 *bufSize = bufStep * (PD_SZ + 1); 1195 int bufsize = 0; local [all...] |
/external/openssh/ |
loginrec.c | 419 unsigned int bufsize = sa_size; local 423 bufsize = sizeof(li->hostaddr); 425 memcpy(&li->hostaddr.sa, sa, bufsize); [all...] |