Searched refs:PeekFront (Results 1 – 11 of 11) sorted by relevance
/external/pigweed/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer_test.cc | 44 EXPECT_EQ(ring.PeekFront(buf, &count), Status::FailedPrecondition()); in TEST() 99 EXPECT_EQ(ring.PeekFront(read_buffer, &read_size), Status::OutOfRange()); in SingleEntryWriteReadTest() 129 ASSERT_EQ(ring.PeekFront(read_buffer, &read_size), OkStatus()); in SingleEntryWriteReadTest() 218 ASSERT_EQ(ring.PeekFront(read_buffer, &read_size), OkStatus()); in CountingUpWriteReadTest() 276 ASSERT_EQ(ring.PeekFront(output), OkStatus()); in SingleEntryWriteReadWithSectionWriterTest() 418 T PeekFront(PrefixedEntryRingBufferMulti::Reader& reader) { in PeekFront() function 424 PW_CHECK_OK(reader.PeekFront(aliased.buffer, &bytes_read)); in PeekFront() 445 EXPECT_EQ(PeekFront<int>(ring), 5); in TEST() 450 EXPECT_EQ(PeekFront<int>(ring), 5); in TEST() 457 EXPECT_EQ(PeekFront<int>(ring), 100); in TEST() [all …]
|
/external/pigweed/pw_trace_tokenized/ |
D | trace_buffer_test.cc | 86 EXPECT_EQ(buf->PeekFront(std::span<std::byte>(value), &bytes_read), in TEST() 125 EXPECT_EQ(buf->PeekFront(std::span<std::byte>(value), &bytes_read), in TEST()
|
D | trace_test.cc | 574 EXPECT_TRUE(QUEUE_CHECK_RESULT(kQueueSize, queue.PeekFront(), kTestNum)); in TEST() 577 EXPECT_TRUE(queue.PeekFront() == nullptr); in TEST() 593 EXPECT_TRUE(QUEUE_CHECK_RESULT(kQueueSize, queue.PeekFront(), i)); in TEST() 597 EXPECT_TRUE(queue.PeekFront() == nullptr); in TEST() 611 EXPECT_TRUE(queue.PeekFront() == nullptr); in TEST()
|
D | trace_rpc_service_nanopb.cc | 49 while (trace_buffer->PeekFront( in GetTraceData()
|
D | trace_buffer_log.cc | 56 while (trace_buffer->PeekFront(std::span(entry_buffer).subspan(1), in DumpTraceBufferToLog()
|
D | trace.cc | 64 HandleNextItemInQueue(event_queue_.PeekFront()); in HandleTraceEvent()
|
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer.h | 79 Status PeekFront(std::span<std::byte> data, size_t* bytes_read_out) { in PeekFront() function 83 Status PeekFront(ReadOutput output) { in PeekFront() function
|
/external/pigweed/pw_ring_buffer/size_report/ |
D | ring_buffer_simple.cc | 62 status = ring.PeekFront(value, &value_size); in main()
|
D | ring_buffer_multi.cc | 70 status = reader.PeekFront(value, &value_size); in main()
|
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/ |
D | trace_tokenized.h | 83 const volatile QueueEventBlock* PeekFront() const { in PeekFront() function
|
/external/pigweed/pw_trace/example/ |
D | sample_app.cc | 93 jobs_.PeekFront(job_bytes.bytes, &bytes_read); in Run()
|