Searched refs:kMaxWriterID (Results 1 – 8 of 8) sorted by relevance
157 EXPECT_LE(id, kMaxWriterID); in RegisterTraceWriter()158 if (id > 0 && id <= kMaxWriterID) { in RegisterTraceWriter()164 if (++unregister_calls_ == kMaxWriterID) in UnregisterTraceWriter()168 EXPECT_LE(id, kMaxWriterID); in UnregisterTraceWriter()169 if (id > 0 && id <= kMaxWriterID) { in UnregisterTraceWriter()175 std::bitset<kMaxWriterID> registered_ids_;176 std::bitset<kMaxWriterID> unregistered_ids_;195 for (size_t i = 0; i < kMaxWriterID; i++) { in TEST_P()
95 last_writer_id = (last_writer_id + 1) & kMaxWriterID; in TEST_P()
134 PERFETTO_CHECK(kMaxWriterID <= chunk_header.writer_id.load()); in Initialize()
389 static_assert(kMaxPacketSequenceID > kMaxProducerID * kMaxWriterID, in GetPacketSequenceID()
88 active_writer_ids_(kMaxWriterID), in SharedMemoryArbiterImpl()
338 std::uniform_int_distribution<WriterID> wri_dist(1, kMaxWriterID); in TEST_F()
2261 if (!writer_id || writer_id > kMaxWriterID || !buf) { in ApplyChunkPatches()
53 static constexpr WriterID kMaxWriterID = static_cast<WriterID>((1 << 10) - 1); variable