Searched refs:kMaxWriterID (Results 1 – 8 of 8) sorted by relevance
235 EXPECT_LE(id, kMaxWriterID); in RegisterTraceWriter()236 if (id > 0 && id <= kMaxWriterID) { in RegisterTraceWriter()242 if (++unregister_calls_ == kMaxWriterID) in UnregisterTraceWriter()246 EXPECT_LE(id, kMaxWriterID); in UnregisterTraceWriter()247 if (id > 0 && id <= kMaxWriterID) { in UnregisterTraceWriter()253 std::bitset<kMaxWriterID> registered_ids_;254 std::bitset<kMaxWriterID> unregistered_ids_;273 for (size_t i = 0; i < kMaxWriterID; i++) { in TEST_P()
95 last_writer_id = (last_writer_id + 1) & kMaxWriterID; in TEST_P()
135 PERFETTO_CHECK(kMaxWriterID <= chunk_header.writer_id.load()); in Initialize()
418 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()
2637 if (!writer_id || writer_id > kMaxWriterID || !buf) { in ApplyChunkPatches()
53 static constexpr WriterID kMaxWriterID = static_cast<WriterID>((1 << 10) - 1); variable