Home
last modified time | relevance | path

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

/art/libdexfile/external/include/art_api/
Ddex_file_external.h33 struct ExtDexFileString;
36 const struct ExtDexFileString* ExtDexFileMakeString(const char* str, size_t size);
40 const char* ExtDexFileGetString(const struct ExtDexFileString* ext_string, /*out*/ size_t* size);
43 void ExtDexFileFreeString(const struct ExtDexFileString* ext_string);
48 const struct ExtDexFileString* name;
57 /*out*/ const struct ExtDexFileString** error_msg,
64 /*out*/ const struct ExtDexFileString** error_msg,
Ddex_file_support.h87 explicit DexString(const ExtDexFileString* ext_string) : ext_string_(ext_string) {} in DexString()
88 const ExtDexFileString* ext_string_; // Owned instance. Never nullptr.
95 static const struct ExtDexFileString* MakeExtDexFileString(const char* str, size_t size) {
159 const ExtDexFileString* ext_error_msg = nullptr; in OpenFromMemory()
182 const ExtDexFileString* ext_error_msg = nullptr; in OpenFromFd()
/art/libdexfile/external/
Ddex_file_ext.cc73 struct ExtDexFileString { struct
77 static const ExtDexFileString empty_string{""}; argument
79 const ExtDexFileString* ExtDexFileMakeString(const char* str, size_t size) { in ExtDexFileMakeString()
83 return new ExtDexFileString{std::string(str, size)}; in ExtDexFileMakeString()
86 const char* ExtDexFileGetString(const ExtDexFileString* ext_string, /*out*/ size_t* size) { in ExtDexFileGetString()
92 void ExtDexFileFreeString(const ExtDexFileString* ext_string) { in ExtDexFileFreeString()
149 /*out*/ const ExtDexFileString** ext_error_msg, in ExtDexFileOpenFromMemory()
166 *ext_error_msg = new ExtDexFileString{ in ExtDexFileOpenFromMemory()
174 *ext_error_msg = new ExtDexFileString{ in ExtDexFileOpenFromMemory()
197 *ext_error_msg = new ExtDexFileString{std::move(error_msg)}; in ExtDexFileOpenFromMemory()
[all …]