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

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/net/url_request/
url_request_test_util.cc 252 int bytes_read = 0; local
253 if (request->Read(buf_.get(), kBufferSize, &bytes_read))
254 OnReadCompleted(request, bytes_read);
260 void TestDelegate::OnReadCompleted(URLRequest* request, int bytes_read) {
270 if (bytes_read >= 0) {
272 received_bytes_count_ += bytes_read;
275 data_received_.append(buf_->data(), bytes_read);
279 if (request->status().is_success() && bytes_read > 0) {
280 bytes_read = 0;
281 while (request->Read(buf_.get(), kBufferSize, &bytes_read)) {
    [all...]
  /external/chromium_org/chrome/browser/extensions/
extension_creator.cc 219 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/
platform-freebsd.cc 170 int bytes_read = -1; local
172 bytes_read++;
173 if (bytes_read >= MAP_LENGTH - 1)
175 result = read(fd, buffer + bytes_read, 1);
177 } while (buffer[bytes_read] != '\n');
178 buffer[bytes_read] = 0;
184 buffer[bytes_read] = 0;
d8-posix.cc 297 int bytes_read; local
300 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err));
301 } while (bytes_read == -1 && errno == EINTR);
302 if (bytes_read != 0) {
328 int bytes_read; local
330 bytes_read = read(child_fd,
333 if (bytes_read == -1) {
350 if (bytes_read + fullness > 0) {
351 int length = bytes_read == 0 ?
352 bytes_read + fullness
    [all...]
  /external/v8/src/
d8-posix.cc 295 int bytes_read; local
298 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err));
299 } while (bytes_read == -1 && errno == EINTR);
300 if (bytes_read != 0) {
324 int bytes_read; local
326 bytes_read = read(child_fd,
329 if (bytes_read == -1) {
345 if (bytes_read + fullness > 0) {
346 int length = bytes_read == 0 ?
347 bytes_read + fullness
    [all...]
  /external/chromium/net/tools/flip_server/
sm_connection.cc 414 ssize_t bytes_read = 0; local
416 bytes_read = SSL_read(ssl_, bytes, size);
417 if (bytes_read < 0) {
418 int err = SSL_get_error(ssl_, bytes_read);
434 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT);
437 if (bytes_read == -1) {
454 } else if (bytes_read > 0) {
455 VLOG(2) << log_prefix_ << ACCEPTOR_CLIENT_IDENT << "read " << bytes_read local
466 read_buffer_.AdvanceWritablePtr(bytes_read);
470 } else { // bytes_read ==
    [all...]
  /external/chromium_org/content/browser/fileapi/
blob_url_request_job_unittest.cc 71 int bytes_read) OVERRIDE {
72 if (bytes_read > 0)
73 ReceiveData(request, bytes_read);
87 int bytes_read = 0; local
88 if (!request->Read(received_data_.get(), kBufferSize, &bytes_read)) {
95 ReceiveData(request, bytes_read);
98 void ReceiveData(net::URLRequest* request, int bytes_read) {
99 if (bytes_read) {
101 static_cast<size_t>(bytes_read));
  /external/chromium_org/net/tools/flip_server/
sm_connection.cc 420 ssize_t bytes_read = 0; local
422 bytes_read = SSL_read(ssl_, bytes, size);
423 if (bytes_read < 0) {
424 int err = SSL_get_error(ssl_, bytes_read);
440 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT);
443 if (bytes_read == -1) {
460 } else if (bytes_read > 0) {
461 VLOG(2) << log_prefix_ << ACCEPTOR_CLIENT_IDENT << "read " << bytes_read local
472 read_buffer_.AdvanceWritablePtr(bytes_read);
476 } else { // bytes_read ==
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/test/
font_data_test.cc 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); local
159 EXPECT_GE(bytes_read, 0);
160 std::copy(buffer.begin(), buffer.begin() + bytes_read, b->begin() + index);
161 index += bytes_read;
172 int32_t bytes_read = local
174 EXPECT_GE(bytes_read, 0);
175 index += bytes_read;
205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); local
207 index += bytes_read;
  /external/sfntly/cpp/src/test/
font_data_test.cc 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); local
159 EXPECT_GE(bytes_read, 0);
160 std::copy(buffer.begin(), buffer.begin() + bytes_read, b->begin() + index);
161 index += bytes_read;
172 int32_t bytes_read = local
174 EXPECT_GE(bytes_read, 0);
175 index += bytes_read;
205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); local
207 index += bytes_read;
  /external/chromium/net/tools/fetch/
fetch_client.cc 92 base::StatsCounter bytes_read("FetchClient.bytes_read");
93 bytes_read.Add(result);
183 int bytes_read = table.GetCounterValue("c:FetchClient.bytes_read"); local
188 printf("Bytes Read : %d\n", bytes_read);
191 double bps = static_cast<float>(bytes_read * 8) /
  /external/chromium_org/chrome/browser/
chrome_browser_main_posix.cc 206 size_t bytes_read = 0; local
211 reinterpret_cast<char*>(&signal) + bytes_read,
212 sizeof(signal) - bytes_read));
222 bytes_read += ret;
223 } while (bytes_read < sizeof(signal));
  /external/chromium_org/net/tools/fetch/
fetch_client.cc 99 base::StatsCounter bytes_read("FetchClient.bytes_read");
100 bytes_read.Add(result);
196 int bytes_read = table.GetCounterValue("c:FetchClient.bytes_read"); local
201 printf("Bytes Read : %d\n", bytes_read);
204 double bps = static_cast<float>(bytes_read * 8) /
  /external/chromium_org/base/
async_socket_io_handler_unittest.cc 45 void OnRead(int bytes_read) {
47 EXPECT_GT(bytes_read, 0);
49 EXPECT_GE(bytes_read, 0);
platform_file_win.cc 147 DWORD bytes_read; local
148 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0)
149 return bytes_read;
161 DWORD bytes_read;
162 if (::ReadFile(file, data, size, &bytes_read, NULL) != 0)
163 return bytes_read;
  /external/chromium_org/media/audio/
audio_device_thread.cc 168 size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data)); local
169 if (bytes_read != sizeof(pending_data)) {
170 DCHECK_EQ(bytes_read, 0U);
  /external/webrtc/src/system_wrappers/source/
file_impl.cc 198 int bytes_read = static_cast<int>(fread(buf, 1, length, _id)); local
199 if (bytes_read != length && !_looping)
203 return bytes_read;
  /external/chromium/net/base/
file_stream_posix.cc 390 int bytes_read = Read(buf, to_read, NULL); local
391 if (bytes_read <= 0) {
393 return bytes_read;
398 bytes_total += bytes_read;
399 buf += bytes_read;
400 to_read -= bytes_read;
  /external/chromium_org/base/files/
file_win.cc 139 DWORD bytes_read; local
140 if (::ReadFile(file_, data, size, &bytes_read, &overlapped) != 0)
141 return bytes_read;
155 DWORD bytes_read;
156 if (::ReadFile(file_, data, size, &bytes_read, NULL) != 0)
157 return bytes_read;
  /external/bluetooth/bluedroid/stack/include/
goep_fs.h 112 UINT16 bytes_read; member in struct:__anon3813
347 ** bytes_read - total number of bytes read from the file.
354 UINT16 bytes_read, UINT16 event_id);
  /external/chromium/chrome/browser/renderer_host/
save_file_resource_handler.cc 80 bool SaveFileResourceHandler::OnReadCompleted(int request_id, int* bytes_read) {
91 *bytes_read));
  /external/chromium/chrome/common/net/
url_fetcher.cc 63 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
294 int bytes_read = 0; local
300 request_->Read(buffer_, kBufferSize, &bytes_read);
301 OnReadCompleted(request_.get(), bytes_read);
325 int bytes_read) {
334 if (!request_->status().is_success() || bytes_read <= 0)
336 data_.append(buffer_->data(), bytes_read);
337 } while (request_->Read(buffer_, kBufferSize, &bytes_read));
  /external/chromium_org/chrome/browser/net/
http_pipelining_compatibility_client.cc 75 int bytes_read) OVERRIDE;
143 void Request::OnReadCompleted(net::URLRequest* request, int bytes_read) {
144 if (bytes_read == 0) {
146 } else if (bytes_read < 0) {
149 response_.append(read_buffer_->data(), bytes_read);
161 int bytes_read = 0; local
163 &bytes_read)) {
164 OnReadCompleted(url_request_.get(), bytes_read);
  /external/chromium_org/chrome/browser/predictors/
resource_prefetcher.h 123 bool ShouldContinueReadingRequest(net::URLRequest* request, int bytes_read);
139 int bytes_read) OVERRIDE;
  /external/chromium_org/content/browser/download/
save_file_resource_handler.cc 90 bool SaveFileResourceHandler::OnReadCompleted(int request_id, int bytes_read,
99 save_manager_, save_id_, buffer, bytes_read));

Completed in 636 milliseconds

1 2 3 4 5 67 8 91011>>