Searched defs:len_read (Results 1 - 5 of 5) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/examples/login/
H A Dxmppsocket.cc184 bool XmppSocket::Read(char * data, size_t len, size_t* len_read) { argument
188 *len_read = (size_t)read;
192 talk_base::StreamResult result = stream_->Read(data, len, len_read, NULL);
/external/chromium_org/jingle/glue/
H A Dchrome_async_socket.cc214 bool ChromeAsyncSocket::Read(char* data, size_t len, size_t* len_read) { argument
235 *len_read = 0;
239 *len_read = std::min(len, read_end_ - read_start_);
240 DCHECK_GT(*len_read, 0U);
241 std::memcpy(data, read_buf_->data() + read_start_, *len_read);
242 read_start_ += *len_read;
H A Dchrome_async_socket_unittest.cc401 size_t len_read; local
404 chrome_async_socket_->Read(buf.get(), buf_size, &len_read);
409 if (len_read == 0U) {
412 read.append(buf.get(), len_read);
584 size_t len_read = 10000U; local
585 EXPECT_TRUE(chrome_async_socket_->Read(buf, sizeof(buf), &len_read));
586 EXPECT_EQ(0U, len_read);
600 size_t len_read;
601 EXPECT_FALSE(chrome_async_socket_->Read(buf, sizeof(buf), &len_read));
614 size_t len_read; local
940 size_t len_read = 10000U; local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dxmppsocket.cc196 bool XmppSocket::Read(char * data, size_t len, size_t* len_read) { argument
200 *len_read = (size_t)read;
204 talk_base::StreamResult result = stream_->Read(data, len, len_read, NULL);
/external/valgrind/main/coregrind/m_gdbserver/
H A Dserver.c566 int len_read; local
590 len_read = VG_(read) (fd, toread, len);
592 len_read, ofs + len_read < doc_len);

Completed in 143 milliseconds