HomeSort by relevance Sort by last modified time
    Searched refs:bytes_read (Results 26 - 50 of 450) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/net/url_request/
url_request_job.h 102 bool Read(IOBuffer* buf, int buf_size, int* bytes_read);
239 void NotifyReadComplete(int bytes_read);
269 // the data, and bytes_read will receive the number of bytes read.
270 // If returning true, and bytes_read is returned as 0, there is no
277 virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
284 void FilteredDataRead(int bytes_read);
290 bool ReadFilteredData(int *bytes_read);
330 bool ReadRawDataForFilter(int *bytes_read);
334 bool ReadRawDataHelper(IOBuffer* buf, int buf_size, int* bytes_read);
341 // Called after every raw read. If |bytes_read| is > 0, this indicate
    [all...]
url_request_file_dir_job.h 34 int* bytes_read) OVERRIDE;
54 bool FillReadBuffer(char *buf, int buf_size, int *bytes_read);
url_request_simple_job.cc 43 int* bytes_read) {
44 DCHECK(bytes_read);
50 *bytes_read = buf_size;
  /external/chromium/net/url_request/
url_request_test_util.cc 200 int bytes_read = 0; local
201 if (request->Read(buf_, kBufferSize, &bytes_read))
202 OnReadCompleted(request, bytes_read);
208 void TestDelegate::OnReadCompleted(net::URLRequest* request, int bytes_read) {
218 if (bytes_read >= 0) {
220 received_bytes_count_ += bytes_read;
223 data_received_.append(buf_->data(), bytes_read);
227 if (request->status().is_success() && bytes_read > 0) {
228 bytes_read = 0;
229 while (request->Read(buf_, kBufferSize, &bytes_read)) {
    [all...]
url_request_file_dir_job.h 32 virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
52 bool FillReadBuffer(char *buf, int buf_size, int *bytes_read);
  /external/chromium/sdch/open-vcdiff/src/
vcdiff_main.cc 137 // into input_buffer_. If successful, returns true and sets *bytes_read
140 bool ReadInput(size_t* bytes_read);
311 bool VCDiffFileBasedCoder::ReadInput(size_t* bytes_read) {
313 *bytes_read = fread(&input_buffer_[0], 1, input_buffer_.size(), input_file_);
346 size_t bytes_read = fread(&compare_buffer_[0], local
355 if (bytes_read < output_size) {
360 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) {
410 size_t bytes_read = 0; local
411 if (!WriteOutput(output) || !ReadInput(&bytes_read)) {
416 if (bytes_read > 0)
467 size_t bytes_read = 0; local
531 size_t bytes_read = 0; local
    [all...]
  /external/chromium_org/sdch/open-vcdiff/src/
vcdiff_main.cc 138 // into input_buffer_. If successful, returns true and sets *bytes_read
141 bool ReadInput(size_t* bytes_read);
312 bool VCDiffFileBasedCoder::ReadInput(size_t* bytes_read) {
314 *bytes_read = fread(&input_buffer_[0], 1, input_buffer_.size(), input_file_);
347 size_t bytes_read = fread(&compare_buffer_[0], local
356 if (bytes_read < output_size) {
361 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) {
414 size_t bytes_read = 0; local
415 if (!WriteOutput(output) || !ReadInput(&bytes_read)) {
420 if (bytes_read > 0)
471 size_t bytes_read = 0; local
535 size_t bytes_read = 0; local
    [all...]
  /external/open-vcdiff/src/
vcdiff_main.cc 138 // into input_buffer_. If successful, returns true and sets *bytes_read
141 bool ReadInput(size_t* bytes_read);
312 bool VCDiffFileBasedCoder::ReadInput(size_t* bytes_read) {
314 *bytes_read = fread(&input_buffer_[0], 1, input_buffer_.size(), input_file_);
347 size_t bytes_read = fread(&compare_buffer_[0], local
356 if (bytes_read < output_size) {
361 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) {
414 size_t bytes_read = 0; local
415 if (!WriteOutput(output) || !ReadInput(&bytes_read)) {
420 if (bytes_read > 0)
471 size_t bytes_read = 0; local
535 size_t bytes_read = 0; local
    [all...]
  /external/chromium/base/test/
test_file_util_win.cc 65 DWORD bytes_read, bytes_written; local
67 bytes_read = 0;
68 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
69 if (bytes_read == 0)
72 if (bytes_read < kOneMB) {
77 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
94 total_bytes += bytes_read;
  /external/chromium/net/base/
network_delegate.cc 35 void NetworkDelegate::NotifyReadCompleted(URLRequest* request, int bytes_read) {
38 OnReadCompleted(request, bytes_read);
network_delegate.h 45 void NotifyReadCompleted(URLRequest* request, int bytes_read);
82 virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0;
nss_memio.h 61 * If bytes_read is 0, causes EOF to be reported to
63 * If bytes_read is < 0, it is treated as an NSPR error code.
68 void memio_PutReadResult(memio_Private *secret, int bytes_read);
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
mount_html5fs_test.cc 250 int bytes_read = 0; local
252 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
253 ASSERT_EQ(strlen(contents), bytes_read); local
258 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
259 ASSERT_EQ(0, bytes_read);
263 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
264 ASSERT_EQ(strlen(contents) - 4, bytes_read);
265 buffer[bytes_read] = 0;
277 ASSERT_EQ(EISDIR, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
295 int bytes_read = 1; // Set to a non-zero value local
399 int bytes_read = 0; local
438 int bytes_read = 1; \/\/ Set to a non-zero value. local
    [all...]
  /external/linux-tools-perf/scripts/perl/
rw-by-pid.pl 31 $reads{$common_pid}{bytes_read} += $ret;
33 if (!defined ($reads{$common_pid}{bytes_read})) {
34 $reads{$common_pid}{bytes_read} = 0;
78 "# reads", "bytes_requested", "bytes_read");
82 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=>
83 ($reads{$a}{bytes_read} || 0) } keys %reads) {
87 my $bytes_read = $reads{$pid}{bytes_read} || 0;
90 $total_reads, $bytes_requested, $bytes_read);
rwtop.pl 43 $reads{$common_pid}{bytes_read} += $ret;
45 if (!defined ($reads{$common_pid}{bytes_read})) {
46 $reads{$common_pid}{bytes_read} = 0;
128 "# reads", "bytes_req", "bytes_read");
132 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=>
133 ($reads{$a}{bytes_read} || 0) } keys %reads) {
137 my $bytes_read = $reads{$pid}{bytes_read} || 0;
140 $total_reads, $bytes_requested, $bytes_read);
  /external/chromium/base/
platform_file_unittest.cc 17 int bytes_read; local
19 bytes_read = base::ReadPlatformFile(
23 // If we reached EOF, bytes_read will be 0.
24 if (bytes_read == 0)
27 if ((bytes_read < 0) || (bytes_read > size - total_bytes_read))
30 total_bytes_read += bytes_read;
155 int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); local
156 EXPECT_EQ(0, bytes_read);
160 bytes_read = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize)
229 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_io_handler_posix.cc 56 int bytes_read = HANDLE_EINTR(read(file(), local
59 if (bytes_read < 0) {
65 } else if (bytes_read == 0) {
68 ReadCompleted(bytes_read, api::serial::RECEIVE_ERROR_NONE);
  /external/chromium_org/content/test/net/
url_request_abort_on_end_job.cc 102 int* bytes_read) {
104 *bytes_read = std::min(size_t(max_bytes), sizeof(kPageContent));
105 std::memcpy(buf->data(), kPageContent, *bytes_read);
112 *bytes_read = -1;
  /art/runtime/
zip_archive_test.cc 51 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local
52 if (bytes_read == 0) {
55 computed_crc = crc32(computed_crc, buf, bytes_read);
  /external/chromium_org/android_webview/browser/net/
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/base/
sync_socket_nacl.cc 45 const ssize_t bytes_read = read(handle_, buffer, length); local
46 return bytes_read > 0 ? bytes_read : 0;
platform_file_unittest.cc 170 int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); local
171 EXPECT_EQ(0, bytes_read);
175 bytes_read = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize);
176 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read);
177 for (int i = 0; i < bytes_read; i++)
181 bytes_read = ReadFully(file, 0, data_read_1, 0);
182 EXPECT_EQ(0, bytes_read);
185 bytes_read = ReadFully(file, 0, data_read_1, kTestDataSize);
186 EXPECT_EQ(kTestDataSize, bytes_read);
187 for (int i = 0; i < bytes_read; i++
264 int bytes_read = ReadFully(file, 0, data_read_1, local
304 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); local
    [all...]
  /external/chromium_org/base/files/
file_unittest.cc 126 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local
127 EXPECT_EQ(0, bytes_read);
131 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize);
132 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read);
133 for (int i = 0; i < bytes_read; i++)
137 bytes_read = file.Read(0, data_read_1, 0);
138 EXPECT_EQ(0, bytes_read);
141 bytes_read = file.Read(0, data_read_1, kTestDataSize);
142 EXPECT_EQ(kTestDataSize, bytes_read);
143 for (int i = 0; i < bytes_read; i++
214 int bytes_read = file.Read(0, data_read_1, local
248 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local
    [all...]
  /external/chromium_org/base/test/
test_process_killer_win.cc 82 SIZE_T bytes_read = 0; local
87 &bytes_read)) {
98 SIZE_T bytes_read; local
104 &bytes_read)) {
117 &bytes_read)) {
  /external/chromium_org/tools/android/forwarder2/
device_forwarder_main.cc 124 const int bytes_read = daemon_socket->Read( variable
126 CHECK_GT(bytes_read, 0);
127 DCHECK(bytes_read < sizeof(buf));
128 buf[bytes_read] = 0;
129 base::StringPiece msg(buf, bytes_read);

Completed in 338 milliseconds

12 3 4 5 6 7 8 91011>>