Home
last modified time | relevance | path

Searched refs:PeekFront (Results 1 – 11 of 11) sorted by relevance

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer_test.cc44 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/
Dtrace_buffer_test.cc86 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()
Dtrace_test.cc574 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()
Dtrace_rpc_service_nanopb.cc49 while (trace_buffer->PeekFront( in GetTraceData()
Dtrace_buffer_log.cc56 while (trace_buffer->PeekFront(std::span(entry_buffer).subspan(1), in DumpTraceBufferToLog()
Dtrace.cc64 HandleNextItemInQueue(event_queue_.PeekFront()); in HandleTraceEvent()
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/
Dprefixed_entry_ring_buffer.h79 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/
Dring_buffer_simple.cc62 status = ring.PeekFront(value, &value_size); in main()
Dring_buffer_multi.cc70 status = reader.PeekFront(value, &value_size); in main()
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/
Dtrace_tokenized.h83 const volatile QueueEventBlock* PeekFront() const { in PeekFront() function
/external/pigweed/pw_trace/example/
Dsample_app.cc93 jobs_.PeekFront(job_bytes.bytes, &bytes_read); in Run()