OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:free
(Results
1 - 25
of
2673
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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/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
2
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
((void*)1000); // expected-warning {{Argument to free() is a constant address (1000), which is not (…)
[
all
...]
additive-folding.c
7
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
(b)
[
all
...]
additive-folding-range-constraints.c
6
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
(b)
[
all
...]
undef-buffers.c
4
void
free
(void *);
33
free
(buf);
41
free
(buf);
/abi/cpp/src/
delete.cc
37
free
(ptr);
/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[]
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:...)
badfree.stderr.exp
1
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:...)
badfree3.stderr.exp
1
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:...)
malloc_free_fill.stderr.exp
1
test simple malloc/
free
:
3
PASSED:
free
-filled
7
PASSED:
free
-filled
12
PASSED:
free
-filled
malloc2.stderr.exp
3
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:...)
xml1.c
23
// 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/
gsm_destroy.c
19
extern void
free
();
25
if (S)
free
((char *)S);
/external/valgrind/main/exp-ptrcheck/tests/
fp.c
11
free
(dp);
12
free
(fp);
/bionic/libc/regex/
regfree.c
46
- regfree -
free
everything
63
free
((char *)g->strip);
65
free
((char *)g->sets);
67
free
((char *)g->setbits);
69
free
(g->must);
70
free
((char *)g);
/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);
/bionic/libstdc++/src/
new.cpp
26
free
(ptr);
31
free
(ptr);
46
free
(ptr);
51
free
(ptr);
Completed in 462 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>