Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp119 out_entry_->parent.ident = util::HostToDevice32(parent_ref.id.value().id); in Visit()
198 out_entry_->count = util::HostToDevice32(entry_count_); in Finish()
206 out_entry->name.ident = util::HostToDevice32(key->id.value().id); in FlattenKey()
251 pkg_header->id = util::HostToDevice32(package_.id.value()); in FlattenPackage()
271 pkg_header->typeStrings = util::HostToDevice32(pkg_writer.size()); in FlattenPackage()
274 pkg_header->keyStrings = util::HostToDevice32(pkg_writer.size()); in FlattenPackage()
321 out_entry->key.index = util::HostToDevice32(entry->entry_key); in WriteEntry()
385 type_header->entryCount = util::HostToDevice32(entries->size()); in FlattenConfig()
398 type_header->entryCount = util::HostToDevice32(num_total_entries); in FlattenConfig()
401 indices[i] = util::HostToDevice32(offsets[i]); in FlattenConfig()
[all …]
DXmlFlattener.cpp99 flat_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
100 flat_node->comment.index = util::HostToDevice32(-1); in Visit()
119 flat_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
120 flat_node->comment.index = util::HostToDevice32(-1); in Visit()
143 flat_end_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
144 flat_end_node->comment.index = util::HostToDevice32(-1); in Visit()
190 flatNode->lineNumber = util::HostToDevice32(decl.line_number); in WriteNamespace()
191 flatNode->comment.index = util::HostToDevice32(-1); in WriteNamespace()
244 flat_attr->rawValue.index = util::HostToDevice32(-1); in WriteAttributes()
332 ref_entry.dest->index = util::HostToDevice32(ref_entry.ref.index()); in Flatten()
[all …]
DChunkWriter.h64 header_->size = util::HostToDevice32(buffer_->size() - start_size_); in Finish()
/frameworks/base/tools/aapt2/
DStringPool.cpp441 header->stringCount = util::HostToDevice32(pool.size()); in Flatten()
442 header->styleCount = util::HostToDevice32(pool.styles_.size()); in Flatten()
469 header->stylesStart = util::HostToDevice32(before_styles_index - start_index); in Flatten()
478 span->name.index = util::HostToDevice32(s.name.index()); in Flatten()
479 span->firstChar = util::HostToDevice32(s.first_char); in Flatten()
480 span->lastChar = util::HostToDevice32(s.last_char); in Flatten()
499 header->header.size = util::HostToDevice32(out->size() - start_index); in Flatten()
DResourceValues.cpp90 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
139 out_value->data = util::HostToDevice32(resid.id); in Flatten()
219 out->data = util::HostToDevice32(0); in Flatten()
261 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
308 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
336 out_value->data = util::HostToDevice32(static_cast<uint32_t>(path.index())); in Flatten()
376 out_value->data = util::HostToDevice32(value.data); in Flatten()
DResourceUtils_test.cpp114 value.data = util::HostToDevice32(0x01); in TEST()
/frameworks/base/tools/aapt2/util/
DUtil.h285 inline uint32_t HostToDevice32(uint32_t value) { in HostToDevice32() function