/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 | oat_file_test.cc | 92 EXPECT_NE(std::string::npos, error_msg.find("expected 2 uncompressed dex files, but found 1")) in TEST_F()
|
D | class_loader_context.cc | 127 size_t shared_library_close = std::string::npos; in FindMatchingSharedLibraryCloseMarker() 133 if (shared_library_close == std::string::npos) { in FindMatchingSharedLibraryCloseMarker() 138 if ((shared_library_open == std::string::npos) || in FindMatchingSharedLibraryCloseMarker() 237 if (start_index == std::string::npos) { in ParseClassLoaderSpec() 250 if (shared_library_separator == std::string::npos) { in ParseClassLoaderSpec() 256 } else if ((shared_library_open == std::string::npos) || in ParseClassLoaderSpec() 268 if (closing_marker == std::string::npos) { in ParseClassLoaderSpec() 346 if (first_class_loader_separator == std::string::npos) { in ParseInternal() 351 } else if ((first_shared_library_open == std::string::npos) || in ParseInternal() 364 if (shared_library_close == std::string::npos) { in ParseInternal()
|
D | oat_file_assistant.cc | 145 if (pos == std::string::npos) { in OatFileAssistant() 472 DCHECK(basename.find('/') == std::string::npos); in IsAnonymousVdexBasename() 505 if (pos == std::string::npos) { in DexLocationToOdexNames() 524 if (pos == std::string::npos) { in DexLocationToOdexNames() 917 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 (separator_pos != std::string::npos) { in ParseCheckBootImage() 277 if (file_name_idx == std::string::npos) { // Prevent a InsertIsaDirectory check failure. in ParseCheckBootImage() 284 if (file_name_idx != std::string::npos) { in ParseCheckBootImage() 289 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 | 43 if (pos != std::string::npos) { in HiddenApi() 47 if (pos != std::string::npos) { in HiddenApi() 52 if (pos != std::string::npos) { in HiddenApi()
|
D | hidden_api.h | 99 if (pos != std::string::npos) { in GetApiClassName()
|
/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/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/dex2oat/ |
D | dex2oat_image_test.cc | 136 CHECK_NE(std::string::npos, slash_pos); in CopyDexFiles() 189 ASSERT_NE(std::string::npos, libcore_dex_files[0].find("core-oj")); in TEST_F() 190 ASSERT_NE(std::string::npos, libcore_dex_files[1].find("core-libart")); in TEST_F() 191 ASSERT_NE(std::string::npos, libcore_dex_files[2].find("core-icu4j")); in TEST_F() 281 ASSERT_NE(std::string::npos, full_bcp[0].find("core-oj")); in TEST_F() 282 ASSERT_NE(std::string::npos, full_bcp[1].find("core-libart")); in TEST_F() 283 ASSERT_NE(std::string::npos, full_bcp[2].find("core-icu4j")); in TEST_F() 286 ASSERT_NE(std::string::npos, full_bcp[full_bcp.size() - 1u].find("conscrypt")); in TEST_F() 304 ASSERT_NE(std::string::npos, mid_slash_pos); in TEST_F() 312 ASSERT_NE(std::string::npos, tail_slash_pos); in TEST_F() [all …]
|
/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/compiler/driver/ |
D | compiler_options.cc | 190 if (colon_pos != std::string_view::npos) { in IsCoreImageFilename() 201 if (slash_pos == std::string::npos) { in IsCoreImageFilename()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 42 DCHECK_NE(bss_offset, IndexBssMappingLookup::npos); in StoreObjectInBss() 92 if (bss_offset != IndexBssMappingLookup::npos) { in StoreTypeInBss() 110 if (bss_offset != IndexBssMappingLookup::npos) { in StoreStringInBss()
|
/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/debug/ |
D | elf_debug_line_writer.h | 183 if (file_name_slash == std::string::npos && // Just filename. in WriteCompilationUnit() 185 class_name_slash != std::string::npos) { // Has package name. in WriteCompilationUnit()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 380 std::string::npos); in TEST_F() 387 std::string::npos); in TEST_F() 394 std::string::npos); in TEST_F() 401 std::string::npos); in TEST_F() 414 std::string::npos); in TEST_F() 421 std::string::npos); in TEST_F() 428 std::string::npos); in TEST_F() 435 std::string::npos); in TEST_F() 442 std::string::npos); in TEST_F() 449 std::string::npos); in TEST_F() [all …]
|