/external/chromium_org/ipc/ |
H A D | ipc_channel_nacl.cc | 47 int bytes_read = imc_recvmsg(pipe, &msg, 0); local 49 if (bytes_read <= 0) { 56 DCHECK(bytes_read); 58 contents->data.resize(bytes_read); 318 int* bytes_read) { 319 *bytes_read = 0; 324 while (!read_queue_.empty() && *bytes_read < buffer_len) { 326 size_t bytes_to_read = buffer_len - *bytes_read; 329 std::copy(vec->begin(), vec->end(), buffer + *bytes_read); 330 *bytes_read 315 ReadData( char* buffer, int buffer_len, int* bytes_read) argument [all...] |
/external/chromium_org/media/formats/mpeg/ |
H A D | adts_stream_parser.cc | 68 const int bytes_read = reader.bits_read() / 8; local 69 if (sync != 0xfff || layer != 0 || frame_length < bytes_read || 96 return bytes_read;
|
/external/chromium_org/net/url_request/ |
H A D | url_request_simple_job.cc | 47 int* bytes_read) { 48 DCHECK(bytes_read); 54 *bytes_read = buf_size; 46 ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) argument
|
H A D | url_request_file_dir_job.h | 34 int* bytes_read) OVERRIDE; 54 bool FillReadBuffer(char *buf, int buf_size, int *bytes_read);
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
H A D | low_latency_event_posix.cc | 95 ssize_t bytes_read = HANDLE_EINTR(read(handles_[kReadHandle], buffer, bytes)); local 96 if (bytes_read == 0) { 100 } else if (bytes_read == static_cast<ssize_t>(bytes)) {
|
/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/chrome/installer/util/ |
H A D | logging_installer.cc | 53 int bytes_read = old_log_file.Read(offset, local 56 if (bytes_read > 0 && 57 (bytes_read == base::WriteFile(log_file, &old_log_data[0], 58 bytes_read) ||
|
/external/chromium_org/content/browser/loader/ |
H A D | certificate_resource_handler.cc | 76 bool CertificateResourceHandler::OnReadCompleted(int bytes_read, bool* defer) { argument 77 if (!bytes_read) 82 content_length_ += bytes_read; 89 buffer_.push_back(std::make_pair(buffer, bytes_read));
|
/external/chromium_org/net/base/ |
H A D | nss_memio.h | 72 * If bytes_read is 0, causes EOF to be reported to 74 * If bytes_read is < 0, it is treated as an NSPR error code. 79 void memio_PutReadResult(memio_Private *secret, int bytes_read);
|
H A D | file_stream_context_win.cc | 67 DWORD bytes_read; local 69 &bytes_read, &io_context_.overlapped)) { 133 DWORD bytes_read, 154 result = bytes_read; 155 IncrementOffset(&io_context_.overlapped, bytes_read); 131 OnIOCompleted( base::MessageLoopForIO::IOContext* context, DWORD bytes_read, DWORD error) argument
|
/external/chromium_org/base/files/ |
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_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...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | fuse_fs_test.cc | 272 int bytes_read = 0; local 274 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); 275 ASSERT_EQ(strlen(hello_world), bytes_read); local 280 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); 281 ASSERT_EQ(7, bytes_read); 308 int bytes_read = 0; local 309 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); 310 ASSERT_EQ(strlen(message), bytes_read); local 343 int bytes_read; local 346 ASSERT_EQ(0, root->GetDents(0, &entries[0], sizeof(entries), &bytes_read)); [all...] |
/external/chromium_org/mojo/services/network/ |
H A D | 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 > 289 OnReadCompleted(net::URLRequest* url_request, int bytes_read) argument [all...] |
/external/chromium_org/base/ |
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,
|
/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;
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
H A D | ivfdec.c | 73 size_t *bytes_read, size_t *buffer_size) { 107 *bytes_read = frame_size; 72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/subsetter/ |
H A D | subset_util.cc | 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local 56 UNREFERENCED_PARAMETER(bytes_read);
|
/external/libvpx/libvpx/ |
H A D | ivfdec.c | 73 size_t *bytes_read, size_t *buffer_size) { 107 *bytes_read = frame_size; 72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
|
/external/sfntly/cpp/src/sample/subsetter/ |
H A D | subset_util.cc | 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local 56 UNREFERENCED_PARAMETER(bytes_read);
|
/external/chromium_org/storage/browser/blob/ |
H A D | blob_url_request_job.cc | 90 int* bytes_read) { 92 DCHECK(bytes_read); 97 *bytes_read = 0; 107 *bytes_read = 0; 115 return ReadLoop(bytes_read); 413 int bytes_read = BytesReadCompleted(); local 414 NotifyReadComplete(bytes_read); 419 int bytes_read = 0; local 420 if (ReadLoop(&bytes_read)) 421 NotifyReadComplete(bytes_read); 88 ReadRawData(net::IOBuffer* dest, int dest_size, int* bytes_read) argument 433 int bytes_read = read_buf_->BytesConsumed(); local 453 ReadLoop(int* bytes_read) argument [all...] |
/external/lldb/source/Host/common/ |
H A D | File.cpp | 475 ssize_t bytes_read = -1; local 480 bytes_read = ::read (m_descriptor, buf, num_bytes); 481 } while (bytes_read < 0 && errno == EINTR); 483 if (bytes_read == -1) 489 num_bytes = bytes_read; 493 bytes_read = ::fread (buf, 1, num_bytes, m_stream); 495 if (bytes_read == 0) 504 num_bytes = bytes_read; 566 ssize_t bytes_read = -1; local 569 bytes_read [all...] |
/external/chromium_org/device/serial/ |
H A D | serial_io_handler.cc | 113 void SerialIoHandler::ReadCompleted(int bytes_read, argument 119 pending_read_buffer->Done(bytes_read); 121 pending_read_buffer->DoneWithError(bytes_read, error); 168 void SerialIoHandler::QueueReadCompleted(int bytes_read, argument 172 base::Bind(&SerialIoHandler::ReadCompleted, this, bytes_read, error));
|
/external/chromium_org/extensions/browser/api/sockets_udp/ |
H A D | udp_socket_event_dispatcher.cc | 100 int bytes_read, 106 // If |bytes_read| == 0, the message contained no data. 107 // If |bytes_read| < 0, there was a network error, and |bytes_read| is a value 110 if (bytes_read >= 0) { 114 receive_info.data = std::string(io_buffer->data(), bytes_read); 129 } else if (bytes_read == net::ERR_IO_PENDING) { 137 receive_error_info.result_code = bytes_read; 98 ReceiveCallback( const ReceiveParams& params, int bytes_read, scoped_refptr<net::IOBuffer> io_buffer, const std::string& address, int port) argument
|
/external/chromium_org/net/test/spawned_test_server/ |
H A D | local_test_server_win.cc | 60 DWORD bytes_read = 0; local 61 while (bytes_read < bytes_max) { 63 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read, 72 bytes_read += num_bytes;
|