Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 20 of 20) sorted by relevance

/system/core/include/utils/
DList.h175 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef
193 inline iterator begin() { in begin()
194 return iterator(mpMiddle->getNext()); in begin()
199 inline iterator end() { in end()
200 return iterator(mpMiddle); in end()
211 iterator insert(iterator posn, const T& val) in insert()
218 return iterator(newNode); in insert()
222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert()
228 iterator erase(iterator posn) { in erase()
234 return iterator(pNext); in erase()
[all …]
DVector.h185 typedef TYPE* iterator; typedef
188 inline iterator begin() { return editArray(); } in begin()
189 inline iterator end() { return editArray() + size(); } in end()
196 inline iterator erase(iterator pos) { in erase()
/system/core/include/sysutils/
DList.h176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef
194 inline iterator begin() { in begin()
195 return iterator(mpMiddle->getNext()); in begin()
200 inline iterator end() { in end()
201 return iterator(mpMiddle); in end()
212 iterator insert(iterator posn, const T& val) in insert()
219 return iterator(newNode); in insert()
223 void insert(iterator posn, const_iterator first, const_iterator last) { in insert()
229 iterator erase(iterator posn) { in erase()
235 return iterator(pNext); in erase()
[all …]
/system/netd/
DList.h176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef
194 inline iterator begin() { in begin()
195 return iterator(mpMiddle->getNext()); in begin()
200 inline iterator end() { in end()
201 return iterator(mpMiddle); in end()
212 iterator insert(iterator posn, const T& val) in insert()
219 return iterator(newNode); in insert()
223 void insert(iterator posn, const_iterator first, const_iterator last) { in insert()
229 iterator erase(iterator posn) { in erase()
235 return iterator(pNext); in erase()
[all …]
DUidMarkMap.cpp39 android::netd::List<UidMarkEntry*>::iterator it; in remove()
53 android::netd::List<UidMarkEntry*>::iterator it; in getMark()
67 android::netd::List<UidMarkEntry*>::iterator it; in anyRulesForMark()
DPppController.cpp43 TtyCollection::iterator it; in ~PppController()
62 TtyCollection::iterator it; in attachPppd()
126 TtyCollection::iterator it; in updateTtyList()
DTetherController.cpp44 InterfaceCollection::iterator it; in ~TetherController()
247 InterfaceCollection::iterator it; in applyDnsInterfaces()
277 InterfaceCollection::iterator it; in tetherInterface()
292 InterfaceCollection::iterator it; in untetherInterface()
DBandwidthController.cpp410 std::list<int /*uid*/>::iterator it; in manipulateSpecialApps()
601 std::list<std::string>::iterator it; in setInterfaceSharedQuota()
665 std::list<std::string>::iterator it; in removeInterfaceSharedQuota()
704 std::list<QuotaInfo>::iterator it; in setInterfaceQuota()
795 std::list<QuotaInfo>::iterator it; in removeInterfaceQuota()
998 std::list<QuotaInfo>::iterator it; in setInterfaceAlert()
1018 std::list<QuotaInfo>::iterator it; in removeInterfaceAlert()
DNetdConstants.cpp77 std::list<const char*>::iterator it; in execIptables()
DCommandListener.cpp651 TtyCollection::iterator it; in runCommand()
725 InterfaceCollection::iterator it; in runCommand()
731 NetAddressCollection::iterator it; in runCommand()
/system/core/fastboot/
Dusb_osx.c70 io_iterator_t iterator; in try_interfaces() local
96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator); in try_interfaces()
103 while ((usbInterface = IOIteratorNext(iterator))) { in try_interfaces()
385 io_iterator_t iterator; in init_usb() local
404 kIOMasterPortDefault, matchingDict, &iterator); in init_usb()
412 if (! IOIteratorIsValid(iterator)) { in init_usb()
417 IOIteratorReset(iterator); in init_usb()
421 io_service_t device = IOIteratorNext(iterator); in init_usb()
443 IOObjectRelease(iterator); in init_usb()
/system/core/libsysutils/src/
DSocketListener.cpp63 SocketClientCollection::iterator it; in ~SocketListener()
130 SocketClientCollection::iterator it; in stopListener()
151 SocketClientCollection::iterator it; in runListener()
248 SocketClientCollection::iterator i; in sendBroadcast()
DFrameworkListener.cpp79 FrameworkCommandCollection::iterator i; in dispatchCommand()
/system/core/adb/
Dusb_osx.c52 static void AndroidInterfaceAdded(void *refCon, io_iterator_t iterator);
53 static void AndroidInterfaceNotify(void *refCon, io_iterator_t iterator,
118 AndroidInterfaceAdded(void *refCon, io_iterator_t iterator) in AndroidInterfaceAdded() argument
136 while ((usbInterface = IOIteratorNext(iterator))) { in AndroidInterfaceAdded()
/system/vold/
DVolumeManager.cpp114 VolumeCollection::iterator it; in setDebug()
137 VolumeCollection::iterator it; in handleBlockEvent()
157 VolumeCollection::iterator i; in listVolumes()
863 AsecIdCollection::iterator it; in unmountLoopImage()
1152 VolumeCollection::iterator i; in getVolumeForFile()
1491 VolumeCollection::iterator i; in getNumDirectVolumes()
1508 VolumeCollection::iterator i; in getDirectVolumeList()
1609 VolumeCollection::iterator i; in lookupVolume()
1657 for (AsecIdCollection::iterator it = mActiveContainers->begin(); it != mActiveContainers->end(); in cleanupAsec()
1681 for (AsecIdCollection::iterator it = removeAsec.begin(); it != removeAsec.end(); ++it) { in cleanupAsec()
[all …]
DDirectVolume.cpp62 PathCollection::iterator it; in ~DirectVolume()
97 PathCollection::iterator it; in handleBlockEvent()
387 PathCollection::iterator it; in updateDeviceInfo()
/system/extras/tests/memtest/
Dbandwidth.cpp310 for (std::vector<int>::iterator it = cpu_list.begin(); in per_core_bandwidth()
393 for (std::vector<BandwidthBenchmark*>::iterator it = bench_objs.begin(); in run_bandwidth_benchmark()
/system/extras/memtrack/
Dmemtrack.cpp171 for (processes_t::iterator it = all_.begin(); it != all_.end(); ++it) { in scan()
/system/security/keystore/
Dkeystore.cpp880 for (android::Vector<grant_t*>::iterator it(mGrants.begin()); in ~KeyStore()
886 for (android::Vector<UserState*>::iterator it(mMasterKeys.begin()); in ~KeyStore()
1060 for (android::Vector<grant_t*>::iterator it(mGrants.begin()); in removeGrant()
1168 for (android::Vector<UserState*>::iterator it(mMasterKeys.begin()); in getUserState()
DIKeystoreService.cpp299 for (Vector<sp<KeystoreArg> >::iterator it = args->begin(); it != args->end(); ++it) { in generate()