Searched refs:bytes_read (Results 1 - 25 of 426) sorted by path

1234567891011>>

/external/bison/src/
H A Dscan-gram.c3530 size_t bytes_read = fread (buf, 1, size, fp); local
3531 if (bytes_read)
3533 char *w = memchr (buf, '\r', bytes_read);
3537 char const *lim = buf + bytes_read;
3566 return bytes_read;
H A Dscan-gram.l730 size_t bytes_read = fread (buf, 1, size, fp);
731 if (bytes_read)
733 char *w = memchr (buf, '\r', bytes_read);
737 char const *lim = buf + bytes_read;
766 return bytes_read;
/external/blktrace/
H A Dblktrace.c926 int bytes_read; local
930 bytes_read = __net_recv_data(nc->fd, bnh, sizeof(*bnh));
933 if (bytes_read == sizeof(*bnh))
935 else if (bytes_read == 0)
/external/bluetooth/bluedroid/hci/src/
H A Dhci_h4.c741 uint16_t bytes_read = 0; local
755 bytes_read++;
900 bytes_read += len;
962 return (bytes_read);
H A Dhci_mct.c715 uint16_t bytes_read = 0; local
730 bytes_read++;
830 bytes_read += len;
880 return (bytes_read);
895 uint16_t bytes_read = 0; local
910 bytes_read++;
1018 bytes_read += len;
1066 return (bytes_read);
/external/bluetooth/bluedroid/stack/include/
H A Dgoep_fs.h112 UINT16 bytes_read; member in struct:__anon1558
347 ** bytes_read - total number of bytes read from the file.
354 UINT16 bytes_read, UINT16 event_id);
/external/chromium_org/android_webview/browser/
H A Dinput_stream.h37 // Reads at most |length| bytes into |dest|. Sets |bytes_read| to the total
43 virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) = 0;
/external/chromium_org/android_webview/browser/net/
H A Dandroid_stream_reader_url_request_job.cc239 int* bytes_read) {
245 *bytes_read = 0;
237 ReadRawData(net::IOBuffer* dest, int dest_size, int* bytes_read) argument
H A Dandroid_stream_reader_url_request_job.h86 int* bytes_read) OVERRIDE;
113 void OnReaderReadCompleted(int bytes_read);
H A Dandroid_stream_reader_url_request_job_unittest.cc63 virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE {
H A Daw_network_delegate.cc86 int bytes_read) {
85 OnRawBytesRead(const net::URLRequest& request, int bytes_read) argument
H A Daw_network_delegate.h66 int bytes_read) OVERRIDE;
H A Dinput_stream_reader.cc47 int bytes_read = 0; local
48 if (!stream_->Read(dest, dest_size, &bytes_read))
51 return bytes_read;
H A Dinput_stream_reader_unittest.cc37 MOCK_METHOD3(Read, bool(net::IOBuffer* dest, int length, int* bytes_read));
/external/chromium_org/android_webview/native/
H A Dinput_stream_impl.cc79 bool InputStreamImpl::Read(net::IOBuffer* dest, int length, int* bytes_read) { argument
93 *bytes_read = 0;
129 // bytes_read can be strictly less than the req. length if EOF is encountered.
132 *bytes_read = length - remaining_length;
H A Dinput_stream_impl.h37 virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE;
H A Dinput_stream_unittest.cc47 int* bytes_read) {
56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
70 int bytes_read = 0; local
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
74 EXPECT_EQ(0, bytes_read);
79 int bytes_read = 0; local
80 DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read);
81 EXPECT_EQ(bytes_requested, bytes_read);
86 int bytes_read = 0; local
87 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
45 DoReadCountedStreamTest(int stream_size, int bytes_requested, int* bytes_read) argument
93 int bytes_read = 0; local
100 int bytes_read = 0; local
111 int bytes_read = 0; local
118 int bytes_read = 0; local
138 int bytes_read = 0; local
[all...]
/external/chromium_org/base/
H A Dasync_socket_io_handler_posix.cc30 int bytes_read = HANDLE_EINTR(read(socket_, pending_buffer_, local
32 DCHECK_GE(bytes_read, 0);
35 read_complete_.Run(bytes_read > 0 ? bytes_read : 0);
52 int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); local
53 if (bytes_read < 0) {
62 read_complete_.Run(bytes_read);
H A Dasync_socket_io_handler_unittest.cc45 void OnRead(int bytes_read) { argument
47 EXPECT_GT(bytes_read, 0);
49 EXPECT_GE(bytes_read, 0);
H A Dasync_socket_io_handler_win.cc47 DWORD bytes_read = 0; local
48 BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read,
/external/chromium_org/base/debug/
H A Dproc_maps_linux.cc64 ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); local
65 if (bytes_read < 0) {
72 proc_maps->resize(pos + bytes_read);
74 if (bytes_read == 0)
/external/chromium_org/base/files/
H A Dfile_path_watcher_linux.cc232 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd, &buffer[0], local
235 if (bytes_read < 0) {
241 while (i < bytes_read) {
244 DCHECK(i + event_size <= static_cast<size_t>(bytes_read));
H A Dfile_posix.cc299 int bytes_read = 0; local
302 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read,
303 size - bytes_read, offset + bytes_read));
307 bytes_read += rv;
308 } while (bytes_read < size);
310 return bytes_read ? bytes_read : rv;
319 int bytes_read = 0; local
322 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, siz
[all...]
H A Dfile_proxy.h52 int bytes_read)> ReadCallback;
H A Dfile_proxy_unittest.cc58 int bytes_read) {
60 buffer_.resize(bytes_read);
61 memcpy(&buffer_[0], data, bytes_read);
56 DidRead(File::Error error, const char* data, int bytes_read) argument

Completed in 608 milliseconds

1234567891011>>