Searched refs:record_size (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 202 uint32_t record_size = 0; in Import() local 205 record_size = std::atomic_load_explicit(&ring.header_mmap()->record_size, in Import() 210 bool ok = ring.ValidateGeometry(mmap_size, record_size, record_count); in Import() 330 CalculateGeometry(record_count(), record_size(), *sequence, tail); in Get() 376 uint32_t record_size() const { return record_size_internal(); } in record_size() function 383 std::atomic<uint32_t> record_size; member 429 uint32_t record_size; member 470 void InitializeHeader(uint32_t record_size, uint32_t record_count) { in InitializeHeader() argument 472 std::atomic_store_explicit(&header_mmap()->record_size, record_size, in InitializeHeader() 492 if (record_size() != header_record_size) return false; in ValidateGeometry() [all …]
|
/frameworks/native/libs/vr/libbroadcastring/ |
D | broadcast_ring_test.cc | 134 EXPECT_EQ(sizeof(Record), ring.record_size()); in TYPED_TEST() 307 EXPECT_EQ(ring.record_size(), imported_ring.record_size()); in TYPED_TEST() 345 EXPECT_NE(original_ring.record_size(), imported_ring.record_size()); in TEST() 358 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() 379 EXPECT_LT(original_ring.record_size(), imported_ring.record_size()); in TEST() 400 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() 425 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() 453 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() 498 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() 542 EXPECT_EQ(original_ring.record_size(), imported_ring.record_size()); in TEST() [all …]
|