HomeSort by relevance Sort by last modified time
    Searched refs:calloc (Results 1 - 25 of 1699) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
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/compiler-rt/test/asan/TestCases/Windows/
calloc_left_oob.cc 7 int *buffer = (int*)calloc(42, sizeof(int));
14 // CHECK-NEXT: {{#0 .* calloc }}
calloc_right_oob.cc 7 int *buffer = (int*)calloc(42, sizeof(int));
14 // CHECK-NEXT: {{#0 .* calloc }}
calloc_uaf.cc 7 int *buffer = (int*)calloc(42, sizeof(int));
18 // CHECK-NEXT: {{#0 .* calloc }}
  /external/valgrind/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 );
calloc-overflow.c 17 x = calloc(szB, 0x10);
  /external/swiftshader/third_party/subzero/pydir/
sz_clang_dummies.c 8 return calloc(nmemb, size);
  /external/syslinux/com32/lib/
calloc.c 2 * calloc.c
10 void *calloc(size_t nmemb, size_t size) function
  /external/clang/test/Analysis/
malloc-sizeof.cpp 6 void *calloc(size_t nmemb, size_t size);
20 A *x = static_cast<A*>(calloc(10, sizeof(void*))); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'void *'}}
22 A **y = static_cast<A**>(calloc(10, sizeof(void*))); // no-warning
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'}}
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
sstack.h 36 #define newSStack (SStack *) calloc(1, sizeof(SStack));
sorlist.h 40 #define newSList (SList *) calloc(1, sizeof(SList));
  /external/compiler-rt/test/asan/TestCases/Linux/
calloc-preload.c 18 // so calloc will allocate memory from special pool.
20 ptr = calloc(10, 1);
  /external/curl/lib/
fileinfo.c 33 return calloc(1, sizeof(struct fileinfo));
  /external/swiftshader/third_party/subzero/tests_lit/asan_tests/Input/
calloc.c 6 void *buf = calloc(14, sizeof(int));
  /external/valgrind/none/tests/
timestamp.c 7 int* x = calloc(1,sizeof(int));
  /external/compiler-rt/test/tsan/
malloc_overflow.cc 13 p = calloc((size_t)-1, (size_t)-1);
15 fprintf(stderr, "FAIL calloc(-1, -1) = %p\n", p);
16 p = calloc((size_t)-1 / 2, (size_t)-1 / 2);
18 fprintf(stderr, "FAIL calloc(-1/2, -1/2) = %p\n", p);
  /external/valgrind/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/compiler-rt/test/esan/TestCases/
workingset-early-fault.c 2 // faults during dlsym's calloc during interceptor init.
11 // Our goal is to emulate an instrumented allocator, whose calloc
14 // We do this by replacing calloc:
15 void *calloc(size_t size, size_t n) { function
23 // Now just emulate calloc.
  /external/elfutils/libdwfl/
dwfl_begin.c 40 Dwfl *dwfl = calloc (1, sizeof *dwfl);
  /external/libdrm/tests/kms/
libkms-test-crtc.c 34 crtc = calloc(1, sizeof(*crtc));

Completed in 557 milliseconds

1 2 3 4 5 6 7 8 91011>>