/external/valgrind/main/none/tests/darwin/ |
apple-main-arg.c | 14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), 15 *pappl = calloc((PATH_MAX+1), sizeof(char));
|
/external/llvm/test/Transforms/GVN/ |
calloc-load-removal.ll | 3 ; Check that loads from calloc are recognized as being zero. 9 %1 = tail call noalias i8* @calloc(i64 1, i64 4) 25 declare noalias i8* @calloc(i64, i64)
|
/bionic/tests/ |
malloc_test.cpp | 42 // Simple calloc test. 44 char *ptr = (char *)calloc(1, alloc_len); 55 ASSERT_EQ(NULL, calloc(-1, 100)); 61 ASSERT_EQ(NULL, calloc(1, SIZE_MAX)); 64 ASSERT_EQ(NULL, calloc(SIZE_MAX, SIZE_MAX)); 67 ASSERT_EQ(NULL, calloc(2, SIZE_MAX)); 70 ASSERT_EQ(NULL, calloc(SIZE_MAX, 2)); 218 // Realloc to a larger size, calloc is used for the original allocation. 219 char *ptr = (char *)calloc(1, 100); 233 // Realloc to a smaller size, calloc is used for the original allocation [all...] |
/external/bison/lib/ |
xmalloc.c | 27 /* 1 if calloc is known to be compatible with GNU calloc. This 28 matters if we are not also using the calloc module, which defines 96 /* Test for overflow, since some calloc implementations don't have 98 HAVE_GNU_CALLOC, since GNU calloc catches overflow and never 101 || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0)))
|
/external/libunwind/tests/ |
Ltest-nocalloc.c | 41 calloc(size_t n, size_t s) function 46 /* In glibc, dlsym() calls calloc. Calling dlsym(RTLD_NEXT, "calloc") here 54 func = dlsym(RTLD_NEXT, "calloc"); 116 and check that it doesn't call malloc()/calloc(). */ 131 "FAILURE: detected %d error%s (malloc: %d, calloc: %d)\n",
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
xmalloc.c | 31 /* 1 if calloc is known to be compatible with GNU calloc. This 32 matters if we are not also using the calloc module, which defines 92 /* Test for overflow, since some calloc implementations don't have 94 HAVE_GNU_CALLOC, since GNU calloc catches overflow and never 97 || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0)))
|
/prebuilts/misc/common/swig/include/2.0.11/ |
cmalloc.i | 13 %calloc(TYPE [, NAME = TYPE]) 41 %define %calloc(TYPE,NAME...) 43 %rename(calloc_##NAME) ::calloc(int nobj, int sz); 45 %rename(calloc_##TYPE) ::calloc(int nobj, int sz); 53 TYPE *calloc(int nobj, int sz); 99 %calloc(TYPE,NAME)
|
/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
cmalloc.swg | 13 %calloc(TYPE [, NAME = TYPE]) 41 %define %calloc(TYPE,NAME...) 43 %rename(calloc_##NAME) ::calloc(size_t nobj, size_t sz); 45 %rename(calloc_##TYPE) ::calloc(size_t nobj, size_t sz); 53 TYPE *calloc(size_t nobj, size_t sz); 99 %calloc(TYPE,NAME)
|
/development/tools/yuv420sp2rgb/ |
debug.h | 53 static inline void *CALLOC(unsigned int num_entries, unsigned int entry_size) { 54 void *m = calloc(num_entries, entry_size); 55 FAILIF(NULL == m, "calloc(%d, %d) failed!\n", num_entries, entry_size);
|
/external/clang/test/Sema/ |
extern-redecl.c | 49 extern float *calloc(); // expected-warning {{incompatible redeclaration of library function}} expected-note {{is a builtin}} expected-note 2 {{previous declaration is here}} 53 int *calloc(); // expected-error {{conflicting types}} 58 int *calloc(); // expected-error {{conflicting types}} 63 float *(*_calloc)() = &calloc;
|
implicit-builtin-decl.c | 12 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \ 13 // expected-note{{'calloc' is a builtin with type 'void *}} 17 int calloc = 1; local
|
/external/jemalloc/include/jemalloc/internal/ |
public_namespace.h | 4 #define je_calloc JEMALLOC_N(calloc)
|
/external/valgrind/main/memcheck/tests/ |
calloc-overflow.c | 17 x = calloc(szB, 0x10);
|
inline.stderr.exp | 5 at 0x........: calloc (vg_replace_malloc.c:...)
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
fixed_buffer.cc | 21 // calloc() required to zero memory and thus avoid info leaks. 22 ptr_ = static_cast<char*>(calloc(size_, 1));
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
safe_malloc.h | 32 /* size-checking safe malloc/calloc: verify that the requested size is not too 36 safe malloc() borrows the signature from calloc(), pointing at the dangerous
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
calloc_uaf.cc | 7 int *buffer = (int*)calloc(42, sizeof(int)); 18 // CHECK-NEXT: {{#0 .* calloc }}
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
malloc.m4 | 25 # Test whether malloc, realloc, calloc are POSIX compliant, 29 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
noembed.h | 79 #ifdef calloc 80 #undef calloc macro
|
/external/chromium_org/base/allocator/ |
generic_allocators.cc | 74 void* calloc(size_t n, size_t elem_size) { function 94 return calloc(n, elem_size); 109 return calloc(n, size); 115 #undef calloc macro 169 return calloc(n, size);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-gobject-structs.cc | 69 hb_feature_t *c = (hb_feature_t *) calloc (1, sizeof (hb_feature_t)); 79 hb_glyph_info_t *c = (hb_glyph_info_t *) calloc (1, sizeof (hb_glyph_info_t)); 89 hb_glyph_position_t *c = (hb_glyph_position_t *) calloc (1, sizeof (hb_glyph_position_t)); 99 hb_segment_properties_t *c = (hb_segment_properties_t *) calloc (1, sizeof (hb_segment_properties_t)); 114 hb_language_t *c = (hb_language_t *) calloc (1, sizeof (hb_language_t));
|
/external/harfbuzz_ng/src/ |
hb-gobject-structs.cc | 69 hb_feature_t *c = (hb_feature_t *) calloc (1, sizeof (hb_feature_t)); 79 hb_glyph_info_t *c = (hb_glyph_info_t *) calloc (1, sizeof (hb_glyph_info_t)); 89 hb_glyph_position_t *c = (hb_glyph_position_t *) calloc (1, sizeof (hb_glyph_position_t)); 99 hb_segment_properties_t *c = (hb_segment_properties_t *) calloc (1, sizeof (hb_segment_properties_t)); 114 hb_language_t *c = (hb_language_t *) calloc (1, sizeof (hb_language_t));
|
/external/llvm/test/CodeGen/Thumb2/ |
thumb2-tbh.ll | 15 declare noalias i8* @calloc(i32, i32) nounwind 44 %2 = call noalias i8* @calloc(i32 21, i32 1) nounwind ; <i8*> [#uses=0] 51 %5 = call noalias i8* @calloc(i32 22, i32 1) nounwind ; <i8*> [#uses=0] 55 %6 = call noalias i8* @calloc(i32 20, i32 1) nounwind ; <i8*> [#uses=0] 59 %7 = call noalias i8* @calloc(i32 14, i32 1) nounwind ; <i8*> [#uses=0]
|
/external/chromium_org/skia/ext/ |
SkMemory_new_handler.cpp | 16 // malloc() and calloc() when SK_MALLOC_THROW is not set (because our normal 81 return throw_on_failure(size, calloc(size, 1)); 96 void* p = calloc(size, 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_memory.h | 50 #define CALLOC(_count, _size) os_calloc(_count, _size) 58 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T)) 60 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
|