Home
last modified time | relevance | path

Searched refs:header_ (Results 1 – 7 of 7) 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/libs/androidfw/
DIdmap.cpp112 LoadedIdmap::LoadedIdmap(const Idmap_header* header) : header_(header) { in LoadedIdmap()
113 size_t length = strnlen(reinterpret_cast<const char*>(header_->overlay_path), in LoadedIdmap()
114 arraysize(header_->overlay_path)); in LoadedIdmap()
115 overlay_apk_path_.assign(reinterpret_cast<const char*>(header_->overlay_path), length); in LoadedIdmap()
179 return static_cast<uint8_t>(dtohs(header_->target_package_id)); in TargetPackageId()
DLoadedArsc.cpp56 : header_(header), idmap_header_(idmap_header) { in TypeSpecPtrBuilder()
72 type_spec->type_spec = header_; in Build()
82 const ResTable_typeSpec* header_; member in android::__anon3a5df40b0111::TypeSpecPtrBuilder
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h204 return header_; in GetHeader()
217 std::unique_ptr<const Header> header_; variable
243 return header_; in GetHeader()
256 std::unique_ptr<const IdmapHeader> header_; variable
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp224 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
225 if (!data->header_) { in FromBinaryStream()
228 for (size_t type_count = 0; type_count < data->header_->GetTypeCount(); type_count++) { in FromBinaryStream()
251 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
252 if (!idmap->header_) { in FromBinaryStream()
405 idmap->header_ = std::move(header); in FromApkAssets()
467 data->header_ = std::move(data_header); in FromApkAssets()
492 header_->accept(v); in accept()
502 header_->accept(v); in accept()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h64 const Idmap_header* header_ = nullptr; variable
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp231 header_ = &local_header_; in MockLoadedIdmap()