Home
last modified time | relevance | path

Searched refs:TryPushBack (Results 1 – 8 of 8) sorted by relevance

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer_test.cc408 Status TryPushBack(PrefixedEntryRingBufferMulti& ring, T element) { in TryPushBack() function
414 return ring.TryPushBack(aliased.buffer); in TryPushBack()
429 TEST(PrefixedEntryRingBuffer, TryPushBack) { in TEST() argument
437 Status status = TryPushBack<int>(ring, 5); in TEST()
449 EXPECT_EQ(TryPushBack<int>(ring, 100), Status::ResourceExhausted()); in TEST()
460 TEST(PrefixedEntryRingBufferMulti, TryPushBack) { in TEST() argument
474 Status status = TryPushBack<int>(ring, total_items); in TEST()
498 Status status = TryPushBack<int>(ring, total_items); in TEST()
535 Status status = TryPushBack<uint32_t>(ring, total_items); in TEST()
573 Status status = TryPushBack<int>(ring, 5); in TEST()
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/
Dprefixed_entry_ring_buffer.h212 Status TryPushBack(std::span<const std::byte> data,
219 Status TryPushBack(std::span<const std::byte> data, in TryPushBack() function
221 return TryPushBack(data, static_cast<uint32_t>(user_preamble_data)); in TryPushBack()
/external/pigweed/pw_trace_tokenized/
Dtrace_test.cc571 queue.TryPushBack(QUEUE_TESTS_ARGS(kTestNum)); in TEST()
585 EXPECT_EQ(queue.TryPushBack(QUEUE_TESTS_ARGS(i)), pw::OkStatus()); in TEST()
589 EXPECT_EQ(queue.TryPushBack(QUEUE_TESTS_ARGS(1)), in TEST()
605 EXPECT_EQ(queue.TryPushBack(QUEUE_TESTS_ARGS(i)), pw::OkStatus()); in TEST()
Dtrace.cc46 .TryPushBack(trace_token, in HandleTraceEvent()
/external/pigweed/pw_ring_buffer/size_report/
Dring_buffer_simple.cc37 status = ring.TryPushBack(kData); in main()
Dring_buffer_multi.cc44 status = ring.TryPushBack(kData); in main()
/external/pigweed/pw_log_multisink/
Dlog_queue.cc70 status = ring_buffer_.TryPushBack(log_entry, kLogKey); in PushTokenizedMessage()
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/
Dtrace_tokenized.h58 pw::Status TryPushBack(uint32_t trace_token, in TryPushBack() function