Home
last modified time | relevance | path

Searched refs:HasNext (Results 1 – 25 of 46) sorted by relevance

12

/aosp12/frameworks/base/tools/aapt2/text/
H A DUtf8Iterator_test.cpp30 ASSERT_TRUE(iter.HasNext()); in TEST()
33 ASSERT_TRUE(iter.HasNext()); in TEST()
36 ASSERT_TRUE(iter.HasNext()); in TEST()
39 ASSERT_TRUE(iter.HasNext()); in TEST()
42 ASSERT_TRUE(iter.HasNext()); in TEST()
45 EXPECT_FALSE(iter.HasNext()); in TEST()
52 ASSERT_TRUE(iter.HasNext()); in TEST()
55 ASSERT_TRUE(iter.HasNext()); in TEST()
58 ASSERT_TRUE(iter.HasNext()); in TEST()
61 ASSERT_TRUE(iter.HasNext()); in TEST()
[all …]
H A DUnicode.cpp84 if (!iter.HasNext()) { in IsJavaIdentifier()
93 while (iter.HasNext()) { in IsJavaIdentifier()
106 if (!iter.HasNext()) { in IsValidResourceEntryName()
116 while (iter.HasNext()) { in IsValidResourceEntryName()
H A DUtf8Iterator.cpp42 bool Utf8Iterator::HasNext() const { in HasNext() function in aapt::text::Utf8Iterator
51 while (amount > 0 && HasNext()) { in Skip()
58 CHECK(HasNext()) << "Next() called after iterator exhausted"; in Next()
H A DUtf8Iterator.h30 bool HasNext() const;
/aosp12/art/runtime/
H A Dsubtype_check_info.h245 if (HasNext() && !bitstring_and_of_.overflow_) { in CreateChild()
283 DCHECK(!HasNext() || GetNext() != 0u) in GetState()
312 DCHECK(HasNext()); in GetNext()
321 if (HasNext()) { in MaybeGetNext()
343 if (HasNext()) { in SubtypeCheckInfo()
373 DCHECK(HasNext()); in SetNext()
387 if (HasNext()) { in MaybeInitNext()
401 bool HasNext() const { in HasNext() function
438 if (HasNext()) { in OverwriteNextValueFromParent()
H A Dsubtype_check_info_test.cc124 static bool HasNext(const SubtypeCheckInfo& io) { in HasNext() function
125 return io.HasNext(); in HasNext()
243 EXPECT_FALSE(HasNext(MakeSubtypeCheckInfoUnchecked(MakeBitStringMax<BitString::kCapacity>(), in TEST_F()
247 EXPECT_FALSE(HasNext(MakeSubtypeCheckInfoUnchecked(MakeBitStringMax<BitString::kCapacity>(), in TEST_F()
250 EXPECT_FALSE(HasNext(MakeSubtypeCheckInfoUnchecked(MakeBitStringMax(), in TEST_F()
315 EXPECT_TRUE(HasNext(sci)); // Root always has a "Next". in TEST_F()
/aosp12/art/compiler/
H A Dexception_test.cc145 ASSERT_TRUE(iter.HasNext()); in TEST_F()
148 ASSERT_TRUE(iter.HasNext()); in TEST_F()
150 EXPECT_FALSE(iter.HasNext()); in TEST_F()
155 ASSERT_TRUE(iter.HasNext()); in TEST_F()
157 EXPECT_FALSE(iter.HasNext()); in TEST_F()
161 EXPECT_FALSE(iter.HasNext()); in TEST_F()
/aosp12/art/compiler/jni/quick/
H A Dcalling_convention.cc82 bool ManagedRuntimeCallingConvention::HasNext() { in HasNext() function in art::ManagedRuntimeCallingConvention
87 CHECK(HasNext()); in Next()
189 bool JniCallingConvention::HasNext() { in HasNext() function in art::JniCallingConvention
199 CHECK(HasNext()); in Next()
H A Djni_compiler.cc236 for (; mr_conv->HasNext(); mr_conv->Next()) { in ArtJniCompileMethodInternal()
342 for (; mr_conv->HasNext(); mr_conv->Next(), main_jni_conv->Next()) { in ArtJniCompileMethodInternal()
343 DCHECK(main_jni_conv->HasNext()); in ArtJniCompileMethodInternal()
352 DCHECK(!main_jni_conv->HasNext()); in ArtJniCompileMethodInternal()
363 while (mr_conv->HasNext()) { in ArtJniCompileMethodInternal()
H A Dcalling_convention.h248 bool HasNext();
330 bool HasNext();
/aosp12/art/libdexfile/dex/
H A Ddex_file_exception_helpers.h49 bool HasNext() const { in HasNext() function
54 CHECK(!HasNext()); in EndDataPointer()
H A Ddex_file_exception_helpers.cc66 DCHECK(!HasNext()); in Init()
H A Ddex_file_verifier.cc1135 if (!array_it.HasNext()) { in CheckStaticFieldTypes()
1220 if (array_it.HasNext()) { in CheckStaticFieldTypes()
2553 while (it.HasNext() && *shorty != '\0') { in CheckInterProtoIdItem()
2566 if (UNLIKELY(it.HasNext() || *shorty != '\0')) { in CheckInterProtoIdItem()
2581 while (curr_it.HasNext() && prev_it.HasNext()) { in CheckInterProtoIdItem()
2597 if (!curr_it.HasNext()) { in CheckInterProtoIdItem()
2881 if (!it.HasNext() || it.GetValueType() != EncodedArrayValueIterator::ValueType::kMethodHandle) { in CheckInterCallSiteIdItem()
2894 if (!it.HasNext() || in CheckInterCallSiteIdItem()
2908 if (!it.HasNext() || in CheckInterCallSiteIdItem()
/aosp12/art/dexdump/
H A Ddexdump_cfg.cc198 for (; catch_it.HasNext(); catch_it.Next()) { in DumpMethodCFG()
257 for (; catch_it.HasNext(); catch_it.Next()) { in DumpMethodCFG()
298 if (catch_it.HasNext()) { in DumpMethodCFG()
300 for (; catch_it.HasNext(); catch_it.Next()) { in DumpMethodCFG()
/aosp12/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser.cpp37 bool HasNext() { return current_ != end_; } in HasNext() function in aapt::FilterIterator
104 while (filter_iter.HasNext()) { in CollapseVersions()
/aosp12/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor.cpp35 while (iter.HasNext()) { in ExtractFirstSentence()
39 if (!iter.HasNext() || text::IsWhitespace(iter.Next())) { in ExtractFirstSentence()
/aosp12/art/compiler/optimizing/
H A Dblock_builder.cc93 for (; iterator.HasNext(); iterator.Next()) { in CreateBranchTargets()
241 it.HasNext(); in LinkToCatchBlocks()
316 for (; iterator.HasNext(); iterator.Next()) { in InsertTryBoundaryBlocks()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DChunk.h95 inline bool HasNext() const { return !HadError() && len_ != 0; }; in HasNext() function
/aosp12/frameworks/base/tools/aapt2/io/
H A DFileSystem.h48 bool HasNext() override;
H A DZipArchive.h54 bool HasNext() override;
H A DFile.h95 virtual bool HasNext() = 0;
H A DZipArchive.cpp83 bool ZipFileCollectionIterator::HasNext() { in HasNext() function in aapt::io::ZipFileCollectionIterator
H A DFileSystem.cpp61 bool FileCollectionIterator::HasNext() { in HasNext() function in aapt::io::FileCollectionIterator
/aosp12/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp476 while (iter.HasNext()) { in Load()
634 while (overlayable_iter.HasNext()) { in Load()
771 while (iter.HasNext()) { in LoadTable()
829 while (iter.HasNext()) { in Load()
/aosp12/art/compiler/jni/
H A Djni_cfi_test.cc88 for (; mr_conv->HasNext(); mr_conv->Next()) { in TestImplSized()

12