Searched refs:free (Results 1 - 25 of 2185) sorted by relevance

1234567891011>>

/external/valgrind/main/massif/tests/
H A Dzero.c8 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(mallo
[all...]
H A Dlong-time.c14 free(x1);
16 free(x2);
17 free(x3);
19 free(x4);
H A Dignoring.c14 free(x);
27 free(y);
/external/clang/test/Sema/
H A Dconditional.c6 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/
H A Dfree.c3 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((voi
[all...]
H A Dredefined_system.c10 char free();
15 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
H A Dundef-buffers.c4 void free(void *);
33 free(buf);
41 free(buf);
/external/compiler-rt/lib/asan/lit_tests/
H A Ddeep_stack_uaf.cc15 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}}
H A Dsanity_check_pure_c.c12 free(x);
14 // CHECK: heap-use-after-free
15 // CHECK: free
H A Dsleep_before_dying.c7 free(x);
H A Dstrip_path_prefix.c7 free(x);
10 // CHECK: heap-use-after-free
H A Duse-after-free.cc21 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 // We override free() on Darwin, thus no malloc_zone_free
36 // CHECK-Darwin: {{ #2 0x.* in main .*use-after-free.cc:21}}
41 // CHECK-Linux: {{ #1 0x.* in main .*use-after-free.cc:20}}
46 // CHECK-Darwin: {{ #3 0x.* in main .*use-after-free.cc:20}}
/external/elfutils/libdwfl/
H A Ddwfl_end.c5 Red Hat elfutils is free software; you can redistribute it and/or modify
58 free (dwfl->lookup_addr);
59 free (dwfl->lookup_module);
60 free (dwfl->lookup_segndx);
70 free (dwfl);
/external/valgrind/main/memcheck/tests/
H A Dmalloc3.c13 free(p);
17 free(p);
21 free(p);
25 free(p);
32 free(p);
H A Dbadfree.c12 free(p);
15 free(return_arg(q));
23 * warning: attempt to free a non-heap object
H A Dfprw.c18 free(dp);
19 free(fp);
22 free(ip);
H A Dmismatches.cpp10 free (fpointer); // should work!
15 free (nvec); // should give a warning
22 free(n); // should give a warning
H A Dbadfree-2trace.stderr.exp1 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:...)
H A Dbadfree.stderr.exp1 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:...)
H A Dmalloc_free_fill.stderr.exp1 test simple malloc/free:
3 PASSED: free-filled
7 PASSED: free-filled
12 PASSED: free-filled
H A Dmalloc2.stderr.exp3 Address 0x........ is 0 bytes inside a block of size 429 free'd
4 at 0x........: free (vg_replace_malloc.c:...)
7 Invalid free() / delete / delete[] / realloc()
8 at 0x........: free (vg_replace_malloc.c:...)
10 Address 0x........ is 0 bytes inside a block of size 429 free'd
11 at 0x........: free (vg_replace_malloc.c:...)
H A Dxml1.c23 // invalid free, the second time
24 free(a);
25 free(a);
28 free(return_arg(&n));
55 * warning: attempt to free a non-heap object
/external/libgsm/src/
H A Dgsm_destroy.c19 extern void free();
25 if (S) free((char *)S);
/external/elfutils/libasm/
H A Ddisasm_end.c6 Red Hat elfutils is free software; you can redistribute it and/or modify
39 free (ctx);
/external/llvm/lib/Support/
H A Dregfree.c47 - 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);

Completed in 1459 milliseconds

1234567891011>>