/netbsd/sbin/cgdconfig/ |
H A D | utils.c | 146 out = emalloc(sizeof(*out)); in string_zero() 157 out = emalloc(sizeof(*out)); in string_new() 159 out->text = emalloc(out->length + 1); in string_new() 195 sum = emalloc(sizeof(*sum)); in string_add() 234 ret = emalloc(sizeof(*ret)); in string_fromint() 257 b = emalloc(sizeof(*b)); in bits_new() 324 b = emalloc(sizeof(*b)); in bits_xor() 359 tmp = emalloc(len); in bits_decode() 408 tmp = emalloc(len); in bits_encode() 409 out = emalloc(len * 2); in bits_encode() [all …]
|
H A D | pkcs5_pbkdf2.c | 82 data = emalloc(Slen + 4); in prf_iterate() 126 *r = emalloc(l * PRF_BLOCKLEN); in pkcs5_pbkdf2()
|
H A D | argon2_utils.c | 95 key = emalloc(keylen); in argon2id_calibrate() 96 salt = emalloc(saltlen); in argon2id_calibrate()
|
/netbsd/tests/lib/libutil/ |
H A D | t_efun.c | 90 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()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | asn1parse.y | 419 $$ = emalloc(sizeof(*$$)); 434 $$ = emalloc(sizeof(*$$)); 767 $$ = emalloc(sizeof(*$$)); 789 $$ = emalloc(sizeof(*$$)); 820 $$ = emalloc(sizeof(*$$)); 920 $$ = emalloc(sizeof(*$$)); 928 $$ = emalloc(sizeof(*$$)); 934 $$ = emalloc(sizeof(*$$)); 942 $$ = emalloc(sizeof(*$$)); 958 $$ = emalloc(sizeof(*$$)); [all …]
|
H A D | asn1parse.c | 1742 (yyval.sl) = emalloc(sizeof(*(yyval.sl))); in yyparse() 1752 (yyval.sl) = emalloc(sizeof(*(yyval.sl))); in yyparse() 1887 (yyval.member) = emalloc(sizeof(*(yyval.member))); in yyparse() 2356 (yyval.member) = emalloc(sizeof(*(yyval.member))); in yyparse() 2418 (yyval.member) = emalloc(sizeof(*(yyval.member))); in yyparse() 2512 (yyval.value) = emalloc(sizeof(*(yyval.value))); in yyparse() 2522 (yyval.value) = emalloc(sizeof(*(yyval.value))); in yyparse() 2532 (yyval.value) = emalloc(sizeof(*(yyval.value))); in yyparse() 2542 (yyval.value) = emalloc(sizeof(*(yyval.value))); in yyparse() 2559 (yyval.value) = emalloc(sizeof(*(yyval.value))); in yyparse() [all …]
|
/netbsd/sbin/rcorder/ |
H A D | rcorder.c | 226 ent = emalloc(sizeof *ent + strlen(s)); in strnode_add() 248 temp = emalloc(sizeof(*temp)); in filenode_new() 281 rnode = emalloc(sizeof(*rnode)); in add_require() 304 head = emalloc(sizeof(*head)); in add_provide() 351 pnode = emalloc(sizeof(*pnode)); in add_provide() 361 f_pnode = emalloc(sizeof(*f_pnode)); in add_provide() 491 head = emalloc(sizeof(*head)); in make_fake_provision() 498 pnode = emalloc(sizeof(*pnode)); in make_fake_provision() 508 f_pnode = emalloc(sizeof(*f_pnode)); in make_fake_provision() 546 rnode = emalloc(sizeof(*rnode)); in insert_before()
|
H A D | hash.c | 157 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); in Hash_InitTable() 296 e = (Hash_Entry *) emalloc(sizeof(*e) + keylen); in Hash_CreateEntry() 456 t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i); in RebuildTable()
|
/netbsd/external/bsd/top/dist/ |
H A D | color.c | 131 color_ansi = emalloc(COLOR_ANSI_SLOTS * sizeof(char *)); in color_env_parse() 146 ce = emalloc(sizeof(color_entry)); in color_env_parse() 148 ce->tag = emalloc(len + 1); in color_env_parse() 202 bytag = emalloc(totaltags * sizeof(color_entry *)); in color_tag() 203 bytag_names = emalloc(totaltags * sizeof(char *)); in color_tag()
|
H A D | utils.c | 318 resp = result = emalloc(cnt); in string_list() 375 argarray = emalloc(cnt * sizeof(char *)); in argparse() 378 args = emalloc(length+2); in argparse()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | aes-test.c | 362 iov[0].data.data = emalloc(iov[0].data.length); in krb_enc_iov2() 366 iov[1].data.data = emalloc(iov[1].data.length); in krb_enc_iov2() 372 iov[2].data.data = emalloc(iov[2].data.length); in krb_enc_iov2() 376 iov[3].data.data = emalloc(iov[3].data.length); in krb_enc_iov2() 393 p = q = emalloc(len); in krb_enc_iov2() 465 iov[0].data.data = emalloc(iov[0].data.length); in krb_enc_iov() 472 iov[1].data.data = emalloc(iov[1].data.length); in krb_enc_iov() 478 iov[2].data.data = emalloc(len); in krb_enc_iov() 521 iov[0].data.data = emalloc(iov[0].data.length); in krb_checksum_iov() 863 base = emalloc(len); in iov_test() [all …]
|
/netbsd/usr.bin/config/ |
H A D | util.c | 88 cp = emalloc(strlen(prevpf->pf_prefix) + 1 + in prefixlist_push() 169 cp = emalloc(len); in sourcepath() 255 dl = emalloc(sizeof(*dl)); in defoptlist_create() 308 ll = emalloc(sizeof(*ll)); in loclist_create() 338 al = emalloc(sizeof(*al)); in attrlist_create() 390 cx = emalloc(sizeof(*cx)); in condexpr_create()
|
/netbsd/usr.bin/shuffle/ |
H A D | shuffle.c | 65 shuffle = emalloc(t * sizeof(size_t)); in get_shuffle() 110 char **lines = emalloc(sizeof(char *) * maxlines); in get_lines() 121 lines[nlines] = emalloc(size + 1); in get_lines()
|
/netbsd/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_crypto.c | 546 fp = emalloc(len); in crypto_recv() 1050 fp = emalloc(len); in crypto_recv() 2096 ptr = emalloc(len); in bighash() 2215 vp->ptr = emalloc(len); in crypto_alice() 2325 ptr = emalloc(len); in crypto_bob() 2545 vp->ptr = emalloc(len); in crypto_alice2() 2648 ptr = emalloc(len); in crypto_bob2() 2889 vp->ptr = emalloc(len); in crypto_alice3() 3000 ptr = emalloc(len); in crypto_bob3() 3252 vp->ptr = emalloc(len); in cert_sign() [all …]
|
H A D | ntp_filegen.c | 116 filename = emalloc(len); in filegen_open() 117 fullname = emalloc(len); in filegen_open() 232 savename = emalloc(len); in filegen_open() 589 *ppfe = emalloc(sizeof **ppfe); in filegen_register()
|
H A D | ntp_prio_q.c | 37 my_queue = emalloc(sizeof(queue)); in debug_create_priority_queue() 88 new_node = emalloc(sizeof(*new_node) + size); in debug_get_node()
|
/netbsd/usr.sbin/netgroup_mkdb/ |
H A D | str.c | 64 buf->s_str = emalloc(len); in str_append() 85 sptr = ptr = emalloc(buf->s_len + len + (del ? 2 : 1)); in str_prepend()
|
/netbsd/usr.sbin/dumplfs/ |
H A D | dumplfs.c | 230 sbuf = emalloc(LFS_SBPAD); in main() 333 dpage = emalloc(psize); in dump_ifile() 363 ipage = emalloc(psize); in dump_ifile() 394 indir = emalloc(psize); in dump_ifile() 427 dindir = emalloc(psize); in dump_ifile() 614 diblock = emalloc(lfs_sb_getbsize(lfsp)); in dump_sum() 681 buf = emalloc(lfs_sb_getbsize(lfsp)); in dump_sum() 734 sumblock = emalloc(lfs_sb_getsumsize(lfsp)); in dump_segment() 894 p = emalloc(sizeof(*p)); in addseg()
|
/netbsd/tests/fs/puffs/h_dtfs/ |
H A D | dtfs_subr.c | 110 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()
|
/netbsd/usr.sbin/makemandb/ |
H A D | makemandb.c | 345 arg = emalloc(command_len); in main() 605 buf = emalloc(*len); in read_and_decompress() 745 row = emalloc(sizeof(struct sql_row)); in update_db() 1505 rec->name = emalloc(sz + 1); in insert_into_db() 1931 rec->desc.data = emalloc(rec->desc.buflen); in init_secbuffs() 1935 rec->lib.data = emalloc(rec->lib.buflen); in init_secbuffs() 1947 rec->env.data = emalloc(rec->env.buflen); in init_secbuffs() 1951 rec->files.data = emalloc(rec->files.buflen); in init_secbuffs() 1959 rec->errors.data = emalloc(rec->errors.buflen); in init_secbuffs() 2011 result = emalloc(strlen(str) + 1); in parse_escape() [all …]
|
H A D | apropos.c | 97 section = emalloc(2); in parseargs() 184 char **ptr = emalloc((strlen(str) + 2) * sizeof(*ptr)); in main() 336 output = buf = emalloc(strlen(query) + 1); in remove_stopwords()
|
/netbsd/sbin/fsck_lfs/ |
H A D | pass1.c | 109 dins[i] = emalloc(sizeof(**dins)); in pass1() 288 zlnp = emalloc(sizeof *zlnp); in checkinode() 312 zlnp = emalloc(sizeof *zlnp); in checkinode() 398 new = emalloc(sizeof(struct dups)); in pass1check()
|
/netbsd/sbin/ccdconfig/ |
H A D | ccdconfig.c | 239 disks = emalloc(argc * sizeof(char *)); in do_single() 419 buf = emalloc(MAXPATHLEN); in resolve_ccdname() 511 names = emalloc(len); in printccdinfo() 549 units = emalloc(nunits); in dump_ccd()
|
/netbsd/external/bsd/ntp/dist/libntp/ |
H A D | machines.c | 45 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyname() 59 host1 = (struct hostent *) emalloc (sizeof(struct hostent)); in gethostbyaddr() 71 serv1 = (struct servent *) emalloc (sizeof(struct servent)); in getservbyname()
|
/netbsd/usr.sbin/makefs/ |
H A D | cd9660.c | 451 emalloc(strlen(buf) + 1); in cd9660_parse_opts() 532 real_root->isoDirRecord = emalloc(sizeof(*real_root->isoDirRecord)); in cd9660_makefs() 775 temp = emalloc(sizeof(*temp)); in cd9660_setup_volume_descriptors() 788 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors() 800 t = emalloc(sizeof(*t)); in cd9660_setup_volume_descriptors() 822 node->isoExtAttributes = emalloc(sizeof(*node->isoExtAttributes)); 872 newnode->isoDirRecord = emalloc(sizeof(*newnode->isoDirRecord)); in cd9660_translate_node() 1078 tmp = emalloc(ISO_FILENAME_MAXLENGTH_WITH_PADDING); in cd9660_rename_filename() 1528 n = emalloc(sizeof(struct s)); \ 1981 tfsnode = emalloc(sizeof(*tfsnode)); in cd9660_create_virtual_entry() [all …]
|