Searched defs:it (Results 1 - 25 of 66) 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
290 BinaryTree<int>::iterator it = m_pTestee->begin(); local
293 ASSERT_EQ(0, **it);
294 ++it;
295 ASSERT_EQ(1, **it);
296 --it;
297 ASSERT_EQ(2, **it);
298 ++it;
299 ASSERT_EQ(3, **it);
300 ++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.cpp71 // clean up stale AHandlers. Doing it here instead of in the destructor avoids
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/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 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.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 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/base/core/java/android/view/animation/
H A DClipRectAnimation.java47 protected void applyTransformation(float it, Transformation tr) { argument
48 int l = mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it);
49 int t = mFromRect.top + (int) ((mToRect.top - mFromRect.top) * it);
50 int r = mFromRect.right + (int) ((mToRect.right - mFromRect.right) * it);
51 int b = mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonGOTPLT.cpp51 iterator it = begin(); local
54 ++it;
58 for (; it != end() ; ++it) {
59 llvm::cast<HexagonGOTEntry>(*it).setValue(pPLT.addr());
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOTPLT.cpp48 iterator it = begin(); local
51 ++it;
54 for (; it != end() ; ++it) {
55 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6);
87 iterator it = begin(); local
90 ++it;
93 for (; it != end() ; ++it) {
94 llvm::cast<X86_64GOTEntry>(*it)
[all...]
/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/Target/Mips/
H A DMipsGOTPLT.cpp43 for (iterator it = begin(), ie = end(); it != ie; ++it, ++buffer) {
44 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it)));
71 iterator it = begin(); local
72 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // PLT lazy resolver
73 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // Module pointer
75 for (; it != end(); ++it)
76 llvm::cast<GOTPLTEntry>(*it)
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp71 BreakIterator* it = BreakIterator::createLineInstance(icuLocale.locale(), status); local
72 if (!U_SUCCESS(status) || it == NULL) {
73 if (it) {
74 delete it;
77 ScopedBreakIterator breakIterator(env, it, inputText, length);
/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/compile/mclinker/lib/LD/
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.cpp119 ArchiveListType::iterator it = ar_list.begin(); local
124 for (it = ar_list.begin(); it != end; ++it) {
125 Archive& ar = (*it)->archive;
126 // if --whole-archive is given to this archive, no need to read it again
136 for (it = ar_list.begin(); it != end; ++it) {
137 Archive& ar = (*it)
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.cpp74 entry_iterator it, end = m_GOTPLT.end(); local
75 for (it = m_GOTPLT.begin(); it != end; ++it) {
76 AArch64GOTEntry* entry = *it;
89 entry_iterator it, end = m_GOT.end(); local
90 for (it = m_GOT.begin(); it != end; ++it) {
91 AArch64GOTEntry* entry = *it;
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp70 entry_iterator it, end = m_GOTPLT.end(); local
71 for (it = m_GOTPLT.begin(); it != end; ++it) {
72 ARMGOTEntry* entry = *it;
84 entry_iterator it, end = m_GOT.end(); local
85 for (it = m_GOT.begin(); it != end; ++it) {
86 ARMGOTEntry* entry = *it;
[all...]
/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.cpp158 vector<ErrorPos>::const_iterator it; local
159 for (it=g_errors.begin(); it!=g_errors.end(); it++) {
160 it->print(to);

Completed in 304 milliseconds

123