Home
last modified time | relevance | path

Searched refs:emalloc (Results 1 – 25 of 46) sorted by relevance

12

/openbsd/src/usr.bin/make/
Dmemory.c58 emalloc(size_t size) in emalloc() function
79 p = emalloc(size); in estrdup()
124 return emalloc(s); in element_alloc()
Dstr.c63 result = emalloc(len1 + len2 + 1); in Str_concati()
109 *buffer = emalloc(curlen = len); in brk_string()
446 s = emalloc(end - begin + 1); in Str_dupi()
457 t = s = emalloc(end - begin + 1); in escape_dupi()
Dtargequiv.c147 kobjdir = emalloc(objdir_len+2); in Targ_setdirs()
236 buffer = emalloc(bufsize); in absolute_reduce()
249 buffer = emalloc(bufsize); in relative_reduce()
267 buffer = emalloc(bufsize); in relative_reduce2()
Dlowparse.c141 buf = emalloc(sz); in simplify()
153 istream = emalloc(sizeof(*istream)); in new_input_file()
184 istream = emalloc(sizeof(*istream)); in new_input_string()
Dmemory.h41 extern void *emalloc(size_t);
Dvarmodifiers.c427 pattern = emalloc(sizeof(VarPattern)); in get_sysvpattern()
581 errbuf = emalloc(errlen); in VarREError()
872 int *qargs = emalloc(sizeof(int)); in check_quote()
941 t = emalloc(len+1); in do_upper()
955 t = emalloc(len+1); in do_lower()
983 pattern = emalloc(sizeof(VarPattern)); in common_get_patternarg()
Dbuf.c176 bp->inPtr = bp->endPtr = bp->buffer = emalloc(size); in Buf_Init()
/openbsd/src/usr.sbin/netgroup_mkdb/
Dstr.c56 buf->s_str = emalloc(len); in str_append()
77 sptr = ptr = emalloc(buf->s_len + len + (del ? 2 : 1)); in str_prepend()
Dutil.h36 void *emalloc(size_t);
Dutil.c42 emalloc(size_t s) in emalloc() function
Dnetgroup_mkdb.c246 e = emalloc(sizeof(struct nentry)); in ng_load()
265 e = emalloc(sizeof(struct nentry)); in ng_load()
461 char *ptr = emalloc(e->n_size); in ng_print()
/openbsd/src/usr.sbin/config/
Dutil.c62 emalloc(size_t size) in emalloc() function
118 nv = emalloc(sizeof(*nv)); in newnv()
Dhash.c137 hp = emalloc(sizeof(*hp)); in newhashent()
197 ht = emalloc(sizeof *ht); in ht_new()
Dsem.c185 a = emalloc(sizeof *a); in defattr()
318 dev = emalloc(sizeof *dev); in getdevbase()
450 deva = emalloc(sizeof *deva); in getdevattach()
619 cf = emalloc(sizeof *cf); in addconf()
679 i = emalloc(sizeof *i); in newdevi()
Dmain.c386 low = emalloc(strlen(name) + 1); in defoption()
432 low = emalloc(strlen(name) + 1); in removeoption()
456 low = emalloc(strlen(name) + 1); in addoption()
Dfiles.c145 fi = emalloc(sizeof *fi); in addfile()
181 oi = emalloc(sizeof *oi); in addobject()
/openbsd/src/usr.bin/make/lst.lib/
DlstInt.h52 #define PAlloc(var,ptype) var = (ptype) emalloc (sizeof (*var))
/openbsd/src/usr.sbin/makefs/
Dcd9660.c430 real_root->isoDirRecord = emalloc(sizeof(*real_root->isoDirRecord)); in cd9660_makefs()
637 temp = emalloc(sizeof(*temp)); in cd9660_setup_volume_descriptors()
650 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
660 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
682 node->isoExtAttributes = emalloc(sizeof(*node->isoExtAttributes));
737 newnode->isoDirRecord = emalloc(sizeof(*newnode->isoDirRecord)); in cd9660_translate_node()
940 tmp = emalloc(ISO_FILENAME_MAXLENGTH_WITH_PADDING); in cd9660_rename_filename()
1390 n = emalloc(sizeof(struct s)); \
1826 tfsnode = emalloc(sizeof(*tfsnode)); in cd9660_create_virtual_entry()
1828 temp->isoDirRecord = emalloc(sizeof(*temp->isoDirRecord)); in cd9660_create_virtual_entry()
Dxmalloc.c8 emalloc(size_t size) in emalloc() function
Dmakefs.h191 void *emalloc(size_t);
/openbsd/src/sbin/fsck/
Dfsutil.h44 void *emalloc(size_t);
Dpreen.c259 d = emalloc(sizeof(*d)); in finddisk()
299 p = emalloc(sizeof(*p)); in addpart()
/openbsd/src/usr.bin/fgen/
Dfgen.l101 emalloc(size_t sz) in emalloc() function
1052 fheader = emalloc(outbufsiz);
1257 fcode = emalloc(sizeof(*fcode));
1320 alias = emalloc(sizeof(*alias));
1376 fcode = emalloc(sizeof(*fcode));
1409 fcode = emalloc(sizeof(*fcode));
1448 fcode = emalloc(sizeof(*fcode));
1529 fcode = emalloc(sizeof(*fcode));
1686 fcode = emalloc(sizeof(*fcode));
1917 fcode = emalloc(sizeof(*fcode));
[all …]
/openbsd/src/usr.bin/find/
Dextern.h34 void *emalloc(size_t);
Dmisc.c122 emalloc(size_t len) in emalloc() function

12