/external/bison/src/ |
H A D | scan-gram.c | 3530 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;
|
/external/blktrace/ |
H A D | blktrace.c | 926 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 D | hci_h4.c | 741 uint16_t bytes_read = 0; local 755 bytes_read++; 900 bytes_read += len; 962 return (bytes_read);
|
H A D | hci_mct.c | 715 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 D | goep_fs.h | 112 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/net/ |
H A D | android_stream_reader_url_request_job.cc | 239 int* bytes_read) { 245 *bytes_read = 0; 237 ReadRawData(net::IOBuffer* dest, int dest_size, int* bytes_read) argument
|
H A D | aw_network_delegate.cc | 86 int bytes_read) { 85 OnRawBytesRead(const net::URLRequest& request, int bytes_read) argument
|
H A D | input_stream_reader.cc | 47 int bytes_read = 0; local 48 if (!stream_->Read(dest, dest_size, &bytes_read)) 51 return bytes_read;
|
/external/chromium_org/android_webview/native/ |
H A D | input_stream_impl.cc | 79 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 D | input_stream_unittest.cc | 47 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 D | async_socket_io_handler_posix.cc | 30 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 D | async_socket_io_handler_unittest.cc | 45 void OnRead(int bytes_read) { argument 47 EXPECT_GT(bytes_read, 0); 49 EXPECT_GE(bytes_read, 0);
|
H A D | async_socket_io_handler_win.cc | 47 DWORD bytes_read = 0; local 48 BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read,
|
H A D | sync_socket_nacl.cc | 63 const ssize_t bytes_read = read(handle_, buffer, length); local 64 return bytes_read > 0 ? bytes_read : 0;
|
/external/chromium_org/base/debug/ |
H A D | proc_maps_linux.cc | 64 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 D | file_path_watcher_linux.cc | 232 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 D | file_posix.cc | 299 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 D | file_proxy_unittest.cc | 58 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
|
H A D | file_unittest.cc | 168 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local 169 EXPECT_EQ(0, bytes_read); 173 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); 174 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); 175 for (int i = 0; i < bytes_read; i++) 179 bytes_read = file.Read(0, data_read_1, 0); 180 EXPECT_EQ(0, bytes_read); 183 bytes_read = file.Read(0, data_read_1, kTestDataSize); 184 EXPECT_EQ(kTestDataSize, bytes_read); 185 for (int i = 0; i < bytes_read; 256 int bytes_read = file.Read(0, data_read_1, local 292 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local [all...] |
H A D | file_util_posix.cc | 375 ssize_t bytes_read = local 377 if (bytes_read <= 0) 379 total_read += bytes_read; 673 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, max_size)); 676 return bytes_read; 880 ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); local 881 if (bytes_read < 0) { 885 if (bytes_read == 0) 893 bytes_read - bytes_written_per_read)); 899 } while (bytes_written_per_read < bytes_read); [all...] |
H A D | file_win.cc | 150 DWORD bytes_read; local 151 if (::ReadFile(file_.Get(), data, size, &bytes_read, &overlapped)) 152 return bytes_read; 166 DWORD bytes_read; 167 if (::ReadFile(file_.Get(), data, size, &bytes_read, NULL)) 168 return bytes_read;
|
/external/chromium_org/base/process/ |
H A D | launch_posix.cc | 600 ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| local 604 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 606 if (bytes_read <= 0) 608 output->append(buffer, bytes_read); 609 output_buf_left -= static_cast<size_t>(bytes_read); 619 if (!output_buf_left && bytes_read > 0)
|
H A D | launch_win.cc | 355 DWORD bytes_read = 0; local 356 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); 357 if (!success || bytes_read == 0) 359 output->append(buffer, bytes_read);
|
H A D | process_util_unittest.cc | 584 ssize_t bytes_read = local 586 CHECK_EQ(bytes_read, static_cast<ssize_t>(sizeof(num_open_files)));
|
/external/chromium_org/base/test/ |
H A D | test_file_util_win.cc | 159 DWORD bytes_read, bytes_written; local 161 bytes_read = 0; 162 ::ReadFile(file_handle.Get(), buffer, kOneMB, &bytes_read, NULL); 163 if (bytes_read == 0) 166 if (bytes_read < kOneMB) { 171 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read); 188 total_bytes += bytes_read;
|