/frameworks/compile/mclinker/lib/LD/ |
D | SectionMap.cpp | 28 iterator it; in getOutputSectName() local 29 for (it = begin(); it != end(); ++it) { in getOutputSectName() 31 (*it).inputSubStr.c_str(), in getOutputSectName() 32 (*it).inputSubStr.length())) in getOutputSectName() 35 else if (0 == strcmp("*", (*it).inputSubStr.c_str())) in getOutputSectName() 39 if (it == end()) in getOutputSectName() 42 return (*it).outputStr; in getOutputSectName() 52 iterator it; in push_back() local 53 for (it = begin(); it != end(); ++it) { in push_back() 54 if (pInput == (*it).inputSubStr) in push_back() [all …]
|
D | SectionMerger.cpp | 34 iterator it; in find() local 35 for (it = begin(); it != end(); ++it) { in find() 37 (*it).inputSubStr.c_str(), in find() 38 (*it).inputSubStr.length())) in find() 41 else if(0 == strcmp("*", (*it).inputSubStr.c_str())) in find() 44 return it; in find() 50 iterator it = find(pName); in getOutputSectHdr() local 54 if (it != end()) in getOutputSectHdr() 55 section = (*it).outputSection; in getOutputSectHdr() 70 iterator it = find(pName); in addMapping() local [all …]
|
/frameworks/av/media/libstagefright/ |
D | TimedEventQueue.cpp | 106 List<QueueItem>::iterator it = mQueue.begin(); in postTimedEvent() local 107 while (it != mQueue.end() && realtime_us >= (*it).realtime_us) { in postTimedEvent() 108 ++it; in postTimedEvent() 115 if (it == mQueue.begin()) { in postTimedEvent() 119 mQueue.insert(it, item); in postTimedEvent() 159 List<QueueItem>::iterator it = mQueue.begin(); in cancelEvents() local 160 while (it != mQueue.end()) { in cancelEvents() 161 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents() 162 ++it; in cancelEvents() 166 if (it == mQueue.begin()) { in cancelEvents() [all …]
|
D | MPEG4Writer.cpp | 301 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer() local 302 delete *it; in ~MPEG4Writer() 303 (*it) = NULL; in ~MPEG4Writer() 304 mTracks.erase(it); in ~MPEG4Writer() 319 for (List<Track *>::iterator it = mTracks.begin(); in dump() local 320 it != mTracks.end(); ++it) { in dump() 321 (*it)->dump(fd, args); in dump() 353 for (List<Track *>::iterator it = mTracks.begin(); in startTracks() local 354 it != mTracks.end(); ++it) { in startTracks() 355 status_t err = (*it)->start(params); in startTracks() [all …]
|
D | DataSource.cpp | 79 for (List<SnifferFunc>::iterator it = gSniffers.begin(); in sniff() local 80 it != gSniffers.end(); ++it) { in sniff() 84 if ((*it)(this, &newMimeType, &newConfidence, &newMeta)) { in sniff() 100 for (List<SnifferFunc>::iterator it = gSniffers.begin(); in RegisterSniffer() local 101 it != gSniffers.end(); ++it) { in RegisterSniffer() 102 if (*it == func) { in RegisterSniffer()
|
D | NuCachedSource2.cpp | 75 List<Page *>::iterator it = list->begin(); in freePages() local 76 while (it != list->end()) { in freePages() 77 Page *page = *it; in freePages() 83 ++it; in freePages() 89 List<Page *>::iterator it = mFreePages.begin(); in acquirePage() local 90 Page *page = *it; in acquirePage() 91 mFreePages.erase(it); in acquirePage() 117 List<Page *>::iterator it = mActivePages.begin(); in releaseFromStart() local 119 Page *page = *it; in releaseFromStart() 125 mActivePages.erase(it); in releaseFromStart() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 84 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local 85 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 87 totalSize += (*it)->size() + 7; in MakeADTSCompoundFromAACFrames() 92 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() local 93 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 94 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() 131 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local 132 it != packets.end(); ++it) { in MakeCompoundFromPackets() 133 totalSize += (*it)->size(); in MakeCompoundFromPackets() 138 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() local [all …]
|
D | ARTPConnection.cpp | 216 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream() local 217 while (it != mStreams.end() in onRemoveStream() 218 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { in onRemoveStream() 219 ++it; in onRemoveStream() 222 if (it == mStreams.end()) { in onRemoveStream() 226 mStreams.erase(it); in onRemoveStream() 255 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams() local 256 it != mStreams.end(); ++it) { in onPollStreams() 257 if ((*it).mIsInjected) { in onPollStreams() 261 FD_SET(it->mRTPSocket, &rs); in onPollStreams() [all …]
|
D | AAVCAssembler.cpp | 55 List<sp<ABuffer> >::iterator it = queue->begin(); in addNALUnit() local 56 while (it != queue->end()) { in addNALUnit() 57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addNALUnit() 61 it = queue->erase(it); in addNALUnit() 219 List<sp<ABuffer> >::iterator it = ++queue->begin(); in addFragmentedNALUnit() local 220 while (it != queue->end()) { in addFragmentedNALUnit() 223 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() 243 it = queue->begin(); in addFragmentedNALUnit() 245 it = queue->erase(it); in addFragmentedNALUnit() 264 ++it; in addFragmentedNALUnit() [all …]
|
D | AH263Assembler.cpp | 58 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() local 59 while (it != queue->end()) { in addPacket() 60 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { in addPacket() 64 it = queue->erase(it); in addPacket() 134 List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit() local 135 while (it != mPackets.end()) { in submitAccessUnit() 136 const sp<ABuffer> &unit = *it; in submitAccessUnit() 139 ++it; in submitAccessUnit() 144 it = mPackets.begin(); in submitAccessUnit() 145 while (it != mPackets.end()) { in submitAccessUnit() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | StringTableTest.cpp | 61 StringTable::iterator it = m_pTestee->begin(); in TEST_F() local 62 ASSERT_STREQ(*it, "Hello"); in TEST_F() 63 ++it; in TEST_F() 64 ASSERT_STREQ(*it, "World"); in TEST_F() 65 ++it; in TEST_F() 66 ASSERT_STREQ(*it, "Media"); in TEST_F() 67 ++it; in TEST_F() 68 ASSERT_STREQ(*it, "Tek"); in TEST_F() 69 ++it; in TEST_F() 70 ASSERT_EQ(it, m_pTestee->end()); in TEST_F()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsGOT.cpp | 40 iterator it = m_SectionData.begin(); in MipsGOT() local 44 if (it == ie) in MipsGOT() 47 ++it; in MipsGOT() 50 m_LocalGOTIterator = it; in MipsGOT() 51 m_GlobalGOTIterator = it; in MipsGOT() 82 for (iterator it = begin(), ie = end(); in emit() local 83 it != ie; ++it, ++buffer) { in emit() 84 GOTEntry* got = &(llvm::cast<GOTEntry>((*it))); in emit() 126 iterator& it = pInfo.isLocal() ? m_LocalGOTIterator : m_GlobalGOTIterator; in getEntry() local 128 ++it; in getEntry() [all …]
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 44 for (std::map<int, SurfaceWindowPair>::iterator it = surfaces_.begin(); in ~GLEnv() local 45 it != surfaces_.end(); in ~GLEnv() 46 ++it) { in ~GLEnv() 47 if (it->first != 0 || created_surface_) { in ~GLEnv() 48 eglDestroySurface(display(), it->second.first); in ~GLEnv() 49 if (it->second.second) { in ~GLEnv() 50 it->second.second->Destroy(); in ~GLEnv() 51 delete it->second.second; in ~GLEnv() 57 for (std::map<int, EGLContext>::iterator it = contexts_.begin(); in ~GLEnv() local 58 it != contexts_.end(); in ~GLEnv() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMPLT.cpp | 186 ARMPLT::iterator it = m_SectionData.begin(); in applyPLT1() local 188 assert(it!=ie && "FragmentList is empty, applyPLT1 failed!"); in applyPLT1() 195 plt_base + llvm::cast<ARMPLT0>((*it)).getEntrySize(); //Offset of PLT0 in applyPLT1() 197 ++it; //skip PLT0 in applyPLT1() 198 uint64_t PLT1EntrySize = llvm::cast<ARMPLT1>((*it)).getEntrySize(); in applyPLT1() 202 while (it != ie) { in applyPLT1() 203 plt1 = &(llvm::cast<ARMPLT1>(*it)); in applyPLT1() 218 ++it; in applyPLT1() 230 iterator it = begin(); in emit() local 231 unsigned int plt0_size = llvm::cast<ARMPLT0>((*it)).getEntrySize(); in emit() [all …]
|
D | ARMGOT.cpp | 42 iterator it = m_SectionData.begin(); in ARMGOT() local 46 if (it == ie) in ARMGOT() 49 ++it; in ARMGOT() 52 m_NormalGOTIterator = it; in ARMGOT() 53 m_GOTPLTIterator = it; in ARMGOT() 55 m_GOTPLTBegin = it; in ARMGOT() 56 m_GOTPLTEnd = it; in ARMGOT() 177 for (iterator it = begin(), ie = end(); in emit() local 178 it != ie; ++it, ++buffer) { in emit() 179 got = &(llvm::cast<GOTEntry>((*it))); in emit()
|
/frameworks/base/core/java/android/util/ |
D | FastImmutableArraySet.java | 40 FastIterator<T> it = mIterator; in iterator() local 41 if (it == null) { in iterator() 42 it = new FastIterator<T>(mContents); in iterator() 43 mIterator = it; in iterator() 45 it.mIndex = 0; in iterator() 47 return it; in iterator()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 410 for (vector<string>::iterator it = formats.begin(); in main() local 411 it != formats.end(); ++it) { in main() 412 maxHeadingLen = max(maxHeadingLen, it->length()); in main() 567 for (vector<string>::iterator it = formats.begin(); in main() local 568 it != formats.end(); ++it) { in main() 572 = hwcTestGraphicFormatLookup((*it).c_str()); in main() 594 for (vector<string>::iterator it = formats.begin(); in main() local 595 it != formats.end(); ++it) { in main() 596 printOverlapLine(indent, *it, measurements[it in main() 603 for (vector<string>::iterator it = formats.begin(); in main() local [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 159 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in queueDiscontinuity() local 160 while (it != mBuffers.end()) { in queueDiscontinuity() 161 sp<ABuffer> oldBuffer = *it; in queueDiscontinuity() 166 it = mBuffers.erase(it); in queueDiscontinuity() 170 ++it; in queueDiscontinuity() 213 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in getBufferedDurationUs() local 214 while (it != mBuffers.end()) { in getBufferedDurationUs() 215 const sp<ABuffer> &buffer = *it; in getBufferedDurationUs() 229 ++it; in getBufferedDurationUs()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AAtomizer.cpp | 43 List<AString>::iterator it = entry.begin(); in atomize() local 44 while (it != entry.end()) { in atomize() 45 if ((*it) == name) { in atomize() 46 return (*it).c_str(); in atomize() 48 ++it; in atomize()
|
/frameworks/base/services/java/com/android/server/am/ |
D | UriPermissionOwner.java | 96 Iterator<UriPermission> it = readUriPermissions.iterator(); in removeUriPermissionLocked() local 97 while (it.hasNext()) { in removeUriPermissionLocked() 98 UriPermission perm = it.next(); in removeUriPermissionLocked() 106 it.remove(); in removeUriPermissionLocked() 115 Iterator<UriPermission> it = writeUriPermissions.iterator(); in removeUriPermissionLocked() local 116 while (it.hasNext()) { in removeUriPermissionLocked() 117 UriPermission perm = it.next(); in removeUriPermissionLocked() 125 it.remove(); in removeUriPermissionLocked()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86GOT.cpp | 41 iterator it = m_SectionData.begin(); in X86GOT() local 45 if (it == ie) in X86GOT() 48 ++it; in X86GOT() 51 m_LastGOT0 = it; in X86GOT() 52 m_GeneralGOTIterator = it; in X86GOT() 53 m_GOTPLTIterator = it; in X86GOT()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | utilities.h | 77 typename Collection::const_iterator it = collection.find(key); in FindOrNull() local 78 if (it == collection.end()) { in FindOrNull() 81 return &it->second; in FindOrNull() 131 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull() local 132 if (it == collection.end()) { in FindPtrOrNull() 135 return it->second; in FindPtrOrNull()
|
/frameworks/base/media/mca/filterfw/native/base/ |
D | utilities.h | 77 typename Collection::const_iterator it = collection.find(key); in FindOrNull() local 78 if (it == collection.end()) { in FindOrNull() 81 return &it->second; in FindOrNull() 131 typename Collection::const_iterator it = collection.find(key); in FindPtrOrNull() local 132 if (it == collection.end()) { in FindPtrOrNull() 135 return it->second; in FindPtrOrNull()
|
/frameworks/base/tools/aidl/ |
D | search_path.cpp | 33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) { local 34 string f = *it;
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipCallBase.java | 48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { in clearDisconnected() 49 Connection c = it.next(); in clearDisconnected() 50 if (c.getState() == State.DISCONNECTED) it.remove(); in clearDisconnected()
|