HomeSort by relevance Sort by last modified time
    Searched refs:malloc (Results 1 - 25 of 5328) 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...]
one.c 8 malloc(1);
  /external/clang/test/SemaCXX/
builtin-exception-spec.cpp 3 #include <malloc.h>
6 void *malloc(__SIZE_TYPE__);
no-implicit-builtin-decls.cpp 4 void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}}
7 int malloc(double);
  /external/compiler-rt/test/asan/TestCases/Windows/
oom.cc 4 #include <malloc.h>
8 void *ptr = malloc(200 * 1024 * 1024); // 200MB
malloc_left_oob.cc 4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
14 // CHECK-NEXT: {{#0 .* malloc }}
malloc_right_oob.cc 4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
14 // CHECK-NEXT: {{#0 .* malloc }}
malloc_uaf.cc 4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
18 // CHECK-NEXT: {{#0 .* malloc }}
symbols_path.cc 9 #include <malloc.h>
12 char *buffer = (char*)malloc(42);
19 // CHECK-NEXT: {{#0 .* malloc}}
dll_malloc_left_oob.cc 5 #include <malloc.h>
8 char *buffer = (char*)malloc(42);
17 // CHECK-NEXT: malloc
dll_malloc_uaf.cc 5 #include <malloc.h>
9 int *buffer = (int*)malloc(42);
24 // CHECK-NEXT: malloc
double_free.cc 4 #include <malloc.h>
7 int *x = (int*)malloc(42 * sizeof(int));
18 // CHECK-NEXT: {{#0 .* malloc }}
  /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/CodeGen/
2009-03-01-MallocNoAlias.c 3 void * __attribute__ ((malloc)) foo (void) { return 0; }
merge-attrs.c 3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
6 malloc(1);
9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
  /external/clang/test/Misc/
freebsd-arm-size_t.c 8 void *malloc(size_t);
  /external/clang/test/Sema/
implicit-builtin-freestanding.c 3 // RUN: %clang_cc1 -fsyntax-only -verify -fno-builtin-malloc %s
6 int malloc(int a) { return a; } function
arm-darwin-aapcs.cpp 9 void* malloc(size_t);
12 return (malloc(size));
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...]
  /external/compiler-rt/test/asan/TestCases/
atexit_stats.cc 11 #include <malloc.h>
13 int *p1 = (int*)malloc(900);
14 int *p2 = (int*)malloc(90000);
15 int *p3 = (int*)malloc(9000000);
  /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+NewDelete_intersections.cpp 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -std=c++11 -verify %s
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,cplusplus.NewDeleteLeaks -std=c++11 -verify %s
5 void *malloc(size_t);
9 // Check that unix.Malloc + cplusplus.NewDelete does not enable
13 int *p = (int *)malloc(sizeof(int));
NewDelete+MismatchedDeallocator_intersections.cpp 6 void *malloc(size_t);
11 // does not enable warnings produced by the unix.Malloc checker.
17 int *p1 = (int *)malloc(sizeof(int));
20 int *p2 = (int *)malloc(sizeof(int));
24 int *p3 = (int *)malloc(sizeof(int)); // no warn
26 int *p4 = (int *)malloc(sizeof(int));
  /external/compiler-rt/test/lsan/TestCases/
disabler.c 15 p = malloc(sizeof(void *));
18 *p = malloc(666);
19 void *q = malloc(1337);

Completed in 1760 milliseconds

1 2 3 4 5 6 7 8 91011>>