/frameworks/minikin/tests/unittest/ |
D | BidiUtilsTest.cpp | 37 auto it = bidiText.begin(); in TEST() local 38 EXPECT_NE(bidiText.end(), it); in TEST() 39 EXPECT_EQ(Range(0, ltrLength), (*it).range); in TEST() 40 EXPECT_FALSE((*it).isRtl); in TEST() 41 ++it; in TEST() 42 EXPECT_EQ(bidiText.end(), it); in TEST() 46 auto it = bidiText.begin(); in TEST() local 47 EXPECT_NE(bidiText.end(), it); in TEST() 48 EXPECT_EQ(Range(0, ltrLength), (*it).range); in TEST() 49 EXPECT_FALSE((*it).isRtl); in TEST() [all …]
|
D | StringPieceTest.cpp | 122 SplitIterator it(s, ','); in TEST() local 123 EXPECT_FALSE(it.hasNext()); in TEST() 127 SplitIterator it(s, ','); in TEST() local 128 EXPECT_TRUE(it.hasNext()); in TEST() 129 EXPECT_EQ("abcde", it.next()); in TEST() 130 EXPECT_FALSE(it.hasNext()); in TEST() 134 SplitIterator it(s, ','); in TEST() local 135 EXPECT_TRUE(it.hasNext()); in TEST() 136 EXPECT_EQ("a", it.next()); in TEST() 137 EXPECT_TRUE(it.hasNext()); in TEST() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 58 for (std::list<Info>::iterator it = mRenderQueue.begin(); in updateInfoForDequeuedBuffer() local 59 it != mRenderQueue.end(); ++it) { in updateInfoForDequeuedBuffer() 60 if (it->mGraphicBuffer->handle == buf->handle) { in updateInfoForDequeuedBuffer() 61 renderInfo = it; in updateInfoForDequeuedBuffer() 116 for (std::list<Info>::iterator it = mRenderQueue.begin(); in checkFencesAndGetRenderedFrames() local 117 it != mRenderQueue.end(); ) { in checkFencesAndGetRenderedFrames() 119 if (it->mIndex < 0) { in checkFencesAndGetRenderedFrames() 122 } else if (it->mFence != NULL) { in checkFencesAndGetRenderedFrames() 124 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() 131 it->mFence.clear(); in checkFencesAndGetRenderedFrames() [all …]
|
D | ACodecBufferChannel.cpp | 95 BufferInfoIterator it = findClientBuffer(array, buffer); in queueInputBuffer() local 96 if (it == array->end()) { in queueInputBuffer() 99 ALOGV("queueInputBuffer #%d", it->mBufferId); in queueInputBuffer() 101 msg->setObject("buffer", it->mCodecBuffer); in queueInputBuffer() 102 msg->setInt32("buffer-id", it->mBufferId); in queueInputBuffer() 117 BufferInfoIterator it = findClientBuffer(array, buffer); in queueSecureInputBuffer() local 118 if (it == array->end()) { in queueSecureInputBuffer() 125 static_cast<SecureBuffer *>(it->mCodecBuffer.get()); in queueSecureInputBuffer() 144 source.mSharedMemory = it->mSharedEncryptedBuffer; in queueSecureInputBuffer() 148 source, it->mClientBuffer->offset(), in queueSecureInputBuffer() [all …]
|
D | MediaExtractorFactory.cpp | 144 for (auto it = plugins->begin(); it != plugins->end(); ++it) { in sniff() local 145 ALOGV("sniffing %s", (*it)->def.extractor_name); in sniff() 151 if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V1) { in sniff() 152 curCreator = (void*) (*it)->def.u.v2.sniff( in sniff() 154 } else if ((*it)->def.def_version == EXTRACTORDEF_VERSION_NDK_V2) { in sniff() 155 curCreator = (void*) (*it)->def.u.v3.sniff( in sniff() 167 plugin = *it; in sniff() 169 *creatorVersion = (*it)->def.def_version; in sniff() 199 for (auto it = pluginList.begin(); it != pluginList.end(); ++it) { in RegisterExtractor() local 200 if (memcmp(&((*it)->def.extractor_uuid), &plugin->def.extractor_uuid, 16) == 0) { in RegisterExtractor() [all …]
|
/frameworks/av/media/libnblog/ |
D | Entry.cpp | 161 auto it = begin(); in args() local 162 ++it; // skip start fmt in args() 163 ++it; // skip timestamp in args() 164 ++it; // skip hash in args() 166 if (it->type == EVENT_FMT_AUTHOR) { in args() 167 ++it; in args() 169 return it; in args() 174 auto it = begin(); in timestamp() local 175 ++it; // skip start fmt in timestamp() 176 return it.payload<int64_t>(); in timestamp() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | SectionsCmd.cpp | 24 for (iterator it = begin(), ie = end(); it != ie; ++it) { in ~SectionsCmd() local 25 if (*it != NULL) in ~SectionsCmd() 26 delete *it; in ~SectionsCmd() 33 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in dump() local 34 switch ((*it)->getKind()) { in dump() 39 (*it)->dump(); in dump() 67 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in activate() local 68 switch ((*it)->getKind()) { in activate() 70 (*it)->activate(pModule); in activate() 73 assignments.push_back(*it); in activate() [all …]
|
D | OutputSectDesc.cpp | 35 for (iterator it = begin(), ie = end(); it != ie; ++it) { in ~OutputSectDesc() local 36 if (*it != NULL) in ~OutputSectDesc() 37 delete *it; in ~OutputSectDesc() 100 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { in dump() local 101 switch ((*it)->getKind()) { in dump() 105 (*it)->dump(); in dump() 120 for (StringList::const_iterator it = m_Epilog.phdrs().begin(), in dump() local 122 it != ie; in dump() 123 ++it) { in dump() 124 assert((*it)->kind() == StrToken::String); in dump() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMException.cpp | 25 for (SectionData::iterator it = sectData->begin(), in findRegionFragment() local 26 end = sectData->end(); it != end; ++it) { in findRegionFragment() 27 if (it->getKind() == Fragment::Region) { in findRegionFragment() 28 return static_cast<RegionFragment*>(&*it); in findRegionFragment() 45 for (ARMInputExMap::iterator it = exMap->begin(), end = exMap->end(); in addInputMap() local 46 it != end; ++it) { in addInputMap() 47 ARMExSectionTuple* exTuple = it->second.get(); in addInputMap() 54 for (Module::obj_iterator it = pModule.obj_begin(), in create() local 55 end = pModule.obj_end(); it != end; ++it) { in create() 56 Input* input = *it; in create() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerHistory.cpp | 61 auto it = mActiveLayerInfos.find(id); in destroyLayer() local 62 if (it != mActiveLayerInfos.end()) { in destroyLayer() 63 mActiveLayerInfos.erase(it); in destroyLayer() 66 it = mInactiveLayerInfos.find(id); in destroyLayer() 67 if (it != mInactiveLayerInfos.end()) { in destroyLayer() 68 mInactiveLayerInfos.erase(it); in destroyLayer() 153 auto it = mActiveLayerInfos.begin(); in removeIrrelevantLayers() local 154 while (it != mActiveLayerInfos.end()) { in removeIrrelevantLayers() 157 if (!it->second->isVisible() || in removeIrrelevantLayers() 158 (!it->second->getHDRContent() && it->second->getLastUpdatedTime() < obsoleteEpsilon)) { in removeIrrelevantLayers() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | MergedStringTable.cpp | 19 string_map_iterator it, end = m_StringMap.end(); in finalizeOffset() local 21 for (it = m_StringMap.begin(); it != end; ++it) { in finalizeOffset() 22 it->setValue(offset); in finalizeOffset() 23 offset += it->getKey().size() + 1; in finalizeOffset() 30 string_map_iterator it, end = m_StringMap.end(); in emit() local 31 for (it = m_StringMap.begin(); it != end; ++it) { in emit() 32 ::memcpy(ptr, it->getKey().data(), it->getKey().size()); in emit() 33 ptr += it->getKey().size() + 1; in emit()
|
D | BranchIslandFactory.cpp | 46 for (SectionData::iterator it = sd.begin(), ie = sd.end(); it != ie; in group() local 47 ++it) { in group() 48 if ((*it).getOffset() + (*it).size() > group_end) { in group() 49 Fragment* frag = (*it).getPrevNode(); in group() 55 group_end = (*it).getOffset() + m_MaxFwdBranchRange; in group() 81 for (iterator it = begin(), ie = end(), prev = ie; it != ie; in getIslands() local 82 prev = it, ++it) { in getIslands() 83 if (pFragment.getParent() != (*it).getParent()) { in getIslands() 87 if ((pFragment.getOffset() < (*it).offset()) && in getIslands() 88 ((pFragment.getOffset() + m_MaxFwdBranchRange) >= (*it).offset())) { in getIslands() [all …]
|
D | StubFactory.cpp | 28 for (StubPoolType::iterator it = m_StubPool.begin(), ie = m_StubPool.end(); in ~StubFactory() local 29 it != ie; in ~StubFactory() 30 ++it) in ~StubFactory() 31 delete (*it); in ~StubFactory() 112 for (StubPoolType::const_iterator it = m_StubPool.begin(), in findPrototype() local 113 ie = m_StubPool.end(); it != ie; ++it) { in findPrototype() 114 if ((*it)->isMyDuty(pReloc, pSource, pTargetSymValue)) in findPrototype() 115 return (*it); in findPrototype() 121 for (StubPoolType::const_iterator it = m_StubPool.begin(), in findPrototype() local 122 ie = m_StubPool.end(); it != ie; ++it) { in findPrototype() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsGOT.cpp | 119 for (MultipartListType::iterator it = m_MultipartList.begin(); in finalizeScanning() local 120 it != m_MultipartList.end(); in finalizeScanning() 121 ++it) { in finalizeScanning() 123 it->m_pLastLocal = &m_SectionData->back(); in finalizeScanning() 124 reserve(it->m_LocalNum); in finalizeScanning() 125 it->m_pLastGlobal = &m_SectionData->back(); in finalizeScanning() 126 reserve(it->m_GlobalNum); in finalizeScanning() 127 it->m_pLastTLS = &m_SectionData->back(); in finalizeScanning() 128 reserve(it->m_TLSNum); in finalizeScanning() 130 if (it == m_MultipartList.begin()) { in finalizeScanning() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 60 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleMonth() local 61 assertTrue(it.hasNext()); in testSimpleMonth() 64 ZonedDateTime.parse("2015-12-14T00:00:00.00Z")), it.next()); in testSimpleMonth() 65 assertTrue(it.hasNext()); in testSimpleMonth() 68 ZonedDateTime.parse("2015-11-14T00:00:00.00Z")), it.next()); in testSimpleMonth() 80 final Iterator<Range<ZonedDateTime>> it = r.cycleIterator(); in testSimpleDays() local 81 assertTrue(it.hasNext()); in testSimpleDays() 84 ZonedDateTime.parse("2010-11-20T00:11:00.00Z")), it.next()); in testSimpleDays() 85 assertTrue(it.hasNext()); in testSimpleDays() 88 ZonedDateTime.parse("2010-11-17T00:11:00.00Z")), it.next()); in testSimpleDays() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local 79 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 81 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames() 86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local 87 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 88 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() 125 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local 126 it != packets.end(); ++it) { in MakeCompoundFromPackets() 127 totalSize += (*it)->size(); in MakeCompoundFromPackets() 132 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local [all …]
|
D | ARTPConnection.cpp | 218 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream() local 219 while (it != mStreams.end() in onRemoveStream() 220 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { in onRemoveStream() 221 ++it; in onRemoveStream() 224 if (it == mStreams.end()) { in onRemoveStream() 228 mStreams.erase(it); in onRemoveStream() 257 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams() local 258 it != mStreams.end(); ++it) { in onPollStreams() 259 if ((*it).mIsInjected) { in onPollStreams() 263 FD_SET(it->mRTPSocket, &rs); in onPollStreams() [all …]
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 80 auto it = uidIt->second.find(key); in UpdateConfig() local 81 if (it == uidIt->second.end() && in UpdateConfig() 194 for (auto it = uidIt->second.begin(); it != uidIt->second.end(); ++it) { in RemoveConfigs() local 196 remove_saved_configs(*it); in RemoveConfigs() 197 removed.push_back(*it); in RemoveConfigs() 198 mConfigReceivers.erase(*it); in RemoveConfigs() 229 for (auto it = uidIt->second.begin(); it != uidIt->second.end();) { in RemoveAllConfigs() local 231 removed.push_back(*it); in RemoveAllConfigs() 232 it = uidIt->second.erase(it); in RemoveAllConfigs() 258 for (auto it = uidIt->second.cbegin(); it != uidIt->second.cend(); ++it) { in GetAllConfigKeys() local [all …]
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 46 for (auto it = clonedTracker->mInfos.begin(); it != clonedTracker->mInfos.end();) { in clone() local 47 if (it->second.state != kStopped) { in clone() 48 it->second.lastStartTime = eventTime; in clone() 49 it->second.lastDuration = 0; in clone() 50 it++; in clone() 52 it = clonedTracker->mInfos.erase(it); in clone() 208 for (auto it = mInfos.begin(); it != mInfos.end();) { in flushCurrentBucket() local 209 if (it->second.state == DurationState::kStopped) { in flushCurrentBucket() 211 it = mInfos.erase(it); in flushCurrentBucket() 213 ++it; in flushCurrentBucket() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Collection.h | 90 CollectionConstIterator it = (*this).find(key); in get() local 91 return (it == (*this).end()) ? NULL : it->second; in get() 108 CollectionConstIterator it; in findByName() local 109 for (it = (*this).begin(); it != (*this).end(); ++it) { in findByName() 110 T *element = it->second; in findByName() 123 CollectionIterator it; in clear() local 124 for (it = (*this).begin(); it != (*this).end(); ++it) { in clear() 125 delete it->second; in clear()
|
/frameworks/av/media/bufferpool/2.0/ |
D | Observer.cpp | 35 auto it = mClients.find(connectionId); in onMessage() local 36 if (it != mClients.end()) { in onMessage() 37 const std::shared_ptr<BufferPoolClient> client = it->second.lock(); in onMessage() 39 mClients.erase(it); in onMessage() 51 for (auto it = mClients.begin(); it != mClients.end();) { in addClient() local 52 if (!it->second.lock() || it->first == connectionId) { in addClient() 53 it = mClients.erase(it); in addClient() 55 ++it; in addClient()
|
/frameworks/av/services/oboeservice/ |
D | AAudioStreamTracker.cpp | 37 auto it = mStreamsByHandle.find(streamHandle); in decrementAndRemoveStreamByHandle() local 38 if (it != mStreamsByHandle.end()) { in decrementAndRemoveStreamByHandle() 39 sp<AAudioServiceStreamBase> tempStream = it->second; in decrementAndRemoveStreamByHandle() 45 mStreamsByHandle.erase(it); in decrementAndRemoveStreamByHandle() 55 auto it = mStreamsByHandle.find(streamHandle); in getStreamByHandleAndIncrement() local 56 if (it != mStreamsByHandle.end()) { in getStreamByHandleAndIncrement() 57 serviceStream = it->second; in getStreamByHandleAndIncrement() 70 auto it = mStreamsByHandle.begin(); in findStreamByPortHandleAndIncrement() local 71 while (it != mStreamsByHandle.end()) { in findStreamByPortHandleAndIncrement() 72 auto candidate = it->second; in findStreamByPortHandleAndIncrement() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | StringTableTest.cpp | 56 StringTable::iterator it = m_pTestee->begin(); in TEST_F() local 57 ASSERT_STREQ(*it, "Hello"); in TEST_F() 58 ++it; in TEST_F() 59 ASSERT_STREQ(*it, "World"); in TEST_F() 60 ++it; in TEST_F() 61 ASSERT_STREQ(*it, "Media"); in TEST_F() 62 ++it; in TEST_F() 63 ASSERT_STREQ(*it, "Tek"); in TEST_F() 64 ++it; in TEST_F() 65 ASSERT_EQ(it, m_pTestee->end()); in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 50 listeners.filterForEach({ this.listeners.contains(it) }) { in notifyThemeChanged() 51 it.onThemeChanged() in notifyThemeChanged() 59 listeners.filterForEach({ this.listeners.contains(it) }) { in onConfigurationChanged() 60 it.onConfigChanged(newConfig) in onConfigurationChanged() 68 listeners.filterForEach({ this.listeners.contains(it) }) { in onConfigurationChanged() 69 it.onDensityOrFontScaleChanged() in onConfigurationChanged() 78 listeners.filterForEach({ this.listeners.contains(it) }) { in onConfigurationChanged() 79 it.onLocaleListChanged() in onConfigurationChanged() 89 listeners.filterForEach({ this.listeners.contains(it) }) { in onConfigurationChanged() 90 it.onUiModeChanged() in onConfigurationChanged() [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | Collation.cpp | 179 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() local 180 it != fields.end(); it++) { in collate_atom() 181 const int number = it->first; in collate_atom() 182 const FieldDescriptor *field = it->second; in collate_atom() 196 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() local 197 it != fields.end(); it++) { in collate_atom() 198 const FieldDescriptor *field = it->second; in collate_atom() 240 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() local 241 it != fields.end(); it++) { in collate_atom() 242 int number = it->first; in collate_atom() [all …]
|