Home
last modified time | relevance | path

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

/art/dexlayout/
Ddex_writer.cc479 std::vector<uint32_t> data_header(header_->ClassDefs().Size() + 1, 0); in WriteHiddenapiClassData() local
480 data_header[0] = sizeof(uint32_t) * (header_->ClassDefs().Size() + 1); in WriteHiddenapiClassData()
483 data_header[i + 1] = item_size == 0u ? 0 : data_header[0]; in WriteHiddenapiClassData()
484 data_header[0] += item_size; in WriteHiddenapiClassData()
486 stream->Write(data_header.data(), sizeof(uint32_t) * data_header.size()); in WriteHiddenapiClassData()
494 if (data_header[i + 1] != 0u) { in WriteHiddenapiClassData()
497 DCHECK_EQ(data_header[i + 1], stream->Tell() - start); in WriteHiddenapiClassData()
512 DCHECK_EQ(stream->Tell() - start, data_header[0]); in WriteHiddenapiClassData()