/external/chromium_org/android_webview/native/ |
H A D | input_stream_unittest.cc | 47 int* bytes_read) { 56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read)); 70 int bytes_read = 0; local 73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); 74 EXPECT_EQ(0, bytes_read); 79 int bytes_read = 0; local 80 DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read); 81 EXPECT_EQ(bytes_requested, bytes_read); 86 int bytes_read = 0; local 87 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read); 45 DoReadCountedStreamTest(int stream_size, int bytes_requested, int* bytes_read) argument 93 int bytes_read = 0; local 100 int bytes_read = 0; local 111 int bytes_read = 0; local 118 int bytes_read = 0; local 138 int bytes_read = 0; local [all...] |
H A D | input_stream_impl.cc | 79 bool InputStreamImpl::Read(net::IOBuffer* dest, int length, int* bytes_read) { argument 93 *bytes_read = 0; 129 // bytes_read can be strictly less than the req. length if EOF is encountered. 132 *bytes_read = length - remaining_length;
|
/external/chromium_org/base/ |
H A D | async_socket_io_handler_posix.cc | 30 int bytes_read = HANDLE_EINTR(read(socket_, pending_buffer_, local 32 DCHECK_GE(bytes_read, 0); 35 read_complete_.Run(bytes_read > 0 ? bytes_read : 0); 52 int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); local 53 if (bytes_read < 0) { 62 read_complete_.Run(bytes_read);
|
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,
|
H A D | sync_socket_nacl.cc | 63 const ssize_t bytes_read = read(handle_, buffer, length); local 64 return bytes_read > 0 ? bytes_read : 0;
|
/external/chromium_org/components/cronet/android/ |
H A D | wrapped_channel_upload_element_reader.cc | 46 int bytes_read = delegate_->ReadFromUploadChannel(buf, buf_length); local 47 if (bytes_read < 0) 49 offset_ += bytes_read; 50 return bytes_read;
|
/external/chromium_org/content/browser/fileapi/ |
H A D | mock_url_request_delegate.cc | 34 int bytes_read) { 35 if (bytes_read > 0) 36 ReceiveData(request, bytes_read); 47 int bytes_read = 0; local 48 if (!request->Read(io_buffer_.get(), kBufferSize, &bytes_read)) { 54 ReceiveData(request, bytes_read); 58 int bytes_read) { 59 if (bytes_read) { 61 static_cast<size_t>(bytes_read)); 33 OnReadCompleted(net::URLRequest* request, int bytes_read) argument 57 ReceiveData(net::URLRequest* request, int bytes_read) argument
|
/external/chromium_org/mojo/common/test/ |
H A D | multiprocess_test_helper_unittest.cc | 38 size_t bytes_read = 0; local 39 BlockingRead(handle, c, 1, &bytes_read); 40 return bytes_read == 1;
|
/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/test/ |
H A D | file_io_test.cc | 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 42 EXPECT_EQ(bytes_read, length); 102 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 103 EXPECT_EQ(bytes_read, length);
|
/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/test/ |
H A D | file_io_test.cc | 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 42 EXPECT_EQ(bytes_read, length); 102 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 103 EXPECT_EQ(bytes_read, length);
|
/external/chromium_org/android_webview/browser/net/ |
H A D | input_stream_reader.cc | 47 int bytes_read = 0; local 48 if (!stream_->Read(dest, dest_size, &bytes_read)) 51 return bytes_read;
|
/external/chromium_org/chrome/browser/ |
H A D | crash_upload_list_win.cc | 21 DWORD bytes_read; local 29 &bytes_read, 35 while (record_offset < bytes_read) { 36 DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read); 38 DCHECK(record_offset + record->Length <= bytes_read);
|
/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/mojo/services/public/cpp/network/ |
H A D | web_socket_read_queue.cc | 37 uint32_t bytes_read = op->num_bytes_; local 39 handle_, &buffer, &bytes_read, MOJO_READ_DATA_FLAG_ALL_OR_NONE); 41 EndReadDataRaw(handle_, bytes_read); 53 EndReadDataRaw(handle, 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
|
/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/chromium_org/tools/android/forwarder2/ |
H A D | command.cc | 50 int bytes_read = socket->ReadNumBytes(command_buffer, kCommandStringSize); local 51 if (bytes_read != kCommandStringSize) { 52 if (bytes_read < 0) 54 else if (!bytes_read)
|
/external/chromium_org/tools/android/md5sum/ |
H A D | md5sum.cc | 34 std::streamsize bytes_read = stream.readsome(buf, sizeof(buf)); local 35 if (bytes_read == 0) 37 base::MD5Update(&ctx, base::StringPiece(buf, bytes_read));
|
/external/e2fsprogs/resize/ |
H A D | resource_track.c | 42 track->bytes_read = 0; 47 track->bytes_read = io_start->bytes_read; 104 unsigned long long bytes_read = 0; local 109 bytes_read = delta->bytes_read - track->bytes_read; 112 if (bytes_read == 0 && bytes_written == 0) 118 mbytes(bytes_read), 120 (double)mbytes(bytes_read [all...] |
/external/flac/libFLAC/ |
H A D | ogg_helper.c | 47 size_t bytes_read = bytes; local 48 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { 50 bytes -= bytes_read; 51 buffer += bytes_read; 54 if(bytes_read == 0) { 58 bytes -= bytes_read; 59 buffer += bytes_read;
|
/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/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/browser/chromeos/file_system_provider/fileapi/ |
H A D | buffering_file_stream_reader.cc | 38 const int bytes_read = local 40 if (bytes_read) 41 return bytes_read;
|