/art/libartbase/base/ |
D | hiddenapi_stubs.h | 35 static const std::string_view ToString(Kind api) { in ToString() 48 static bool IsStubsFlag(const std::string_view& api_flag_name) { in IsStubsFlag() 54 static constexpr std::string_view kPublicApiStr{"public-api"}; 55 static constexpr std::string_view kSystemApiStr{"system-api"}; 56 static constexpr std::string_view kTestApiStr{"test-api"}; 57 static constexpr std::string_view kCorePlatformApiStr{"core-platform-api"};
|
D | string_view_cpp20.h | 30 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() 34 inline bool EndsWith(std::string_view sv, std::string_view suffix) { in EndsWith()
|
D | file_utils.cc | 404 && (std::string_view(android_root) != std::string_view(runtime_root)); in RuntimeModuleRootDistinctFromAndroidRoot()
|
/art/libdexfile/dex/ |
D | signature.cc | 60 bool Signature::operator==(std::string_view rhs) const { in operator ==() 64 std::string_view tail(rhs); in operator ==() 72 std::string_view param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
|
D | signature-inl.h | 39 std::string_view lhs_shorty(lhs_shorty_data, lhs_shorty_len); 45 std::string_view rhs_shorty(rhs_shorty_data, rhs_shorty_len); 59 if (lhs_shorty.find('L', 1) != std::string_view::npos) {
|
D | signature.h | 52 bool operator==(std::string_view rhs) const;
|
D | dex_file-inl.h | 34 inline std::string_view StringViewFromUtf16Length(const char* utf8_data, size_t utf16_length) { in StringViewFromUtf16Length() 38 return std::string_view(utf8_data, utf8_length); in StringViewFromUtf16Length() 74 inline std::string_view DexFile::StringViewByIdx(dex::StringIndex idx) const { in StringViewByIdx() 77 return data != nullptr ? StringViewFromUtf16Length(data, unicode_length) : std::string_view(""); in StringViewByIdx()
|
/art/libdexfile/external/ |
D | dex_file_supp_test.cc | 54 EXPECT_EQ(std::string_view(s), "123"); in TEST() 59 EXPECT_TRUE(std::string_view(s).empty()); in TEST() 65 EXPECT_TRUE(std::string_view(s1).empty()); in TEST() 66 EXPECT_EQ(std::string_view(s2), "foo"); in TEST() 72 EXPECT_TRUE(std::string_view(s2).empty()); in TEST() 74 EXPECT_TRUE(std::string_view(s1).empty()); in TEST() 75 EXPECT_EQ(std::string_view(s2), "foo"); in TEST() 81 EXPECT_EQ(std::string_view(s), "bar"); in TEST()
|
/art/runtime/verifier/ |
D | reg_type.cc | 58 const std::string_view& descriptor, in PrimitiveType() 66 const std::string_view& descriptor, in Cat1Type() 72 const std::string_view& descriptor, in Cat2Type() 139 const std::string_view& descriptor, in CreateInstance() 154 const std::string_view& descriptor, in CreateInstance() 169 const std::string_view& descriptor, in CreateInstance() 177 const std::string_view& descriptor, in CreateInstance() 199 const std::string_view& descriptor, in CreateInstance() 214 const std::string_view& descriptor, in CreateInstance() 229 const std::string_view& descriptor, in CreateInstance() [all …]
|
D | reg_type_cache.cc | 138 bool RegTypeCache::MatchDescriptor(size_t idx, const std::string_view& descriptor, bool precise) { in MatchDescriptor() 173 std::string_view RegTypeCache::AddString(const std::string_view& str) { in AddString() 176 return std::string_view(ptr, str.length()); in AddString() 182 std::string_view sv_descriptor(descriptor); in From() 257 const RegType* RegTypeCache::InsertClass(const std::string_view& descriptor, in InsertClass() 275 reg_type = InsertClass(AddString(std::string_view(descriptor)), klass, precise); in FromClass() 491 const std::string_view& descriptor(type.GetDescriptor()); in Uninitialized() 528 const std::string_view& descriptor(uninit_type.GetDescriptor()); in FromUninitialized() 578 const std::string_view& descriptor(type.GetDescriptor()); in UninitializedThisArgument()
|
/art/runtime/ |
D | common_throws.h | 200 void ThrowNoSuchFieldError(std::string_view scope, 202 std::string_view type, 203 std::string_view name) 206 void ThrowNoSuchFieldException(ObjPtr<mirror::Class> c, std::string_view name) 213 std::string_view name,
|
D | common_throws.cc | 391 void ThrowNoSuchFieldError(std::string_view scope, in ThrowNoSuchFieldError() 393 std::string_view type, in ThrowNoSuchFieldError() 394 std::string_view name) { in ThrowNoSuchFieldError() 402 void ThrowNoSuchFieldException(ObjPtr<mirror::Class> c, std::string_view name) { in ThrowNoSuchFieldException() 413 std::string_view name, in ThrowNoSuchMethodError()
|
D | oat_file.cc | 464 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup() 467 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 842 std::string_view key(dex_file_location_data, dex_file_location_size); in Setup() 843 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 1501 std::string_view abs_location(abs_dex_location); in IsLocationSuffix() 1804 std::string_view key(dex_location); in GetOatDexFile() 1823 std::string_view canonical_key(dex_canonical_location); in GetOatDexFile() 1832 std::string_view key_copy(string_cache_.back()); in GetOatDexFile()
|
D | oat_file.h | 427 AllocationTrackingSafeMap<std::string_view, const OatDexFile*, kAllocatorTagOatFile>;
|
/art/runtime/mirror/ |
D | class.h | 540 static bool IsInSamePackage(std::string_view descriptor1, std::string_view descriptor2); 838 ArtMethod* FindInterfaceMethod(std::string_view name, 839 std::string_view signature, 843 ArtMethod* FindInterfaceMethod(std::string_view name, 877 ArtMethod* FindClassMethod(std::string_view name, 878 std::string_view signature, 882 ArtMethod* FindClassMethod(std::string_view name, 892 ArtMethod* FindConstructor(std::string_view signature, PointerSize pointer_size) 895 ArtMethod* FindDeclaredVirtualMethodByName(std::string_view name, PointerSize pointer_size) 898 ArtMethod* FindDeclaredDirectMethodByName(std::string_view name, PointerSize pointer_size) [all …]
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 49 explicit DexString(std::string_view str) in DexString() 71 operator std::string_view() const { in string_view() function 74 return std::string_view(chars, len); in string_view()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 118 std::string_view GetSuperclassDescriptor() const { in GetSuperclassDescriptor() 122 std::set<std::string_view> GetInterfaceDescriptors() const { in GetInterfaceDescriptors() 123 std::set<std::string_view> list; in GetInterfaceDescriptors() 149 static std::string JoinStringSet(const std::set<std::string_view>& s) { in JoinStringSet() 202 inline std::string_view GetName() const { in GetName() 501 HierarchyClass* FindClass(const std::string_view& descriptor) { in FindClass() 536 for (const std::string_view& iface_desc : dex_klass.GetInterfaceDescriptors()) { in BuildClassHierarchy() 545 std::map<std::string_view, HierarchyClass> classes_; 888 const std::string_view command(raw_command); in ParseArgs() 892 const std::string_view option(raw_option); in ParseArgs() [all …]
|
/art/libartpalette/system/ |
D | palette_fake.cc | 57 LOG(INFO) << std::string_view(stacks, stacks_len); in PaletteWriteCrashThreadStacks()
|
D | palette_android.cc | 117 LOG(INFO) << std::string_view(stacks, stacks_len); in PaletteWriteCrashThreadStacks()
|
/art/test/004-StackWalk/ |
D | stack_walk_jni.cc | 43 std::string_view m_name(m->GetName()); in VisitFrame()
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 75 section_map_[std::string_view(name)] = §ion; in ElfDebugReader() 166 std::unordered_map<std::string_view, const Elf_Shdr*> section_map_;
|
/art/compiler/driver/ |
D | compiler_options.cc | 149 return image_classes_.find(std::string_view(descriptor)) != image_classes_.end(); in IsImageClass()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 106 std::string_view option(raw_option, raw_option_length); in ParseCustom()
|
/art/cmdline/ |
D | cmdline.h | 156 const std::string_view option(raw_option); in Parse()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 179 const std::string_view option(raw_option); in ParseArgs()
|