Searched refs:adjbuf (Results 1 – 6 of 6) sorted by relevance
/external/one-true-awk/ |
D | run.c | 102 int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, in adjbuf() function 495 if (!adjbuf(&buf, &bufsz, tlen + 1, recsize, 0, func)) { in makearraystring() 848 adjbuf(&buf, &bufsize, MAXNUMSIZE+1+p-buf, recsize, &p, "format1"); in format() 862 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format2"); in format() 864 if (!adjbuf(&fmt, &fmtsz, MAXNUMSIZE+1+t-fmt, recsize, &t, "format3")) in format() 886 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format"); in format() 894 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format4"); in format() 929 adjbuf(&buf, &bufsize, 1+n+p-buf, recsize, &p, "format5"); in format() 936 adjbuf(&buf, &bufsize, 1+strlen(p)+n+p-buf, recsize, &p, "format6"); in format() 950 if (!adjbuf(&buf, &bufsize, 1+n+p-buf, recsize, &p, "format7")) in format() [all …]
|
D | lib.c | 257 if (!adjbuf(&buf, &bufsize, 1+rr-buf, in readrec() 266 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, in readrec() 272 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3")) in readrec() 556 if (!adjbuf(&record, &recsize, 1+strlen(p)+r-record, recsize, &r, "recbld 1")) in recbld() 561 if (!adjbuf(&record, &recsize, 2+strlen(sep)+r-record, recsize, &r, "recbld 2")) in recbld() 567 if (!adjbuf(&record, &recsize, 2+r-record, recsize, &r, "recbld 3")) in recbld()
|
D | lex.c | 120 if (!adjbuf(&buf, &sz, bp-buf+2, 100, &bp, "gettok")) in gettok() 137 if (!adjbuf(&buf, &sz, bp-buf+2, 100, &bp, "gettok")) in gettok() 381 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string")) in string() 540 if (!adjbuf(&buf, &bufsz, bp-buf+3, 500, &bp, "regexpr")) in regexpr()
|
D | b.c | 388 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter1")) in cclenter() 396 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter2")) in cclenter() 685 if (!adjbuf((char **) &buf, &bufsize, bufsize+1, quantum, 0, "fnematch")) in fnematch() 1077 if (!adjbuf((char **) &buf, &bufsz, n, n, (char **) &bp, "relex1")) in relex() 1104 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "relex2")) in relex()
|
D | proto.h | 153 extern int adjbuf(char **pb, int *sz, int min, int q, char **pbp, const char *what);
|
D | FIXES | 35 adjbuf minlen error (cannot be 0) in cat, resulting in NULL pbuf. 71 call to adjbuf just above it only allows for 1 char. This can 519 fixed some null pointer refs calling adjbuf.
|