/external/lldb/source/Plugins/Platform/MacOSX/ |
PlatformDarwin.cpp | 957 size_t bytes_read = temp_file_spec.ReadFileContents(0, developer_dir_path, sizeof(developer_dir_path), NULL); local [all...] |
/frameworks/av/media/libstagefright/ |
MediaCodecList.cpp | 229 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); local 230 if (bytes_read < 0) { 236 XML_Status status = ::XML_ParseBuffer(parser, bytes_read, bytes_read == 0); 243 if (bytes_read == 0) {
|
/system/media/audio_route/ |
audio_route.c | 722 int bytes_read; local 772 bytes_read = fread(buf, 1, BUF_SIZE, file); 773 if (bytes_read < 0) 776 if (XML_ParseBuffer(parser, bytes_read, 777 bytes_read == 0) == XML_STATUS_ERROR) { 782 if (bytes_read == 0)
|
/bootable/recovery/applypatch/ |
applypatch.c | 78 ssize_t bytes_read = fread(file->data, 1, file->size, f); local 79 if (bytes_read != file->size) { 81 filename, (long)bytes_read, (long)file->size); [all...] |
/external/bluetooth/bluedroid/hci/src/ |
hci_h4.c | 741 uint16_t bytes_read = 0; local 755 bytes_read++; 900 bytes_read += len; 962 return (bytes_read); [all...] |
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; [all...] |
/external/chromium_org/base/files/ |
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...] |
/external/chromium_org/base/process/ |
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/chrome/browser/ |
process_singleton_posix.cc | 198 size_t bytes_read = 0; local 200 ssize_t rv = HANDLE_EINTR(read(fd, buf + bytes_read, bufsize - bytes_read)); 207 return bytes_read; 211 return bytes_read; 213 bytes_read += rv; 215 } while (bytes_read < bufsize); 217 return bytes_read; [all...] |
/external/chromium_org/content/browser/appcache/ |
appcache_url_request_job_unittest.cc | 140 int bytes_read) OVERRIDE { 141 if (bytes_read > 0) { 142 amount_received_ += bytes_read; 168 int bytes_read = 0; local 170 request->Read(wrapped_buffer.get(), kBlockSize, &bytes_read)); 171 EXPECT_EQ(0, bytes_read);
|
/external/chromium_org/content/browser/gamepad/ |
xbox_data_fetcher_mac.cc | 497 size_t bytes_read = reinterpret_cast<size_t>(arg0); local 508 controller->ProcessXbox360Packet(bytes_read); 510 controller->ProcessXboxOnePacket(bytes_read);
|
/external/chromium_org/content/browser/service_worker/ |
service_worker_cache.cc | 112 int bytes_read = 0; local 114 blob_request_->Read(buffer_.get(), buffer_->size(), &bytes_read); 116 OnReadCompleted(blob_request_.get(), bytes_read); 120 int bytes_read) OVERRIDE { 126 if (bytes_read == 0) { 134 bytes_read); 139 bytes_read, [all...] |
/external/chromium_org/content/browser/webui/ |
url_data_manager_backend.cc | 113 int* bytes_read) OVERRIDE; 175 void CompleteRead(net::IOBuffer* buf, int buf_size, int* bytes_read); 311 int bytes_read; local 314 CompleteRead(pending_buf_.get(), pending_buf_size_, &bytes_read); 316 NotifyReadComplete(bytes_read); 326 int* bytes_read) { 337 CompleteRead(buf, buf_size, bytes_read); 342 int* bytes_read) { 355 *bytes_read = buf_size;
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/ |
handlers.c | 496 size_t bytes_read = fread(buffer, 1, data_len, file); local 497 buffer[bytes_read] = 0; 501 bytes_read);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
js_fs_test.cc | 746 int bytes_read; local 747 EXPECT_EQ(0, node_->Read(attr, buf, kReadLength, &bytes_read)); 748 EXPECT_EQ(kReadLength, bytes_read);
|
/external/chromium_org/net/url_request/ |
url_fetcher_core.cc | 419 int bytes_read) { 432 if (!request_->status().is_success() || bytes_read <= 0) 435 current_response_bytes_ += bytes_read; 439 WriteBuffer(new DrainableIOBuffer(buffer_.get(), bytes_read)); 444 } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); 646 // OnReadCompleted() with bytes_read = -1 via an asynchronous task posted by 848 int bytes_read = 0; local 851 if (!request_->Read(buffer_.get(), kBufferSize, &bytes_read)) 852 bytes_read = -1; // Match OnReadCompleted() interface contract. 854 OnReadCompleted(request_.get(), bytes_read); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
pseudotcp.cc | 546 size_t bytes_read = 0; local 548 buffer.get() + HEADER_SIZE, len, offset, &bytes_read); 551 ASSERT(static_cast<uint32>(bytes_read) == len); [all...] |
/external/chromium_org/v8/src/ |
d8-posix.cc | 278 int bytes_read; local 281 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 282 } while (bytes_read == -1 && errno == EINTR); 283 if (bytes_read != 0) { 309 int bytes_read; local 311 bytes_read = read(child_fd, 314 if (bytes_read == -1) { 331 if (bytes_read + fullness > 0) { 332 int length = bytes_read == 0 ? 333 bytes_read + fullness [all...] |
/external/lldb/source/API/ |
SBProcess.cpp | 349 size_t bytes_read = 0; local 354 bytes_read = process_sp->GetSTDOUT (dst, dst_len, error); 361 (int) bytes_read, 364 (uint64_t)bytes_read); 366 return bytes_read; 372 size_t bytes_read = 0; local 377 bytes_read = process_sp->GetSTDERR (dst, dst_len, error); 384 (int) bytes_read, 387 (uint64_t)bytes_read); 389 return bytes_read; 395 size_t bytes_read = 0; local 972 size_t bytes_read = 0; local 1026 size_t bytes_read = 0; local [all...] |
/external/lldb/source/Core/ |
Address.cpp | 184 size_t bytes_read; local 187 while ((bytes_read = ReadBytes (exe_scope, curr_address, buf, k_buf_len)) > 0) 192 if (len > bytes_read) 193 len = bytes_read; 206 total_len += bytes_read; 210 curr_address.SetOffset (curr_address.GetOffset() + bytes_read); [all...] |
Disassembler.cpp | 1082 const size_t bytes_read = target->ReadMemory (range.GetBaseAddress(), local 1138 const size_t bytes_read = target->ReadMemory (start, local [all...] |
/external/lldb/source/Host/common/ |
FileSpec.cpp | 793 size_t bytes_read = 0; local 802 bytes_read = dst_len; 803 error = file.Read(dst, bytes_read, file_offset_after_seek); 812 return bytes_read; [all...] |
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
AppleObjCTrampolineHandler.cpp | 291 size_t bytes_read = process->ReadMemory (m_header_addr, memory_buffer, actual_size, error); local 292 if (bytes_read != actual_size) 333 bytes_read = process->ReadMemory(desc_ptr, dst, desc_array_size, error); 334 if (bytes_read != desc_array_size) [all...] |
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
CommunicationKDP.cpp | 244 size_t bytes_read = Read (buffer, sizeof(buffer), timeout_usec, status, &error); local 247 log->Printf ("%s: Read (buffer, (sizeof(buffer), timeout_usec = 0x%x, status = %s, error = %s) => bytes_read = %" PRIu64, 252 (uint64_t)bytes_read); 254 if (bytes_read > 0) 256 if (CheckForPacket (buffer, bytes_read, packet)) [all...] |
/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';
|