Lines Matching refs:string
69 static std::string GetMultiDexClassesDexName(size_t index);
73 static std::string GetMultiDexLocation(size_t index, const char* dex_location);
81 /*out*/ std::string* error_msg,
141 static std::string GetDexCanonicalLocation(const char* dex_location);
146 static std::string GetBaseLocation(const char* location) { in GetBaseLocation()
148 return (pos == nullptr) ? location : std::string(location, pos - location); in GetBaseLocation()
151 static std::string GetBaseLocation(const std::string& location) { in GetBaseLocation()
158 static std::string GetMultiDexSuffix(const std::string& location) { in GetMultiDexSuffix()
160 return (pos == std::string::npos) ? std::string() : location.substr(pos); in GetMultiDexSuffix()
163 DexFileLoader(const char* filename, const File* file, const std::string& location) in DexFileLoader()
168 DexFileLoader(std::shared_ptr<DexFileContainer> container, const std::string& location) in DexFileLoader()
173 DexFileLoader(const uint8_t* base, size_t size, const std::string& location);
175 DexFileLoader(std::vector<uint8_t>&& memory, const std::string& location);
177 DexFileLoader(MemMap&& mem_map, const std::string& location);
179 DexFileLoader(File* file, const std::string& location) in DexFileLoader()
182 DexFileLoader(const char* filename, const std::string& location) in DexFileLoader()
185 explicit DexFileLoader(const std::string& location) in DexFileLoader()
197 std::string* error_msg);
205 std::string* error_msg) { in Open()
216 std::string* error_msg) { in Open()
229 std::string* error_msg,
235 std::string* error_msg, in Open()
248 std::string* error_msg, in Open()
256 std::string* error_msg, in Open()
270 bool InitAndReadMagic(size_t header_offset, uint32_t* magic, std::string* error_msg);
274 bool MapRootContainer(std::string* error_msg);
279 const std::string& location,
284 std::string* error_msg,
290 const std::string& location,
295 std::string* error_msg,
304 const std::string& location,
309 std::string* error_msg,
316 const std::string& location,
321 /*out*/ std::string* error_msg,
326 std::string filename_;
341 const std::string location_;