Home
last modified time | relevance | path

Searched refs:DexString (Results 1 – 3 of 3) sorted by relevance

/art/libdexfile/external/include/art_api/
Ddex_file_support.h48 class DexString final {
50 DexString(DexString&& dex_str) noexcept : ext_string_(dex_str.ext_string_) { in DexString() function
53 explicit DexString(const char* str = "")
55 explicit DexString(std::string_view str) in DexString() function
57 ~DexString() { g_ExtDexFileFreeString(ext_string_); } in ~DexString()
59 DexString& operator=(DexString&& dex_str) noexcept {
86 friend bool operator==(const DexString&, const DexString&);
87 explicit DexString(const ExtDexFileString* ext_string) : ext_string_(ext_string) {} in DexString() function
102 DISALLOW_COPY_AND_ASSIGN(DexString);
105 inline bool operator==(const DexString& s1, const DexString& s2) {
[all …]
/art/libdexfile/external/
Ddex_file_supp_test.cc53 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 …]
Ddex_file_supp.cc32 MACRO(DexString, ExtDexFileMakeString) \
33 MACRO(DexString, ExtDexFileGetString) \
34 MACRO(DexString, ExtDexFileFreeString) \
109 return {ext_method_info.offset, ext_method_info.len, DexString(ext_method_info.name)}; in AbsorbMethodInfo()