Searched refs:kMetadataHeaderSize (Results 1 – 8 of 8) sorted by relevance
33 using BufferHubDefs::kMetadataHeaderSize;40 if (userMetadataSize >= (std::numeric_limits<uint32_t>::max() - kMetadataHeaderSize)) { in create()45 const size_t metadataSize = userMetadataSize + kMetadataHeaderSize; in create()73 size_t userMetadataSize = metadataSize - kMetadataHeaderSize; in import()
205 if (metadataSize < BufferHubDefs::kMetadataHeaderSize) { in initWithBufferTraits()
78 if (metadata_buf_size < BufferHubDefs::kMetadataHeaderSize) { in ImportBuffer()88 user_metadata_size_ = metadata_buf_size_ - BufferHubDefs::kMetadataHeaderSize; in ImportBuffer()112 BufferHubDefs::kMetadataHeaderSize); in ImportBuffer()
65 static constexpr size_t kMetadataHeaderSize = variable66 android::BufferHubDefs::kMetadataHeaderSize;
69 size_t metadataSize() const { return mUserMetadataSize + BufferHubDefs::kMetadataHeaderSize; } in metadataSize()
154 static constexpr size_t kMetadataHeaderSize = sizeof(MetadataHeader); variable
43 using ::android::BufferHubDefs::kMetadataHeaderSize;136 const size_t userMetadataSize = std::numeric_limits<size_t>::max() - kMetadataHeaderSize; in TEST_F()
36 metadata_buf_size_(BufferHubDefs::kMetadataHeaderSize + in ProducerChannel()59 metadata_buf_size_(BufferHubDefs::kMetadataHeaderSize + in ProducerChannel()