Searched refs:DexString (Results 1 – 3 of 3) sorted by relevance
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 42 class DexString final { 44 DexString(DexString&& dex_str) noexcept : ext_string_(dex_str.ext_string_) { in DexString() function 47 explicit DexString(const char* str = "") 49 explicit DexString(std::string_view str) in DexString() function 51 ~DexString() { g_ExtDexFileFreeString(ext_string_); } in ~DexString() 53 DexString& operator=(DexString&& dex_str) noexcept { 80 friend bool operator==(const DexString&, const DexString&); 81 explicit DexString(const ExtDexFileString* ext_string) : ext_string_(ext_string) {} in DexString() function 95 DISALLOW_COPY_AND_ASSIGN(DexString); 98 inline bool operator==(const DexString& s1, const DexString& s2) { [all …]
|
/art/libdexfile/external/ |
D | dex_file_supp.cc | 37 DEFINE_DLFUNC_PTR(DexString, ExtDexFileMakeString); 38 DEFINE_DLFUNC_PTR(DexString, ExtDexFileGetString); 39 DEFINE_DLFUNC_PTR(DexString, ExtDexFileFreeString); 72 SET_DLFUNC_PTR(DexString, ExtDexFileMakeString); in LoadLibdexfileExternal() 73 SET_DLFUNC_PTR(DexString, ExtDexFileGetString); in LoadLibdexfileExternal() 74 SET_DLFUNC_PTR(DexString, ExtDexFileFreeString); in LoadLibdexfileExternal() 89 return {ext_method_info.offset, ext_method_info.len, DexString(ext_method_info.name)}; in AbsorbMethodInfo()
|
D | dex_file_supp_test.cc | 53 auto s = DexString("123"); in TEST() 58 auto s = DexString(""); in TEST() 63 auto s1 = DexString("foo"); in TEST() 64 auto s2 = DexString(std::move(s1)); in TEST() 70 auto s1 = DexString("foo"); in TEST() 71 DexString s2; in TEST() 79 auto s = DexString("foo"); in TEST() 80 s = DexString("bar"); in TEST() 85 auto s = DexString("foo"); in TEST() 91 auto s = DexString("foo"); in TEST() [all …]
|