Home
last modified time | relevance | path

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

12345

/trueos/usr.sbin/jail/
HDjailparse.y93 $$ = emalloc(sizeof(struct cfparams));
142 $$ = emalloc(sizeof(struct cfparam));
149 $$ = emalloc(sizeof(struct cfparam));
158 $$ = emalloc(sizeof(struct cfstrings));
175 $$ = emalloc(sizeof(struct cfstring));
184 $$ = emalloc(sizeof(struct cfstring));
188 v = emalloc(sizeof(struct cfvar));
209 v = emalloc(sizeof(struct cfvar));
HDconfig.c243 ns = emalloc(sizeof(struct cfstring)); in load_config()
281 j = emalloc(sizeof(struct cfjail)); in add_jail()
321 ns = emalloc(sizeof(struct cfstring)); in add_param()
326 nv = emalloc(sizeof(struct cfvar)); in add_param()
348 ns = emalloc(sizeof(struct cfstring)); in add_param()
375 np = emalloc(sizeof(struct cfparam)); in add_param()
698 j->jp = jp = emalloc(j->njp * sizeof(struct jailparam)); in import_params()
/trueos/contrib/ntp/ntpd/
HDntp_filegen.c69 fp->basename = (char*)emalloc(strlen(basename) + 1); in filegen_init()
95 basename = (char*)emalloc(len); in filegen_open()
106 filename = (char*)emalloc(len); in filegen_open()
111 filename = (char*)emalloc(len + 1 + 1 + 10); in filegen_open()
121 filename = (char*)emalloc(len + 1 + 4 + 2 + 2); in filegen_open()
134 filename = (char*)emalloc(len + 1 + 4 + 1 + 2); in filegen_open()
141 filename = (char*)emalloc(len + 1 + 4 + 2); in filegen_open()
148 filename = (char*)emalloc(len + 1 + 4); in filegen_open()
153 filename = (char*)emalloc(len + 1 + 2 + 10); in filegen_open()
180 char *savename = (char*)emalloc(len + 1 + 1 + 10 + 10); in filegen_open()
[all …]
HDntp_crypto.c281 peer->keylist = emalloc(sizeof(keyid_t) * in make_keylist()
328 vp->ptr = emalloc(sizeof(struct autokey)); in make_keylist()
341 vp->sig = emalloc(sign_siglen); in make_keylist()
481 fp = emalloc(len); in crypto_recv()
574 peer->subject = emalloc(vallen + 1); in crypto_recv()
577 peer->issuer = emalloc(vallen + 1); in crypto_recv()
626 peer->issuer = emalloc(strlen(cinfo->issuer) + in crypto_recv()
817 fp = emalloc(len); in crypto_recv()
957 emalloc(sizeof(struct autokey)); in crypto_recv()
1045 fp = emalloc(len); in crypto_recv()
[all …]
HDntp_util.c320 stats_drift_file = (char*)emalloc((u_int)(len + 1)); in stats_config()
322 stats_temp_file = (char*)emalloc((u_int)(len + in stats_config()
325 stats_temp_file = (char*)emalloc((u_int)(len + in stats_config()
714 key_file_name = (char*)emalloc((u_int) (len + 1)); in getauthkeys()
716 key_file_name = (char*)emalloc((u_int) (MAXPATHLEN)); in getauthkeys()
/trueos/contrib/netbsd-tests/lib/libutil/
HDt_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()
/trueos/crypto/heimdal/lib/asn1/
HDasn1parse.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(sizeof(*$$));
[all …]
HDasn1parse.c1823 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1832 (yyval.sl) = emalloc(sizeof(*(yyval.sl)));
1932 (yyval.members) = emalloc(sizeof(*(yyval.members)));
1954 (yyval.member) = emalloc(sizeof(*(yyval.member)));
1978 (yyval.type)->members = emalloc(sizeof(*(yyval.type)->members));
2332 (yyval.members) = emalloc(sizeof(*(yyval.members)));
2361 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2400 (yyval.members) = emalloc(sizeof(*(yyval.members)));
2417 (yyval.member) = emalloc(sizeof(*(yyval.member)));
2502 (yyval.value) = emalloc(sizeof(*(yyval.value)));
[all …]
/trueos/sbin/rcorder/
HDrcorder.c214 ent = emalloc(sizeof *ent + strlen(s)); in strnode_add()
236 temp = emalloc(sizeof(*temp)); in filenode_new()
269 rnode = emalloc(sizeof(*rnode)); in add_require()
292 head = emalloc(sizeof(*head)); in add_provide()
339 pnode = emalloc(sizeof(*pnode)); in add_provide()
349 f_pnode = emalloc(sizeof(*f_pnode)); in add_provide()
363 bf_ent = emalloc(sizeof *bf_ent + strlen(s)); in add_before()
526 head = emalloc(sizeof(*head)); in make_fake_provision()
533 pnode = emalloc(sizeof(*pnode)); in make_fake_provision()
543 f_pnode = emalloc(sizeof(*f_pnode)); in make_fake_provision()
[all …]
HDhash.c129 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); in Hash_InitTable()
264 e = (Hash_Entry *) emalloc(sizeof(*e) + keylen); in Hash_CreateEntry()
423 t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i); in RebuildTable()
HDealloc.h4 void *emalloc(size_t len);
/trueos/crypto/heimdal/lib/krb5/
HDaes-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 …]
/trueos/usr.bin/make/
HDarch.c355 buf = emalloc(sz); in Arch_ParseArchive()
399 nameBuf = emalloc(sz); in Arch_ParseArchive()
434 nameBuf = emalloc(sz); in Arch_ParseArchive()
505 ar = emalloc(sizeof(*ar)); in ArchArchiveOpen()
508 ar->member = emalloc(ar->mlen); in ArchArchiveOpen()
615 ar->nametab = emalloc(ar->nametablen); in ArchArchiveNext()
932 ar = emalloc(sizeof(*ar)); in ArchStatMember()
938 Hash_SetValue(he, emalloc(sizeof(int64_t))); in ArchStatMember()
1145 libName = emalloc(sz); in Arch_FindLib()
HDlst.c66 nLNode = emalloc(sizeof(*nLNode)); in Lst_Append()
146 nln = emalloc(sizeof(*nln)); in Lst_Concat()
269 nLNode = emalloc(sizeof(*nLNode)); in Lst_Insert()
HDhash.c109 t->bucketPtr = hp = emalloc(sizeof(*hp) * i); in Hash_InitTable()
235 e = emalloc(sizeof(*e) + keylen); in Hash_CreateEntry()
386 t->bucketPtr = hp = emalloc(sizeof(*hp) * i); in RebuildTable()
HDdir.c430 file = emalloc(otherLen + cp - start + 1); in DirExpandCurly()
1029 pe = emalloc(sizeof(*pe)); in Path_AddDir()
1043 d = emalloc(sizeof(*d)); in Path_AddDir()
1078 pe = emalloc(sizeof(*pe)); in Path_AddDir()
1101 ped = emalloc(sizeof(*ped)); in Path_Duplicate()
1186 p1 = emalloc(sizeof(*p1)); in Path_Concat()
HDstr.c63 aa->argv = emalloc((aa->size + 1) * sizeof(char *)); in ArgArray_Init()
115 result = emalloc(len1 + len2 + 2); in str_concat()
294 ret = emalloc(strlen(str) * 2 + 1); in MAKEFLAGS_quote()
HDbuf.c182 bp = emalloc(sizeof(*bp)); in Buf_Init()
184 bp->buf = emalloc(size); in Buf_Init()
/trueos/contrib/netbsd-tests/fs/puffs/h_dtfs/
HDdtfs_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()
/trueos/sbin/quotacheck/
HDpreen.c84 extern void *emalloc(size_t);
240 d = emalloc(sizeof(*d)); in finddisk()
263 p = emalloc(sizeof(*p)); in addpart()
/trueos/contrib/ntp/include/
HDntp_stdlib.h54 # define emalloc(_c) debug_emalloc(_c, __FILE__, __LINE__) macro
57 extern void * emalloc P((u_int));
/trueos/contrib/ntp/ntpdate/
HDntptime_config.c358 server = (struct server *)emalloc(sizeof(struct server)); in loadservers()
371 key_file = (char *) emalloc(strlen(tokens[1]) + 1); in loadservers()
382 emalloc(sys_numservers * sizeof(struct server *)); in loadservers()
/trueos/crypto/heimdal/lib/roken/
HDemalloc.c46 emalloc (size_t sz) in emalloc() function
/trueos/contrib/bmake/
HDmake_malloc.h36 #define bmake_malloc(x) emalloc(x)
/trueos/sbin/fsck/
HDfsutil.h37 void *emalloc(size_t);

12345