Home
last modified time | relevance | path

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

12

/openbsd-src/usr.bin/make/
H A Dmemory.c58 emalloc(size_t size) in emalloc() function
79 p = emalloc(size); in estrdup()
124 return emalloc(s); in element_alloc()
H A 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()
H A 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()
H A 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()
H A Dmemory.h41 extern void *emalloc(size_t);
H A 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()
H A Dbuf.c176 bp->inPtr = bp->endPtr = bp->buffer = emalloc(size); in Buf_Init()
/openbsd-src/usr.sbin/netgroup_mkdb/
H A Dstr.c56 buf->s_str = emalloc(len); in str_append()
77 sptr = ptr = emalloc(buf->s_len + len + (del ? 2 : 1)); in str_prepend()
H A Dutil.h36 void *emalloc(size_t);
H A Dutil.c42 emalloc(size_t s) in emalloc() function
H A 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/
H A Dutil.c62 emalloc(size_t size) in emalloc() function
118 nv = emalloc(sizeof(*nv)); in newnv()
H A Dhash.c137 hp = emalloc(sizeof(*hp)); in newhashent()
197 ht = emalloc(sizeof *ht); in ht_new()
H A 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()
H A 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()
H A Dfiles.c145 fi = emalloc(sizeof *fi); in addfile()
181 oi = emalloc(sizeof *oi); in addobject()
/openbsd-src/usr.bin/make/lst.lib/
H A DlstInt.h52 #define PAlloc(var,ptype) var = (ptype) emalloc (sizeof (*var))
/openbsd-src/sbin/fsck/
H A Dfsutil.h44 void *emalloc(size_t);
H A Dpreen.c259 d = emalloc(sizeof(*d)); in finddisk()
299 p = emalloc(sizeof(*p)); in addpart()
/openbsd-src/usr.sbin/makefs/
H A 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(sizeo in cd9660_create_virtual_entry()
[all...]
H A Dxmalloc.c8 emalloc(size_t size) in emalloc() function
H A Dmakefs.h191 void *emalloc(size_t);
/openbsd-src/usr.bin/fgen/
H A 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/
H A Dextern.h34 void *emalloc(size_t);
H A Dmisc.c122 emalloc(size_t len) in emalloc() function

12