Searched refs:NextBlock (Results 1 – 10 of 10) sorted by relevance
29 EXPECT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST()36 char* b1 = buffer.NextBlock<char>(8); in TEST()39 char* b2 = buffer.NextBlock<char>(4); in TEST()48 EXPECT_THAT(buffer.NextBlock<char>(32), NotNull()); in TEST()55 uint32_t* b1 = buffer.NextBlock<uint32_t>(); in TEST()61 b1 = buffer2.NextBlock<uint32_t>(); in TEST()89 ASSERT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST()
37 T* chunk = buffer_->NextBlock<T>(); in StartChunk()45 inline T* NextBlock(size_t count = 1) {46 return buffer_->NextBlock<T>(count);78 header_ = buffer_->NextBlock<android::ResChunk_header>(); in StartChunk()
102 ResXMLTree_cdataExt* flat_text = writer.NextBlock<ResXMLTree_cdataExt>(); in Visit()122 ResXMLTree_attrExt* flat_elem = start_writer.NextBlock<ResXMLTree_attrExt>(); in Visit()146 ResXMLTree_endElementExt* flat_end_elem = end_writer.NextBlock<ResXMLTree_endElementExt>(); in Visit()193 ResXMLTree_namespaceExt* flat_ns = writer.NextBlock<ResXMLTree_namespaceExt>(); in WriteNamespace()223 writer->NextBlock<ResXMLTree_attribute>(filtered_attrs_.size()); in WriteAttributes()358 *res_id_map_writer.NextBlock<uint32_t>() = android::util::HostToDevice32(id.id); in Flatten()
220 type_writer.NextBlock<ResTable_sparseTypeEntry>(entries->size()); in FlattenConfig()234 uint16_t* indices = type_writer.NextBlock<uint16_t>(num_total_entries); in FlattenConfig()239 uint32_t* indices = type_writer.NextBlock<uint32_t>(num_total_entries); in FlattenConfig()263 auto mapping = alias_writer.NextBlock<ResTable_staged_alias_entry>(aliases_.size()); in FlattenAliases()371 auto* id_block = policy_writer.NextBlock<ResTable_ref>(policy_ids.second.size()); in FlattenOverlayable()406 uint32_t* config_masks = type_spec_writer.NextBlock<uint32_t>(num_entries); in FlattenTypeSpec()533 ResTable_lib_entry* lib_entry = buffer->NextBlock<ResTable_lib_entry>(num_entries); in FlattenLibrarySpec()
174 ResTable_map* out_entry = buffer_->NextBlock<ResTable_map>(); in FlattenEntry()225 ResTable_entry_ext* out_entry = buffer->NextBlock<ResTable_entry_ext>(); in WriteMapToBuffer()237 T* out_entry = buffer->NextBlock<T>(); in WriteItemToBuffer()
83 T* NextBlock(size_t count = 1);90 void* NextBlock(size_t* out_count);152 inline T* BigBuffer::NextBlock(size_t count) { in NextBlock() function172 NextBlock<char>(bytes); in Pad()
388 char* data = out->NextBlock<char>(total_size); in EncodeString()414 char16_t* data = out->NextBlock<char16_t>(total_size); in EncodeString()434 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()443 uint32_t* indices = pool.size() != 0 ? out->NextBlock<uint32_t>(pool.size()) : nullptr; in Flatten()445 pool.styles_.size() != 0 ? out->NextBlock<uint32_t>(pool.styles_.size()) : nullptr; in Flatten()472 out->NextBlock<android::ResStringPool_span>(entry->spans.size()); in Flatten()481 uint32_t* spanEnd = out->NextBlock<uint32_t>(); in Flatten()491 uint8_t* padding = out->NextBlock<uint8_t>(padding_length); in Flatten()
113 *data = buffer_->NextBlock(size); in Next()
54 void* BigBuffer::NextBlock(size_t* out_size) { in NextBlock() function in android::BigBuffer
89 png_bytep buf = outBuffer->NextBlock<png_byte>(length); in writeDataToStream()