Searched refs:bytes_read (Results 101 - 125 of 426) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/net/
H A Dchrome_fraudulent_certificate_reporter.h41 int bytes_read) OVERRIDE;
/external/chromium_org/chrome/browser/net/spdyproxy/
H A Dproxy_advisor.h46 int bytes_read) OVERRIDE;
/external/chromium_org/content/browser/streams/
H A Dstream.cc126 int* bytes_read) {
128 DCHECK(bytes_read);
130 *bytes_read = 0;
159 *bytes_read = to_read;
124 ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) argument
/external/chromium_org/content/test/net/
H A Durl_request_abort_on_end_job.h34 int* bytes_read) OVERRIDE;
/external/chromium_org/net/tools/flip_server/
H A Dring_buffer.cc110 int bytes_read = 0; local
116 memcpy(bytes + bytes_read, rptr, rsize);
117 bytes_read += rsize;
122 return bytes_read;
/external/chromium_org/net/url_request/
H A Durl_request_simple_job.h26 int *bytes_read) OVERRIDE;
H A Durl_request_test_util.cc258 int bytes_read = 0; local
259 if (request->Read(buf_.get(), kBufferSize, &bytes_read))
260 OnReadCompleted(request, bytes_read);
266 void TestDelegate::OnReadCompleted(URLRequest* request, int bytes_read) { argument
276 if (bytes_read >= 0) {
278 received_bytes_count_ += bytes_read;
281 data_received_.append(buf_->data(), bytes_read);
285 if (request->status().is_success() && bytes_read > 0) {
286 bytes_read = 0;
287 while (request->Read(buf_.get(), kBufferSize, &bytes_read)) {
494 OnRawBytesRead(const URLRequest& request, int bytes_read) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_impl.h180 int64_t bytes_read; member in struct:leveldb::DBImpl::CompactionStats
183 CompactionStats() : micros(0), bytes_read(0), bytes_written(0) { }
187 this->bytes_read += c.bytes_read;
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dfile_io_test.cc41 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/third_party/tcmalloc/chromium/src/
H A Dsymbolize.cc238 int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read,
240 if (bytes_read < 0) {
244 } else if (bytes_read == 0) {
249 total_bytes_read += bytes_read;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsymbolize.cc243 int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read,
245 if (bytes_read < 0) {
249 } else if (bytes_read == 0) {
254 total_bytes_read += bytes_read;
/external/sfntly/cpp/src/test/
H A Dfile_io_test.cc41 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/components/nacl/loader/
H A Dnacl_ipc_adapter_unittest.cc89 int bytes_read = BlockingReceive(buf, kBufSize); local
91 static_cast<size_t>(bytes_read));
195 int bytes_read = BlockingReceive(buf, bytes_requested); local
196 ASSERT_EQ(bytes_requested, bytes_read);
199 bytes_read += BlockingReceive(&buf[bytes_requested],
202 static_cast<size_t>(bytes_read));
212 bytes_read = BlockingReceive(buf, kBufSize);
214 static_cast<size_t>(bytes_read));
/external/chromium_org/content/browser/loader/
H A Dlayered_resource_handler.cc71 bool LayeredResourceHandler::OnReadCompleted(int bytes_read, bool* defer) { argument
73 return next_handler_->OnReadCompleted(bytes_read, defer);
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_write_to_cache_job.cc123 int *bytes_read) {
124 net::URLRequestStatus status = ReadNetData(buf, buf_size, bytes_read);
173 int *bytes_read) {
175 DCHECK(bytes_read);
177 *bytes_read = 0;
362 int bytes_read) {
368 if (bytes_read > 0) {
369 WriteDataToCache(bytes_read);
120 ReadRawData( net::IOBuffer* buf, int buf_size, int *bytes_read) argument
170 ReadNetData( net::IOBuffer* buf, int buf_size, int *bytes_read) argument
360 OnReadCompleted( net::URLRequest* request, int bytes_read) argument
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_version_upgrade.cc147 int bytes_read = fake_index_file.Read(0, local
150 if (bytes_read != sizeof(file_header) ||
/external/chromium_org/sync/engine/net/
H A Dserver_connection_manager.cc93 const int64 bytes_read = ReadResponse(buffer_out, local
95 if (bytes_read != response->content_length) {
105 const int64 bytes_read = ReadResponse(buffer_out, local
108 if (bytes_read != response->content_length) {
110 response->content_length << ", but sent " << bytes_read;
160 int bytes_read = buffer_.length(); local
161 CHECK(length <= bytes_read);
163 return bytes_read;
/external/chromium_org/tools/gn/
H A Dfunction_exec_script.cc125 DWORD bytes_read = 0; local
126 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL);
127 if (!success || bytes_read == 0)
129 std_out->append(buffer, bytes_read);
215 ssize_t bytes_read = 0; local
218 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, sizeof(buffer)));
219 if (bytes_read <= 0)
221 std_out->append(buffer, bytes_read);
/external/chromium_org/mojo/embedder/
H A Dplatform_channel_pair_posix_unittest.cc182 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local
183 EXPECT_EQ(j + 1, bytes_read);
184 EXPECT_EQ(std::string(j + 1, '0' + i), std::string(read_buf, bytes_read));
247 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local
248 EXPECT_EQ(file_contents.size(), bytes_read);
249 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
/external/chromium_org/net/socket/
H A Dtcp_server_socket_unittest.cc231 size_t bytes_read = 0; local
232 while (bytes_read < message.size()) {
234 new IOBufferWithSize(message.size() - bytes_read));
240 ASSERT_TRUE(bytes_read + read_result <= message.size());
241 memmove(&buffer[bytes_read], read_buffer->data(), read_result);
242 bytes_read += read_result;
/external/openssl/apps/
H A Ds_time.c134 static long bytes_read=0; variable
157 bytes_read=0;
396 bytes_read=0;
419 bytes_read+=i;
453 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read);
454 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nConn);
489 bytes_read=0;
512 bytes_read+=i;
543 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read);
544 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nCon
[all...]
/external/lldb/source/API/
H A DSBProcess.cpp349 size_t bytes_read = 0; local
354 bytes_read = process_sp->GetSTDOUT (dst, dst_len, error);
361 (int) bytes_read,
364 (uint64_t)bytes_read);
366 return bytes_read;
372 size_t bytes_read = 0; local
377 bytes_read = process_sp->GetSTDERR (dst, dst_len, error);
384 (int) bytes_read,
387 (uint64_t)bytes_read);
389 return bytes_read;
395 size_t bytes_read = 0; local
972 size_t bytes_read = 0; local
1026 size_t bytes_read = 0; local
[all...]
/external/lldb/source/Core/
H A DConnectionFileDescriptor.cpp416 ssize_t bytes_read = 0;
423 bytes_read = ::read (m_fd_recv, dst, dst_len);
424 } while (bytes_read < 0 && errno == EINTR);
431 if (bytes_read == 0)
436 else if (bytes_read < 0)
451 (int64_t)bytes_read,
501 return bytes_read;
752 ssize_t bytes_read; local
756 bytes_read = ::read (pipe_fd, buffer, sizeof(buffer));
757 } while (bytes_read <
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_creator.cc219 int bytes_read = -1; local
220 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
222 if (!signature_creator->Update(buffer.get(), bytes_read)) {
275 size_t bytes_read = 0; local
277 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
279 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) !=
280 bytes_read) {
/external/chromium_org/v8/src/
H A Dd8-posix.cc278 int bytes_read; local
281 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err));
282 } while (bytes_read == -1 && errno == EINTR);
283 if (bytes_read != 0) {
309 int bytes_read; local
311 bytes_read = read(child_fd,
314 if (bytes_read == -1) {
331 if (bytes_read + fullness > 0) {
332 int length = bytes_read == 0 ?
333 bytes_read
[all...]

Completed in 733 milliseconds

1234567891011>>