Searched refs:free (Results 1 - 25 of 1842) 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);
H A Dpeak.c9 p = malloc(16); // 'free' calls result in peaks, but after that,
10 free(p); // only every second one does.
/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.c2 void free(void *);
6 free(a); // expected-warning {{Argument to free() is the address of the local variable 'a', which is not memory allocated by malloc()}}
11 free(&a); // expected-warning {{Argument to free() is the address of the local variable 'a', which is not memory allocated by malloc()}}
16 free(a); // expected-warning {{Argument to free() is the address of the static variable 'a', which is not memory allocated by malloc()}}
20 free(x); // no-warning
25 free(ptr()); // no-warning
29 free((voi
[all...]
H A Dadditive-folding.c7 void free(void *);
22 free(buf);
33 free(buf);
49 free(buf);
65 free(b);
76 free(b);
89 free(b);
100 free(b);
111 free(b);
119 free(
[all...]
H A Dadditive-folding-range-constraints.c6 void free(void *);
20 free(b);
31 free(b);
40 free(b);
49 free(b);
62 free(b);
64 free(b);
75 free(b);
84 free(b);
97 free(
[all...]
H A Dundef-buffers.c4 void free(void *);
33 free(buf);
41 free(buf);
/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[]
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[]
7 at 0x........: free (vg_replace_malloc.c:...)
H A Dbadfree.stderr.exp1 Invalid free() / delete / delete[]
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[]
7 at 0x........: free (vg_replace_malloc.c:...)
H A Dbadfree3.stderr.exp1 Invalid free() / delete / delete[]
2 at 0x........: free (coregrind/vg_replace_malloc.c:...)
4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
6 Invalid free() / delete / delete[]
7 at 0x........: free (coregrind/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[]
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
H A Ddoublefree.c10 free(p);
H A Dpartial_load.c17 free(p);
25 free(p);
31 free(p);
36 free(p);
/external/libgsm/src/
H A Dgsm_destroy.c19 extern void free();
25 if (S) free((char *)S);
/external/valgrind/main/exp-ptrcheck/tests/
H A Dfp.c11 free(dp);
12 free(fp);
/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);
/external/valgrind/main/memcheck/tests/x86/
H A Despindola2.c34 free(x);

Completed in 309 milliseconds

1234567891011>>