Home
last modified time | relevance | path

Searched refs:oldof (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrdup.c59 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/libpp/
H A Dppinput.c129 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 Dppcontrol.c564 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 Dpplib.h850 #undef oldof
851 #define oldof(p,t,n,x) vmoldof(Vmregion,p,t,n,x) macro
H A Dppcall.c107 pp.token = p = oldof(0, char, 0, n); in ppcall()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregexec.c78 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regexec()
H A Dregrexec.c169 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regrexec()
H A Dregsubexec.c220 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regsubexec()
H A Dregnexec.c2070 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regnexec()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathfind.c64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir)))) in pathinclude()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dast.h92 #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 Dast.h205 #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 Diconv.c1263 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 DRELEASE23 12-05-21 comp/strdup.c: use oldof() since mem overwritten by string copy