/external/clang/test/Sema/ |
implicit-builtin-redecl.c | 9 void *calloc(int, int, int); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \ 10 // expected-note{{'calloc' is a builtin with type 'void *}} 13 calloc(0, 0, 0);
|
implicit-builtin-decl.c | 10 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \ 11 // expected-note{{'calloc' is a builtin with type 'void *}} 15 int calloc = 1; local
|
/external/valgrind/main/memcheck/tests/ |
malloc3.stdout.exp | 3 calloc(0,1) = 0x........ 4 calloc(0,-1) = 0x........ 5 calloc(-1,-1) = 0x........
|
malloc3.c | 19 p = calloc(0,1); 20 printf("calloc(0,1) = 0x%lx\n", (unsigned long)p); 23 p = calloc(0,-1); 24 printf("calloc(0,-1) = 0x%lx\n", (unsigned long)p); 27 // We no longer get a warning with this due to the calloc overflow checking 30 p = calloc(-1,-1); 31 printf("calloc(-1,-1) = 0x%lx\n", (unsigned long)p);
|
partial_load.c | 14 p = calloc( sizeof(long)-1, 1 ); 20 p = calloc( sizeof(long), 1 ); 28 p = calloc( sizeof(short)-1, 1 ); 34 p = calloc( sizeof(long), 1 );
|
malloc3.stderr.exp | 2 Warning: silly args (0,-1) to calloc()
|
calloc-overflow.c | 17 x = calloc(szB, 0x10);
|
inline.c | 17 int* a = calloc(10, sizeof(int));
|
inline.stderr.exp | 5 at 0x........: calloc (vg_replace_malloc.c:...)
|
clientperm.c | 17 char* aa = calloc(100,1);
|
/external/valgrind/main/none/tests/ |
timestamp.c | 7 int* x = calloc(1,sizeof(int));
|
/external/clang/test/Analysis/ |
malloc-sizeof.c | 6 void *calloc(size_t nmemb, size_t size); 22 struct A *ap1 = calloc(1, sizeof(struct A)); 23 struct A *ap2 = calloc(2, sizeof(*ap1)); 24 struct A *ap3 = calloc(2, sizeof(ap1)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct A *'}} 25 struct A *ap4 = calloc(3, sizeof(struct A*)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct A *'}} 26 struct A *ap5 = calloc(4, sizeof(struct B)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct B'}}
|
unix-fns.c | 12 void *calloc(size_t, size_t); 74 char *foo = calloc(0, 42); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}} 80 char *foo = calloc(42, 0); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes}} 86 char *foo = calloc(nmemb, size); // no-warning
|
/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/elfutils/libdwfl/ |
dwfl_begin.c | 61 Dwfl *dwfl = calloc (1, sizeof *dwfl);
|
/external/chromium/base/allocator/ |
generic_allocators.cc | 66 void* calloc(size_t n, size_t elem_size) __THROW { 86 return calloc(n, elem_size); 101 return calloc(n, size); 107 #undef calloc macro 130 return calloc(n, size);
|
/ndk/sources/host-tools/make-3.81/w32/subproc/ |
misc.c | 51 tmp = (char**) calloc(arrcnt + 1, sizeof(char *));
67 ptr = *envblk_out = calloc(size_needed, 1);
|
/external/compiler-rt/lib/asan/ |
asan_malloc_win.cc | 54 void *calloc(size_t nmemb, size_t size) { function 60 return calloc(n, size); 64 return calloc(nmemb, size); 79 return calloc(n, elem_size);
|
asan_malloc_linux.cc | 26 DECLARE_REAL_AND_INTERCEPTOR(void*, calloc, uptr nmemb, uptr size); 33 void* (*calloc)(uptr n_elements, uptr elem_size); member in struct:MallocDebug 39 WRAP(malloc), WRAP(free), WRAP(calloc), WRAP(realloc), WRAP(memalign) 76 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { 78 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym.
|
/external/valgrind/main/none/tests/ppc32/ |
lsw.c | 69 a2 = calloc(100,1); 80 a2 = calloc(100,1); 91 a2 = calloc(100,1);
|
/external/valgrind/main/none/tests/ppc64/ |
lsw.c | 69 a2 = calloc(100,1); 80 a2 = calloc(100,1); 91 a2 = calloc(100,1);
|
std_reg_imm.c | 65 t = calloc(sizeof(T),1);
|
/external/libyuv/files/unit_test/ |
rotate_test.cc | 44 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 45 output_1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); 46 output_2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 92 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 93 output_a1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); 94 output_b1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); 95 output_a2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 96 output_b2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 154 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); 155 output_0 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))) [all...] |
/external/ipsec-tools/src/racoon/ |
genlist.c | 44 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);
|
/external/valgrind/main/include/ |
pub_tool_mallocfree.h | 42 extern void* VG_(calloc) ( HChar* cc, SizeT n, SizeT bytes_per_elem );
|