Home
last modified time | relevance | path

Searched refs:vmnewof (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/lib/libast/common/port/
H A Dmc.c245 if (!(vm = vmopen(Vmdcheap, Vmbest, 0)) || !(mc = vmnewof(vm, 0, Mc_t, 1, 0))) in mcopen()
281 else if (!(mc->translation = vmnewof(vm, 0, char, 1, 0))) in mcopen()
288 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0))) in mcopen()
292 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0))) in mcopen()
435 if (!(sp = vmnewof(mc->vm, 0, Mcset_t, i + 1, 0))) in mcput()
461 if (!(mp = vmnewof(mc->vm, 0, char*, i + 1, 0))) in mcput()
473 if (!(mp = vmnewof(mc->vm, sp->msg, char*, i + 1, 0))) in mcput()
/titanic_44/usr/src/lib/libdll/common/
H A Ddllscan.c241 if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) in dllsopen()
264 if (!(scan->pb = vmnewof(vm, 0, char, t - (char*)name, 2))) in dllsopen()
276 if (!(s = vmnewof(vm, 0, char, t - (char*)name, 1))) in dllsopen()
491 if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b)))) in dllsread()
498 else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b)))) in dllsread()
/titanic_44/usr/src/lib/libast/common/misc/
H A Dmagic.c847 ep->mime = vmnewof(mp->vm, ep->mime, char, sfvalue(rp), 0); in ckmagic()
857 ep->desc = vmnewof(mp->vm, ep->desc, char, strlen(t), 1); in ckmagic()
875 ep->mime = vmnewof(mp->vm, ep->mime, char, strlen(t), strlen(e)); in ckmagic()
884 ep->desc = vmnewof(mp->vm, ep->desc, char, sfvalue(gp), 0); in ckmagic()
1654 first = ep = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
1692 ep = ret->next = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
1730 ep = ep->next = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
2025 if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) in load()
2046 ep->value.str = vmnewof(mp->vm, 0, char, ep->mask + 1, 0); in load()
2054 ep->value.str = vmnewof(mp->vm, 0, char, ep->mask, 0); in load()
[all …]
H A Dfastfind.c196 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, sizeof(Encode_t) - sizeof(Code_t)))) in findopen()
380 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, i))) in findopen()
523 if (!(fp->dirs = vmnewof(fp->vm, 0, char*, 2 * k + 1, 0))) in findopen()
525 if (!(fp->lens = vmnewof(fp->vm, 0, int, 2 * k, 0))) in findopen()
/titanic_44/usr/src/lib/libast/common/include/
H A Dvmalloc.h317 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/titanic_44/usr/src/lib/libast/amd64/include/ast/
H A Dvmalloc.h317 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/titanic_44/usr/src/lib/libast/sparcv9/include/ast/
H A Dvmalloc.h317 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/titanic_44/usr/src/lib/libast/i386/include/ast/
H A Dvmalloc.h317 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/titanic_44/usr/src/lib/libast/sparc/include/ast/
H A Dvmalloc.h317 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/titanic_44/usr/src/lib/libpp/common/
H A Dpplib.h855 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x)
/titanic_44/usr/src/lib/libast/common/
H A DRELEASE1350 vmalloc.h: fix vmnewof() definition
1568 add vmdisc() and change vmnewof() to use vmresize()