Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 125) sorted by relevance

12345

/external/ipsec-tools/src/racoon/
Dgenlist.c44 struct genlist *new = calloc(sizeof(struct genlist), 1); in genlist_init()
52 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1); in genlist_insert()
61 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1); in genlist_append()
143 cf = calloc(sizeof(struct conf), 1);
Dgcmalloc.h62 calloc(size_t number, size_t size) in calloc() function
114 #define racoon_calloc(cnt, sz) calloc((cnt), (sz))
Drsalist.c73 rsa_key = calloc(sizeof(struct rsa_key), 1); in rsa_key_insert()
79 rsa_key->src = calloc(sizeof(*rsa_key->src), 1); in rsa_key_insert()
84 rsa_key->dst = calloc(sizeof(*rsa_key->dst), 1); in rsa_key_insert()
Dprsa_par.y245 $$ = calloc (sizeof(struct netaddr), 1);
268 $$ = calloc (sizeof(struct netaddr), 1);
/external/elfutils/libelf/
Delf_newscn.c78 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList)
106 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr));
115 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr));
Delf_newdata.c65 result = (Elf_Data_List *) calloc (1, sizeof (Elf_Data_List)); in elf_newdata()
/external/expat/tests/
Dminicheck.c18 Suite *suite = (Suite *) calloc(1, sizeof(Suite)); in suite_create()
28 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); in tcase_create()
78 SRunner *runner = calloc(1, sizeof(SRunner)); in srunner_create()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_custom.h21 #ifdef calloc
24 #define XCALLOC calloc
/external/srec/portable/include/
Dpmemory.h65 #define CALLOC(m, n, tag) calloc(m, n)
66 #define CALLOC_CLR(m, n, tag) calloc(m, n)
86 #define calloc #error macro
/external/speex/libspeex/
Dos_support.h56 return calloc(size,1); in speex_alloc()
65 return calloc(size,1); in speex_alloc_scratch()
/external/tcpdump/
Daddrtoname.c341 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); in lookup_emem()
384 tp->e_bs = (u_char *) calloc(1, nlen + 1); in lookup_bytestring()
386 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); in lookup_bytestring()
429 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); in lookup_nsap()
457 tp->p_nxt = (struct protoidmem *)calloc(1, sizeof(*tp)); in lookup_protoid()
1150 ptr = (struct hnamemem *)calloc(num, sizeof (*ptr)); in newhnamemem()
1170 ptr = (struct h6namemem *)calloc(num, sizeof (*ptr)); in newh6namemem()
/external/zlib/
Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/external/qemu/distrib/zlib-1.2.3/
Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/external/webkit/WebCore/platform/image-decoders/zlib/
Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/external/qemu/
Dframebuffer.c65 qfbuff->extra = calloc( 1, sizeof(QFrameBufferExtra) ); in qframebuffer_init()
69 qfbuff->pixels = calloc( pitch, height ); in qframebuffer_init()
/external/elfutils/lib/
Dxmalloc.c50 p = calloc (n, s);
Ddynamicsizehash.c117 htab->table = calloc ((1 + htab->size), sizeof (htab->table[0])); in insert_entry_2()
176 htab->table = (void *) calloc ((init_size + 1), sizeof (htab->table[0]));
/external/freetype/include/freetype/config/
Dftstdlib.h129 #define ft_scalloc calloc
/external/clearsilver/util/
Dulist.c61 r_ul = (ULIST *) calloc (1, sizeof (ULIST)); in uListInit()
66 r_ul->items = (void **) calloc (size, sizeof(void *)); in uListInit()
Dneo_hash.c28 my_hash = (NE_HASH *) calloc(1, sizeof(NE_HASH)); in ne_hash_init()
37 my_hash->nodes = (NE_HASHNODE **) calloc (my_hash->size, sizeof(NE_HASHNODE *)); in ne_hash_init()
Ddict.c97 if(! (my_item = calloc(1, sizeof(struct dictItem)))) in dictNewItem()
227 entry = calloc(1, sizeof(struct dictEntry)); in dictInsert()
561 if(! (dict = calloc(1, sizeof(struct _dictCtx)))) in dictCreate()
/external/webkit/WebKitTools/DumpRenderTree/cg/
DImageDiffCG.cpp95 void* baseBuffer = calloc(height, rowBytes); in createDifferenceImage()
101 void* buffer = calloc(height, rowBytes); in createDifferenceImage()
/external/tremor/Tremor/
Dos_types.h31 #define _ogg_calloc calloc
/external/icu4c/tools/tzcode/
Dialloc.c32 return calloc((size_t) nelem, (size_t) elsize);
/external/openssl/ssl/
Dkssl.c894 if (!cklens && !(cklens = (size_t *) calloc(sizeof(int),n+1))) return NULL; in populate_cksumlens()
1254 if ((new5ticket = (krb5_ticket *) calloc(1, sizeof(krb5_ticket)))==NULL) in kssl_TKT2tkt()
1285 calloc(1, asn1ticket->encdata->cipher->length)) == NULL) in kssl_TKT2tkt()
2039 if ((unenc_authent = calloc(1, unencbufsize)) == NULL) in kssl_check_authent()
2164 if ((p_data = (krb5_data *) calloc(2, sizeof(krb5_data))) == NULL || in kssl_build_principal_2()
2165 (new_p = (krb5_principal) calloc(1, sizeof(krb5_principal_data))) in kssl_build_principal_2()
2170 if ((new_r = calloc(1, rlen + 1)) == NULL) goto err; in kssl_build_principal_2()
2175 if ((new_p->data[0].data = calloc(1, slen + 1)) == NULL) goto err; in kssl_build_principal_2()
2179 if ((new_p->data[1].data = calloc(1, hlen + 1)) == NULL) goto err; in kssl_build_principal_2()

12345