Searched refs:calloc (Results 1 - 25 of 129) sorted by relevance

123456

/external/ipsec-tools/src/racoon/
H A Dgenlist.c44 struct genlist *new = calloc(sizeof(struct genlist), 1);
52 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1);
61 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1);
143 cf = calloc(sizeof(struct conf), 1);
H A Dgcmalloc.h46 * malloc(), calloc(), realloc(), and free() entry points in the main
62 calloc(size_t number, size_t size) function
114 #define racoon_calloc(cnt, sz) calloc((cnt), (sz))
H A Drsalist.c73 rsa_key = calloc(sizeof(struct rsa_key), 1);
79 rsa_key->src = calloc(sizeof(*rsa_key->src), 1);
84 rsa_key->dst = calloc(sizeof(*rsa_key->dst), 1);
H A Ddebugrm.h44 #define racoon_calloc(cnt, sz) calloc((cnt), (sz))
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_custom.h21 #ifdef calloc
24 #define XCALLOC calloc
/external/elfutils/lib/
H A Dxmalloc.c50 p = calloc (n, s);
/external/iproute2/tc/
H A Dm_ematch.h25 struct bstr *b = calloc(1, sizeof(*b));
69 struct ematch *e = calloc(1, sizeof(*e));
/external/speex/libspeex/
H A Dos_support.h48 /** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_free
56 return calloc(size,1);
65 return calloc(size,1);
77 /** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_alloc */
/external/elfutils/libelf/
H A 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));
H A Delf_newdata.c65 result = (Elf_Data_List *) calloc (1, sizeof (Elf_Data_List));
/external/expat/tests/
H A Dminicheck.c18 Suite *suite = (Suite *) calloc(1, sizeof(Suite));
28 TCase *tc = (TCase *) calloc(1, sizeof(TCase));
78 SRunner *runner = calloc(1, sizeof(SRunner));
/external/srec/portable/include/
H A 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
111 * Portable calloc()
117 * Portable calloc()
182 * Allocate an array of items, similar to calloc.
/external/webkit/JavaScriptCore/wtf/wince/
H A DMemoryManager.cpp24 #undef calloc macro
69 return calloc(num, size);
116 void *fastCalloc(size_t n_elements, size_t element_size) { return calloc(n_elements, element_size); }
/external/opencore/oscl/oscl/osclbase/src/
H A Doscl_mem_basic_functions.inl45 return calloc(size1, size2);
/external/freetype/include/freetype/config/
H A Dftstdlib.h130 #define ft_scalloc calloc
/external/icu4c/tools/tzcode/
H A Dialloc.c32 return calloc((size_t) nelem, (size_t) elsize);
/external/oprofile/libdb/
H A Ddb_stat.c36 odb_hash_stat_t * result = calloc(1, sizeof(odb_hash_stat_t));
/external/tremolo/Tremolo/
H A Dos_types.h51 #define _ogg_calloc calloc
/external/bluetooth/glib/glib/
H A Dgmem.c77 # define standard_calloc calloc
103 return calloc (n_blocks, n_bytes);
151 mem = glib_mem_vtable.calloc (1, n_bytes);
276 glib_mem_vtable.calloc = vtable->calloc ? vtable->calloc : fallback_calloc;
/external/qemu/distrib/zlib-1.2.3/
H A Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/external/qemu/
H A Dframebuffer.c65 qfbuff->extra = calloc( 1, sizeof(QFrameBufferExtra) );
69 qfbuff->pixels = calloc( pitch, height );
/external/zlib/
H A Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/external/bison/lib/
H A Dxmalloc.c33 /* 1 if calloc is known to be compatible with GNU calloc. This
34 matters if we are not also using the calloc module, which defines
215 /* Test for overflow, since some calloc implementations don't have
217 HAVE_GNU_CALLOC, since GNU calloc catches overflow and never
220 || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0)))
/external/elfcopy/
H A Ddebug.h52 void *m = calloc(num_entries, entry_size);
53 FAILIF(NULL == m, "calloc(%d, %d) failed!\n", num_entries, entry_size);
/external/oprofile/libpopt/
H A Dpoptint.h39 #define PBM_ALLOC(d) calloc(__PBM_IX (d) + 1, sizeof(__pbm_bits))

Completed in 270 milliseconds

123456