Lines Matching refs:xmalloc
49 xmalloc(size_t len) in xmalloc() function
83 s = xmalloc(n); in xstrdup()
98 sb = xmalloc(sizeof *sb); in SB_new()
100 sb->buf = xmalloc(sb->len); in SB_new()
118 nbuf = xmalloc(nlen); in SB_expand()
211 ht = xmalloc(sizeof *ht); in HT_new()
214 ht->buckets = xmalloc(ht->num_buckets * sizeof(ht_elt *)); in HT_new()
272 new_buckets = xmalloc(n2 * sizeof *new_buckets); in HT_expand()
326 e = xmalloc(sizeof *e); in HT_put()
409 buf = xmalloc(blen); in read_all()
418 buf2 = xmalloc(blen); in read_all()
427 buf3 = xmalloc(ptr); in read_all()
446 dname = xmalloc(strlen(DIRNAME) + strlen(name) + 2); in read_file()
817 name = xmalloc(len + 1); in parse_header_name()
844 name = xmalloc(u + 1); in parse_keyvalue()
862 value = xmalloc(len - u + 1); in parse_keyvalue()
1022 buf = xmalloc(ptr); in parse_hex()
1057 name = xmalloc(v - u + 1); in split_names()
1067 names = xmalloc((ptr + 1) * sizeof *names); in split_names()
1156 pk = xmalloc(sizeof *pk); in parse_object()
1200 tta = xmalloc(sizeof *tta); in parse_object()
1299 all_chains = xmalloc( in parse_object()
1306 ntc = xmalloc(nlen * sizeof *ntc); in parse_object()
1492 anchors = xmalloc(num_anchors * sizeof *anchors); in run_test_case()
1519 certs = xmalloc(num_certs * sizeof *certs); in run_test_case()
1865 names = xmalloc(num_names * sizeof *names); in test_name_extraction()
1872 oid = xmalloc(5); in test_name_extraction()
1879 oid = xmalloc(13); in test_name_extraction()
1894 oid = xmalloc(2); in test_name_extraction()
1899 names[u].buf = xmalloc(256); in test_name_extraction()
2049 dn = xmalloc(len + 1); in main()