Home
last modified time | relevance | path

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

12345

/freebsd/usr.sbin/jail/
H A Djailparse.y108 j->name = emalloc(parentlen + strlen($1) + 2);
156 $$ = emalloc(sizeof(struct cfparam));
163 $$ = emalloc(sizeof(struct cfparam));
172 $$ = emalloc(sizeof(struct cfstrings));
189 $$ = emalloc(sizeof(struct cfstring));
198 $$ = emalloc(sizeof(struct cfstring));
202 v = emalloc(sizeof(struct cfvar));
223 v = emalloc(sizeof(struct cfvar));
H A Dconfig.c239 ns = emalloc(sizeof(struct cfstring)); in load_config()
286 fullpath = emalloc(dirlen + strlen(cfname) + 1); in include_config()
338 j = emalloc(sizeof(struct cfjail)); in add_jail()
378 ns = emalloc(sizeof(struct cfstring)); in add_param()
383 nv = emalloc(sizeof(struct cfvar)); in add_param()
405 ns = emalloc(sizeof(struct cfstring)); in add_param()
444 np = emalloc(sizeof(struct cfparam)); in add_param()
761 j->jp = jp = emalloc(j->njp * sizeof(struct jailparam)); in import_params()
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_efun.c90 ATF_TC(emalloc);
91 ATF_TC_HEAD(emalloc, tc) in ATF_TC_HEAD() argument
96 ATF_TC_BODY(emalloc, tc) in ATF_TC_BODY() argument
101 x = emalloc(-1); in ATF_TC_BODY()
131 ATF_TP_ADD_TC(tp, emalloc); in ATF_TP_ADD_TCS()
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1parse.y307 $$ = emalloc(sizeof(*$$));
313 $$ = emalloc(sizeof(*$$));
415 $$ = emalloc(sizeof(*$$));
430 $$ = emalloc(sizeof(*$$));
455 $$->members = emalloc(sizeof(*$$->members));
747 $$ = emalloc(sizeof(*$$));
769 $$ = emalloc(sizeof(*$$));
800 $$ = emalloc(sizeof(*$$));
813 $$ = emalloc(sizeof(*$$));
900 $$ = emalloc(sizeo
[all...]
H A Dasn1parse.c1826 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1835 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1935 (yyval.members) = emalloc(sizeof(*(yyval.members)));
1957 (yyval.member) = emalloc(sizeof(*(yyval.member)));
1981 (yyval.type)->members = emalloc(sizeof(*(yyval.type)->members));
2335 (yyval.members) = emalloc(sizeof(*(yyval.members)));
2364 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2403 (yyval.members) = emalloc(sizeof(*(yyval.members)));
2420 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2505 (yyval.value) = emalloc(sizeo
[all...]
/freebsd/sbin/rcorder/
H A Drcorder.c243 ent = emalloc(sizeof *ent + strlen(s)); in strnode_add()
265 temp = emalloc(sizeof(*temp)); in filenode_new()
298 rnode = emalloc(sizeof(*rnode)); in add_require()
321 head = emalloc(sizeof(*head)); in add_provide()
369 pnode = emalloc(sizeof(*pnode)); in add_provide()
379 f_pnode = emalloc(sizeof(*f_pnode)); in add_provide()
394 bf_ent = emalloc(sizeof *bf_ent + strlen(s)); in add_before()
557 head = emalloc(sizeof(*head)); in make_fake_provision()
564 pnode = emalloc(sizeof(*pnode)); in make_fake_provision()
574 f_pnode = emalloc(sizeof(*f_pnode)); in make_fake_provision()
[all …]
H A Dhash.c117 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); in Hash_InitTable()
252 e = (Hash_Entry *) emalloc(sizeof(*e) + keylen); in Hash_CreateEntry()
411 t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i); in RebuildTable()
H A Dealloc.h3 void *emalloc(size_t len);
H A Dealloc.c72 emalloc(size_t len) in emalloc() function
/freebsd/crypto/heimdal/lib/krb5/
H A Daes-test.c338 iov[0].data.data = emalloc(iov[0].data.length); in krb_enc_iov2()
342 iov[1].data.data = emalloc(iov[1].data.length); in krb_enc_iov2()
348 iov[2].data.data = emalloc(iov[2].data.length); in krb_enc_iov2()
352 iov[3].data.data = emalloc(iov[3].data.length); in krb_enc_iov2()
369 p = q = emalloc(len); in krb_enc_iov2()
388 p = q = emalloc(iov[1].data.length + iov[2].data.length); in krb_enc_iov2()
441 iov[0].data.data = emalloc(iov[0].data.length); in krb_enc_iov()
448 iov[1].data.data = emalloc(iov[1].data.length); in krb_enc_iov()
454 iov[2].data.data = emalloc(len); in krb_enc_iov()
493 iov[0].data.data = emalloc(iov[0].data.length); in krb_checksum_iov()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_crypto.c374 vp->ptr = emalloc(sizeof(struct autokey)); in make_keylist()
384 vp->sig = emalloc(sign_siglen); in make_keylist()
536 fp = emalloc(len); in crypto_recv()
623 peer->subject = emalloc(vallen + 1); in crypto_recv()
915 emalloc(sizeof(struct autokey)); in crypto_recv()
1041 fp = emalloc(len); in crypto_recv()
1603 vp->ptr = emalloc(vallen); in crypto_encrypt()
1622 vp->sig = emalloc(sign_siglen); in crypto_encrypt()
1859 pubkey.sig = emalloc(sign_siglen); in crypto_update()
1879 cp->cert.sig = emalloc(sign_sigle in crypto_update()
[all...]
H A Dntp_prio_q.c35 my_queue = emalloc(sizeof(queue)); in debug_create_priority_queue()
86 new_node = emalloc(sizeof(*new_node) + size); in debug_get_node()
H A Dntp_filegen.c114 filename = emalloc(len); in filegen_open()
115 fullname = emalloc(len); in filegen_open()
230 savename = emalloc(len); in filegen_open()
587 *ppfe = emalloc(sizeof **ppfe); in filegen_register()
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_subr.c110 dfd = emalloc(sizeof(struct dtfs_dirent)); in dtfs_genfile()
128 dff = emalloc(sizeof(struct dtfs_file)); in dtfs_newdir()
140 dff = emalloc(sizeof(struct dtfs_file)); in dtfs_newfile()
263 df->df_blocks[i] = emalloc(DTFS_BLOCKSIZE); in dtfs_setsize()
/freebsd/sbin/quotacheck/
H A Dpreen.c77 extern void *emalloc(size_t);
233 d = emalloc(sizeof(*d)); in finddisk()
256 p = emalloc(sizeof(*p)); in addpart()
/freebsd/contrib/ntp/libntp/
H A Dmachines.c42 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyname()
56 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyaddr()
68 serv1 = (struct servent *) emalloc (sizeof(struct servent)); in getservbyname()
/freebsd/crypto/heimdal/lib/roken/
H A Demalloc.c46 emalloc (size_t sz) in emalloc() function
/freebsd/usr.sbin/makefs/
H A Dcd9660.c424 emalloc(strlen(buf) + 1); in cd9660_parse_opts()
497 real_root->isoDirRecord = emalloc(sizeof(*real_root->isoDirRecord)); in cd9660_makefs()
743 temp = emalloc(sizeof(*temp)); in cd9660_setup_volume_descriptors()
756 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
768 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
790 node->isoExtAttributes = emalloc(sizeof(*node->isoExtAttributes));
840 newnode->isoDirRecord = emalloc(sizeof(*newnode->isoDirRecord)); in cd9660_translate_node()
1047 tmp = emalloc(ISO_FILENAME_MAXLENGTH); in cd9660_rename_filename()
1486 n = emalloc(sizeof(struct s)); \
1912 tfsnode = emalloc(sizeof(*tfsnode)); in cd9660_create_virtual_entry()
[all …]
/freebsd/sbin/fsck/
H A Dfsutil.h40 void *emalloc(size_t);
H A Dpreen.c267 d = emalloc(sizeof(*d)); in finddisk()
307 p = emalloc(sizeof(*p)); in addpart()
/freebsd/contrib/bmake/
H A Dmake_malloc.h36 #define bmake_malloc(n) emalloc(n)
/freebsd/lib/libnetbsd/
H A Dutil.h46 void *emalloc(size_t);
/freebsd/contrib/ntp/include/isc/
H A Dmem.h49 ( ISC_MEM_UNUSED_ARG(c), emalloc(cnt) )
/freebsd/crypto/heimdal/appl/test/
H A Dhttp_client.c240 req->response = emalloc(p - in_buf + 1); in http_query()
247 req->headers[req->num_headers] = emalloc(p - in_buf + 1); in http_query()
390 input_token.value = emalloc(len); in main()
/freebsd/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c19 char * path = emalloc(plen); in CreatePath()

12345