/art/libartbase/base/ |
D | file_utils.h | 130 bool GetDalvikCacheFilename(std::string_view location, 131 std::string_view cache_location, 141 std::string GetApexDataOatFilename(std::string_view location, InstructionSet isa); 145 std::string GetApexDataOdexFilename(std::string_view location, InstructionSet isa); 149 std::string GetApexDataBootImage(std::string_view dex_location); 153 std::string GetApexDataImage(std::string_view dex_location); 158 std::string GetApexDataDalvikCacheFilename(std::string_view dex_location, 160 std::string_view file_extension); 174 std::string GetSystemOdexFilenameForApex(std::string_view location, InstructionSet isa); 181 std::string ReplaceFileExtension(std::string_view filename, std::string_view new_extension); [all …]
|
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() 55 static constexpr std::string_view kPublicApiStr{"public-api"}; 56 static constexpr std::string_view kSystemApiStr{"system-api"}; 57 static constexpr std::string_view kTestApiStr{"test-api"}; 58 static constexpr std::string_view kCorePlatformApiStr{"core-platform-api"}; 59 static constexpr std::string_view kRemovedApiStr{"removed"}; 60 static constexpr std::string_view kLowPriorityApiStr{"lo-prio"};
|
D | file_utils.cc | 338 std::string_view mainline_bcp(env_bcp); in GetFirstMainlineFrameworkLibraryFilename() 344 std::vector<std::string_view> mainline_bcp_jars; in GetFirstMainlineFrameworkLibraryFilename() 362 std::string_view library_name(jar_name); in GetFirstMainlineFrameworkLibraryName() 567 static /*constinit*/ std::string_view dalvik_cache_sub_dir = "dalvik-cache"; 575 static std::string GetDalvikCacheDirectory(std::string_view root_directory, in GetDalvikCacheDirectory() 576 std::string_view sub_directory = {}) { in GetDalvikCacheDirectory() 625 static bool GetLocationEncodedFilename(std::string_view location, in GetLocationEncodedFilename() 626 std::string_view cache_location, in GetLocationEncodedFilename() 644 bool GetDalvikCacheFilename(std::string_view location, in GetDalvikCacheFilename() 645 std::string_view cache_location, in GetDalvikCacheFilename() [all …]
|
D | utils.cc | 246 auto split = SplitString(std::string_view(s), separator); in Split() 247 for (std::string_view p : split) { in Split() 257 template void Split(const char *const& s, char separator, std::vector<std::string_view>* out_result… 258 template void Split(const std::string_view& s, 260 std::vector<std::string_view>* out_result); 261 template void Split(const std::string_view& s, 268 auto split = SplitString(std::string_view(s), separator); in Split() 269 for (std::string_view p : split) { in Split() 281 template void Split(const std::string_view& s, 284 std::string_view* out_result);
|
D | stats-inl.h | 27 void Stats::DumpSizes(VariableIndentationOutputStream& os, std::string_view name) const { in DumpSizes() 32 std::string_view name, in Dump() 50 std::map<std::pair<double, std::string_view>, const Stats&> sorted_children; in Dump()
|
D | utils_test.cc | 46 void Split(const char* arr, char s, std::vector<std::string_view>* sv) { in Split() 47 Split<std::string_view>(std::string_view(arr), s, sv); in Split() 51 std::vector<std::string_view> actual; in TEST_F() 52 std::vector<std::string_view> expected; in TEST_F()
|
/art/libarttools/include/tools/ |
D | tools.h | 42 std::string_view root_dir = "/"); 50 bool PathStartsWith(std::string_view path, std::string_view prefix); 54 std::string_view path); 58 std::string_view path);
|
D | cmdline_builder.h | 33 constexpr bool ContainsOneFormatSpecifier(std::string_view format, char specifier) { in ContainsOneFormatSpecifier() 36 while ((pos = format.find('%', pos)) != std::string_view::npos) { in ContainsOneFormatSpecifier() 61 CmdlineBuilder& Add(std::string_view arg) { in Add() 67 CmdlineBuilder& AddRuntime(std::string_view arg) { return Add("--runtime-arg").Add(arg); } in AddRuntime() 125 CmdlineBuilder& AddIf(bool value, std::string_view arg) { in AddIf() 133 CmdlineBuilder& AddRuntimeIf(bool value, std::string_view arg) { in AddRuntimeIf()
|
/art/artd/ |
D | file_utils.cc | 50 void UnlinkIfExists(std::string_view path) { in UnlinkIfExists() 124 const std::vector<std::string_view>& files_to_remove) { in CommitAllOrAbandon() 125 std::vector<std::pair<std::string_view, std::string_view>> files_to_move; in CommitAllOrAbandon() 142 const std::vector<std::pair<std::string_view, std::string_view>>& files_to_move, in MoveAllOrAbandon() argument 143 const std::vector<std::string_view>& files_to_remove) { in MoveAllOrAbandon() 144 std::vector<std::pair<std::string_view, std::string>> moved_files; in MoveAllOrAbandon() 145 std::unordered_set<std::string_view> committed_files; in MoveAllOrAbandon() 173 std::vector<std::string_view> all_files_to_remove; in MoveAllOrAbandon() 181 for (std::string_view original_path : all_files_to_remove) { in MoveAllOrAbandon() 236 std::vector<std::pair<std::string_view, std::string_view>> files_to_move_view; in MoveAllOrAbandon() [all …]
|
D | file_utils.h | 97 const std::vector<std::string_view>& files_to_remove = {}); 100 static std::string BuildTempPath(std::string_view final_path, const std::string& id); 148 const std::vector<std::pair<std::string_view, std::string_view>>& files_to_move, 149 const std::vector<std::string_view>& files_to_remove = {});
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 35 inline int DexFile::CompareDescriptors(std::string_view lhs, std::string_view rhs) { in CompareDescriptors() 42 inline int DexFile::CompareMemberNames(std::string_view lhs, std::string_view rhs) { in CompareMemberNames() 49 inline std::string_view DexFile::StringViewFromUtf16Length(const char* utf8_data, in StringViewFromUtf16Length() 54 return std::string_view(utf8_data, utf8_length); in StringViewFromUtf16Length() 91 inline std::string_view DexFile::GetStringView(const dex::StringId& string_id) const { in GetStringView() 98 inline std::string_view DexFile::GetStringView(dex::StringIndex string_idx) const { in GetStringView() 110 inline std::string_view DexFile::GetTypeDescriptorView(const dex::TypeId& type_id) const { in GetTypeDescriptorView() 114 inline std::string_view DexFile::GetTypeDescriptorView(dex::TypeIndex type_idx) const { in GetTypeDescriptorView() 126 inline std::string_view DexFile::GetFieldDeclaringClassDescriptorView( in GetFieldDeclaringClassDescriptorView() 131 inline std::string_view DexFile::GetFieldDeclaringClassDescriptorView(uint32_t field_idx) const { in GetFieldDeclaringClassDescriptorView() [all …]
|
D | signature-inl.h | 36 std::string_view lhs_shorty = dex_file_->GetShortyView(*proto_id_); 49 if (lhs_shorty.find('L', 1) != std::string_view::npos) { 80 std::string_view lhs_shorty = dex_file_->GetShortyView(*proto_id_); in Compare() 81 std::string_view rhs_shorty = rhs.dex_file_->GetShortyView(*rhs.proto_id_); in Compare() 85 std::string_view lhs_return_type = dex_file_->GetTypeDescriptorView( in Compare() 87 std::string_view rhs_return_type = rhs.dex_file_->GetTypeDescriptorView( in Compare() 104 std::string_view lhs_param_type = dex_file_->GetTypeDescriptorView( in Compare() 106 std::string_view rhs_param_type = rhs.dex_file_->GetTypeDescriptorView( in Compare()
|
D | dex_file.h | 356 std::string_view GetStringView(const dex::StringId& string_id) const; 357 std::string_view GetStringView(dex::StringIndex string_idx) const; 389 std::string_view GetTypeDescriptorView(const dex::TypeId& type_id) const; 390 std::string_view GetTypeDescriptorView(dex::TypeIndex type_idx) const; 392 const dex::TypeId* FindTypeId(std::string_view descriptor) const; 435 std::string_view GetFieldDeclaringClassDescriptorView(const dex::FieldId& field_id) const; 436 std::string_view GetFieldDeclaringClassDescriptorView(uint32_t field_idx) const; 441 std::string_view GetFieldTypeDescriptorView(const dex::FieldId& field_id) const; 442 std::string_view GetFieldTypeDescriptorView(uint32_t field_idx) const; 447 std::string_view GetFieldNameView(const dex::FieldId& field_id) const; [all …]
|
D | signature.cc | 58 bool Signature::operator==(std::string_view rhs) const { in operator ==() 62 std::string_view tail(rhs); in operator ==() 70 std::string_view param = dex_file_->GetTypeDescriptorView(params->GetTypeItem(i).type_idx_); in operator ==()
|
/art/test/2038-hiddenapi-jvmti-ext/ |
D | hiddenapi_ext.cc | 48 static constexpr std::string_view kDisablePolicyName = 50 static constexpr std::string_view kGetPolicyName = 52 static constexpr std::string_view kSetPolicyName = 58 void* GetExtension(JNIEnv* env, const std::string_view& name) { in GetExtension() 68 if (name == std::string_view(cur_info->id)) { in GetExtension()
|
/art/runtime/arch/arm/ |
D | jni_frame_arm.h | 43 inline size_t GetCriticalNativeCallArgsSize(std::string_view shorty) { in GetCriticalNativeCallArgsSize() 60 inline size_t GetCriticalNativeStubFrameSize(std::string_view shorty) { in GetCriticalNativeStubFrameSize() 75 inline size_t GetCriticalNativeDirectCallFrameSize(std::string_view shorty) { in GetCriticalNativeDirectCallFrameSize()
|
/art/runtime/arch/x86/ |
D | jni_frame_x86.h | 44 inline size_t GetCriticalNativeCallArgsSize(std::string_view shorty) { in GetCriticalNativeCallArgsSize() 53 inline size_t GetCriticalNativeStubFrameSize(std::string_view shorty) { in GetCriticalNativeStubFrameSize() 71 inline size_t GetCriticalNativeDirectCallFrameSize(std::string_view shorty) { in GetCriticalNativeDirectCallFrameSize()
|
/art/runtime/verifier/ |
D | reg_type.h | 189 const std::string_view& GetDescriptor() const { in GetDescriptor() 312 const std::string_view& descriptor, in RegType() 329 const std::string_view descriptor_; 360 const std::string_view& descriptor, in ConflictType() 381 const std::string_view& descriptor, in UndefinedType() 391 const std::string_view& descriptor, 400 const std::string_view& descriptor, 414 const std::string_view& descriptor, in IntegerType() 431 const std::string_view& descriptor, in BooleanType() 448 const std::string_view& descriptor, in ByteType() [all …]
|
/art/libarttools/ |
D | tools.cc | 164 std::vector<std::string> Glob(const std::vector<std::string>& patterns, std::string_view root_dir) { in Glob() 167 for (std::string_view pattern : patterns) { in Glob() 179 bool PathStartsWith(std::string_view path, std::string_view prefix) { in PathStartsWith() 188 function_ref<bool(std::string_view)> predicate) { in GetProcMountsMatches() 209 Result<std::vector<FstabEntry>> GetProcMountsAncestorsOfPath(std::string_view path) { in GetProcMountsAncestorsOfPath() 211 [&](std::string_view mount_point) { return PathStartsWith(path, mount_point); }); in GetProcMountsAncestorsOfPath() 214 Result<std::vector<FstabEntry>> GetProcMountsDescendantsOfPath(std::string_view path) { in GetProcMountsDescendantsOfPath() 216 [&](std::string_view mount_point) { return PathStartsWith(mount_point, path); }); in GetProcMountsDescendantsOfPath()
|
/art/runtime/arch/arm64/ |
D | jni_frame_arm64.h | 58 inline size_t GetCriticalNativeCallArgsSize(std::string_view shorty) { in GetCriticalNativeCallArgsSize() 68 inline size_t GetCriticalNativeStubFrameSize(std::string_view shorty) { in GetCriticalNativeStubFrameSize() 82 inline size_t GetCriticalNativeDirectCallFrameSize(std::string_view shorty) { in GetCriticalNativeDirectCallFrameSize()
|
/art/runtime/arch/riscv64/ |
D | jni_frame_riscv64.h | 61 inline size_t GetCriticalNativeCallArgsSize(std::string_view shorty) { in GetCriticalNativeCallArgsSize() 71 inline size_t GetCriticalNativeStubFrameSize(std::string_view shorty) { in GetCriticalNativeStubFrameSize() 85 inline size_t GetCriticalNativeDirectCallFrameSize(std::string_view shorty) { in GetCriticalNativeDirectCallFrameSize()
|
/art/runtime/arch/x86_64/ |
D | jni_frame_x86_64.h | 63 inline size_t GetCriticalNativeCallArgsSize(std::string_view shorty) { in GetCriticalNativeCallArgsSize() 73 inline size_t GetCriticalNativeStubFrameSize(std::string_view shorty) { in GetCriticalNativeStubFrameSize() 88 inline size_t GetCriticalNativeDirectCallFrameSize(std::string_view shorty) { in GetCriticalNativeDirectCallFrameSize()
|
/art/runtime/ |
D | sdk_checker.cc | 50 std::string_view declaring_class_descriptor = art_method->GetDeclaringClassDescriptorView(); in ShouldDenyAccess() 96 std::string_view declaring_class_descriptor = art_field->GetDeclaringClassDescriptorView(); in ShouldDenyAccess() 98 std::string_view type_descriptor = art_field->GetTypeDescriptorView(); in ShouldDenyAccess() 130 bool SdkChecker::ShouldDenyAccess(std::string_view descriptor) const { in ShouldDenyAccess()
|
/art/test/ti-agent/ |
D | jvmti_helper.h | 91 void* GetExtensionFunctionVoid(JNIEnv* env, jvmtiEnv* jvmti, const std::string_view& name); 93 template<typename T> T GetExtensionFunction(JNIEnv* env, jvmtiEnv* jvmti, const std::string_view& n… in GetExtensionFunction() 97 jint GetExtensionEventId(jvmtiEnv* jvmti, const std::string_view& name);
|
/art/runtime/oat/ |
D | jni_stub_hash_map.h | 35 JniStubKey(uint32_t flags, std::string_view shorty) in JniStubKey() 48 std::string_view Shorty() const { in Shorty() 62 std::string_view shorty_;
|