HomeSort by relevance Sort by last modified time
    Searched full:malloc (Results 1 - 25 of 6580) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/massif/tests/
insig.c 8 malloc(16000); // all sizes are divisible by 16 -- no slop
9 malloc(240);
10 malloc(192);
11 malloc(16);
12 malloc(16);
13 malloc(16);
14 malloc(16);
15 malloc(16);
16 malloc(16);
17 malloc(16)
    [all...]
zero.c 8 free(malloc(0));
9 free(malloc(0));
10 free(malloc(0));
11 free(malloc(0));
12 free(malloc(0));
13 free(malloc(0));
14 free(malloc(0));
15 free(malloc(0));
16 free(malloc(0));
17 free(malloc(0))
    [all...]
  /external/boringssl/src/crypto/test/
CMakeLists.txt 7 malloc.cc
  /external/clang/test/SemaCXX/Inputs/
malloc.h 2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
  /external/valgrind/memcheck/tests/
malloc_free_fill.stderr.exp 1 test simple malloc/free:
2 PASSED: malloc-filled
6 PASSED: malloc-filled
8 PASSED: malloc-filled
11 PASSED: malloc-filled
bug155125.c 4 { malloc(-10); }
nanoleak_supp.c 6 volatile int* a = malloc(1000);
static_malloc.c 5 void* malloc(size_t i) { function
16 p = malloc(10);
17 p = malloc(123);
custom-overlap.c 2 // with normal malloc() blocks in leak-checking -- if it happens, we ignore
3 // the malloc() block during the leak check.
13 // the malloc block.
14 x = malloc(1000);
21 // start of the malloc block.
22 x = malloc(1000);
  /external/clang/test/CodeGen/
merge-attrs.c 3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
6 malloc(1);
9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
2009-03-01-MallocNoAlias.c 3 void * __attribute__ ((malloc)) foo (void) { return 0; }
  /external/clang/test/SemaCXX/
no-implicit-builtin-decls.cpp 4 void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}}
7 int malloc(double);
builtin-exception-spec.cpp 3 #include <malloc.h>
6 void *malloc(__SIZE_TYPE__);
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
pr5056.cpp 4 extern "C" void * malloc(int);
7 void *malloc(int);
11 inline void *A<T>::malloc(int) function in class:A
17 malloc(10);
  /external/clang/test/SemaObjC/
attr-malloc.m 4 - (id) test1 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
8 id bar(void) __attribute((malloc)); // no-warning
11 bptr baz(void) __attribute((malloc)); // no-warning
13 __attribute((malloc)) id (*f)(); // expected-warning {{attribute only applies to functions}}
14 __attribute((malloc)) bptr (*g)(); // expected-warning {{attribute only applies to functions}}
15 __attribute((malloc)) void *(^h)(); // expected-warning {{attribute only applies to functions}}
  /external/valgrind/tests/
malloc.h 1 // Replacement for malloc.h which factors out platform differences.
5 # include <malloc/malloc.h>
7 # include <malloc.h>
18 // Darwin lacks memalign, but its malloc is always 16-aligned anyway.
19 x = malloc(szB);
  /external/clang/test/Sema/
attr-malloc.c 6 // Declare malloc here explicitly so we don't depend on system headers.
7 void * malloc(size_t) __attribute((malloc));
9 int no_vars __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
11 void returns_void (void) __attribute((malloc)); // expected-warning {{attribute only applies to return values that are pointers}}
12 int returns_int (void) __attribute((malloc)); // expected-warning {{attribute only applies to return values that are pointers}}
13 int * returns_intptr(void) __attribute((malloc)); // no-warning
15 iptr returns_iptr (void) __attribute((malloc)); // no-warning
17 __attribute((malloc)) void *(*f)(); // expected-warning{{attribute only applies to functions}}
18 __attribute((malloc)) int (*g)(); // expected-warning{{attribute only applies to functions}
    [all...]
implicit-builtin-freestanding.c 4 int malloc(int a) { return a; } function
  /cts/tests/expectations/
unsupportedabis.txt 5 "android.bionic.malloc#pvalloc_overflow",
6 "android.bionic.malloc#pvalloc_std",
7 "android.bionic.malloc#valloc_overflow",
8 "android.bionic.malloc#valloc_std",
  /external/clang/test/Analysis/
malloc-protoype.c 1 // RUN: %clang_cc1 -w -analyze -analyzer-checker=core,unix.Malloc -verify %s
6 void malloc(int i);
11 malloc(1);
malloc-sizeof.c 5 void *malloc(size_t size);
14 int *ip1 = malloc(sizeof(1));
15 int *ip2 = malloc(4 * sizeof(int));
17 long *lp1 = malloc(sizeof(short)); // expected-warning {{Result of 'malloc' is converted to a pointer of type 'long', which is incompatible with sizeof operand type 'short'}}
18 long *lp2 = malloc(5 * sizeof(double)); // expected-warning {{Result of 'malloc' is converted to a pointer of type 'long', which is incompatible with sizeof operand type 'double'}}
19 char *cp3 = malloc(5 * sizeof(char) + 2); // no warning
20 unsigned char *buf = malloc(readSize + sizeof(unsignedInt)); // no warning
33 const char **x = (const char **)malloc(1 * sizeof(char *)); // no-warnin
    [all...]
cxx-method-names.cpp 7 void malloc(void *); // taint checker, malloc checker
8 void free(); // malloc checker, keychain checker
17 E.malloc(0);
malloc-overflow.c 5 extern void * malloc(size_t);
9 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
14 return malloc(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}}
19 return malloc(4 * sizeof(int)); // no-warning
29 return malloc(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
35 return malloc(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
40 return malloc((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
43 extern void * malloc (size_t);
49 return malloc(n * sizeof(int)); // no-warning
55 return malloc(n * sizeof(int)); // no-warnin
    [all...]
malloc.m 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -Wno-objc-root-class -fblocks %s
6 void *malloc(size_t);
9 // RDar10579586 - Test use of malloc() with Objective-C string literal as a
10 // test condition. Not really a malloc() issue, but this also exercises
11 // the check that malloc() returns uninitialized memory.
26 if ((buffer = malloc(sizeof(struct rdar0579586_str))) == ((void*)0))
44 MyArray *array = (MyArray *)malloc(12);
50 char *b = (char *)malloc(12);
55 void *buffer = malloc(4);
  /external/compiler-rt/test/asan/TestCases/Darwin/
malloc_zone-protected.cc 2 #include <malloc/malloc.h>
16 zone->malloc = pwn;

Completed in 447 milliseconds

1 2 3 4 5 6 7 8 91011>>