Home
last modified time | relevance | path

Searched refs:TryWrite (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/profiling/memory/
Dshared_ring_buffer_unittest.cc37 bool TryWrite(SharedRingBuffer* wr, const char* src, size_t size) { in TryWrite() function
59 ASSERT_TRUE(TryWrite(wr, "foo", 4)); in StructuredTest()
60 ASSERT_TRUE(TryWrite(wr, "bar", 4)); in StructuredTest()
85 ASSERT_TRUE(TryWrite(wr, data.data(), data.size())); in StructuredTest()
86 ASSERT_FALSE(TryWrite(wr, data.data(), data.size())); in StructuredTest()
87 ASSERT_FALSE(TryWrite(wr, "?", 1)); in StructuredTest()
97 ASSERT_TRUE(TryWrite(wr, data.data(), data.size())); in StructuredTest()
98 ASSERT_FALSE(TryWrite(wr, data.data(), data.size())); in StructuredTest()
106 ASSERT_TRUE(TryWrite(wr, data.data(), data.size())); in StructuredTest()
116 ASSERT_TRUE(TryWrite(wr, "1", 1)); in StructuredTest()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc42 void TryWrite() { in TryWrite() function in __sanitizer::TestData
91 data->TryWrite(); in try_thread()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cpp41 void TryWrite() { in TryWrite() function in __sanitizer::TestData
90 data->TryWrite(); in try_thread()
/external/rust/crates/mio/
DCHANGELOG.md470 * [IMPROVEMENT] Rename TryRead & TryWrite function names to avoid conflict with std.