Searched refs:bytes_read (Results 226 - 250 of 426) sorted by relevance

1234567891011>>

/external/chromium_org/device/serial/
H A Dserial_io_handler_posix.cc175 int bytes_read = HANDLE_EINTR(read(file().GetPlatformFile(), local
178 if (bytes_read < 0) {
184 } else if (bytes_read == 0) {
187 ReadCompleted(bytes_read, serial::RECEIVE_ERROR_NONE);
/external/chromium_org/extensions/browser/api/bluetooth_socket/
H A Dbluetooth_socket_event_dispatcher.h81 int bytes_read,
/external/chromium_org/ipc/
H A Dipc_channel_win.h48 int* bytes_read) OVERRIDE;
/external/chromium_org/media/cdm/ppapi/
H A Dcdm_file_io_impl.h129 void OnFileRead(int32_t bytes_read);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_handle.h54 Error Read(void* buf, size_t nbytes, int* bytes_read);
/external/chromium_org/net/tools/quic/test_tools/
H A Dsimple_client.h142 virtual size_t bytes_read() const = 0;
/external/chromium_org/net/url_request/
H A Durl_request_file_job.h43 int* bytes_read) OVERRIDE;
H A Durl_request_ftp_job.h76 int *bytes_read) OVERRIDE;
H A Durl_request_test_job.h115 int *bytes_read) OVERRIDE;
/external/chromium_org/remoting/host/
H A Dtoken_validator_base.h58 int bytes_read) OVERRIDE;
/external/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp81 size_t bytes_read = process->ReadMemory (original_ptr, local
85 if (!error.Success() || (bytes_read != address_byte_size))
239 size_t bytes_read = process->ReadMemory (offset_to_top_location, local
244 if (!error.Success() || (bytes_read != address_byte_size))
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
H A Dmime_util.cc31 const int bytes_read = local
34 if (bytes_read >= 0) {
36 bytes_read,
/external/chromium_org/chromeos/accelerometer/
H A Daccelerometer_reader.cc158 int bytes_read = base::ReadFile(base::FilePath(kAccelerometerDevicePath), local
160 if (bytes_read < static_cast<int>(length)) {
161 LOG(ERROR) << "Read " << bytes_read << " byte(s), expected "
/external/chromium_org/content/browser/loader/
H A Dredirect_to_file_resource_handler.cc204 bool RedirectToFileResourceHandler::OnReadCompleted(int bytes_read, argument
210 int new_offset = buf_->offset() + bytes_read;
217 if (buf_->capacity() == bytes_read) {
/external/chromium_org/net/base/
H A Dnetwork_delegate.cc88 int bytes_read) {
90 OnRawBytesRead(request, bytes_read);
228 int bytes_read) {
87 NotifyRawBytesRead(const URLRequest& request, int bytes_read) argument
227 OnRawBytesRead(const URLRequest& request, int bytes_read) argument
/external/chromium_org/net/dns/
H A Dmdns_client_impl.h44 // Handle an mDNS packet buffered in |response| with a size of |bytes_read|.
45 virtual void HandlePacket(DnsResponse* response, int bytes_read) = 0;
88 int bytes_read);
131 virtual void HandlePacket(DnsResponse* response, int bytes_read) OVERRIDE;
/external/chromium_org/net/tools/quic/
H A Dquic_socket_utils.cc126 int bytes_read = recvmsg(fd, &hdr, 0); local
130 if (bytes_read < 0 && errno != 0) {
154 return bytes_read;
/external/chromium_org/ppapi/proxy/
H A Daudio_input_resource.cc256 size_t bytes_read = socket_->Receive(&pending_data, sizeof(pending_data)); local
257 if (bytes_read != sizeof(pending_data)) {
258 DCHECK_EQ(bytes_read, 0U);
/external/lldb/source/Commands/
H A DCommandObjectMemory.cpp671 size_t bytes_read = 0; local
678 bytes_read = clang_ast_type.GetByteSize() * m_format_options.GetCountValue().GetCurrentValue();
691 bytes_read = target->ReadMemory(address, false, data_sp->GetBytes (), data_sp->GetByteSize(), error);
692 if (bytes_read == 0)
707 if (bytes_read < total_byte_size)
708 result.AppendWarningWithFormat("Not all bytes (%lu/%lu) were able to be read from 0x%" PRIx64 ".\n", bytes_read, total_byte_size, addr);
751 bytes_read += read;
754 data_sp.reset(new DataBufferHeap(data_sp->GetBytes(),bytes_read+1));
757 m_next_addr = addr + bytes_read;
758 m_prev_byte_size = bytes_read;
[all...]
/external/lldb/source/Host/freebsd/
H A DHost.cpp107 ssize_t bytes_read = ::read (backtrace_fd, buffer, buffer_size); local
108 if (bytes_read > 0)
109 strm.Write(buffer, bytes_read);
/external/tinyalsa/
H A Dtinycap.c192 unsigned int bytes_read = 0; local
227 bytes_read += size;
232 return pcm_bytes_to_frames(pcm, bytes_read);
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.cpp578 nub_size_t bytes_read = m_task.ReadMemory(addr, size, buf); local
582 if (bytes_read > 0)
583 m_breakpoints.RemoveTrapsFromBuffer (addr, bytes_read, buf);
584 return bytes_read;
1332 int bytes_read = 0; local
1337 bytes_read = ::read (stdout_fd, s, sizeof(s)-1);
1338 if (bytes_read < 0)
1341 DNBLogThreadedIf(LOG_PROCESS, "read (stdout_fd, ) => %d errno: %d (%s)", bytes_read, read_errno, strerror(read_errno));
1343 else if (bytes_read == 0)
1346 DNBLogThreadedIf(LOG_PROCESS, "read (stdout_fd, ) => %d (reached EOF for child STDOUT)", bytes_read);
[all...]
/external/chromium_org/chrome/browser/media_galleries/win/
H A Dmtp_device_operations_util.cc379 DWORD bytes_read = 0;
382 optimal_transfer_size, &bytes_read);
389 DCHECK_GT(bytes_read, 0U);
390 CHECK_LE(bytes_read, buffer.length());
393 std::min(bytes_read,
/external/chromium_org/content/browser/download/
H A Ddownload_resource_handler.cc301 bool DownloadResourceHandler::OnReadCompleted(int bytes_read, bool* defer) {
313 double actual_bandwidth = (bytes_read)/seconds_since_last_read;
319 if (!bytes_read)
321 bytes_read_ += bytes_read;
326 if (!stream_writer_->Write(read_buffer_, bytes_read)) {
/external/chromium_org/media/blink/
H A Dbuffered_data_source.cc413 int bytes_read) {
449 if (bytes_read > 0) {
451 memcpy(read_op_->data(), &intermediate_read_buffer_[0], bytes_read);
452 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) {
464 ReadOperation::Run(read_op_.Pass(), bytes_read);
411 ReadCallback( BufferedResourceLoader::Status status, int bytes_read) argument

Completed in 626 milliseconds

1234567891011>>