Home
last modified time | relevance | path

Searched refs:erase (Results 1 – 25 of 250) sorted by relevance

12345678910

/system/extras/latencytop/
Dlatencytop.c44 static struct latency_entry* read_global_stats(struct latency_entry* list, int erase);
45 static struct latency_entry* read_process_stats(struct latency_entry* list, int erase, int pid);
46 static struct latency_entry* read_thread_stats(struct latency_entry* list, int erase, int pid,
72 int count, erase; in main() local
139 erase = 1; in main()
147 e = read_thread_stats(e, erase, pid, tid, 1); in main()
149 e = read_process_stats(e, erase, pid); in main()
152 e = read_global_stats(e, erase); in main()
154 erase = 0; in main()
174 static struct latency_entry* read_global_stats(struct latency_entry* list, int erase) { in read_global_stats() argument
[all …]
/system/hardware/interfaces/suspend/1.0/default/
DWakeupList.cpp61 erase(staleEntry); in update()
68 erase(std::prev(mWakeups.end())); in evict()
79 void WakeupList::erase(std::list<WakeupInfo>::iterator entry) { in erase() function in android::system::suspend::V1_0::WakeupList
80 mLookupTable.erase(entry->name); in erase()
81 mWakeups.erase(entry); in erase()
DWakeLockEntryList.cpp138 mLookupTable.erase(evictKey); in evictIfFull()
139 mStats.erase(evictIt); in evictIfFull()
159 mLookupTable.erase(key); in deleteEntry()
160 mStats.erase(entry); in deleteEntry()
260 valStr.erase(std::remove(valStr.begin(), valStr.end(), '\n'), valStr.end()); in createKernelEntry()
DWakeupList.h45 void erase(std::list<WakeupInfo>::iterator entry) REQUIRES(mLock);
/system/libhidl/transport/include/hidl/
DConcurrentMap.h48 size_type erase(const K &k) { in erase() function
50 return mMap.erase(k); in erase()
60 mMap.erase(iter); in eraseIfEqual()
80 size_type eraseLocked(const K& k) { return mMap.erase(k); } in eraseLocked()
/system/chre/util/tests/
Dheap_test.cc65 v.erase(v.size() - 1); in TEST()
105 v.erase(v.size() - 1); in TEST()
114 v.erase(v.size() - 1); in TEST()
130 v.erase(v.size() - 1); in TEST()
Dfixed_size_vector_test.cc92 vector.erase(1); in TEST()
132 vector.erase(1); in TEST()
139 vector.erase(2); in TEST()
146 vector.erase(0); in TEST()
280 vector.erase(2); in TEST()
/system/connectivity/wificond/net/
Dnetlink_manager.cpp149 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
154 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
171 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
315 message_handlers_.erase(sequence); in SendMessageAndGetResponses()
320 message_handlers_.erase(sequence); in SendMessageAndGetResponses()
329 message_handlers_.erase(sequence); in SendMessageAndGetResponses()
801 on_station_event_handler_.erase(interface_index); in UnsubscribeStationEvent()
811 on_channel_switch_event_handler_.erase(interface_index); in UnsubscribeChannelSwitchEvent()
822 on_reg_domain_changed_handler_.erase(wiphy_index); in UnsubscribeRegDomainChange()
833 on_scan_result_ready_handler_.erase(interface_index); in UnsubscribeScanResultNotification()
[all …]
/system/libvintf/
DHalInterface.cpp65 return mRegexes.erase(instanceOrPattern) > 0; in removeInstance()
67 return mInstances.erase(instanceOrPattern) > 0; in removeInstance()
/system/chre/core/
Dble_request_multiplexer.cc54 mRequests.erase(index); in removeRequests()
77 mRequests.erase(index); in removeDisabledRequests()
/system/logging/logd/
DLogReaderList.cpp73 pending_reader_threads_.erase(iter); in HandlePendingThread()
100 running_reader_threads_.erase(iter); in RemoveRunningThread()
109 running_reader_threads_.erase(iter); in RemoveRunningThread()
/system/extras/tests/mmc_tracepoints/
DREADME16 read or write ops, and the ones with erase in the name are the various erase
/system/keymaster/include/keymaster/
DList.h206 iterator erase(iterator posn) { in erase() function
216 iterator erase(iterator first, iterator last) { in erase() function
218 erase(first++); // don't erase than incr later! in erase()
293 erase(firstDst, lastDst); // yes, erase any extras
/system/core/libutils/include/utils/
DList.h230 iterator erase(iterator posn) { in erase() function
240 iterator erase(iterator first, iterator last) { in erase() function
242 erase(first++); // don't erase than incr later! in erase()
326 erase(firstDst, lastDst); // yes, erase any extras
/system/tools/hidl/c2hal/
DAST.cpp147 it = mDeclarations->erase(it); in isolateInterfaces()
165 it = mDeclarations->erase(it); in isolateGlobalInterface()
192 it = mDeclarations->erase(it); in isolateIncludes()
215 it = mDeclarations->erase(it); in isolateConstants()
/system/keymaster/tests/
Dattestation_record_test.cpp151 hw_set.erase(hw_set.find(TAG_INCLUDE_UNIQUE_ID)); in TEST()
154 sw_set.erase(sw_set.find(TAG_APPLICATION_ID)); in TEST()
155 sw_set.erase(sw_set.find(TAG_APPLICATION_DATA)); in TEST()
250 hw_set.erase(hw_set.find(TAG_INCLUDE_UNIQUE_ID)); in TEST()
253 sw_set.erase(sw_set.find(TAG_APPLICATION_ID)); in TEST()
254 sw_set.erase(sw_set.find(TAG_APPLICATION_DATA)); in TEST()
/system/hwservicemanager/
DHidlService.cpp89 it = mListeners.erase(it); in removeListener()
126 it = mClientCallbacks.erase(it); in removeClientCallback()
221 it = mListeners.erase(it); in sendRegistrationNotifications()
/system/core/init/
Depoll.cpp62 epoll_handlers_.erase(fd); in RegisterHandler()
112 epoll_handlers_.erase(fd); in Wait()
Depoll_test.cpp37 ~CatchDtor() { CHECK_EQ(sValidObjects.erase(this), size_t{1}); } in ~CatchDtor()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc168 first = files_.erase(first); in Init()
172 second = files_.erase(second); in Init()
175 first = files_.erase(first); in Init()
231 zlib_blks.erase(last, zlib_blks.end()); in Init()
/system/update_engine/common/
Dfake_prefs.cc100 values_.erase(std::string{key}); in Delete()
190 observers_for_key.erase(observer_it); in RemoveObserver()
192 observers_.erase(str_key); in RemoveObserver()
/system/netd/server/
DLocalNetwork.cpp54 mInterfaces.erase(interface); in removeInterface()
/system/chre/util/pigweed/
Drpc_server.cc89 mConnectedHosts.erase(0); in close()
181 mConnectedHosts.erase(hostIndex); in handleHostClientNotification()
/system/connectivity/wificond/
Dserver.cpp93 wificond_event_callbacks_.erase(it); in unregisterWificondEventCallback()
120 interface_event_callbacks_.erase(it); in UnregisterCallback()
164 ap_interfaces_.erase(iter); in tearDownApInterface()
172 iface_to_wiphy_index_map_.erase(iter_wi); in tearDownApInterface()
229 client_interfaces_.erase(iter); in tearDownClientInterface()
237 iface_to_wiphy_index_map_.erase(iter_wi); in tearDownClientInterface()
732 it = band_to_wiphy_index_map_.erase(it); in EraseBandWiphyIndexMap()
/system/chre/util/include/chre/util/
Dpriority_queue_impl.h99 mData.erase(mData.size() - 1); in pop()
108 mData.erase(mData.size() - 1); in remove()

12345678910