Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 17 of 17) sorted by relevance

/art/runtime/
Dreference_table_test.cc36 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F()
54 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
55 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
68 std::string::npos) << oss.str(); in TEST_F()
69 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
71 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
74 std::string::npos) << oss.str(); in TEST_F()
84 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
94 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
96 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
[all …]
Dindirect_reference_table_test.cc31 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); in CheckDump()
33 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); in CheckDump()
37 std::string::npos) in CheckDump()
Dcommon_test.h551 EXPECT_TRUE(actual_.find(expected_text) != std::string::npos) << "\n" in Check()
Druntime.cc310 if (colon == std::string::npos) { in ParseIntegerOrDie()
639 if (core_jar_pos != std::string::npos) { in Create()
Dclass_linker_test.cc665 if (expected.find(ch) == std::string::npos) { in TEST_F()
Ddebugger.cc380 if (colon != std::string::npos) { in ParseJdwpOption()
419 if (equals == std::string::npos) { in ParseJdwpOptions()
Dcheck_jni.cc138 if (!vm->trace.empty() && class_name.find(vm->trace) != std::string::npos) { in ShouldTrace()
Djni_internal.cc210 if (result.find('.') != std::string::npos) { in NormalizeJniClassDescriptor()
Dclass_linker.cc1621 if (std::string::npos != PrettyMethod(method).find("fibonacci")) { in NeedsInterpreter()
/art/runtime/base/
Dstringpiece.cc36 return npos; in find()
41 return xpos + s.length_ <= static_cast<size_type>(length_) ? xpos : npos; in find()
55 return npos; in find()
58 return result != ptr_ + length_ ? result - ptr_ : npos; in find()
62 if (length_ < s.length_) return npos; in rfind()
68 return result != last ? result - ptr_ : npos; in rfind()
72 if (length_ <= 0) return npos; in rfind()
79 return npos; in rfind()
88 const StringPiece::size_type StringPiece::npos = size_type(-1); member in art::StringPiece
Dstringpiece.h131 static const size_type npos; variable
152 size_type rfind(const StringPiece& s, size_type pos = npos) const;
153 size_type rfind(char c, size_type pos = npos) const;
155 StringPiece substr(size_type pos, size_type n = npos) const;
Dlogging.cc141 if (msg.find('\n') == std::string::npos) { in ~LogMessage()
/art/compiler/dex/
Dfrontend.cc140 std::string::npos)); in CompileMethod()
/art/runtime/mirror/
Dclass.cc276 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage()
277 descriptor2.find('/', i) != StringPiece::npos) { in IsInSamePackage()
/art/compiler/
Delf_writer_quick.cc170 if (directory_separator_pos != std::string::npos) { in Write()
/art/compiler/driver/
Dcompiler_driver.cc2324 (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci")); in CompileMethod()
/art/runtime/verifier/
Dmethod_verifier.cc4209 use_sea = use_sea && (std::string::npos != PrettyMethod( in IsCandidateForCompilation()