Lines Matching refs:str
204 const std::string& str, in FindExistingStringId() argument
208 if (strings[i] == str) { in FindExistingStringId()
216 dex::StringIndex VerifierDeps::GetIdFromString(const DexFile& dex_file, const std::string& str) { in GetIdFromString() argument
217 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
237 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
243 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
246 deps->strings_.push_back(str); in GetIdFromString()
249 DCHECK_EQ(str, singleton->GetStringFromId(dex_file, new_id)); in GetIdFromString()
716 for (const std::string& str : strings) { in EncodeStringVector() local
717 const uint8_t* data = reinterpret_cast<const uint8_t*>(str.c_str()); in EncodeStringVector()
718 size_t length = str.length() + 1; in EncodeStringVector()
754 return ss.str(); in ToHex()
908 for (const std::string& str : dep.second->strings_) { in Dump() local
909 vios->Stream() << "Extra string: " << str << "\n"; in Dump()