Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dtest_dex_file_builder.h172 uint32_t raw_offset = data_section_offset + entry.second.data_offset; in Build() local
173 dex_file_data_[raw_offset] = static_cast<uint8_t>(entry.first.size()); in Build()
174 std::memcpy(&dex_file_data_[raw_offset + 1], entry.first.c_str(), entry.first.size() + 1); in Build()
175 Write32(string_ids_offset + entry.second.idx * sizeof(dex::StringId), raw_offset); in Build()
187 uint32_t raw_offset = proto_ids_offset + entry.second.idx * sizeof(dex::ProtoId); in Build() local
188 Write32(raw_offset + 0u, GetStringIdx(entry.first.shorty)); in Build()
189 Write16(raw_offset + 4u, GetTypeIdx(entry.first.return_type)); in Build()
190 Write32(raw_offset + 8u, type_list_offset); in Build()
202 uint32_t raw_offset = field_ids_offset + entry.second * sizeof(dex::FieldId); in Build() local
203 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
[all …]