Searched defs:CALLOC (Results 1 - 5 of 5) sorted by relevance

/external/srec/portable/include/
H A Dpmemory.h65 #define CALLOC(m, n, tag) calloc(m, n) macro
70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag))
113 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize , tag, L(__FILE__), __LINE__)) macro
119 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize)) macro
143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag))
/external/valgrind/main/coregrind/m_replacemalloc/
H A Dvg_replace_malloc.c53 avoid such function calls in the first place. See "#define CALLOC"
82 10070 CALLOC
565 #define CALLOC(soname, fnname) \ macro
593 CALLOC(VG_Z_LIBC_SONAME, calloc);
594 CALLOC(SO_SYN_MALLOC, calloc);
597 CALLOC(VG_Z_LIBC_SONAME, calloc);
598 CALLOC(SO_SYN_MALLOC, calloc);
/external/valgrind/unittest/
H A Dposix_tests.cc254 int *CALLOC; member in namespace:test110
272 (*CALLOC)++;
290 CALLOC = (int*)calloc(1, sizeof(int));
307 ANNOTATE_EXPECT_RACE(CALLOC, "real race on a calloc-ed object");
326 free(CALLOC);
/external/ipsec-tools/src/libipsec/
H A Dpfkey.c54 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro
428 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
609 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1176 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1339 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1530 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1612 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1689 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1747 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1861 if ((newmsg = CALLOC((size_
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp5219 int *CALLOC; member in namespace:test110
5237 (*CALLOC)++;
5253 CALLOC = (int*)calloc(1, sizeof(int));
5274 FAST_MODE_INIT(CALLOC);
5275 ANNOTATE_EXPECT_RACE(CALLOC, "real race on a calloc-ed object");
5303 free(CALLOC);

Completed in 5795 milliseconds