| /external/lldb/source/DataFormatters/ |
| LibCxx.cpp | 66 size_t bytes_read = process_sp->ReadMemory(byte_location, &byte, 1, err); local 67 if (err.Fail() || bytes_read == 0)
|
| LibStdcpp.cpp | 65 size_t bytes_read = process_sp->ReadMemory(byte_location, &byte, 1, err); local 66 if (err.Fail() || bytes_read == 0)
|
| /external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| DYLDRendezvous.cpp | 239 size_t bytes_read; local 242 bytes_read = m_process->DoReadMemory(addr, dst, size, error); 243 if (bytes_read != size || error.Fail()) 246 return addr + bytes_read;
|
| /external/qemu/slirp/ |
| tftp.c | 105 int bytes_read = 0; local 123 bytes_read = read(fd, buf, len); 128 return bytes_read;
|
| /external/qemu/slirp-android/ |
| tftp.c | 105 int bytes_read = 0; local 123 bytes_read = read(fd, buf, len); 128 return bytes_read;
|
| /external/tinyalsa/ |
| tinycap.c | 192 unsigned int bytes_read = 0; local 227 bytes_read += size; 232 return pcm_bytes_to_frames(pcm, bytes_read);
|
| /hardware/qcom/audio/hal/ |
| platform_info.c | 243 int bytes_read; local 274 bytes_read = fread(buf, 1, kBufSize, file); 275 if (bytes_read < 0) { 276 ALOGE("%s: fread failed, bytes read = %d", __func__, bytes_read); 277 ret = bytes_read; 281 if (XML_ParseBuffer(parser, bytes_read, 282 bytes_read == 0) == XML_STATUS_ERROR) { 289 if (bytes_read == 0)
|
| /system/extras/tests/directiotest/ |
| directiotest.c | 74 size_t bytes_read = 0; local 79 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); 87 bytes_read += ret; 88 } while (bytes_read < count); 90 return bytes_read;
|
| /device/moto/shamu/dataservices/rmnetctl/src/ |
| librmnetctl.c | 97 int bytes_read = -1, return_code = RMNETCTL_API_ERR_HNDL_INVALID; local 156 bytes_read = recvfrom(hndl->netlink_fd, 162 if (bytes_read < 0) {
|
| /external/bluetooth/bluedroid/stack/include/ |
| goep_fs.h | 112 UINT16 bytes_read; member in struct:__anon6183 347 ** bytes_read - total number of bytes read from the file. 354 UINT16 bytes_read, UINT16 event_id);
|
| /external/chromium_org/base/files/ |
| 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, size - bytes_read)) [all...] |
| 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/ |
| 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)
|
| /external/chromium_org/chrome_elf/create_file/ |
| chrome_create_file_unittest.cc | 255 DWORD bytes_read; local 277 ::ReadFile(file_handle.Get(), read_buffer, buffer_size, &bytes_read, NULL); 278 EXPECT_EQ(buffer_size, bytes_read); 279 EXPECT_EQ(0, memcmp(kTestData, read_buffer, bytes_read));
|
| /external/chromium_org/components/cronet/android/ |
| chromium_url_request.cc | 68 int bytes_read = request->bytes_read(); variable 69 if (bytes_read != 0) { 72 env, env->NewDirectByteBuffer(request->Data(), bytes_read)); 88 jint bytes_read = cronet::Java_ChromiumUrlRequest_readFromUploadChannel( variable 90 return bytes_read;
|
| /external/chromium_org/content/browser/loader/ |
| resource_loader.cc | 356 void ResourceLoader::OnReadCompleted(net::URLRequest* unused, int bytes_read) { 359 << " bytes_read = " << bytes_read; 361 // bytes_read == -1 always implies an error. 362 if (bytes_read == -1 || !request_->status().is_success()) { 367 CompleteRead(bytes_read); 374 // Note: if bytes_read is 0 (EOF) and the handler defers, resumption will call 379 if (bytes_read > 0) { 383 DCHECK_EQ(0, bytes_read); 570 int bytes_read = 0 local [all...] |
| /external/chromium_org/ipc/ |
| ipc_channel_win.cc | 157 int* /* bytes_read */) { 162 DWORD bytes_read = 0; local 164 &bytes_read, &input_state_.context.overlapped);
|
| /external/chromium_org/media/formats/mpeg/ |
| mpeg_audio_stream_parser_base.cc | 109 int bytes_read = 0; local 112 bytes_read = ParseFrame(data, data_size, &buffers); 115 end_of_segment = bytes_read > 0; 118 bytes_read = ParseIcecastHeader(data, data_size); 120 bytes_read = ParseID3v1(data, data_size); 122 bytes_read = ParseID3v2(data, data_size); 124 bytes_read = FindNextValidStartCode(data, data_size); 126 if (bytes_read > 0) { 128 DVLOG(1) << "SKIPPING " << bytes_read << " bytes of garbage."; 132 CHECK_LE(bytes_read, data_size) 172 int bytes_read = ParseFrameHeader(data, local [all...] |
| /external/chromium_org/mojo/services/network/ |
| url_loader_impl.cc | 86 uint32_t bytes_read = variable 89 if (bytes_read > 0) { 90 ReadDataRaw(pipe_.get(), buf->data(), &bytes_read, 94 offset_ += bytes_read; 95 return bytes_read; 290 int bytes_read) { 294 DidRead(static_cast<uint32_t>(bytes_read), false); 353 int bytes_read; local 354 url_request_->Read(buf.get(), static_cast<int>(num_bytes), &bytes_read); 361 } else if (url_request_->status().is_success() && bytes_read > 0) [all...] |
| /external/chromium_org/mojo/spy/ |
| spy.cc | 83 uint32_t bytes_read = kMessageBufSize; local 87 mbuf.get(), &bytes_read, 92 if (!bytes_read && !handles_read) 128 bytes_transfered_ += bytes_read; 139 mbuf.get(), bytes_read,
|
| /external/chromium_org/mojo/system/ |
| message_pipe_dispatcher_unittest.cc | 572 // |*messages_read| and |*bytes_read| belong to the thread while it's alive. 575 size_t* bytes_read) 579 bytes_read_(bytes_read) { 676 size_t bytes_read[kNumReaders]; local 689 new ReaderThread(d_read, &messages_read[i], &bytes_read[i])); 715 total_bytes_read += bytes_read[i]; 718 EXPECT_GE(bytes_read[i], messages_read[i]) << "reader: " << i;
|
| raw_channel_posix.cc | 50 virtual IOResult Read(size_t* bytes_read) OVERRIDE; 67 IOResult ReadImpl(size_t* bytes_read); 175 RawChannel::IOResult RawChannelPosix::Read(size_t* bytes_read) { 179 IOResult rv = ReadImpl(bytes_read); 371 size_t bytes_read = 0; local 372 IOResult io_result = Read(&bytes_read); 374 OnReadCompleted(io_result, bytes_read); 407 RawChannel::IOResult RawChannelPosix::ReadImpl(size_t* bytes_read) { 435 *bytes_read = static_cast<size_t>(read_result);
|
| raw_channel_win.cc | 133 void OnReadCompleted(DWORD bytes_read, DWORD error); 163 virtual IOResult Read(size_t* bytes_read) OVERRIDE; 295 void RawChannelWin::RawChannelIOHandler::OnReadCompleted(DWORD bytes_read, 307 DCHECK_GT(bytes_read, 0u); 308 owner_->OnReadCompleted(IO_SUCCEEDED, bytes_read); 310 DCHECK_EQ(bytes_read, 0u); 313 DCHECK_EQ(bytes_read, 0u); 365 RawChannel::IOResult RawChannelWin::Read(size_t* bytes_read) { 392 *bytes_read = bytes_read_dword; 414 size_t bytes_read = 0 local [all...] |
| /external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
| file_io.cc | 235 int32_t bytes_read = 0; local 238 bytes_read = file.Read(offset, 242 if (bytes_read > 0) { 243 offset += bytes_read; 244 bytes_to_read -= bytes_read; 245 } else if (bytes_read < 0) { 246 // If bytes_read < PP_OK then it indicates the error code. 247 ShowErrorMessage("File read failed", bytes_read);
|
| /external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
| node.cc | 156 int bytes_read; local 157 Error read_error = Read(data, new_addr, length, &bytes_read);
|