OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WriteBlocking
(Results
1 - 6
of
6
) sorted by null
/external/libbrillo/brillo/streams/
mock_stream.h
57
MOCK_METHOD4(
WriteBlocking
, bool(const void*, size_t, size_t*, ErrorPtr*));
stream_unittest.cc
58
// Omitted:
WriteBlocking
430
TEST(Stream,
WriteBlocking
) {
437
EXPECT_TRUE(stream_mock.
WriteBlocking
(buf, sizeof(buf), &written, nullptr));
453
EXPECT_TRUE(stream_mock.
WriteBlocking
(buf, sizeof(buf), &written, nullptr));
463
EXPECT_FALSE(stream_mock.
WriteBlocking
(buf, sizeof(buf), &written, nullptr));
469
MOCK_METHOD4(
WriteBlocking
, bool(const void*, size_t, size_t*, ErrorPtr*));
474
EXPECT_CALL(stream_mock,
WriteBlocking
(buf, 1024, _, _))
476
EXPECT_CALL(stream_mock,
WriteBlocking
(buf + 24, 1000, _, _))
stream.h
66
// bool MyReadOnlyStream::
WriteBlocking
(const void* buffer,
329
virtual bool
WriteBlocking
(const void* buffer,
336
// Calls
WriteBlocking
() repeatedly until all the data is written.
stream.cc
138
bool Stream::
WriteBlocking
(const void* buffer,
162
if (!
WriteBlocking
(buffer, size_to_write, &size_written, error))
input_stream_set_unittest.cc
61
EXPECT_FALSE(stream_->
WriteBlocking
(buffer, sizeof(buffer), &size, nullptr));
file_stream_unittest.cc
568
TEST_F(FileStreamTest,
WriteBlocking
) {
571
EXPECT_TRUE(stream_->
WriteBlocking
(test_write_buffer_, 100, &size, nullptr));
582
EXPECT_TRUE(stream_->
WriteBlocking
(test_write_buffer_, 80, &size, nullptr));
592
EXPECT_TRUE(stream_->
WriteBlocking
(test_write_buffer_, 50, &size, nullptr));
606
EXPECT_FALSE(stream_->
WriteBlocking
(test_write_buffer_, 80, &size, &error));
[
all
...]
Completed in 112 milliseconds