Home
last modified time | relevance | path

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

12345

/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/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 …]
Dmalloc_test.cpp51 free(ptr); in TEST()
70 free(ptr); in TEST()
106 free(ptr); in TEST()
122 free(ptr); in TEST()
158 free(ptr); in TEST()
175 free(ptr); in TEST()
191 free(ptr); in TEST()
229 free(ptr); in TEST()
244 free(ptr); in TEST()
259 free(ptr); in TEST()
[all …]
Dgetcwd_test.cpp32 free(cwd); in TEST()
42 free(cwd); in TEST()
/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[]()
Dgetcwd.cpp61 free(allocated_buf); in getcwd()
70 free(allocated_buf); in getcwd()
Dtmpfile.cpp55 free(path); in __tmpfile_dir()
61 free(path); in __tmpfile_dir()
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()
Dsched_cpualloc.c42 free(set); in __sched_cpufree()
Dfts.c165 free(parent); in __fts_open()
170 free(parent); in __fts_open()
171 mem2: free(sp->fts_path); in __fts_open()
172 mem1: free(sp); in __fts_open()
215 free(freep); in fts_close()
217 free(p); in fts_close()
225 free(sp->fts_array); in fts_close()
226 free(sp->fts_path); in fts_close()
227 free(sp); in fts_close()
348 free(tmp); in fts_read()
[all …]
Dtdestroy.cpp40 free(root); in tdestroy()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c86 free(resolved); in realpath()
98 free(resolved); in realpath()
115 free(resolved); in realpath()
127 free(resolved); in realpath()
160 free(resolved); in realpath()
166 free(resolved); in realpath()
172 free(resolved); in realpath()
179 free(resolved); in realpath()
203 free(resolved); in realpath()
214 free(resolved); in realpath()
[all …]
Dhdestroy_r.c41 free(hsearch->entries); in hdestroy_r()
42 free(hsearch); in hdestroy_r()
Dhcreate_r.c50 free(hsearch); in hcreate_r()
/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.h50 static void free(LinkedListEntry<soinfo>* entry);
60 static void free(LinkedListEntry<android_namespace_t>* entry);
Dlinker_memory.cpp92 void free(void* ptr) { in free() function
93 get_allocator().free(ptr); in free()
Dlinker_block_allocator_test.cpp77 allocator.free(ptr1); in TEST()
78 allocator.free(ptr2); in TEST()
116 allocator.free(ptr1); in TEST()
/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/system_properties/
Dcontexts_split.cpp49 free(const_cast<char*>(context())); in ~ContextListNode()
60 free(prefix); in ~PrefixNode()
230 free(prop_prefix); in InitializePropertiesFromFile()
238 free(prop_prefix); in InitializePropertiesFromFile()
239 free(context); in InitializePropertiesFromFile()
251 free(prop_prefix); in InitializePropertiesFromFile()
252 free(context); in InitializePropertiesFromFile()
255 free(buffer); in InitializePropertiesFromFile()
/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.cpp160 free(index); in __bionic_open_tzdata_path()
180 free(index); in __bionic_open_tzdata_path()
235 free(path); in __bionic_open_tzdata()
240 free(path); in __bionic_open_tzdata()
245 free(path); in __bionic_open_tzdata()
250 free(path); in __bionic_open_tzdata()
/bionic/tools/versioner/src/
DUtils.h35 std::unique_ptr<char, decltype(&free)> path_copy(strdup(path.c_str()), free); in dirname()
/bionic/libc/private/
Dbionic_allocator.h86 void free(void* ptr);
112 void free(void* ptr);

12345