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.cc74 struct ExtDexFileString { struct
78 static const ExtDexFileString empty_string{""}; argument
80 const ExtDexFileString* ExtDexFileMakeString(const char* str, size_t size) { in ExtDexFileMakeString()
84 return new ExtDexFileString{std::string(str, size)}; in ExtDexFileMakeString()
87 const char* ExtDexFileGetString(const ExtDexFileString* ext_string, /*out*/ size_t* size) { in ExtDexFileGetString()
93 void ExtDexFileFreeString(const ExtDexFileString* ext_string) { in ExtDexFileFreeString()
192 /*out*/ const ExtDexFileString** ext_error_msg, in ExtDexFileOpenFromMemory()
209 *ext_error_msg = new ExtDexFileString{ in ExtDexFileOpenFromMemory()
217 *ext_error_msg = new ExtDexFileString{ in ExtDexFileOpenFromMemory()
240 *ext_error_msg = new ExtDexFileString{std::move(error_msg)}; in ExtDexFileOpenFromMemory()
[all …]