Home
last modified time | relevance | path

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

12345678910>>...14

/system/vold/
DDevmapper.cpp76 free(buffer); in create()
87 free(buffer); in create()
102 free(buffer); in create()
111 free(buffer); in create()
142 free(buffer); in create()
152 free(buffer); in create()
157 free(buffer); in create()
176 free(buffer); in destroy()
189 free(buffer); in destroy()
194 free(buffer); in destroy()
[all …]
/system/sepolicy/tools/fc_sort/
Dfc_sort.c53 free(x->path); in file_context_node_destroy()
54 free(x->file_type); in file_context_node_destroy()
55 free(x->context); in file_context_node_destroy()
234 free(temp); in fc_merge_sort()
315 free(node); in fc_free_file_context_node_list()
392 free(line_buf); in main()
409 free(temp); in main()
416 free(temp); in main()
417 free(line_buf); in main()
431 free(temp); in main()
[all …]
/system/bt/hci/src/
Dhci_packet_parser.cc42 buffer_allocator->free(response); in parse_generic_command_complete()
55 buffer_allocator->free(response); in parse_read_buffer_size_response()
69 buffer_allocator->free(response); in parse_read_local_version_info_response()
85 buffer_allocator->free(response); in parse_read_local_supported_codecs_response()
95 buffer_allocator->free(response); in parse_read_bd_addr_response()
108 buffer_allocator->free(response); in parse_read_local_supported_commands_response()
126 buffer_allocator->free(response); in parse_read_local_extended_features_response()
136 buffer_allocator->free(response); in parse_ble_read_white_list_size_response()
148 buffer_allocator->free(response); in parse_ble_read_buffer_size_response()
159 buffer_allocator->free(response); in parse_ble_read_supported_states_response()
[all …]
Dpacket_fragmenter.cc148 buffer_allocator->free(hdl); in reassemble_and_dispatch()
154 buffer_allocator->free(packet); in reassemble_and_dispatch()
168 buffer_allocator->free(packet); in reassemble_and_dispatch()
198 buffer_allocator->free(packet); in reassemble_and_dispatch()
205 buffer_allocator->free(packet); in reassemble_and_dispatch()
228 buffer_allocator->free(packet); in reassemble_and_dispatch()
/system/extras/libpagemap/
Dpm_process.c51 free(proc); in pm_process_create()
58 free(proc); in pm_process_create()
64 free(proc); in pm_process_create()
135 free(range); in pm_process_pagemap_range()
142 free(range); in pm_process_pagemap_range()
147 free(range); in pm_process_pagemap_range()
235 free(proc->maps); in pm_process_destroy()
237 free(proc); in pm_process_destroy()
265 free(maps); in read_maps()
271 free(maps); in read_maps()
[all …]
Dpm_kernel.c42 free(ker); in pm_kernel_create()
50 free(ker); in pm_kernel_create()
88 free(pids); in pm_kernel_pids()
106 free(pids); in pm_kernel_pids()
155 free(ker); in pm_kernel_destroy()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dqueue.c76 free(item->data.dat); in enqueue()
77 free(item); in enqueue()
102 free(item->data.dat); in printqueue()
103 free(item); in printqueue()
113 free(item->data.dat); in clearqueue()
114 free(item); in clearqueue()
/system/netd/server/
DPppController.cpp46 free(*it); in ~PppController()
88 free(l); in attachPppd()
89 free(r); in attachPppd()
99 free(lr); in attachPppd()
100 free(d1); in attachPppd()
101 free(d2); in attachPppd()
134 free(*it); in updateTtyList()
Dndc.cpp88 free(final_cmd); in do_cmd()
99 free(final_cmd); in do_cmd()
102 free(final_cmd); in do_cmd()
109 free(final_cmd); in do_cmd()
112 free(final_cmd); in do_cmd()
138 free(buffer); in do_monitor()
155 free(buffer); in do_monitor()
182 free(buffer); in do_monitor()
DMDnsSdListener.cpp127 free(quotedServiceName); in MDnsSdListenerDiscoverCallback()
130 free(msg); in MDnsSdListenerDiscoverCallback()
138 free(msg); in stop()
154 free(msg); in stop()
205 free(quotedServiceName); in MDnsSdListenerRegisterCallback()
209 free(msg); in MDnsSdListenerRegisterCallback()
271 free(quotedFullName); in MDnsSdListenerResolveCallback()
272 free(quotedHostTarget); in MDnsSdListenerResolveCallback()
273 free(dst); in MDnsSdListenerResolveCallback()
280 free(msg); in MDnsSdListenerResolveCallback()
[all …]
/system/core/logd/
DLogBufferElement.cpp128 free(retval); in tidToName()
131 free(name); in tidToName()
164 free(const_cast<char*>(commName)); in populateDroppedMessage()
167 free(const_cast<char*>(name)); in populateDroppedMessage()
176 free(const_cast<char*>(name)); in populateDroppedMessage()
184 free(const_cast<char*>(commName)); in populateDroppedMessage()
203 free(const_cast<char*>(name)); in populateDroppedMessage()
204 free(const_cast<char*>(commName)); in populateDroppedMessage()
225 free(const_cast<char*>(name)); in populateDroppedMessage()
226 free(const_cast<char*>(commName)); in populateDroppedMessage()
[all …]
/system/core/libcutils/
Dstr_parms.cpp77 free(s); in str_parms_create()
114 free(key); in remove_pair()
115 free(value); in remove_pair()
136 free(str_parms); in str_parms_destroy()
182 free(old_val); in str_parms_create_str()
183 free(key); in str_parms_create_str()
196 free(str); in str_parms_create_str()
246 free(tmp_key); in str_parms_add_str()
247 free(tmp_val); in str_parms_add_str()
248 free(old_val); in str_parms_add_str()
[all …]
Dandroid_get_control_file.cpp63 free(key); in __android_get_control_from_env()
101 free(proc); in android_get_control_file()
105 free(proc); in android_get_control_file()
107 free(buf); in android_get_control_file()
/system/sepolicy/tests/
Dsepol_wrap.cpp84 free(genfs_i); in destroy_genfs_iter()
121 free(out); in init_type_iter()
125 free(out); in init_type_iter()
144 free(type_i); in destroy_type_iter()
211 free(db); in load_policy()
221 free(db); in load_policy()
233 free(db); in load_policy()
241 free(db); in load_policy()
331 free(avtab_i); in destroy_avtab()
354 free(out); in init_expanded_avtab_common()
[all …]
/system/core/libmemunreachable/tests/
DDisableMalloc_test.cpp46 free(ptr1); in TEST_F()
50 free(ptr2); in TEST_F()
61 free(ptr); in TEST_F()
67 free(ptr); in TEST_F()
115 free(ptr); in TEST_F()
/system/chre/platform/slpi/
Dmemory.cc98 #error SLPI UIMG memory free not supported in memoryFree()
101 free(pointer); in memoryFree()
106 free(pointer); in memoryFreeBigImage()
110 free(pointer); in palSystemApiMemoryFree()
/system/sepolicy/tools/
Dversion_policy.c70 free(buff); in read_cil_file()
74 free(buff); in read_cil_file()
185 free(base); in main()
186 free(tgt_policy); in main()
187 free(num); in main()
188 free(output); in main()
/system/libhidl/libhidlcache/
DMemoryDealer.cpp62 chunk_t(size_t start, size_t size) : start(start), size(size), free(1) {} in chunk_t()
65 int free : 4; member
165 if (cur->free && (cur->size >= (size + extra))) { in alloc()
177 free_chunk->free = 0; in alloc()
210 LOG_FATAL_IF(cur->free, "block at offset 0x%08lX of size 0x%08lX already freed", in dealloc()
215 cur->free = 1; in dealloc()
221 if (p->free || !cur->size) { in dealloc()
230 } while (cur && cur->free); in dealloc()
233 if (!freed->free) { in dealloc()
237 LOG_FATAL_IF(!freed->free, "freed block at offset 0x%08lX of size 0x%08lX is not free!", in dealloc()
[all …]
/system/core/libpackagelistparser/
Dpackagelistparser.c242 free(buf); in packagelist_parse()
259 free(info->name); in packagelist_free()
260 free(info->data_dir); in packagelist_free()
261 free(info->seinfo); in packagelist_free()
262 free(info->gids.gids); in packagelist_free()
263 free(info); in packagelist_free()
/system/chre/apps/chqts/src/shared/
Ddumb_allocator.h34 bool free(void *ptr);
86 bool free(void *ptr) { in free() function
87 return DumbAllocatorBase::free(ptr); in free()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c250 free(cp_block_2); in validate_checkpoint()
256 free(cp_block_2); in validate_checkpoint()
258 free(cp_block_1); in validate_checkpoint()
290 free(cp1); in get_valid_checkpoint_info()
294 free(cp2); in get_valid_checkpoint_info()
335 free(info->sit_blocks); in gather_sit_info()
397 free(info); in generate_f2fs_info()
402 free(info); in generate_f2fs_info()
403 free(sb); in generate_f2fs_info()
452 free(sb); in generate_f2fs_info()
[all …]
/system/extras/ksmutils/
Dksminfo.c169 free(maps); in main()
175 free(maps); in main()
186 free(pids); in main()
271 free(pagemap); in read_pages()
282 free(pagemap); in read_pages()
307 free(pagemap); in read_pages()
323 free(pagemap); in read_pages()
331 free(kp->pages[i].vaddr); in read_pages()
334 free(kp->pages); in read_pages()
339 free(data); in read_pages()
[all …]
/system/chre/platform/linux/
Dmemory.cc32 free(pointer); in memoryFree()
36 free(pointer); in palSystemApiMemoryFree()
/system/extras/memory_replay/tests/
DActionTest.cpp36 free(pointer); in TEST()
46 TEST(ActionTest, free) { in TEST() argument
71 free(pointer); in TEST()
109 free(pointer); in TEST()
119 free(pointer); in TEST()
145 free(pointer); in TEST()
/system/keymaster/android_keymaster/
Dkeymaster_stl.cpp36 free(ptr); in operator delete()
41 free(ptr); in operator delete[]()

12345678910>>...14