Searched refs:bufsz (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/host-tools/nawk-20071023/ |
D | run.c | 457 int bufsz = recsize; in array() local 460 if ((buf = (char *) malloc(bufsz)) == NULL) in array() 468 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array")) in array() 507 int bufsz = recsize; in awkdelete() local 509 if ((buf = (char *) malloc(bufsz)) == NULL) in awkdelete() 515 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "awkdelete")) in awkdelete() 535 int bufsz = recsize; in intest() local 547 if ((buf = (char *) malloc(bufsz)) == NULL) { in intest() 554 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "intest")) in intest() 947 int bufsz=3*recsize; in awksprintf() local [all …]
|
D | lex.c | 362 static int bufsz = 500; in string() local 364 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in string() 367 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string")) in string() 508 static int bufsz = 500; in regexpr() local 511 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in regexpr() 515 if (!adjbuf(&buf, &bufsz, bp-buf+3, 500, &bp, "regexpr")) in regexpr()
|
D | b.c | 294 static int bufsz = 100; in cclenter() local 297 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL) in cclenter() 315 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter1")) in cclenter() 323 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter2")) in cclenter() 771 static int bufsz = 100; in relex() local 795 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL) in relex() 805 if (!adjbuf((char **) &buf, &bufsz, n, n, (char **) &bp, "relex1")) in relex() 824 if (!adjbuf((char **) &buf, &bufsz, bp-buf+1, 100, (char **) &bp, "relex2")) in relex()
|
/ndk/sources/host-tools/make-3.81/ |
D | dir.c | 1128 static unsigned int bufsz; in read_dirstream() local 1139 if (sizeof *d - sizeof d->d_name + len > bufsz) in read_dirstream() 1143 bufsz *= 2; in read_dirstream() 1144 if (sizeof *d - sizeof d->d_name + len > bufsz) in read_dirstream() 1145 bufsz = sizeof *d - sizeof d->d_name + len; in read_dirstream() 1146 buf = xmalloc (bufsz); in read_dirstream()
|