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

1 23 4 5 6 7 8 91011>>

  /external/valgrind/main/memcheck/tests/
badaddrvalue.c 7 char* aa = malloc(8);
badjump2.stderr.exp-kfail 3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
clireq_nofill.vgtest 2 vgopts: -q --undef-value-errors=no --malloc-fill=0xaf --free-fill=0xdb
doublefree.c 8 void* p = malloc(177);
execve2.stderr.exp-kfail 3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
trivialleak.c 8 leak = (void*)malloc( 1 );
buflen_check.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
malloc3.stdout.exp 0 malloc(0) = 0x........
2 malloc(-1) = 0x........
malloc_usable.c 2 #include "tests/malloc.h"
11 int* x = malloc(99);
big_blocks_freed_list.c 18 semi_big = malloc (900000);
19 big = malloc (1000001);
27 small = malloc (10000);
32 with the malloc of small above. */
39 big = malloc (1000001);
51 other_small = malloc(10000);
  /external/clang/test/Analysis/
redefined_system.c 7 char malloc();
16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
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...]
free.c 1 // RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-checker=core,unix.Malloc -fblocks -verify %s
7 free(a); // expected-warning {{Argument to free() is the address of the local variable 'a', which is not memory allocated by malloc()}}
12 free(&a); // expected-warning {{Argument to free() is the address of the local variable 'a', which is not memory allocated by malloc()}}
17 free(a); // expected-warning {{Argument to free() is the address of the static variable 'a', which is not memory allocated by malloc()}}
30 free((void*)1000); // expected-warning {{Argument to free() is a constant address (1000), which is not memory allocated by malloc()}}
44 free(&&label); // expected-warning {{Argument to free() is the address of the label 'label', which is not memory allocated by malloc()}}
48 free((void*)&t10); // expected-warning {{Argument to free() is the address of the function 't10', which is not memory allocated by malloc()}}
57 free(^{return;}); // expected-warning {{Argument to free() is a block, which is not memory allocated by malloc()}}
61 free(&a); // expected-warning {{Argument to free() is the address of the parameter 'a', which is not memory allocated by malloc()}}
66 free(someGlobal); // expected-warning {{Argument to free() is the address of the global variable 'someGlobal', which is not memory allocated by malloc()}}
    [all...]
malloc.cpp 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc -analyzer-store=region -verify %s
4 void *malloc(size_t);
11 malloc(4);
20 return malloc(10);
29 char *x = (char*)malloc(12);
35 char *x = (char*)malloc(12);
45 char *x = (char*)malloc(12);
64 v.push_back(malloc(4));
73 result.a = malloc(4);
78 // Malloc checker used to report leaks for the following two test cases
    [all...]
  /external/clang/test/Sema/
arm-darwin-aapcs.cpp 8 void* malloc(size_t);
11 return (malloc(size));
implicit-builtin-redecl.c 4 static void* malloc(int);
5 static void* malloc(int size) { function
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/
filter_stderr 11 perl -n -e 'print if !/^Massif: (malloc|calloc|realloc|memalign)_common$/' |
14 perl -n -e 'print if !/^Massif: malloc_zone_(malloc|calloc|realloc|memalign|valloc)$/'
peak.c 8 p = malloc(1600); // With --peak-inaccuracy=1000, the first 10 of
9 p = malloc(16); // 'free' calls result in peaks, but after that,
  /ndk/tests/device/test-stlport_shared-exception/jni/
new6.cpp 6 extern "C" void *malloc (size_t);
15 return malloc (size);
  /ndk/tests/device/test-stlport_static-exception/jni/
new6.cpp 6 extern "C" void *malloc (size_t);
15 return malloc (size);
  /external/bison/lib/
malloc.c 0 /* malloc() function that is glibc compatible.
22 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
23 #ifdef malloc
25 # undef malloc macro
26 /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */
48 result = malloc (n);
  /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/chromium_org/third_party/sqlite/src/test/
mallocH.test 12 # This test script checks malloc failures in various obscure operations.
20 # Malloc failures in journaling of in-memory databases.
33 # Malloc failures while parsing a CASE expression.
39 # Malloc failures while parsing a EXISTS(SELECT ...)
45 # Malloc failures within the replace() function.
51 # Malloc failures during EXPLAIN.
62 # Malloc failure during integrity_check pragma.

Completed in 375 milliseconds

1 23 4 5 6 7 8 91011>>