Home
last modified time | relevance | path

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

12345

/freebsd-12.1/usr.sbin/jail/
H A Djailparse.y95 $$ = emalloc(sizeof(struct cfparams));
144 $$ = emalloc(sizeof(struct cfparam));
151 $$ = emalloc(sizeof(struct cfparam));
160 $$ = emalloc(sizeof(struct cfstrings));
177 $$ = emalloc(sizeof(struct cfstring));
186 $$ = emalloc(sizeof(struct cfstring));
190 v = emalloc(sizeof(struct cfvar));
211 v = emalloc(sizeof(struct cfvar));
H A Dconfig.c245 ns = emalloc(sizeof(struct cfstring)); in load_config()
283 j = emalloc(sizeof(struct cfjail)); in add_jail()
323 ns = emalloc(sizeof(struct cfstring)); in add_param()
328 nv = emalloc(sizeof(struct cfvar)); in add_param()
350 ns = emalloc(sizeof(struct cfstring)); in add_param()
382 np = emalloc(sizeof(struct cfparam)); in add_param()
690 j->jp = jp = emalloc(j->njp * sizeof(struct jailparam)); in import_params()
/freebsd-12.1/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-12.1/crypto/heimdal/lib/asn1/
H A Dasn1parse.y415 $$ = emalloc(sizeof(*$$));
430 $$ = emalloc(sizeof(*$$));
747 $$ = emalloc(sizeof(*$$));
769 $$ = emalloc(sizeof(*$$));
800 $$ = emalloc(sizeof(*$$));
900 $$ = emalloc(sizeof(*$$));
908 $$ = emalloc(sizeof(*$$));
914 $$ = emalloc(sizeof(*$$));
922 $$ = emalloc(sizeof(*$$));
938 $$ = emalloc(sizeof(*$$));
[all …]
H A Dasn1parse.c1823 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1832 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1954 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2361 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2417 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2502 (yyval.value) = emalloc(sizeof(*(yyval.value)));
2511 (yyval.value) = emalloc(sizeof(*(yyval.value)));
2520 (yyval.value) = emalloc(sizeof(*(yyval.value)));
2529 (yyval.value) = emalloc(sizeof(*(yyval.value)));
2544 (yyval.value) = emalloc(sizeof(*(yyval.value)));
[all …]
/freebsd-12.1/sbin/rcorder/
H A Drcorder.c216 ent = emalloc(sizeof *ent + strlen(s)); in strnode_add()
238 temp = emalloc(sizeof(*temp)); in filenode_new()
271 rnode = emalloc(sizeof(*rnode)); in add_require()
294 head = emalloc(sizeof(*head)); in add_provide()
341 pnode = emalloc(sizeof(*pnode)); in add_provide()
351 f_pnode = emalloc(sizeof(*f_pnode)); in add_provide()
365 bf_ent = emalloc(sizeof *bf_ent + strlen(s)); in add_before()
528 head = emalloc(sizeof(*head)); in make_fake_provision()
535 pnode = emalloc(sizeof(*pnode)); in make_fake_provision()
545 f_pnode = emalloc(sizeof(*f_pnode)); in make_fake_provision()
[all …]
H A Dhash.c131 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); in Hash_InitTable()
266 e = (Hash_Entry *) emalloc(sizeof(*e) + keylen); in Hash_CreateEntry()
425 t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i); in RebuildTable()
H A Dealloc.h4 void *emalloc(size_t len);
H A Dealloc.c73 emalloc(size_t len) in emalloc() function
/freebsd-12.1/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()
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()
696 base = emalloc(len); in iov_test()
[all …]
/freebsd-12.1/contrib/ntp/ntpd/
H A Dntp_crypto.c544 fp = emalloc(len); in crypto_recv()
1048 fp = emalloc(len); in crypto_recv()
2094 ptr = emalloc(len); in bighash()
2213 vp->ptr = emalloc(len); in crypto_alice()
2323 ptr = emalloc(len); in crypto_bob()
2543 vp->ptr = emalloc(len); in crypto_alice2()
2646 ptr = emalloc(len); in crypto_bob2()
2887 vp->ptr = emalloc(len); in crypto_alice3()
2998 ptr = emalloc(len); in crypto_bob3()
3250 vp->ptr = emalloc(len); in cert_sign()
[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-12.1/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-12.1/sbin/quotacheck/
H A Dpreen.c86 extern void *emalloc(size_t);
242 d = emalloc(sizeof(*d)); in finddisk()
265 p = emalloc(sizeof(*p)); in addpart()
/freebsd-12.1/contrib/ntp/libntp/
H A Dmachines.c43 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyname()
57 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyaddr()
69 serv1 = (struct servent *) emalloc (sizeof(struct servent)); in getservbyname()
H A Dauthreadkeys.c263 next = emalloc(sizeof(KeyDataT) + len); in authreadkeys()
293 next = emalloc(sizeof(KeyDataT) + len); in authreadkeys()
/freebsd-12.1/usr.sbin/makefs/
H A Dcd9660.c437 emalloc(strlen(buf) + 1); in cd9660_parse_opts()
518 real_root->isoDirRecord = emalloc(sizeof(*real_root->isoDirRecord)); in cd9660_makefs()
762 temp = emalloc(sizeof(*temp)); in cd9660_setup_volume_descriptors()
775 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
787 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors()
809 node->isoExtAttributes = emalloc(sizeof(*node->isoExtAttributes));
866 newnode->isoDirRecord = emalloc(sizeof(*newnode->isoDirRecord)); in cd9660_translate_node()
1073 tmp = emalloc(ISO_FILENAME_MAXLENGTH_WITH_PADDING); in cd9660_rename_filename()
1512 n = emalloc(sizeof(struct s)); \
1964 tfsnode = emalloc(sizeof(*tfsnode)); in cd9660_create_virtual_entry()
[all …]
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Demalloc.c46 emalloc (size_t sz) in emalloc() function
/freebsd-12.1/contrib/bmake/
H A Dmake_malloc.h36 #define bmake_malloc(x) emalloc(x)
/freebsd-12.1/sbin/fsck/
H A Dfsutil.h39 void *emalloc(size_t);
H A Dpreen.c271 d = emalloc(sizeof(*d)); in finddisk()
311 p = emalloc(sizeof(*p)); in addpart()
/freebsd-12.1/lib/libnetbsd/
H A Dutil.h47 void *emalloc(size_t);
/freebsd-12.1/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-12.1/contrib/ntp/include/isc/
H A Dmem.h49 ( ISC_MEM_UNUSED_ARG(c), emalloc(cnt) )

12345