Searched refs:NextBlock (Results 1 – 9 of 9) sorted by relevance
28 EXPECT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST()35 char* b1 = buffer.NextBlock<char>(8); in TEST()38 char* b2 = buffer.NextBlock<char>(4); in TEST()47 EXPECT_THAT(buffer.NextBlock<char>(32), NotNull()); in TEST()54 uint32_t* b1 = buffer.NextBlock<uint32_t>(); in TEST()60 b1 = buffer2.NextBlock<uint32_t>(); in TEST()88 ASSERT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST()
83 T* NextBlock(size_t count = 1);90 void* NextBlock(size_t* out_count);149 inline T* BigBuffer::NextBlock(size_t count) { in NextBlock() function170 inline void BigBuffer::Pad(size_t bytes) { NextBlock<char>(bytes); } in Pad()
54 void* BigBuffer::NextBlock(size_t* out_size) { in NextBlock() function in aapt::BigBuffer
38 T* chunk = buffer_->NextBlock<T>(); in StartChunk()46 inline T* NextBlock(size_t count = 1) {47 return buffer_->NextBlock<T>(count);79 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()356 *res_id_map_writer.NextBlock<uint32_t>() = util::HostToDevice32(id.id); in Flatten()
209 ResTable_map* out_entry = buffer_->NextBlock<ResTable_map>(); in FlattenEntry()296 T* result = buffer->NextBlock<T>(); in WriteEntry()319 Res_value* outValue = buffer->NextBlock<Res_value>(); in FlattenValue()378 type_writer.NextBlock<ResTable_sparseTypeEntry>(entries->size()); in FlattenConfig()389 uint32_t* indices = type_writer.NextBlock<uint32_t>(num_total_entries); in FlattenConfig()553 auto* id_block = policy_writer.NextBlock<ResTable_ref>(policy_ids.second.size()); in FlattenOverlayable()587 uint32_t* config_masks = type_spec_writer.NextBlock<uint32_t>(num_entries); in FlattenTypeSpec()689 ResTable_lib_entry* lib_entry = buffer->NextBlock<ResTable_lib_entry>(num_entries); in FlattenLibrarySpec()
390 char* data = out->NextBlock<char>(total_size); in EncodeString()417 char16_t* data = out->NextBlock<char16_t>(total_size); in EncodeString()438 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()447 uint32_t* indices = pool.size() != 0 ? out->NextBlock<uint32_t>(pool.size()) : nullptr; in Flatten()449 pool.styles_.size() != 0 ? out->NextBlock<uint32_t>(pool.styles_.size()) : nullptr; in Flatten()476 out->NextBlock<android::ResStringPool_span>(entry->spans.size()); in Flatten()485 uint32_t* spanEnd = out->NextBlock<uint32_t>(); in Flatten()495 uint8_t* padding = out->NextBlock<uint8_t>(padding_length); in Flatten()
84 *data = buffer_->NextBlock(size); in Next()
95 png_bytep buf = outBuffer->NextBlock<png_byte>(length); in writeDataToStream()