Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dmc.c243 if (!(vm = vmopen(Vmdcheap, Vmbest, 0)) || !(mc = vmnewof(vm, 0, Mc_t, 1, 0))) in mcopen()
279 else if (!(mc->translation = vmnewof(vm, 0, char, 1, 0))) in mcopen()
286 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0))) in mcopen()
290 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0))) in mcopen()
433 if (!(sp = vmnewof(mc->vm, 0, Mcset_t, i + 1, 0))) in mcput()
459 if (!(mp = vmnewof(mc->vm, 0, char*, i + 1, 0))) in mcput()
471 if (!(mp = vmnewof(mc->vm, sp->msg, char*, i + 1, 0))) in mcput()
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c243 if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) in dllsopen()
266 if (!(scan->pb = vmnewof(vm, 0, char, t - (char*)name, 2))) in dllsopen()
281 if (!(t = vmnewof(vm, 0, char, i, 1))) in dllsopen()
295 if (!(s = vmnewof(vm, 0, char, t - (char*)name, 1))) in dllsopen()
511 if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b)))) in dllsread()
518 else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b)))) in dllsread()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.c860 ep->mime = vmnewof(mp->vm, ep->mime, char, sfvalue(rp), 0); in ckmagic()
870 ep->desc = vmnewof(mp->vm, ep->desc, char, strlen(t), 1); in ckmagic()
888 ep->mime = vmnewof(mp->vm, ep->mime, char, strlen(t), strlen(e)); in ckmagic()
897 ep->desc = vmnewof(mp->vm, ep->desc, char, sfvalue(gp), 0); in ckmagic()
1695 first = ep = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
1733 ep = ret->next = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
1771 ep = ep->next = vmnewof(mp->vm, 0, Entry_t, 1, 0); in load()
2066 if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) in load()
2087 ep->value.str = vmnewof(mp->vm, 0, char, ep->mask + 1, 0); in load()
2095 ep->value.str = vmnewof(mp->vm, 0, char, ep->mask, 0); in load()
[all …]
H A Dfastfind.c175 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, sizeof(Encode_t) - sizeof(Code_t)))) in findopen()
359 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, i))) in findopen()
502 if (!(fp->dirs = vmnewof(fp->vm, 0, char*, 2 * k + 1, 0))) in findopen()
504 if (!(fp->lens = vmnewof(fp->vm, 0, int, 2 * k, 0))) in findopen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dvmalloc.h33 #define vmnewof(v,o,t,n,x) (t*)_vm_resize(v,(void*)o,sizeof(t)*(n)+(x)) macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dvmalloc.h329 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpplib.h849 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE1538 vmalloc.h: fix vmnewof() definition
1756 add vmdisc() and change vmnewof() to use vmresize()