Lines Matching refs:raw_offset
169 uint32_t raw_offset = data_section_offset + entry.second.data_offset; in Build() local
170 dex_file_data_[raw_offset] = static_cast<uint8_t>(entry.first.size()); in Build()
171 std::memcpy(&dex_file_data_[raw_offset + 1], entry.first.c_str(), entry.first.size() + 1); in Build()
172 Write32(string_ids_offset + entry.second.idx * sizeof(DexFile::StringId), raw_offset); in Build()
184 uint32_t raw_offset = proto_ids_offset + entry.second.idx * sizeof(DexFile::ProtoId); in Build() local
185 Write32(raw_offset + 0u, GetStringIdx(entry.first.shorty)); in Build()
186 Write16(raw_offset + 4u, GetTypeIdx(entry.first.return_type)); in Build()
187 Write32(raw_offset + 8u, type_list_offset); in Build()
199 uint32_t raw_offset = field_ids_offset + entry.second * sizeof(DexFile::FieldId); in Build() local
200 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
201 Write16(raw_offset + 2u, GetTypeIdx(entry.first.type)); in Build()
202 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build()
206 uint32_t raw_offset = method_ids_offset + entry.second * sizeof(DexFile::MethodId); in Build() local
207 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
210 Write16(raw_offset + 2u, it->second.idx); in Build()
211 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build()