Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 162) sorted by relevance

1234567

/bionic/tests/
Dbionic_allocator_test.cpp68 allocator.free(ptr); in TEST()
73 allocator.free(nullptr); in TEST()
149 allocator.free(ptr1); in TEST()
150 allocator.free(ptr2); in TEST()
169 allocator.free(ptr2); in TEST()
170 allocator.free(ptr1); in TEST()
205 allocator.free(ptr1); in TEST()
208 allocator.free(objects[i]); in TEST()
211 allocator.free(ptr2); in TEST()
212 allocator.free(ptr_to_free); in TEST()
[all …]
D__cxa_demangle_test.cpp38 free(p); in TEST()
46 free(p); in TEST()
Dmalloc_test.cpp69 free(ptr); in TEST()
88 free(ptr); in TEST()
102 free(ptr); in TEST()
142 free(ptr); in TEST()
158 free(ptr); in TEST()
194 free(ptr); in TEST()
211 free(ptr); in TEST()
227 free(ptr); in TEST()
265 free(ptr); in TEST()
280 free(ptr); in TEST()
[all …]
Dheap_tagging_level_test.cpp62 EXPECT_DEATH(free(x), "Pointer tag for 0x[a-zA-Z0-9]* was truncated"); in TEST()
65 EXPECT_DEATH(free(untag_address(malloc(1))), "Pointer tag for 0x[a-zA-Z0-9]* was truncated"); in TEST()
72 free(x); in TEST()
74 free(untag_address(y)); in TEST()
Dgetcwd_test.cpp32 free(cwd); in TEST()
42 free(cwd); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregfree.c121 free(g->strip); in __weak_alias()
123 free(g->sets); in __weak_alias()
125 free(g->setbits); in __weak_alias()
127 free(g->must); in __weak_alias()
128 free(g); in __weak_alias()
/bionic/libc/bionic/
Dnew.cpp43 free(ptr); in operator delete()
47 free(ptr); in operator delete[]()
59 free(ptr); in operator delete()
63 free(ptr); in operator delete[]()
Dposix_timers.cpp94 free(timer); in __timer_thread_start()
117 free(timer); in timer_create()
132 free(timer); in timer_create()
160 free(timer); in timer_create()
197 free(timer); in timer_delete()
Dtmpfile.cpp62 free(path); in __tmpfile_dir_legacy()
68 free(path); in __tmpfile_dir_legacy()
124 free(path); in tempnam()
Dgetcwd.cpp61 free(allocated_buf); in getcwd()
70 free(allocated_buf); in getcwd()
Dfts.c171 free(parent); in __fts_open()
176 free(parent); in __fts_open()
177 mem2: free(sp->fts_path); in __fts_open()
178 mem1: free(sp); in __fts_open()
222 free(freep); in fts_close()
224 free(p); in fts_close()
233 free(sp->fts_array); in fts_close()
234 free(sp->fts_path); in fts_close()
235 free(sp); in fts_close()
358 free(tmp); in fts_read()
[all …]
Dnet_if.cpp80 if (names_too) free(it->data.if_name); in Free()
81 free(it); in Free()
148 free(ptr->if_name); in if_freenameindex()
/bionic/linker/
Dlinker_block_allocator.h50 void free(void* block);
90 void free(T* t) { block_allocator_.free(t); } in free() function
Dlinker_common_types.h47 static void free(LinkedListEntry<soinfo>* entry);
57 static void free(LinkedListEntry<android_namespace_t>* entry);
Dlinker_block_allocator_test.cpp77 allocator.free(ptr1); in TEST()
78 allocator.free(ptr2); in TEST()
116 allocator.free(ptr1); in TEST()
Dlinker_memory.cpp92 void free(void* ptr) { in free() function
93 get_allocator().free(ptr); in free()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dhdestroy_r.c41 free(hsearch->entries); in hdestroy_r()
42 free(hsearch); in hdestroy_r()
/bionic/libc/system_properties/
Dcontexts_split.cpp49 free(const_cast<char*>(context())); in ~ContextListNode()
60 free(prefix); in ~PrefixNode()
228 free(prop_prefix); in InitializePropertiesFromFile()
236 free(prop_prefix); in InitializePropertiesFromFile()
237 free(context); in InitializePropertiesFromFile()
249 free(prop_prefix); in InitializePropertiesFromFile()
250 free(context); in InitializePropertiesFromFile()
253 free(buffer); in InitializePropertiesFromFile()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvswprintf.c67 free(f._bf._base); in vswprintf()
73 free(f._bf._base); in vswprintf()
84 free(f._bf._base); in vswprintf()
Dvswscanf.c73 free(mbstr); in vswscanf()
85 free(mbstr); in vswscanf()
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp193 free(ptr); in TEST_F()
232 free(ptr); in TEST_F()
249 free(ptr); in TEST_F()
268 free(ptr); in TEST_F()
286 free(ptr); in TEST_F()
305 free(ptr); in TEST_F()
342 free(ptr); in TEST_F()
384 free(ptr); in TEST_F()
404 free(ptr); in TEST_F()
/bionic/libc/tzcode/
Dbionic.cpp165 free(index); in __bionic_open_tzdata_path()
186 free(index); in __bionic_open_tzdata_path()
242 free(path); in __bionic_open_tzdata()
247 free(path); in __bionic_open_tzdata()
252 free(path); in __bionic_open_tzdata()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c80 goto free; in evWrite()
82 goto free; in evWrite()
93 free: in evWrite()
114 goto free; in evRead()
116 goto free; in evRead()
127 free: in evRead()
/bionic/libc/private/
Dbionic_allocator.h86 void free(void* ptr);
112 void free(void* ptr);
/bionic/tools/versioner/src/
DUtils.h35 std::unique_ptr<char, decltype(&free)> path_copy(strdup(path.c_str()), free); in dirname()

1234567