Searched refs:alloc (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/regex/
H A Dregsubcomp.c132 if (!(sub = (regsub_t*)alloc(p->env->disc, 0, sizeof(regsub_t) + strlen(s))) || !(sub->re_ops = (regsubop_t*)alloc(p->env->disc, 0, (nops = 8) * sizeof(regsubop_t))))
135 alloc(p->env->disc, sub, 0);
291 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t))))
327 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t))))
345 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t))))
371 alloc(env->disc, sub->re_buf, 0);
373 alloc(env->disc, sub->re_ops, 0);
374 alloc(env->disc, sub, 0);
H A Dreglib.h40 #define alloc _reg_alloc macro
583 extern void* alloc(regdisc_t*, void*, size_t);
H A Dreginit.c25 * posix regex state and alloc
388 * malloc(n) alloc(0,n)
389 * realloc(p,n) alloc(p,n)
390 * free(p) alloc(p,0)
394 alloc(register regdisc_t* disc, void* p, size_t n) function
H A Dregsubexec.c40 if (!((b)->re_buf = alloc(p->env->disc, (b)->re_buf, a))) \
H A Dregcomp.c150 if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra))
182 alloc(disc, e, 0);
222 alloc(disc, e, 0);
1912 if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t)))
3061 if (!(q = (size_t*)alloc(env->disc, 0, (n + 1) * sizeof(size_t))))
3065 alloc(env->disc, q, 0);
3168 alloc(env->disc, q, 0);
3269 if (!(p->env = (Env_t*)alloc(disc, 0, sizeof(Env_t))))
H A Dregnexec.c2043 alloc(env->disc, env, 0);
/ast/src/lib/libast/hash/
H A Dhashlib.h47 Hash_alloc_f alloc; /* value allocation routine */ member in struct:__anon262
49 Hash_region_f region; /* region alloc/free routine */
H A Dhashdump.c143 if (root->local->alloc) sfprintf(sfstderr, "alloc=0x%08lx ", (unsigned long)root->local->alloc);
H A Dhashalloc.c102 tab->root->local->alloc = va_arg(ap, Hash_alloc_f);
H A Dhashlook.c359 if (value && tab->root->local->alloc) value = (*tab->root->local->alloc)((unsigned int)integralof(value));
/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c41 #define PFALLOC(pf) ((pf)->data.data.alloc)
54 Vmalloc_t* vm; /* region alloc from */
56 Vmulong_t nalloc; /* number of alloc calls */
57 Vmulong_t alloc; /* amount allocated */ member in struct:_pfdata_s
363 reg Vmulong_t nalloc, alloc, nfree, free; local
377 alloc = free = nalloc = nfree = 0;
397 alloc += PFALLOC(pf);
408 bufp = pfsummary(bufp,nalloc,alloc,nfree,free,0,0);
414 alloc = 0;
416 alloc
[all...]
/ast/src/cmd/ss/
H A Dss.c101 * alloc!=0 allocate space for name
105 enter(char* name, int alloc) argument
120 if (!alloc) sp->name = name;
/ast/src/lib/libast/misc/
H A Dstk.c101 int alloc; member in struct:__anon294
398 increment(alloc);
/ast/src/lib/libz/
H A Dzutil.h97 # include <alloc.h>
/ast/src/cmd/INIT/
H A Dratz.c217 * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
637 # include <alloc.h>
962 #ifndef MY_ZCALLOC /* Any system without a special alloc function */

Completed in 574 milliseconds