| /external/bluetooth/bluedroid/hci/src/ |
| hci_mct.c | 725 uint16_t bytes_read = 0; local 740 bytes_read++; 840 bytes_read += len; 890 return (bytes_read); 905 uint16_t bytes_read = 0; local 920 bytes_read++; [all...] |
| /external/chromium/base/ |
| file_util_posix.cc | 367 ssize_t bytes_read = local 369 if (bytes_read <= 0) 371 total_read += bytes_read; 560 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); 563 return bytes_read; 867 ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); local 868 if (bytes_read < 0) { 872 if (bytes_read == 0) 880 bytes_read - bytes_written_per_read)); 886 } while (bytes_written_per_read < bytes_read); [all...] |
| process_util_posix.cc | 965 ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| local 969 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 971 if (bytes_read <= 0) 973 output->append(buffer, bytes_read); 974 output_buf_left -= static_cast<size_t>(bytes_read); 984 if (output_buf_left || bytes_read <= 0) { [all...] |
| process_util_unittest.cc | 438 ssize_t bytes_read = local 440 CHECK_EQ(bytes_read, static_cast<ssize_t>(sizeof(num_open_files)));
|
| process_util_win.cc | 386 DWORD bytes_read = 0; local 387 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); 388 if (!success || bytes_read == 0) 390 output->append(buffer, bytes_read);
|
| /external/chromium/chrome/browser/ |
| process_singleton_linux.cc | 185 size_t bytes_read = 0; local 187 ssize_t rv = HANDLE_EINTR(read(fd, buf + bytes_read, bufsize - bytes_read)); 194 return bytes_read; 198 return bytes_read; 200 bytes_read += rv; 202 } while (bytes_read < bufsize); 204 return bytes_read; [all...] |
| /external/chromium/sdch/open-vcdiff/src/gtest/ |
| gtest-death-test.cc | 324 ssize_t bytes_read; local 327 bytes_read = read(read_fd_, &flag, 1); 328 } while (bytes_read == -1 && errno == EINTR); 330 if (bytes_read == 0) { 332 } else if (bytes_read == 1) {
|
| /external/chromium_org/base/process/ |
| process_util_unittest.cc | 549 ssize_t bytes_read = local 551 CHECK_EQ(bytes_read, static_cast<ssize_t>(sizeof(num_open_files)));
|
| /external/chromium_org/chrome/browser/ |
| process_singleton_linux.cc | 183 size_t bytes_read = 0; local 185 ssize_t rv = HANDLE_EINTR(read(fd, buf + bytes_read, bufsize - bytes_read)); 192 return bytes_read; 196 return bytes_read; 198 bytes_read += rv; 200 } while (bytes_read < bufsize); 202 return bytes_read; [all...] |
| /external/chromium_org/content/browser/gamepad/ |
| xbox_data_fetcher_mac.cc | 390 size_t bytes_read = reinterpret_cast<size_t>(arg0); local 400 controller->ProcessPacket(bytes_read);
|
| /external/chromium_org/net/disk_cache/simple/ |
| simple_synchronous_entry.cc | 277 int bytes_read = ReadPlatformFile(files_[in_entry_op.index], local 281 if (bytes_read > 0) { 285 bytes_read); 287 if (bytes_read >= 0) { 288 *out_result = bytes_read;
|
| /external/chromium_org/net/url_request/ |
| url_fetcher_core.cc | 418 int bytes_read) { 432 if (!request_->status().is_success() || bytes_read <= 0) 435 current_response_bytes_ += bytes_read; 437 InformDelegateDownloadDataIfNecessary(bytes_read); 440 WriteBuffer(new DrainableIOBuffer(buffer_.get(), bytes_read)); 447 } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); 867 int bytes_read = 0; local 870 request_->Read(buffer_.get(), kBufferSize, &bytes_read); 871 OnReadCompleted(request_.get(), bytes_read); 920 void URLFetcherCore::InformDelegateDownloadDataIfNecessary(int bytes_read) { [all...] |
| /external/chromium_org/v8/src/ |
| d8-posix.cc | 295 int bytes_read; local 298 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 299 } while (bytes_read == -1 && errno == EINTR); 300 if (bytes_read != 0) { 324 int bytes_read; local 326 bytes_read = read(child_fd, 329 if (bytes_read == -1) { 345 if (bytes_read + fullness > 0) { 346 int length = bytes_read == 0 ? 347 bytes_read + fullness [all...] |
| /external/chromium_org/webkit/browser/appcache/ |
| appcache_update_job.cc | 166 net::URLRequest* request, int bytes_read) { 169 if (request->status().is_success() && bytes_read > 0) { 170 data_consumed = ConsumeResponseData(bytes_read); 172 bytes_read = 0; 173 while (request->Read(buffer_.get(), kBufferSize, &bytes_read)) { 174 if (bytes_read > 0) { 175 data_consumed = ConsumeResponseData(bytes_read); 227 int bytes_read = 0; local 228 request_->Read(buffer_.get(), kBufferSize, &bytes_read); 229 OnReadCompleted(request_.get(), bytes_read); [all...] |
| appcache_url_request_job_unittest.cc | 85 int bytes_read) OVERRIDE { 86 if (bytes_read > 0) { 87 amount_received_ += bytes_read; 113 int bytes_read = 0; local 115 request->Read(wrapped_buffer.get(), kBlockSize, &bytes_read)); 116 EXPECT_EQ(0, bytes_read);
|
| /external/stressapptest/src/ |
| os.cc | 311 ssize_t bytes_read = read(hpfile, buf, 64); local 314 if (bytes_read <= 0) { 320 if (bytes_read == 64) { 327 buf[bytes_read] = '\0';
|
| /external/v8/src/ |
| d8-posix.cc | 295 int bytes_read; local 298 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 299 } while (bytes_read == -1 && errno == EINTR); 300 if (bytes_read != 0) { 324 int bytes_read; local 326 bytes_read = read(child_fd, 329 if (bytes_read == -1) { 345 if (bytes_read + fullness > 0) { 346 int length = bytes_read == 0 ? 347 bytes_read + fullness [all...] |
| /art/dex2oat/ |
| dex2oat.cc | 1048 int bytes_read = TEMP_FAILURE_RETRY(read(in->Fd(), buffer.get(), buffer_size)); local [all...] |
| /external/chromium/net/ocsp/ |
| nss_ocsp.cc | 268 int bytes_read = 0; local 273 request_->Read(buffer_, kRecvBufferSize, &bytes_read); 275 OnReadCompleted(request_, bytes_read); 278 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read) { 283 if (!request_->status().is_success() || bytes_read <= 0) 285 data_.append(buffer_->data(), bytes_read); 286 } while (request_->Read(buffer_, kRecvBufferSize, &bytes_read));
|
| /external/chromium/net/spdy/ |
| spdy_framer.cc | 236 size_t bytes_read = ProcessCommonHeader(data, len); local 237 len -= bytes_read; 238 data += bytes_read; 262 int bytes_read = ProcessControlFrameBeforeHeaderBlock(data, len); local 263 len -= bytes_read; 264 data += bytes_read; 269 int bytes_read = ProcessControlFrameHeaderBlock(data, len); local 270 len -= bytes_read; 271 data += bytes_read; 276 size_t bytes_read = ProcessControlFramePayload(data, len) local 285 size_t bytes_read = ProcessDataFramePayload(data, len); local 396 size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, local 475 size_t bytes_read = UpdateCurrentFrameBuffer( local 1033 size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, local [all...] |
| spdy_session.cc | 633 void SpdySession::OnReadComplete(int bytes_read) { 640 if (bytes_read <= 0) { 642 net::Error error = static_cast<net::Error>(bytes_read); 643 if (bytes_read == 0) 649 bytes_received_ += bytes_read; 660 while (bytes_read && 662 uint32 bytes_processed = spdy_framer_.ProcessInput(data, bytes_read); 663 bytes_read -= bytes_processed; 734 int bytes_read = connection_->socket()->Read(read_buffer_.get(), local 737 switch (bytes_read) { [all...] |
| /external/chromium/net/tools/dump_cache/ |
| upgrade.cc | 244 void DoGetKey(int bytes_read); 251 void DoReadData(int bytes_read); 282 int bytes_read = static_cast<int>(bytes_transfered); local 283 if (bytes_read < sizeof(Message) && state_ != MASTER_END && 297 DoGetKey(bytes_read); 306 DoReadData(bytes_read); 383 void MasterSM::DoGetKey(int bytes_read) { 497 void MasterSM::DoReadData(int bytes_read) { 641 int bytes_read = static_cast<int>(bytes_transfered); local 642 if (bytes_read < sizeof(Message)) [all...] |
| /external/chromium/testing/gtest/src/ |
| gtest-death-test.cc | 387 int bytes_read; local 394 bytes_read = posix::Read(read_fd(), &flag, 1); 395 } while (bytes_read == -1 && errno == EINTR); 397 if (bytes_read == 0) { 399 } else if (bytes_read == 1) { [all...] |
| /external/chromium_org/base/ |
| file_util_posix.cc | 349 ssize_t bytes_read = local 351 if (bytes_read <= 0) 353 total_read += bytes_read; 625 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); 628 return bytes_read; 926 ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); local 927 if (bytes_read < 0) { 931 if (bytes_read == 0) 939 bytes_read - bytes_written_per_read)); 945 } while (bytes_written_per_read < bytes_read); [all...] |
| /external/chromium_org/chrome_frame/ |
| chrome_active_document.cc | 392 DWORD bytes_read = 0; local 393 stream->Read(url_bstr.AllocateBytes(url_size), url_size, &bytes_read); [all...] |