Home
last modified time | relevance | path

Searched refs:num_ids_in_dex (Results 1 – 2 of 2) sorted by relevance

/art/runtime/verifier/
Dverifier_deps.cc156 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetIdFromString() local
162 return dex::StringIndex(num_ids_in_dex + found_id); in GetIdFromString()
168 return dex::StringIndex(num_ids_in_dex + found_id); in GetIdFromString()
171 dex::StringIndex new_id(num_ids_in_dex + deps->strings_.size() - 1); in GetIdFromString()
172 CHECK_GE(new_id.index_, num_ids_in_dex); // check for overflows in GetIdFromString()
180 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetStringFromId() local
181 if (string_id.index_ < num_ids_in_dex) { in GetStringFromId()
186 string_id.index_ -= num_ids_in_dex; in GetStringFromId()
/art/runtime/
Dvdex_file.cc395 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetStringFromId() local
396 if (string_id.index_ < num_ids_in_dex) { in GetStringFromId()
399 CHECK_LT(string_id.index_ - num_ids_in_dex, number_of_extra_strings); in GetStringFromId()
400 uint32_t offset = extra_strings_offsets[string_id.index_ - num_ids_in_dex]; in GetStringFromId()