Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DChunkWriter.h39 header_ = &chunk->header; in StartChunk()
40 header_->type = util::HostToDevice16(type); in StartChunk()
41 header_->headerSize = util::HostToDevice16(sizeof(T)); in StartChunk()
55 return header_; in chunk_header()
64 header_->size = util::HostToDevice32(buffer_->size() - start_size_); in Finish()
65 return header_; in Finish()
73 android::ResChunk_header* header_ = nullptr; variable
79 header_ = buffer_->NextBlock<android::ResChunk_header>(); in StartChunk()
80 header_->type = util::HostToDevice16(type); in StartChunk()
81 header_->headerSize = util::HostToDevice16(sizeof(android::ResChunk_header)); in StartChunk()
[all …]
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp224 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
225 if (!data->header_) { in FromBinaryStream()
229 for (size_t i = 0; i < data->header_->GetTargetEntryCount(); i++) { in FromBinaryStream()
239 for (size_t i = 0; i < data->header_->GetOverlayEntryCount(); i++) { in FromBinaryStream()
248 if (!ReadBuffer(stream, &data->string_pool_, data->header_->string_pool_len)) { in FromBinaryStream()
268 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
269 if (!idmap->header_) { in FromBinaryStream()
314 data->header_ = std::move(data_header); in FromResourceMapping()
389 idmap->header_ = std::move(header); in FromApkAssets()
407 header_->accept(v); in accept()
[all …]
/frameworks/base/libs/androidfw/
DIdmap.cpp203 : header_(header), in LoadedIdmap()
211 size_t length = strnlen(reinterpret_cast<const char*>(header_->overlay_path), in LoadedIdmap()
212 arraysize(header_->overlay_path)); in LoadedIdmap()
213 overlay_apk_path_.assign(reinterpret_cast<const char*>(header_->overlay_path), length); in LoadedIdmap()
215 length = strnlen(reinterpret_cast<const char*>(header_->target_path), in LoadedIdmap()
216 arraysize(header_->target_path)); in LoadedIdmap()
217 target_apk_path_.assign(reinterpret_cast<const char*>(header_->target_path), length); in LoadedIdmap()
DLoadedArsc.cpp55 : header_(header) { in TypeSpecPtrBuilder()
71 type_spec->type_spec = header_; in Build()
80 const ResTable_typeSpec* header_; member in android::__anon7cbbaa220111::TypeSpecPtrBuilder
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h231 return header_; in GetHeader()
252 std::unique_ptr<const Header> header_; variable
278 return header_; in GetHeader()
291 std::unique_ptr<const IdmapHeader> header_; variable
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h184 const Idmap_header* header_; variable