Lines Matching refs:string
22 #include <string>
51 // whether the string contains the separator character.
56 static std::string GetMultiDexClassesDexName(size_t index);
60 static std::string GetMultiDexLocation(size_t index, const char* dex_location);
75 static std::string GetDexCanonicalLocation(const char* dex_location);
80 static std::string GetBaseLocation(const char* location) {
82 return (pos == nullptr) ? location : std::string(location, pos - location);
85 static std::string GetBaseLocation(const std::string& location) {
90 // string if there is no multidex suffix for the given location.
92 static std::string GetMultiDexSuffix(const std::string& location) {
94 return (pos == std::string::npos) ? std::string() : location.substr(pos);
110 std::string* error_msg,
117 const std::string& location,
122 std::string* error_msg) const;
130 const std::string& location,
135 std::string* error_msg) const;
142 const std::string& location,
145 std::string* error_msg,
168 const std::string& location,
173 std::string* error_msg,
180 const std::string& location,
183 std::string* error_msg,
190 const std::string& location,
193 std::string* error_msg,