Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
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 …]
DTableFlattener.cpp119 out_entry_->parent.ident = util::HostToDevice32(parent_ref.id.value().id); in Visit()
193 out_entry_->count = util::HostToDevice32(entry_count_); in Finish()
201 out_entry->name.ident = util::HostToDevice32(key->id.value().id); in FlattenKey()
245 pkg_header->id = util::HostToDevice32(package_->id.value()); in FlattenPackage()
265 pkg_header->typeStrings = util::HostToDevice32(pkg_writer.size()); in FlattenPackage()
268 pkg_header->keyStrings = util::HostToDevice32(pkg_writer.size()); in FlattenPackage()
311 out_entry->key.index = util::HostToDevice32(entry->entry_key); in WriteEntry()
375 type_header->entryCount = util::HostToDevice32(entries->size()); in FlattenConfig()
388 type_header->entryCount = util::HostToDevice32(num_total_entries); in FlattenConfig()
391 indices[i] = util::HostToDevice32(offsets[i]); in FlattenConfig()
[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.cpp89 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
135 out_value->data = util::HostToDevice32(resid.id); in Flatten()
219 out->data = util::HostToDevice32(0); in Flatten()
265 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
320 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
356 out_value->data = util::HostToDevice32(static_cast<uint32_t>(path.index())); in Flatten()
405 out_value->data = util::HostToDevice32(value.data); in Flatten()
/frameworks/base/tools/aapt2/util/
DUtil.h275 inline uint32_t HostToDevice32(uint32_t value) { in HostToDevice32() function