Searched refs:npos (Results 1 – 17 of 17) sorted by relevance
/art/runtime/ |
D | reference_table_test.cc | 36 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 …]
|
D | indirect_reference_table_test.cc | 31 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()
|
D | common_test.h | 551 EXPECT_TRUE(actual_.find(expected_text) != std::string::npos) << "\n" in Check()
|
D | runtime.cc | 310 if (colon == std::string::npos) { in ParseIntegerOrDie() 639 if (core_jar_pos != std::string::npos) { in Create()
|
D | class_linker_test.cc | 665 if (expected.find(ch) == std::string::npos) { in TEST_F()
|
D | debugger.cc | 380 if (colon != std::string::npos) { in ParseJdwpOption() 419 if (equals == std::string::npos) { in ParseJdwpOptions()
|
D | check_jni.cc | 138 if (!vm->trace.empty() && class_name.find(vm->trace) != std::string::npos) { in ShouldTrace()
|
D | jni_internal.cc | 210 if (result.find('.') != std::string::npos) { in NormalizeJniClassDescriptor()
|
D | class_linker.cc | 1621 if (std::string::npos != PrettyMethod(method).find("fibonacci")) { in NeedsInterpreter()
|
/art/runtime/base/ |
D | stringpiece.cc | 36 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
|
D | stringpiece.h | 131 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;
|
D | logging.cc | 141 if (msg.find('\n') == std::string::npos) { in ~LogMessage()
|
/art/compiler/dex/ |
D | frontend.cc | 140 std::string::npos)); in CompileMethod()
|
/art/runtime/mirror/ |
D | class.cc | 276 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage() 277 descriptor2.find('/', i) != StringPiece::npos) { in IsInSamePackage()
|
/art/compiler/ |
D | elf_writer_quick.cc | 170 if (directory_separator_pos != std::string::npos) { in Write()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 2324 (std::string::npos != PrettyMethod(method_idx, dex_file).find("fibonacci")); in CompileMethod()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 4209 use_sea = use_sea && (std::string::npos != PrettyMethod( in IsCandidateForCompilation()
|