/art/runtime/ |
D | index_bss_mapping.cc | 35 return IndexBssMappingLookup::npos; in GetBssOffset() 43 return IndexBssMappingLookup::npos; in GetBssOffset() 47 constexpr size_t IndexBssMappingLookup::npos; member in art::IndexBssMappingLookup 55 return npos; in GetBssOffset() 66 return npos; in GetBssOffset()
|
D | reference_table_test.cc | 90 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 108 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 109 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 122 std::string::npos) << oss.str(); in TEST_F() 123 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 125 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F() 128 std::string::npos) << oss.str(); in TEST_F() 138 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 148 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 150 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F() [all …]
|
D | index_bss_mapping.h | 72 static constexpr size_t npos = static_cast<size_t>(-1);
|
D | class_loader_context.cc | 123 size_t shared_library_close = std::string::npos; in FindMatchingSharedLibraryCloseMarker() 129 if (shared_library_close == std::string::npos) { in FindMatchingSharedLibraryCloseMarker() 134 if ((shared_library_open == std::string::npos) || in FindMatchingSharedLibraryCloseMarker() 233 if (start_index == std::string::npos) { in ParseClassLoaderSpec() 246 if (shared_library_separator == std::string::npos) { in ParseClassLoaderSpec() 252 } else if ((shared_library_open == std::string::npos) || in ParseClassLoaderSpec() 264 if (closing_marker == std::string::npos) { in ParseClassLoaderSpec() 342 if (first_class_loader_separator == std::string::npos) { in ParseInternal() 347 } else if ((first_shared_library_open == std::string::npos) || in ParseInternal() 360 if (shared_library_close == std::string::npos) { in ParseInternal()
|
D | oat_file_assistant.cc | 144 if (pos == std::string::npos) { in OatFileAssistant() 468 DCHECK(basename.find('/') == std::string::npos); in IsAnonymousVdexBasename() 501 if (pos == std::string::npos) { in DexLocationToOdexNames() 520 if (pos == std::string::npos) { in DexLocationToOdexNames() 923 std::string classpath_dir = (dir_index != std::string::npos) in ClassLoaderContextIsOkay()
|
/art/compiler/ |
D | cfi_test.h | 87 CHECK_NE(std::string::npos, pos); in FindEndOf() 99 while ((pos = line.find(" ")) != std::string::npos) { in ReformatAsm() 114 if (line.find("DW_CFA_nop") != std::string::npos) { in ReformatCfi() 116 } else if (line.find("DW_CFA_advance_loc") != std::string::npos) { in ReformatCfi() 119 } else if (line.find("DW_CFA_") != std::string::npos) { in ReformatCfi() 124 if ((pos = new_line.find(bad_reg)) != std::string::npos) { in ReformatCfi() 128 if ((pos = new_line.find(" (")) != std::string::npos) { in ReformatCfi()
|
/art/cmdline/ |
D | token_range.h | 243 TokenRange Slice(size_t offset, size_t length = std::string::npos) const { 246 if (length != std::string::npos && offset + length > Size()) { 251 if (length == std::string::npos) { 275 size_t wildcard_idx = std::string::npos; in MatchSubstrings() 282 if (wildcard_idx != std::string::npos) { in MatchSubstrings() 287 wildcard_idx = std::string::npos; in MatchSubstrings() 301 if (next_token_idx == std::string::npos) { in MatchSubstrings() 304 } else if (next_token_idx != string_idx && wildcard_idx == std::string::npos) { in MatchSubstrings() 317 if (wildcard_idx == std::string::npos) { in MatchSubstrings() 352 if (wildcard_idx == std::string::npos) { // No wildcard present in MaybeMatches()
|
D | cmdline.h | 273 if (file_name_idx == std::string::npos) { // Prevent a InsertIsaDirectory check failure. in ParseCheckBootImage() 280 if (file_name_idx != std::string::npos) { in ParseCheckBootImage() 285 if (ancestor_dirs_idx != std::string::npos) { in ParseCheckBootImage()
|
/art/runtime/arch/x86/ |
D | instruction_set_features_x86.cc | 195 if (line.find("flags") != std::string::npos) { in FromCpuInfo() 197 if (line.find("ssse3") != std::string::npos) { in FromCpuInfo() 200 if (line.find("sse4_1") != std::string::npos) { in FromCpuInfo() 203 if (line.find("sse4_2") != std::string::npos) { in FromCpuInfo() 206 if (line.find("avx") != std::string::npos) { in FromCpuInfo() 209 if (line.find("avx2") != std::string::npos) { in FromCpuInfo() 212 if (line.find("popcnt") != std::string::npos) { in FromCpuInfo()
|
/art/runtime/arch/arm/ |
D | instruction_set_features_arm.cc | 157 if (line.find("Features") != std::string::npos) { in FromCpuInfo() 159 if (line.find("idivt") != std::string::npos) { in FromCpuInfo() 162 CHECK_NE(line.find("idiva"), std::string::npos); in FromCpuInfo() 165 if (line.find("lpae") != std::string::npos) { in FromCpuInfo() 169 if (line.find("architecture") != std::string::npos in FromCpuInfo() 170 && line.find(": 8") != std::string::npos) { in FromCpuInfo()
|
/art/tools/veridex/ |
D | hidden_api.cc | 48 if (pos != std::string::npos) { in HiddenApi() 52 if (pos != std::string::npos) { in HiddenApi() 57 if (pos != std::string::npos) { in HiddenApi()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 279 if (end == std::string::npos) { in SubstrOf() 291 if (option.empty() || option[0] != 'L' || option.find(';') == std::string::npos) { in ParseSingleBreakpoint() 297 option = SubstrOf(option, option.find(';') + 1, std::string::npos); in ParseSingleBreakpoint() 302 option = SubstrOf(option, 2, std::string::npos); in ParseSingleBreakpoint() 305 if (option.empty() || sig_start == std::string::npos) { in ParseSingleBreakpoint() 308 } else if (loc_start == std::string::npos || in ParseSingleBreakpoint() 316 target->location = std::stol(SubstrOf(option, loc_start + 1, std::string::npos)); in ParseSingleBreakpoint() 321 if (op.find(',') == std::string::npos) { in RemoveLastOption() 324 return SubstrOf(op, op.find(',') + 1, std::string::npos); in RemoveLastOption()
|
/art/compiler/utils/ |
D | assembler_test.h | 205 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { 211 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { 216 if (imm_index != std::string::npos) { 261 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits() 267 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits() 273 while ((reg3_index = base.find(REG3_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits() 278 if (imm_index != std::string::npos) { in RepeatTemplatedRegistersImmBits() 322 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters() 328 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters() 333 if (imm_index != std::string::npos) { in RepeatTemplatedImmBitsRegisters() [all …]
|
/art/dex2oat/linker/ |
D | index_bss_mapping_encoder_test.cc | 36 ASSERT_EQ(IndexBssMappingLookup::npos, in TEST() 62 ASSERT_EQ(IndexBssMappingLookup::npos, in TEST() 88 ASSERT_EQ(IndexBssMappingLookup::npos, in TEST()
|
/art/runtime/arch/mips64/ |
D | instruction_set_features_mips64.cc | 66 if (line.find("ASEs") != std::string::npos) { in FromCpuInfo() 68 if (line.find("msa") != std::string::npos) { in FromCpuInfo()
|
/art/tools/jvmti-agents/wrapagentproperties/ |
D | wrapagentproperties.cc | 260 } else if (end == std::string::npos) { in substrOf() 274 if (line.find('=') == std::string::npos) { in ReadPropMap() 279 std::string val = substrOf(line, line.find('=') + 1, std::string::npos); in ReadPropMap() 291 if (options.find(',') == std::string::npos) { in ParseArgs() 297 if (options.find('=') != std::string::npos) { in ParseArgs() 298 *agent_options = substrOf(options, options.find('=') + 1, std::string::npos); in ParseArgs()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 131 if (actual_line->find(substring) == std::string::npos) { in CheckObjdumpOutput() 142 if (it->find(substring) != std::string::npos) { in CheckObjdumpOutput()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 42 DCHECK_NE(bss_offset, IndexBssMappingLookup::npos); in StoreObjectInBss() 89 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss() 107 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss()
|
/art/profman/ |
D | profile_assistant_test.cc | 820 EXPECT_NE(output_file_contents.find(kCleanClass + "\n"), std::string::npos) in TEST_F() 822 EXPECT_NE(output_file_contents.find(kDirtyClass + "\n"), std::string::npos) in TEST_F() 825 EXPECT_EQ(output_file_contents.find(kUncommonCleanClass + "\n"), std::string::npos) in TEST_F() 827 EXPECT_EQ(output_file_contents.find(kUncommonDirtyClass + "\n"), std::string::npos) in TEST_F() 830 EXPECT_NE(output_file_contents.find("Ljava/lang/Comparable;\n"), std::string::npos) in TEST_F() 833 EXPECT_NE(output_file_contents.find("HSP" + kHotMethod), std::string::npos) in TEST_F() 835 EXPECT_NE(output_file_contents.find("P" + kOtherMethod), std::string::npos) in TEST_F() 838 EXPECT_EQ(output_file_contents.find("Ljava/util/HashMap;\n"), std::string::npos) in TEST_F() 842 EXPECT_EQ(output_file_contents.find("HP" + kOtherMethod), std::string::npos) in TEST_F() 845 EXPECT_NE(output_file_contents.find("HP" + kMultiMethod), std::string::npos) in TEST_F() [all …]
|
/art/runtime/arch/mips/ |
D | instruction_set_features_mips.cc | 143 if (line.find("ASEs") != std::string::npos) { in FromCpuInfo() 145 if (line.find("msa") != std::string::npos) { in FromCpuInfo()
|
/art/dexdump/ |
D | dexdump_cfg.cc | 112 while (cur_start != std::string::npos) { in DumpMethodCFG() 114 if (next_escape == std::string::npos) { in DumpMethodCFG() 130 next_escape = std::string::npos; in DumpMethodCFG()
|
/art/libdexfile/dex/ |
D | signature-inl.h | 59 if (lhs_shorty.find('L', 1) != std::string_view::npos) {
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 368 std::string::npos); in TEST_F() 375 std::string::npos); in TEST_F() 382 std::string::npos); in TEST_F() 389 std::string::npos); in TEST_F() 402 std::string::npos); in TEST_F() 409 std::string::npos); in TEST_F() 416 std::string::npos); in TEST_F() 423 std::string::npos); in TEST_F() 430 std::string::npos); in TEST_F() 437 std::string::npos); in TEST_F() [all …]
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 185 if (file_name_slash == std::string::npos && // Just filename. in WriteCompilationUnit() 187 class_name_slash != std::string::npos) { // Has package name. in WriteCompilationUnit()
|
/art/dexlayout/ |
D | dexdiag.cc | 319 if (match_loc != std::string::npos && mapped_name.length() == match_loc + strlen(suffix)) { in IsVdexFileMapping() 407 if (match_loc != std::string::npos && mapped_name.length() == match_loc + strlen(suffix)) { in IsOatFileMapping() 437 if (mapped_file_name.find(name_contains) != std::string::npos) { in FilterByNameContains()
|