Searched refs:iter (Results 1 - 25 of 128) sorted by relevance

123456

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp38 for (Witer_const iter = w_.begin();
39 iter != w_.end();
40 ++iter) {
41 if (isnanf(iter->second) || __isinff(iter->second))
52 for (Witer_const iter = w1.w_.begin();
53 iter != w1.w_.end();
54 ++iter) {
55 w_[iter->first] += ((multiplier * iter
[all...]
/frameworks/compile/mclinker/unittests/
H A DSectionDataTest.cpp61 llvm::iplist<Fragment>::iterator iter = s->begin(); local
62 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
63 ++iter;
64 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
65 ++iter;
66 EXPECT_TRUE(Fragment::Region == iter->getKind());
67 ++iter;
68 EXPECT_TRUE(Fragment::Fillment == iter->getKind());
69 ++iter;
70 EXPECT_TRUE(Fragment::Target == iter
[all...]
H A DHashTableTest.cpp74 HashTableTy::iterator iter; local
75 iter = hashTable->find(NULL);
76 EXPECT_TRUE(iter == hashTable->end());
142 HashTableTy::iterator iter; local
146 iter = hashTable->find(key);
147 EXPECT_TRUE(iter == hashTable->end());
167 HashTableTy::iterator iter; local
169 iter = hashTable->find(key);
170 EXPECT_TRUE(iter == hashTable->end());
190 HashTableTy::iterator iter; local
226 HashTableTy::iterator iter; local
248 HashTableTy::iterator iter, iEnd = hashTable->end(); local
272 HashTableTy::chain_iterator iter, iEnd = hashTable->end(key * 37); local
304 HashTableTy::chain_iterator iter, iEnd = hashTable->end(key); local
[all...]
H A DELFReaderTest.cpp84 LDContext::const_sect_iterator iter = m_pInput->context()->sectBegin(); local
85 ++iter; /// test section[1]
86 ASSERT_EQ(".text", (*iter)->name());
87 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type());
88 ASSERT_EQ(0x40u, (*iter)->offset());
89 ASSERT_EQ(0x15u, (*iter)->size());
90 ASSERT_TRUE(llvm::ELF::SHF_ALLOC & (*iter)->flag()); // AX
91 ASSERT_EQ(0x4u, (*iter)->align());
92 ASSERT_EQ(NULL, (*iter)->getLink());
93 ASSERT_EQ(0u, (*iter)
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp32 auto iter = entry->values.begin(); local
33 for (; iter != endIter; ++iter) {
34 if ((*iter)->config == config) {
40 assert(iter != entry->values.end());
41 ++iter;
50 for (; iter != endIter; ++iter) {
51 tempConfig.sdkVersion = (*iter)->config.sdkVersion;
52 if (tempConfig == (*iter)
82 auto iter = style->entries.begin(); local
[all...]
H A DProductFilter.cpp29 for (ResourceConfigValueIter iter = begin; iter != end; ++iter) {
30 ResourceConfigValue* configValue = iter->get();
46 selectedProductIter = iter;
62 defaultProductIter = iter;
84 ResourceConfigValueIter iter = entry->values.begin(); local
85 ResourceConfigValueIter startRangeIter = iter;
86 while (iter != entry->values.end()) {
87 ++iter;
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTypeWrappers_test.cpp83 TypeVariant::iterator iter = v.beginEntries(); local
84 ASSERT_EQ(uint32_t(0), iter.index());
85 ASSERT_TRUE(NULL != *iter);
86 ASSERT_EQ(uint32_t(0), iter->key.index);
87 ASSERT_NE(v.endEntries(), iter);
89 iter++;
91 ASSERT_EQ(uint32_t(1), iter.index());
92 ASSERT_TRUE(NULL == *iter);
93 ASSERT_NE(v.endEntries(), iter);
95 iter
[all...]
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptRegistry.java129 Iterator iter = getHandlers().listIterator();
130 while (iter.hasNext()) {
131 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next();
157 Iterator iter = getHandlers().listIterator();
158 while (iter.hasNext()) {
159 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next();
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp306 iterator iter = fileBegin(); local
307 iter += m_pFile->size();
308 return iter;
316 const_iterator iter = fileBegin(); local
317 iter += m_pFile->size();
318 return iter;
326 iterator iter = localBegin(); local
327 iter += m_pLocal->size();
328 return iter;
336 const_iterator iter local
346 iterator iter = localDynBegin(); local
356 const_iterator iter = localDynBegin(); local
366 iterator iter = commonBegin(); local
376 const_iterator iter = commonBegin(); local
386 iterator iter = dynamicBegin(); local
396 const_iterator iter = dynamicBegin(); local
[all...]
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp34 std::set<ConfigDescription>::const_iterator iter = configs.begin(); local
35 for (; iter != configs.end(); iter++) {
36 if (splitConfigs.count(*iter) > 0) {
39 "in another split.\n", iter->toString().string());
83 std::set<ConfigDescription>::const_iterator iter = configs.begin(); local
84 for (; iter != configs.end(); iter++) {
91 String8 configStr = iter->toString();
120 std::set<OutputEntry>::const_iterator iter local
[all...]
/frameworks/base/tools/aapt2/util/
H A DUtil_test.cpp92 auto iter = tokenizer.begin(); local
93 ASSERT_EQ(*iter, StringPiece16(u"this"));
94 ++iter;
95 ASSERT_EQ(*iter, StringPiece16(u" is"));
96 ++iter;
97 ASSERT_EQ(*iter, StringPiece16(u"the"));
98 ++iter;
99 ASSERT_EQ(*iter, StringPiece16(u"end"));
100 ++iter;
101 ASSERT_EQ(tokenizer.end(), iter);
106 auto iter = tokenizer.begin(); local
108 ASSERT_EQ(StringPiece16(), *iter); local
115 auto iter = tokenizer.begin(); local
[all...]
H A DImmutableMap.h66 auto iter = std::lower_bound(mData.begin(), endIter, key, cmp); local
67 if (iter == endIter || iter->first == key) {
68 return iter;
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp44 auto iter = std::lower_bound(packages.begin(), last, name, local
46 if (iter != last && name == (*iter)->name) {
47 return iter->get();
76 auto iter = std::lower_bound(packages.begin(), last, name, local
78 if (iter != last && name == (*iter)->name) {
79 return iter->get();
84 return packages.emplace(iter, std::move(newPackage))->get();
89 auto iter local
98 auto iter = std::lower_bound(types.begin(), last, type, lessThanType); local
107 auto iter = std::lower_bound(entries.begin(), last, name, local
117 auto iter = std::lower_bound(entries.begin(), last, name, local
144 auto iter = std::lower_bound(values.begin(), values.end(), local
157 auto iter = std::lower_bound(values.begin(), values.end(), local
173 auto iter = values.begin(); local
[all...]
/frameworks/base/libs/hwui/
H A DDisplayList.cpp76 for (auto& iter : functors) {
77 if (iter.listener) {
78 iter.listener->onGlFunctorReleased(iter.functor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DViewPool.java62 Iterator<V> iter = mPool.iterator();
63 while (iter.hasNext()) {
64 V vpv = iter.next();
67 iter.remove();
/frameworks/base/tools/aapt2/compile/
H A DXmlIdCollector.cpp47 auto iter = std::lower_bound(mOutSymbols->begin(), mOutSymbols->end(), variable
49 if (iter == mOutSymbols->end() || iter->name != name) {
50 mOutSymbols->insert(iter, SourcedResourceName{ name.toResourceName(),
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp60 std::map<std::u16string, XmlNodeAction>::const_iterator iter = local
62 if (iter != mMap.end()) {
63 error |= !iter->second.execute(policy, diag, childEl);
94 std::map<std::u16string, XmlNodeAction>::const_iterator iter = mMap.find(el->name); local
95 if (iter != mMap.end()) {
96 return iter->second.execute(policy, &sourceDiag, el);
H A DXmlPullParser.cpp143 for (auto iter = mPackageAliases.rbegin(); iter != endIter; ++iter) {
144 if (alias == iter->prefix) {
145 if (iter->package.package.empty()) {
147 iter->package.privateNamespace };
149 return iter->package;
233 auto iter = std::lower_bound(data.attributes.begin(), data.attributes.end(), attribute); local
234 data.attributes.insert(iter, std::move(attribute));
289 auto iter local
297 auto iter = parser->findAttribute(u"", name); local
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DRelocData.cpp52 iterator iter(pRelocation);
53 Relocation* rel = m_Relocations.remove(iter);
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp93 for (size_t iter = 0; iter < count; ++iter) {
94 sp<IMediaDeathNotifier> notifier = list[iter].promote();
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp223 static bool findId(AMediaDrm *mObj, const AMediaDrmByteArray &id, List<idvec_t>::iterator &iter) { argument
224 iter = mObj->mIds.begin();
225 while (iter != mObj->mIds.end()) {
226 if (iter->array() == id.ptr && iter->size() == id.length) {
245 List<idvec_t>::iterator iter = mObj->mIds.begin(); local
246 sessionId->ptr = iter->array();
247 sessionId->length = iter->size();
261 List<idvec_t>::iterator iter; local
262 if (!findId(mObj, *sessionId, iter)) {
283 List<idvec_t>::iterator iter; local
334 List<idvec_t>::iterator iter; local
345 List<idvec_t>::iterator iter = mObj->mIds.begin(); local
365 List<idvec_t>::iterator iter; local
382 List<idvec_t>::iterator iter; local
405 List<idvec_t>::iterator iter; local
486 List<Vector<uint8_t> >::iterator iter = mObj->mSecureStops.begin(); local
591 List<idvec_t>::iterator iter; local
657 List<idvec_t>::iterator iter; local
696 List<idvec_t>::iterator iter; local
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDelayedMessageBuffer.java69 for (Iterator<HdmiCecMessage> iter = mBuffer.iterator(); iter.hasNext(); ) {
70 HdmiCecMessage message = iter.next();
72 iter.remove();
/frameworks/base/tools/aapt2/io/
H A DFileSystem.cpp66 auto iter = mFiles.find(path.toString()); local
67 if (iter != mFiles.end()) {
68 return iter->second.get();
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp31 auto iter = std::find_end(value.begin(), value.end(), sep.begin(), sep.end()); local
34 if (iter != value.end()) {
35 result.assign(iter + sep.size(), value.end() - (iter + sep.size()));
45 iter = util::findNonAlphaNumericAndNotInSet(result, u"_");
46 if (iter != result.end()) {
48 << "invalid character '" << StringPiece16(iter, 1)
/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceManager.java149 Iterator<GeofenceState> iter = mFences.iterator();
150 while (iter.hasNext()) {
151 GeofenceState state = iter.next();
156 iter.remove();
160 iter.remove();
175 Iterator<GeofenceState> iter = mFences.iterator();
176 while (iter.hasNext()) {
177 GeofenceState state = iter.next();
179 iter.remove();
188 Iterator<GeofenceState> iter
[all...]

Completed in 506 milliseconds

123456