Searched defs:it (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/compile/mclinker/unittests/
H A DSymbolTableTest.cpp19 // create testee. modify it if need
42 mcld::SymbolTable<>::iterator it; local
43 it = m_pTestee->begin();
44 ASSERT_EQ(it, m_pTestee->end());
H A DStringTableTest.cpp20 // create testee. modify it if need
61 StringTable::iterator it = m_pTestee->begin(); local
62 ASSERT_STREQ(*it, "Hello");
63 ++it;
64 ASSERT_STREQ(*it, "World");
65 ++it;
66 ASSERT_STREQ(*it, "Media");
67 ++it;
68 ASSERT_STREQ(*it, "Tek");
69 ++it;
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp43 List<AString>::iterator it = entry.begin(); local
44 while (it != entry.end()) {
45 if ((*it) == name) {
46 return (*it).c_str();
48 ++it;
H A DALooper.cpp167 List<Event>::iterator it = mEventQueue.begin(); local
168 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) {
169 ++it;
176 if (it == mEventQueue.begin()) {
180 mEventQueue.insert(it, event);
/frameworks/compile/mclinker/lib/LD/
H A DSectionMap.cpp27 iterator it; local
28 for (it = begin(); it != end(); ++it) {
30 (*it).inputSubStr.c_str(),
31 (*it).inputSubStr.length()))
34 else if (0 == strcmp("*", (*it).inputSubStr.c_str()))
38 if (it == end())
40 return (*it).outputStr;
49 iterator it; local
64 iterator it; local
74 iterator it; local
[all...]
H A DSectionMerger.cpp34 iterator it; local
35 for (it = begin(); it != end(); ++it) {
37 (*it).inputSubStr.c_str(),
38 (*it).inputSubStr.length()))
41 else if(0 == strcmp("*", (*it).inputSubStr.c_str()))
44 return it;
50 iterator it = find(pName); local
53 // If not, we need to find it i
70 iterator it = find(pName); local
84 SectionMap::iterator it; local
[all...]
H A DArchive.cpp141 ArchiveMemberMapType::iterator it = m_ArchiveMemberMap.find(pName); local
142 if (it != m_ArchiveMemberMap.end())
143 return &(it.getEntry()->value());
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp60 List<sp<ABuffer> >::iterator it = queue->begin(); local
61 while (it != queue->end()) {
62 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
66 it = queue->erase(it);
H A DAH263Assembler.cpp58 List<sp<ABuffer> >::iterator it = queue->begin(); local
59 while (it != queue->end()) {
60 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
64 it = queue->erase(it);
134 List<sp<ABuffer> >::iterator it = mPackets.begin(); local
135 while (it != mPackets.end()) {
136 const sp<ABuffer> &unit = *it;
139 ++it;
144 it
[all...]
H A DARawAudioAssembler.cpp60 List<sp<ABuffer> >::iterator it = queue->begin(); local
61 while (it != queue->end()) {
62 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
66 it = queue->erase(it);
H A DAAMRAssembler.cpp110 List<sp<ABuffer> >::iterator it = queue->begin(); local
111 while (it != queue->end()) {
112 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
116 it = queue->erase(it);
H A DAAVCAssembler.cpp55 List<sp<ABuffer> >::iterator it = queue->begin(); local
56 while (it != queue->end()) {
57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
61 it = queue->erase(it);
219 List<sp<ABuffer> >::iterator it = ++queue->begin(); local
220 while (it != queue->end()) {
223 const sp<ABuffer> &buffer = *it;
243 it = queue->begin();
245 it
286 List<sp<ABuffer> >::iterator it = queue->begin(); local
[all...]
H A DARTPSource.cpp147 List<sp<ABuffer> >::iterator it = mQueue.begin(); local
148 while (it != mQueue.end() && (uint32_t)(*it)->int32Data() < seqNum) {
149 ++it;
152 if (it != mQueue.end() && (uint32_t)(*it)->int32Data() == seqNum) {
157 mQueue.insert(it, buffer);
H A DAMPEG4ElementaryAssembler.cpp215 List<sp<ABuffer> >::iterator it = queue->begin(); local
216 while (it != queue->end()) {
217 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
221 it = queue->erase(it);
341 for (List<AUHeader>::iterator it = headers.begin();
342 it != headers.end(); ++it) {
343 const AUHeader &header = *it;
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp43 iterator it = m_SectionData.begin(); local
46 assert((it != m_SectionData.end()) &&
49 ++it;
52 m_LocalGOTIterator = it;
53 m_GlobalGOTIterator = it;
84 for (iterator it = begin(), ie = end();
85 it != ie; ++it, ++buffer) {
86 GOTEntry* got = &(llvm::cast<GOTEntry>((*it)));
125 iterator& it local
138 iterator& it = isLocal(&pInfo) ? m_LocalGOTIterator : m_GlobalGOTIterator; local
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOTPLT.cpp45 iterator it = m_SectionData.begin(); local
48 assert((it != m_SectionData.end()) &&
51 ++it;
54 m_GOTPLTIterator = it;
103 iterator it = begin(); local
106 ++it;
109 for (; it != end() ; ++it) {
110 llvm::cast<GOTEntry>(*it).setContent(plt_addr + 6);
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h44 // For hash_[multi]set, it is important that this deletes behind the iterator
45 // because the hash_set may call the hash function on the iterator when it is
60 // in the case it's given a NULL pointer.
77 typename Collection::const_iterator it = collection.find(key); local
78 if (it == collection.end()) {
81 return &it->second;
131 typename Collection::const_iterator it = collection.find(key); local
132 if (it == collection.end()) {
135 return it->second;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h44 // For hash_[multi]set, it is important that this deletes behind the iterator
45 // because the hash_set may call the hash function on the iterator when it is
60 // in the case it's given a NULL pointer.
77 typename Collection::const_iterator it = collection.find(key); local
78 if (it == collection.end()) {
81 return &it->second;
131 typename Collection::const_iterator it = collection.find(key); local
132 if (it == collection.end()) {
135 return it->second;
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp107 List<QueueItem>::iterator it = mQueue.begin(); local
108 while (it != mQueue.end() && realtime_us >= (*it).realtime_us) {
109 ++it;
116 if (it == mQueue.begin()) {
120 mQueue.insert(it, item);
148 // if MatchesEventID found a match, it will have set id to 0
160 List<QueueItem>::iterator it = mQueue.begin(); local
161 while (it != mQueue.end()) {
162 if (!(*predicate)(cookie, (*it)
218 List<QueueItem>::iterator it = mQueue.begin(); local
[all...]
H A DAudioSource.cpp135 List<MediaBuffer *>::iterator it; local
137 it = mBuffersReceived.begin();
138 (*it)->release();
139 mBuffersReceived.erase(it);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp159 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
160 while (it != mBuffers.end()) {
161 sp<ABuffer> oldBuffer = *it;
166 it = mBuffers.erase(it);
170 ++it;
213 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
214 while (it != mBuffers.end()) {
215 const sp<ABuffer> &buffer = *it;
229 ++it;
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp164 vector<ErrorPos>::const_iterator it; local
165 for (it=g_errors.begin(); it!=g_errors.end(); it++) {
166 it->print(to);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp46 iterator it = m_SectionData.begin(); local
49 assert((it != m_SectionData.end()) && "Generation of GOT0 entries is incomplete!");
50 ++it;
53 m_NormalGOTIterator = it;
54 m_GOTPLTIterator = it;
56 m_GOTPLTBegin = it;
57 m_GOTPLTEnd = it;
178 for (iterator it = begin(), ie = end();
179 it != ie; ++it,
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp339 List<BufferInfo *>::iterator it = outQueue.begin(); local
340 while ((*it)->mHeader != outHeader) {
341 ++it;
344 BufferInfo *outInfo = *it;
346 outQueue.erase(it);
425 // The PV decoder is lying to us, sometimes it'll claim to only have
426 // consumed a subset of the buffer when it clearly consumed all of it.
427 // ignore whatever it says...
463 List<BufferInfo *>::iterator it local
[all...]
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp188 List<sp<ABuffer> >::iterator it = --mPackets.end(); local
190 int32_t extendedSeqNo = (*it)->int32Data();
198 // Insert new packet after the one at "it".
199 mPackets.insert(++it, buffer);
203 if (it == firstIt) {
205 mPackets.insert(it, buffer);
209 --it;

Completed in 899 milliseconds

12