/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppinput.c | 129 p = (cur->buffer = oldof(0, char, 0, pp.member->size + PPBAKSIZ + 1)) + PPBAKSIZ; in pppush() 171 *(p = (cur->buffer = oldof(0, char, 0, PPBUFSIZ + PPBAKSIZ + 1)) + PPBAKSIZ) = 0; in pppush() 302 pp.token = p = oldof(0, char, 0, n); in ppexpand() 682 mac->formals = (char*)memcpy(oldof(0, char, 0, s - b), b, s - b); in ppload() 688 mac->value = (char*)memcpy(oldof(0, char, 0, mac->size + 1), b, mac->size + 1); in ppload()
|
H A D | ppcontrol.c | 564 p1 = s = oldof(0, char, 0, strlen(p) + 32); in ppcontrol() 681 p = mac->formals = oldof(0, char, 0, n); in ppcontrol() 762 p = mac->formals = oldof(0, char, 0, MAXFORMALS * (MAXID + 1)); in ppcontrol() 870 p = mac->value = oldof(0, char, 0, n); in ppcontrol() 1368 p = v = oldof(0, char, 0, n); in ppcontrol() 1443 mac->value = oldof(0, char, 0, c); in ppcontrol()
|
H A D | pplib.h | 850 #undef oldof 851 #define oldof(p,t,n,x) vmoldof(Vmregion,p,t,n,x) macro
|
H A D | ppcall.c | 107 pp.token = p = oldof(0, char, 0, n); in ppcall()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strdup.c | 59 return (s && (t = oldof(0, char, n = strlen(s) + 1, 0))) ? (char*)memcpy(t, s, n) : (char*)0; in strdup()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regexec.c | 78 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regexec()
|
H A D | regrexec.c | 169 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regrexec()
|
H A D | regsubexec.c | 220 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regsubexec()
|
H A D | regnexec.c | 2070 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regnexec()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathfind.c | 64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir)))) in pathinclude()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | ast.h | 92 #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | ast.h | 205 #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | iconv.c | 1263 if (!cc->buf && !(cc->buf = oldof(0, char, cc->size = SF_BUFSIZE, 0))) in _ast_iconv() 1297 if (!cc->buf && !(cc->buf = oldof(0, char, cc->size = SF_BUFSIZE, 0))) in _ast_iconv()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/ |
H A D | RELEASE | 23 12-05-21 comp/strdup.c: use oldof() since mem overwritten by string copy
|