Lines Matching refs:std
65 static std::string GetMultiDexClassesDexName(size_t index);
69 static std::string GetMultiDexLocation(size_t index, const char* dex_location);
84 static std::string GetDexCanonicalLocation(const char* dex_location);
89 static std::string GetBaseLocation(const char* location) { in GetBaseLocation()
91 return (pos == nullptr) ? location : std::string(location, pos - location); in GetBaseLocation()
94 static std::string GetBaseLocation(const std::string& location) { in GetBaseLocation()
101 static std::string GetMultiDexSuffix(const std::string& location) { in GetMultiDexSuffix()
103 return (pos == std::string::npos) ? std::string() : location.substr(pos); in GetMultiDexSuffix()
122 std::vector<uint32_t>* checksums,
123 std::vector<std::string>* dex_locations,
124 std::string* error_msg,
129 static std::unique_ptr<const DexFile> Open(
130 const std::string& location,
132 std::vector<uint8_t>&& memory,
136 std::string* error_msg);
139 virtual std::unique_ptr<const DexFile> Open(
142 const std::string& location,
147 std::string* error_msg,
148 std::unique_ptr<DexFileContainer> container = nullptr) const;
151 virtual std::unique_ptr<const DexFile> OpenWithDataSection(
156 const std::string& location,
161 std::string* error_msg) const;
168 const std::string& location,
172 std::string* error_msg,
173 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
182 static std::unique_ptr<DexFile> OpenCommon(const uint8_t* base,
186 const std::string& location,
191 std::string* error_msg,
192 std::unique_ptr<DexFileContainer> container,
198 const std::string& location,
202 std::string* error_msg,
203 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
207 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const DexZipArchive& zip_archive,
209 const std::string& location,
213 std::string* error_msg) const;