Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/packages/modules/Bluetooth/system/packet/base/
Diterator.cc25 Iterator::Iterator(std::shared_ptr<const Packet> packet, size_t i) { in Iterator() function in bluetooth::Iterator
35 Iterator::Iterator(const Iterator& itr) { *this = itr; } in Iterator() function in bluetooth::Iterator
37 Iterator Iterator::operator+(size_t offset) { in operator +()
43 Iterator& Iterator::operator+=(size_t offset) { in operator +=()
50 Iterator Iterator::operator++(int) { in operator ++()
59 Iterator& Iterator::operator++() { in operator ++()
67 Iterator Iterator::operator-(size_t offset) { in operator -()
73 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -()
75 Iterator& Iterator::operator-=(size_t offset) { in operator -=()
83 Iterator Iterator::operator--(int) { in operator --()
[all …]
Diterator.h43 class Iterator : public IteratorTraits {
45 Iterator(std::shared_ptr<const Packet> packet, size_t i);
46 Iterator(const Iterator& itr);
50 Iterator operator+(size_t offset);
51 Iterator& operator+=(size_t offset);
52 Iterator operator++(int);
53 Iterator& operator++();
55 Iterator operator-(size_t offset);
56 int operator-(const Iterator& itr);
57 Iterator& operator-=(size_t offset);
[all …]
Dpacket.cc29 Iterator Packet::begin() const { in begin()
30 return Iterator(shared_from_this(), packet_start_index_); in begin()
33 Iterator Packet::end() const { in end()
34 return Iterator(shared_from_this(), packet_end_index_); in end()
Dpacket.h31 friend class Iterator; variable
52 class Iterator begin() const;
53 class Iterator end() const;
/packages/modules/Bluetooth/system/gd/packet/
Diterator.cc26 Iterator<little_endian>::Iterator(const std::forward_list<View>& data, size_t offset) { in Iterator() function in bluetooth::packet::Iterator
37 Iterator<little_endian>::Iterator(std::shared_ptr<std::vector<uint8_t>> data) { in Iterator() function in bluetooth::packet::Iterator
45 Iterator<little_endian> Iterator<little_endian>::operator+(int offset) const { in operator +()
52 Iterator<little_endian>& Iterator<little_endian>::operator+=(int offset) { in operator +=()
58 Iterator<little_endian>& Iterator<little_endian>::operator++() { in operator ++()
64 Iterator<little_endian> Iterator<little_endian>::operator-(int offset) const { in operator -()
71 int Iterator<little_endian>::operator-(const Iterator<little_endian>& itr) const { in operator -()
76 Iterator<little_endian>& Iterator<little_endian>::operator-=(int offset) { in operator -=()
83 Iterator<little_endian>& Iterator<little_endian>::operator--() { in operator --()
91 Iterator<little_endian>& Iterator<little_endian>::operator=(const Iterator<little_endian>& itr) { in operator =()
[all …]
Diterator.h46 class Iterator : public IteratorTraits {
48 Iterator(const std::forward_list<View>& data, size_t offset);
49 Iterator(std::shared_ptr<std::vector<uint8_t>> data);
50 Iterator(const Iterator& itr) = default;
51 virtual ~Iterator() = default;
54 Iterator operator+(int offset) const;
55 Iterator& operator+=(int offset);
56 Iterator& operator++();
58 Iterator operator-(int offset) const;
59 int operator-(const Iterator& itr) const;
[all …]
Dpacket_view.cc39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin()
40 return Iterator<little_endian>(this->fragments_, 0); in begin()
44 Iterator<little_endian> PacketView<little_endian>::end() const { in end()
45 return Iterator<little_endian>(this->fragments_, size()); in end()
/packages/modules/Bluetooth/system/packet/tests/base/
Diterator_test.cc65 ASSERT_DEATH(Iterator(packet, 0), "index_ >= packet->packet_start_index_"); in TEST_F()
66 ASSERT_DEATH(Iterator(packet, test_l2cap_data.size()), in TEST_F()
72 Iterator general_case = packet->begin(); in TEST_F()
82 Iterator general_case = packet->begin(); in TEST_F()
103 Iterator bounds_test = packet->end(); in TEST_P()
120 Iterator bounds_test = packet->end(); in TEST_P()
137 Iterator dereference_test = packet->end(); in TEST_P()
150 Iterator plus_eq = packet->begin(); in TEST_P()
163 Iterator plus_plus = packet->begin(); in TEST_P()
173 Iterator plus_plus = packet->begin(); in TEST_P()
[all …]
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DPushBackIterator.java20 import java.util.Iterator;
27 public final class PushBackIterator<E> implements Iterator<E> {
31 private final Iterator<E> mIterator;
33 public PushBackIterator(Iterator<E> iterator) { in PushBackIterator()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DPushBackIterator.java20 import java.util.Iterator;
27 public final class PushBackIterator<E> implements Iterator<E> {
31 private final Iterator<E> mIterator;
33 public PushBackIterator(Iterator<E> iterator) { in PushBackIterator()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java67 public Iterator iterator() { in iterator()
68 return new Iterator(mScanner); in iterator()
92 private static final class Iterator implements java.util.Iterator { class in ClipStorageReader
95 private Iterator(Scanner scanner) { in Iterator() method in ClipStorageReader.Iterator
/packages/modules/Bluetooth/system/profile/sdp/common/
Ddata_element_reader.h39 DataElementReader(Iterator begin, Iterator end) : it_(begin), end_(end){}; in DataElementReader()
60 Iterator it_;
61 Iterator end_;
/packages/modules/Virtualization/libs/libfdt/src/
Diterators.rs41 impl<'a> Iterator for CompatibleIterator<'a> {
63 const CHUNK_SIZE: usize = size_of::<<CellIterator as Iterator>::Item>(); in new()
69 impl<'a> Iterator for CellIterator<'a> {
121 impl<'a> Iterator for RegIterator<'a> {
164 impl<'a> Iterator for MemRegIterator<'a> {
218 impl<'a, A: FromAddrCells, P: FromAddrCells, S: FromSizeCells> Iterator impl
302 impl<'a> Iterator for SubnodeIterator<'a> {
326 impl<'a> Iterator for DescendantsIterator<'a> {
351 impl<'a> Iterator for PropertyIterator<'a> {
/packages/modules/Bluetooth/system/gd/discovery/device/
Ddata_parser_unittest.cc61 auto it = Iterator<kLittleEndian>(data); in TEST()
72 auto it = Iterator<kLittleEndian>(data); in TEST()
84 auto it = Iterator<kLittleEndian>(data); in TEST()
95 auto it = Iterator<kLittleEndian>(data); in TEST()
106 auto it = Iterator<kLittleEndian>(data); in TEST()
119 auto it = Iterator<kLittleEndian>(data); in TEST()
138 auto it = Iterator<kLittleEndian>(data); in TEST()
151 auto it = Iterator<kLittleEndian>(data); in TEST()
163 auto it = Iterator<kLittleEndian>(data); in TEST()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowNetworkPolicyManager.java30 import java.util.Iterator;
37 private static Iterator<Pair<ZonedDateTime, ZonedDateTime>> sCycleIterator;
58 protected static Iterator<Pair<ZonedDateTime, ZonedDateTime>> cycleIterator( in cycleIterator()
64 Iterator<Pair<ZonedDateTime, ZonedDateTime>> cycleIterator) { in setCycleIterator()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntSparseArrayMap.java21 import java.util.Iterator;
42 public Iterator<E> iterator() { in iterator()
46 @Thunk class ValueIterator implements Iterator<E> {
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DUtils.java21 import java.util.Iterator;
31 Iterator<SparseArrayIterator.SparseArrayEntry<T>> {
50 public Iterator<SparseArrayEntry<T>> iterator() { in iterator()
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastBaseTest.java60 import java.util.Iterator;
283 Iterator<String> carrierList = carriersObject.keys(); in paramsForTest()
286 for (Iterator<String> it = carrierList; it.hasNext();) { in paramsForTest()
296 Iterator<String> carrierList = carriersObject.keys(); in paramsCarrierAndMccMncForTest()
299 for (Iterator<String> it = carrierList; it.hasNext();) { in paramsCarrierAndMccMncForTest()
315 Iterator<String> carrierList = carriersObject.keys(); in paramsCarrierAndChannelForTest()
318 for (Iterator<String> it = carrierList; it.hasNext();) { in paramsCarrierAndChannelForTest()
323 for (Iterator<String> iterator = channelsForCarrier.keys(); iterator.hasNext();) { in paramsCarrierAndChannelForTest()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java24 import java.util.Iterator;
64 public void addDomain(Iterator<String> labels, int match) { in addDomain()
200 Iterator<String> l1 = labels1.iterator(); in arg2SubdomainOfArg1()
201 Iterator<String> l2 = labels2.iterator(); in arg2SubdomainOfArg1()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java26 import java.util.Iterator;
122 private Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys()
183 Iterator<String> keys = getNameLookupKeys(CHINESE_NAME, in testChineseContactLocaleUtils()
202 Iterator<String> keys = getNameLookupKeys(CHINESE_NAME, in testPinyinEnabledSecondaryLocale()
237 Iterator<String> keys = getNameLookupKeys(CHINESE_NAME, in testChineseStyleNameWithDifferentLocale()
308 private void verifyKeys(final Iterator<String> resultKeys, final String[] expectedKeys) in verifyKeys()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DCellLayoutTestCaseReader.java27 import java.util.Iterator;
112 private TestSection parseNextLine(Iterator<String> it) { in parseNextLine()
133 Iterator<String> it = Arrays.stream(lines).iterator(); in parse()
144 private String parseBoard(Iterator<String> it, int rows) { in parseBoard()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationParticipantsData.java27 import java.util.Iterator;
101 public Iterator<ParticipantData> iterator() { in iterator()
102 return new Iterator<ParticipantData>() { in iterator()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DLocalLog.java29 import java.util.Iterator;
107 Iterator<String> itr = mLog.iterator(); in dump()
122 Iterator<String> itr = mLog.descendingIterator(); in reverseDump()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIntCounter.java24 import java.util.Iterator;
91 public Iterator<KeyCount> iterator() { in iterator()
92 return new Iterator<KeyCount>() { in iterator()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java36 import java.util.Iterator;
273 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys()
385 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys()
414 public static Iterator<String> getRomajiNameLookupKeys(String name) { in getRomajiNameLookupKeys()
461 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys()
469 public static Iterator<String> getPinyinNameLookupKeys(String name) { in getPinyinNameLookupKeys()
600 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys()

12345678910>>...14