Searched defs:bufsize (Results 1 - 7 of 7) sorted by relevance
/ndk/sources/host-tools/make-3.81/ |
H A D | 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 */
|
H A D | 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...] |
/ndk/sources/host-tools/nawk-20071023/ |
H A D | 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);
|
H A D | lib.c | 109 int bufsize = *pbufsize, savebufsize = bufsize; local 144 c = readrec(&buf, &bufsize, infile); 159 *pbufsize = bufsize; 186 int bufsize = *pbufsize; local 200 if (rr-buf+1 > bufsize) 201 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 1")) 209 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, "readrec 2")) 214 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3")) 219 *pbufsize = bufsize; [all...] |
H A D | run.c | 397 int bufsize = recsize; local 400 if ((buf = (char *) malloc(bufsize)) == NULL) 415 n = readrec(&buf, &bufsize, fp); 433 n = getrec(&buf, &bufsize, 0); 817 int bufsize = *pbufsize; local 824 adjbuf(&buf, &bufsize, MAXNUMSIZE+1+p-buf, recsize, &p, "format1"); 838 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format2"); 850 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format"); 858 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format4"); 892 adjbuf(&buf, &bufsize, [all...] |
/ndk/sources/host-tools/make-3.81/w32/subproc/ |
H A D | sub_proc.c | 608 DWORD bufsize = 1024; local 611 pproc->outp = malloc(bufsize); 624 if (pproc->outcnt + nread > bufsize) { 625 bufsize += nread + 512; 626 pproc->outp = realloc(pproc->outp, bufsize); 640 DWORD bufsize = 1024; local 643 pproc->errp = malloc(bufsize); 655 if (pproc->errcnt + nread > bufsize) { 656 bufsize += nread + 512; 657 pproc->errp = realloc(pproc->errp, bufsize); [all...] |
/ndk/sources/android/support/src/stdio/ |
H A D | strtod.c | 3106 int bufsize, f; local 3150 bufsize = (sigfigs > ndigits) ? sigfigs : ndigits; 3151 s0 = rv_alloc(bufsize); 3161 for (s = s0 + bufsize - 1; s > s0 + sigfigs - 1; s--)
|
Completed in 739 milliseconds