Home
last modified time | relevance | path

Searched refs:len_read (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/jingle/glue/
Dchrome_async_socket_unittest.cc410 size_t len_read; in DrainRead() local
413 chrome_async_socket_->Read(buf.get(), buf_size, &len_read); in DrainRead()
418 if (len_read == 0U) { in DrainRead()
421 read.append(buf.get(), len_read); in DrainRead()
593 size_t len_read = 10000U; in TEST_F() local
594 EXPECT_TRUE(chrome_async_socket_->Read(buf, sizeof(buf), &len_read)); in TEST_F()
595 EXPECT_EQ(0U, len_read); in TEST_F()
609 size_t len_read; in TEST_F()
610 EXPECT_FALSE(chrome_async_socket_->Read(buf, sizeof(buf), &len_read)); in TEST_F()
623 size_t len_read; in TEST_F() local
[all …]
Dchrome_async_socket.cc214 bool ChromeAsyncSocket::Read(char* data, size_t len, size_t* len_read) { in Read() argument
235 *len_read = 0; in Read()
239 *len_read = std::min(len, read_end_ - read_start_); in Read()
240 DCHECK_GT(*len_read, 0U); in Read()
241 std::memcpy(data, read_buf_->data() + read_start_, *len_read); in Read()
242 read_start_ += *len_read; in Read()
Dchrome_async_socket.h88 virtual bool Read(char* data, size_t len, size_t* len_read) OVERRIDE;
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dxmppsocket.cc196 bool XmppSocket::Read(char * data, size_t len, size_t* len_read) { in Read() argument
200 *len_read = (size_t)read; in Read()
204 rtc::StreamResult result = stream_->Read(data, len, len_read, NULL); in Read()
Dasyncsocket.h70 virtual bool Read(char * data, size_t len, size_t* len_read) = 0;
Dxmppsocket.h59 virtual bool Read(char * data, size_t len, size_t* len_read);
/external/valgrind/main/coregrind/m_gdbserver/
Dserver.c764 int len_read; in handle_query() local
788 len_read = VG_(read) (fd, toread, len); in handle_query()
790 len_read, ofs + len_read < doc_len); in handle_query()