HomeSort by relevance Sort by last modified time
    Searched refs:free (Results 1 - 25 of 3517) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/massif/tests/
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...]
long-time.c 14 free(x1);
16 free(x2);
17 free(x3);
19 free(x4);
ignoring.c 14 free(x);
27 free(y);
  /external/clang/test/Analysis/diagnostics/Inputs/include/sys/
queue.h 3 void free(void *);
4 #define FREE_POINTER(x) free(x)
  /external/clang/test/Sema/
conditional.c 6 void free(void *ptr);
9 return (1 ? free(0) : _efree(0)); // expected-error {{returning 'void' from a function with incompatible result type 'int'}}
13 return (1 ? _efree(0) : free(0)); // expected-error {{returning 'void' from a function with incompatible result type 'int'}}
  /external/clang/test/Analysis/
free.c 3 void free(void *);
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()}}
21 free(x); // no-warning
26 free(ptr()); // no-warning
30 free((void*)1000); // expected-warning {{Argument to free() is a constant address (1000), which is not (…)
    [all...]
redefined_system.c 11 char free();
16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
  /external/compiler-rt/lib/asan/lit_tests/
deep_stack_uaf.cc 15 static void free(char *x) { function in struct:DeepFree
16 DeepFree<depth - 1>::free(x);
22 static void free(char *x) { function in struct:DeepFree
23 ::free(x);
30 DeepFree<200>::free(x);
32 // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}
sanity_check_pure_c.c 12 free(x);
14 // CHECK: heap-use-after-free
15 // CHECK: free
sleep_before_dying.c 7 free(x);
strip_path_prefix.c 7 free(x);
10 // CHECK: heap-use-after-free
use-after-free-right.cc 18 // Test use-after-free report in the case when access is at the right border of
24 free((void*)x);
26 // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}
29 // CHECK: {{ #0 0x.* in _?main .*use-after-free-right.cc:25}}
33 // CHECK-Linux: {{ #0 0x.* in .*free}}
34 // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:24}}
37 // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:24}}
42 // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:23}}
45 // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:23}}
use-after-free.cc 21 free(x);
23 // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}
26 // CHECK: {{ #0 0x.* in _?main .*use-after-free.cc:22}}
30 // CHECK-Linux: {{ #0 0x.* in .*free}}
31 // CHECK-Linux: {{ #1 0x.* in main .*use-after-free.cc:21}}
34 // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free.cc:21}}
39 // CHECK-Linux: {{ #1 0x.* in main .*use-after-free.cc:20}}
42 // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free.cc:20}}
  /abi/cpp/src/
delete.cc 37 free(ptr);
  /external/elfutils/libdwfl/
dwfl_end.c 5 Red Hat elfutils is free software; you can redistribute it and/or modify
7 Free Software Foundation; version 2 of the License.
15 with Red Hat elfutils; if not, write to the Free Software Foundation,
58 free (dwfl->lookup_addr);
59 free (dwfl->lookup_module);
60 free (dwfl->lookup_segndx);
70 free (dwfl);
  /external/valgrind/main/memcheck/tests/
malloc3.c 13 free(p);
17 free(p);
21 free(p);
25 free(p);
32 free(p);
badfree.c 11 /* Free a pointer to Never-Never Land */
12 free(p);
14 /* Free a pointer to a stack block */
15 free(return_arg(q));
23 * warning: attempt to free a non-heap object
fprw.c 18 free(dp);
19 free(fp);
22 free(ip);
mismatches.cpp 10 free (fpointer); // should work!
15 free (nvec); // should give a warning
22 free(n); // should give a warning
badfree-2trace.stderr.exp 1 Invalid free() / delete / delete[] / realloc()
2 at 0x........: free (vg_replace_malloc.c:...)
4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
6 Invalid free() / delete / delete[] / realloc()
7 at 0x........: free (vg_replace_malloc.c:...)
badfree.stderr.exp 1 Invalid free() / delete / delete[] / realloc()
2 at 0x........: free (vg_replace_malloc.c:...)
4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
6 Invalid free() / delete / delete[] / realloc()
7 at 0x........: free (vg_replace_malloc.c:...)
  /external/libgsm/src/
gsm_destroy.c 19 extern void free();
25 if (S) free((char *)S);
  /external/elfutils/libasm/
disasm_end.c 6 Red Hat elfutils is free software; you can redistribute it and/or modify
8 Free Software Foundation; version 2 of the License.
16 with Red Hat elfutils; if not, write to the Free Software Foundation,
39 free (ctx);
  /external/llvm/lib/Support/
regfree.c 47 - llvm_regfree - free everything
64 free((char *)g->strip);
66 free((char *)g->sets);
68 free((char *)g->setbits);
70 free(g->must);
71 free((char *)g);
  /ndk/sources/host-tools/ndk-stack/regex/
regfree.c 48 - regfree - free everything
65 free((char *)g->strip);
67 free((char *)g->sets);
69 free((char *)g->setbits);
71 free(g->must);
72 free((char *)g);

Completed in 313 milliseconds

1 2 3 4 5 6 7 8 91011>>