HomeSort by relevance Sort by last modified time
    Searched full:malloc (Results 51 - 75 of 4430) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/clang/test/Analysis/
malloc.c 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.deadcode.UnreachableCode,experimental.core.CastSize,unix.Malloc -analyzer-store=region -verify %s
5 void *malloc(size_t);
17 int *p = malloc(12);
22 int *p = malloc(12);
28 int *p = malloc(12);
34 int *p = malloc(12);
40 char *p = (char*)malloc(size);
48 int *q = malloc(12);
55 char *p = malloc(12);
65 char *p = malloc(12)
    [all...]
malloc-annotations.c 3 void *malloc(size_t);
7 void __attribute((ownership_returns(malloc))) *my_malloc(size_t);
8 void __attribute((ownership_takes(malloc, 1))) my_free(void *);
10 __attribute((ownership_holds(malloc, 1, 2)));
11 void __attribute((ownership_returns(malloc, 1))) *my_malloc2(size_t);
12 void __attribute((ownership_holds(malloc, 1))) my_hold(void *);
17 void __attribute((ownership_holds(malloc, 1)))
18 __attribute((ownership_holds(malloc, 1)))
19 __attribute((ownership_holds(malloc, 3))) my_hold2(void *, void *, void *);
28 int *p = malloc(12)
    [all...]
additive-folding.c 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.deadcode.UnreachableCode,unix.Malloc -verify -analyzer-constraints=basic %s
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.deadcode.UnreachableCode,unix.Malloc -verify -analyzer-constraints=range %s
6 void *malloc(size_t);
19 char* buf = malloc(1);
30 char* buf = malloc(1);
37 char* buf = malloc(1);
60 b = malloc(1);
71 b = malloc(1);
84 b = malloc(1);
95 b = malloc(1)
    [all...]
additive-folding-range-constraints.c 5 void *malloc(size_t);
16 b = malloc(1);
27 b = malloc(1);
38 b = malloc(1);
47 b = malloc(1);
60 b = malloc(1);
71 b = malloc(1);
82 b = malloc(1);
93 b = malloc(1);
coverage.c 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -analyzer-max-loop 4 -verify %s
5 void *malloc(size_t);
35 char *m = (char*)malloc(12); // expected-warning {{potential leak}}
41 char *m = (char*)malloc(12);// expected-warning {{potential leak}}
48 char *m = (char*)malloc(12);// expected-warning {{potential leak}}
54 char *m = (char*)malloc(12);// expected-warning {{potential leak}}
61 char *m = (char*)malloc(12); // no-warning
68 char *m = (char*)malloc(12); // expected-warning {{potential leak}}
80 char *m = (char*)malloc(12); // expected-warning {{potential leak}}
malloc.mm 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -fblocks %s
5 void *malloc(size_t);
10 unsigned char *data = (unsigned char *)malloc(42);
16 unsigned char *data = (unsigned char *)malloc(42);
21 unsigned char *data = (unsigned char *)malloc(42);
27 unsigned char *data = (unsigned char *)malloc(42);
32 unichar *data = (unichar*)malloc(42);
38 unsigned char *data = (unsigned char *)malloc(42);
43 unsigned char *data = (unsigned char *)malloc(42);
49 unsigned char *data = (unsigned char *)malloc(42)
    [all...]
undef-buffers.c 3 void *malloc(size_t);
30 char *buf = malloc(2);
38 char *buf = malloc(2);
  /ndk/sources/host-tools/sed-4.2.1/lib/
realloc.c 27 /* Infer the properties of the system's malloc function.
28 Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
29 #if GNULIB_MALLOC_GNU && !defined malloc
33 /* Below we want to call the system's malloc and realloc.
35 declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */
36 #undef malloc macro
44 /* Below we want to call the system's malloc and realloc.
47 #undef malloc macro
52 use malloc. */
76 result = malloc (n)
    [all...]
malloc.c 3 /* malloc() function that is glibc compatible.
24 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
25 #ifdef malloc
27 # undef malloc macro
35 /* Call the system's malloc below. */
36 #undef malloc macro
51 result = malloc (n);
  /external/clang/test/Sema/
implicit-builtin-decl.c 3 int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \
4 // expected-note{{please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \
5 // expected-note{{'malloc' is a builtin with type 'void *}}
14 void g(int malloc) { // okay: these aren't functions
19 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}}
  /external/valgrind/main/massif/tests/
thresholds.c 7 // Also, it's deliberate that the 'malloc(2000)' and 'my_malloc1(500)' calls
23 malloc(n);
28 malloc(n);
33 malloc(n);
55 malloc(16000);
ignoring.c 13 int* x = malloc(1024);
17 malloc(512);
26 int* y = malloc(256);
malloc_usable.c 2 #include "tests/malloc.h"
11 int* x = malloc(99);
realloc.c 5 int* x = realloc(NULL, 800); // equivalent to malloc(800), and ends up
6 int* y __attribute__((unused)); // calling Valgrind's (and Massif's) malloc
  /external/libgsm/src/
gsm_create.c 22 # include <malloc.h>
24 extern char * malloc();
38 r = (gsm)malloc(sizeof(struct gsm_state));
  /external/llvm/test/Transforms/GVN/
2009-11-12-MemDepMallocBitCast.ll 1 ; Test to make sure malloc's bitcast does not block detection of a store
6 %1 = tail call i8* @malloc(i64 mul (i64 4, i64 ptrtoint (i64* getelementptr (i64* null, i64 1) to i64))) ; <i8*> [#uses=2]
15 declare noalias i8* @malloc(i64)
  /external/valgrind/main/memcheck/tests/
execve1.stderr.exp 4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
9 Address 0x........ is not stack'd, malloc'd or (recently) free'd
14 Address 0x........ is not stack'd, malloc'd or (recently) free'd
buflen_check.stderr.exp 4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
9 Address 0x........ is not stack'd, malloc'd or (recently) free'd
memcmptest.c 11 s1 = malloc(10); strcpy(s1,"fooble");
12 s2 = malloc(10); strcpy(s2,"fooble");
  /external/llvm/test/Transforms/InstCombine/
malloc-free-delete.ll 5 %malloc_206 = tail call i8* @malloc(i32 mul (i32 ptrtoint (i8* getelementptr (i8* null, i32 1) to i32), i32 10))
10 ; CHECK-NOT: malloc
15 declare noalias i8* @malloc(i32)
21 %m = call i8* @malloc(i32 1)
33 %a = call noalias i8* @malloc(i32 10)
43 %A = call i8* @malloc(i32 16000)
  /external/clang/test/CodeGenObjC/
2009-01-26-WriteBarrier-2.m 7 void * malloc(size_t size);
14 StructWithBlock_t *swbp = (StructWithBlock_t *)malloc(sizeof(StructWithBlock_t*));
  /external/valgrind/main/memcheck/tests/x86-linux/
scalar_supp.c 8 int* pi = malloc(sizeof(int));
11 char** pc = malloc(sizeof(char*));
  /external/webrtc/src/common_audio/resampler/
resampler.cc 285 state1_ = malloc(8 * sizeof(WebRtc_Word32));
289 state1_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
294 state1_ = malloc(8 * sizeof(WebRtc_Word32));
297 state2_ = malloc(8 * sizeof(WebRtc_Word32));
302 state1_ = malloc(8 * sizeof(WebRtc_Word32));
305 state2_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
310 state1_ = malloc(8 * sizeof(WebRtc_Word32));
313 state2_ = malloc(8 * sizeof(WebRtc_Word32));
316 state3_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
322 state1_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz))
    [all...]
  /external/compiler-rt/lib/asan/output_tests/
strncpy-overflow.cc 4 char *hello = (char*)malloc(6);
6 char *short_buffer = (char*)malloc(9);
18 // Check-Linux: {{ #0 0x.* in malloc}}
23 // Check-Darwin: {{ #2 0x.* in malloc.*}}
  /external/qemu/android/utils/
setenv.c 11 char *string = malloc(length);

Completed in 820 milliseconds

1 23 4 5 6 7 8 91011>>