HomeSort by relevance Sort by last modified time
    Searched full:malloc (Results 26 - 50 of 6594) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/valgrind/main/memcheck/tests/
malloc_free_fill.vgtest 2 vgopts: -q --malloc-fill=0x55 --free-fill=0x77
malloc1.c 16 char* p = malloc(10);
21 p = malloc(10);
malloc3.c 2 /* test of plausible behaviour with malloc and stupid args */
11 p = malloc(0);
12 printf("malloc(0) = 0x%lx\n", (unsigned long)p);
15 p = malloc(-1);
16 printf("malloc(-1) = 0x%lx\n", (unsigned long)p);
clo_redzone.c 5 __attribute__((unused)) char *p = malloc (1);
6 char *b1 = malloc (128);
7 char *b2 = malloc (128);
execve1.stderr.exp-kfail 3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
7 Address 0x........ is not stack'd, malloc'd or (recently) free'd
11 Address 0x........ is not stack'd, malloc'd or (recently) free'd
fprw.c 11 double* dp = malloc(sizeof(double));
12 float* fp = malloc(sizeof(float));
23 ip = malloc(sizeof(int));
mismatches.cpp 5 int* fpointer = (int*)malloc(10);
7 fpointer = (int*)malloc(10);
9 fpointer = (int*)malloc(10);
  /external/clang/test/Analysis/
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);
malloc.c 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,debug.ExprInspection -analyzer-store=region -verify %s
8 void *malloc(size_t);
23 int *p = malloc(12);
28 int *p = malloc(12);
34 int *p = malloc(12);
40 int *p = malloc(12);
46 char *p = (char*)malloc(size);
54 int *q = malloc(12);
61 char *p = malloc(12);
71 char *p = malloc(12)
    [all...]
exceptions.mm 1 // RUN: %clang_cc1 -analyze -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify %s
6 void *malloc(size_t);
18 void *mem = malloc(4); // no-warning (ObjC exceptions are usually fatal)
34 void *mem = malloc(4);
  /hardware/ti/omap4xxx/
tm.c 27 ptr[0] = malloc(10);
29 ptr[2] = malloc(30);
30 ptr[3] = malloc(40);
31 ptr[4] = malloc(50);
32 ptr[5] = malloc(60);
  /ndk/sources/host-tools/sed-4.2.1/m4/
malloc.m4 0 # malloc.m4 serial 9
9 # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it
10 # fails), and replace malloc if it is not.
17 [Define if the 'malloc' function is POSIX compliant.])
19 AC_LIBOBJ([malloc])
25 # Test whether malloc, realloc, calloc are POSIX compliant,
29 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
  /external/flac/include/share/
alloc.h 22 // malloc(n floor 1)
26 return malloc(n);
29 // malloc(n1 * n2) then memset to zero
36 // malloc(n1 + n2)
42 return n == ns ? malloc(ns) : NULL;
45 // malloc(n1 * n2)
51 return n == ns ? malloc(ns) : NULL;
54 // malloc(n1 * (n2 + n3))
60 return n == ns ? malloc(ns) : NULL;
  /external/bison/m4/
malloc.m4 0 # malloc.m4 serial 14
16 AC_CACHE_CHECK([for GNU libc compatible malloc],
23 char *malloc ();
26 [[return ! malloc (0);]])
47 # Test whether 'malloc (0)' is handled like in GNU libc, and replace malloc if
55 [Define to 1 if your system has a GNU libc compatible 'malloc'
64 # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it
65 # fails), and replace malloc if it is not.
72 [Define if the 'malloc' function is POSIX compliant.]
    [all...]
  /external/clang/test/Analysis/diagnostics/
false-positive-suppression.c 7 void *malloc(size_t);
10 int *p = malloc(12);
19 int *p = malloc(12);
  /ndk/tests/device/test-stlport_shared-exception/jni/
new3.cpp 5 extern "C" void * malloc (__SIZE_TYPE__);
16 return malloc (s);
27 return malloc (s);
  /ndk/tests/device/test-stlport_static-exception/jni/
new3.cpp 5 extern "C" void * malloc (__SIZE_TYPE__);
16 return malloc (s);
27 return malloc (s);
  /bionic/libstdc++/src/
new.cpp 8 void* p = malloc(size);
17 void* p = malloc(size);
36 return malloc(size);
41 return malloc(size);
  /external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
malloc_delete_mismatch.cc 1 // Check that we detect malloc/delete mismatch only if the approptiate flag
14 x = (char*)malloc(10);
18 // CHECK: ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x
23 // CHECK-NEXT: #0{{.*}}malloc
  /external/compiler-rt/lib/msan/lit_tests/SharedLibs/
dso-origin-so.cc 13 return malloc(sz);
  /external/compiler-rt/lib/tsan/lit_tests/
malloc_overflow.cc 6 void *p = malloc((size_t)-1);
8 printf("FAIL malloc(-1) = %p\n", p);
9 p = malloc((size_t)-1 / 2);
11 printf("FAIL malloc(-1/2) = %p\n", p);
  /external/valgrind/main/massif/tests/
alloc-fns.c 3 void a4(int n) { malloc(n); }
8 void b4(int n) { malloc(n); }
13 void c4(int n) { malloc(n); }
18 void d4(int n) { malloc(n); }
culling1.c 7 malloc(16); // divisible by 16 -- no slop
culling2.c 7 malloc(400*i); // Divisible by 16 -- no slop.
one.c 8 malloc(1);

Completed in 2086 milliseconds

12 3 4 5 6 7 8 91011>>