Home
last modified time | relevance | path

Searched refs:str_id (Results 1 – 4 of 4) sorted by relevance

/aosp12/art/libdexfile/dex/
H A Dtype_lookup_table.cc52 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create() local
53 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringData(str_id)); in Create()
56 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
67 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create() local
68 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringData(str_id)); in Create()
82 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
H A Ddex_file.cc332 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId() local
333 const char* str = GetStringData(str_id); in FindStringId()
340 return &str_id; in FindStringId()
352 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId() local
353 const char* str = GetStringData(str_id); in FindTypeId()
H A Dart_dex_file_loader_test.cc236 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F() local
237 const char* dex_str = raw->GetStringData(*str_id); in TEST_F()
/aosp12/system/extras/simpleperf/scripts/
H A Dpprof_proto_generator.py362 str_id = self.string_table.get(str_value)
363 if str_id is not None:
364 return str_id
365 str_id = len(self.string_table) + 1
366 self.string_table[str_value] = str_id
368 return str_id
370 def get_string(self, str_id): argument
371 return self.profile.string_table[str_id]