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

123

/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...]
H A DBinTreeTest.cpp22 // create testee. modify it if need
289 BinaryTree<int>::iterator it = m_pTestee->begin(); local
292 ASSERT_EQ(0, **it);
293 ++it;
294 ASSERT_EQ(1, **it);
295 --it;
296 ASSERT_EQ(2, **it);
297 ++it;
298 ASSERT_EQ(3, **it);
299 ++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.cpp77 // have ALooperRoster unregister any handlers still registered for it.
171 List<Event>::iterator it = mEventQueue.begin(); local
172 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) {
173 ++it;
180 if (it == mEventQueue.begin()) {
184 mEventQueue.insert(it, event);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonGOTPLT.cpp54 iterator it = begin(); local
57 ++it;
61 for (; it != end() ; ++it) {
62 llvm::cast<HexagonGOTEntry>(*it).setValue(pPLT.addr());
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOTPLT.cpp52 iterator it = begin(); local
55 ++it;
58 for (; it != end() ; ++it) {
59 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6);
96 iterator it = begin(); local
99 ++it;
102 for (; it != end() ; ++it) {
103 llvm::cast<X86_64GOTEntry>(*it)
[all...]
/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.cpp61 List<sp<ABuffer> >::iterator it = queue->begin(); local
62 while (it != queue->end()) {
63 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
67 it = queue->erase(it);
160 List<sp<ABuffer> >::iterator it = mPackets.begin(); local
161 while (it != mPackets.end()) {
162 const sp<ABuffer> &unit = *it;
165 ++it;
170 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);
226 List<sp<ABuffer> >::iterator it = ++queue->begin(); local
227 while (it != queue->end()) {
230 const sp<ABuffer> &buffer = *it;
250 it = queue->begin();
252 it
293 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);
/frameworks/av/services/camera/libcameraservice/utils/
H A DCameraTraces.cpp84 List<ProcessCallStack>::iterator it, end; local
85 for (it = pcsList.begin(), end = pcsList.end(); it != end; ++it) {
86 const ProcessCallStack& pcs = *it;
/frameworks/compile/mclinker/lib/LD/
H A DELFSegment.cpp43 for (const_sect_iterator it = begin(), ie = end(); it != ie; ++it) {
44 if ((*it)->kind() != LDFileFormat::BSS) {
57 const_sect_iterator it = begin(), ie = end(); local
58 for (; it != ie; ++it) {
59 if ((*it)->kind() != LDFileFormat::BSS)
62 if (it == ie)
H A DBranchIsland.cpp101 StubMapType::iterator it = m_StubMap.find(key); local
102 if (it != m_StubMap.end()) {
103 assert(NULL != it.getEntry()->value());
104 return it.getEntry()->value();
H A DGroupReader.cpp121 ArchiveListType::iterator it = ar_list.begin(); local
126 for (it = ar_list.begin(); it != end; ++it) {
127 Archive& ar = (*it)->archive;
128 // if --whole-archive is given to this archive, no need to read it again
138 for (it = ar_list.begin(); it != end; ++it) {
139 Archive& ar = (*it)
[all...]
H A DArchive.cpp151 ArchiveMemberMapType::iterator it = m_ArchiveMemberMap.find(pName); local
152 if (it != m_ArchiveMemberMap.end())
153 return &(it.getEntry()->value());
/frameworks/compile/mclinker/lib/Support/
H A DDefSymParser.cpp43 std::vector<std::string>::iterator it; local
55 // An operator encountered means a token ended, push it to
95 for (it=postfixString.begin(); it != postfixString.end(); it++) {
96 switch (*((*it).c_str())) {
109 if (*((*it).c_str()) == '*')
111 else if (*((*it).c_str()) == '/')
113 else if (*((*it).c_str()) == '-')
121 // try converting it t
[all...]
H A DMemoryArea.cpp61 // we never remove it. In that way, space can not be NULL.
90 // we never remove it. Otherwise, we have to synchronize and release
93 // synchronize writable space before we release it.
99 SpaceMapType::iterator it; local
100 for (it = range.first; it != range.second; ++it) {
101 if (space == it->second)
104 m_SpaceMap.erase(it);
146 SpaceMapType::iterator it; local
159 SpaceMapType::const_iterator it; local
[all...]
/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/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp81 * in which case we reassign it to acquire_fence
107 Vector<BufferItem>::iterator it, end; local
108 for (it = mBuffersInFlight.begin(), end = mBuffersInFlight.end();
109 it != end;
110 ++it) {
112 const BufferItem& tmp = *it;
117 mBuffersInFlight.erase(it);
/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 DARMPLT.cpp138 ARMPLT::iterator it = m_SectionData->begin(); local
140 assert(it != ie && "FragmentList is empty, applyPLT1 failed!");
149 ++it; //skip PLT0
154 while (it != ie) {
155 plt1 = &(llvm::cast<ARMPLT1>(*it));
170 ++it;
182 iterator it = begin(); local
185 memcpy(buffer, llvm::cast<ARMPLT0>((*it)).getValue(), ARMPLT0::EntrySize);
187 ++it;
191 while (it !
[all...]

Completed in 1644 milliseconds

123