/external/chromium/net/url_request/ |
url_request.cc | 330 bool URLRequest::Read(net::IOBuffer* dest, int dest_size, int *bytes_read) { 332 DCHECK(bytes_read); 334 *bytes_read = 0; 347 return job_->Read(dest, dest_size, bytes_read);
|
url_request_http_job.h | 57 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
|
url_request.h | 205 virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0; 451 // The bytes_read parameter is an output parameter containing the 457 bool Read(net::IOBuffer* buf, int max_bytes, int *bytes_read);
|
url_request_http_job.cc | 411 int *bytes_read) { 413 DCHECK(bytes_read); 418 *bytes_read = rv;
|
/external/bluetooth/glib/gio/ |
gcancellable.c | 319 gsize bytes_read; local 321 &bytes_read, NULL);
|
ginputstream.c | 227 * @bytes_read: location to store the number of bytes that was read from the stream 238 * stream, %TRUE is returned, and @bytes_read is set to the number of bytes 242 * is set to indicate the error status, @bytes_read is updated to contain 251 gsize *bytes_read, 268 if (bytes_read) 269 *bytes_read = _bytes_read; 279 if (bytes_read) 280 *bytes_read = _bytes_read; [all...] |
ginputstream.h | 124 gsize *bytes_read,
|
glocalfileoutputstream.c | 600 gssize bytes_read; local 608 bytes_read = read (sfd, buffer, BUFSIZE); 609 if (bytes_read == -1) 624 bytes_to_write = bytes_read; 650 } while ((bytes_read != 0) && (ret == TRUE));
|
/external/bluetooth/glib/glib/ |
gfileutils.c | 606 gsize bytes_read; local 627 bytes_read = 0; 628 while (bytes_read < size) 632 rc = read (fd, buf + bytes_read, size - bytes_read); 654 bytes_read += rc; 657 buf[bytes_read] = '\0'; 660 *length = bytes_read; [all...] |
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimemagic.c | 320 int bytes_read; local 406 bytes_read = fread (matchlet->value, 1, matchlet->value_length, magic_file); 407 if (bytes_read != matchlet->value_length) 426 bytes_read = fread (matchlet->mask, 1, matchlet->value_length, magic_file); 427 if (bytes_read != matchlet->value_length)
|
xdgmime.c | 495 int bytes_read; local 542 bytes_read = fread (data, 1, max_extent, file); 550 mime_type = _xdg_mime_magic_lookup_data (global_magic, data, bytes_read, NULL,
|
/external/chromium/base/ |
file_util_posix.cc | 359 ssize_t bytes_read = local 361 if (bytes_read <= 0) 363 total_read += bytes_read; 484 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); 487 return bytes_read;
|
process_util_win.cc | 285 DWORD bytes_read = 0; local 286 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); 287 if (!success || bytes_read == 0) 289 output->append(buffer, bytes_read);
|
process_util_unittest.cc | 263 ssize_t bytes_read = local 265 CHECK(bytes_read == static_cast<ssize_t>(sizeof(num_open_files)));
|
/external/chromium/base/third_party/xdg_mime/ |
xdgmimemagic.c | 320 int bytes_read; local 406 bytes_read = fread (matchlet->value, 1, matchlet->value_length, magic_file); 407 if (bytes_read != matchlet->value_length) 426 bytes_read = fread (matchlet->mask, 1, matchlet->value_length, magic_file); 427 if (bytes_read != matchlet->value_length)
|
xdgmime.c | 495 int bytes_read; local 542 bytes_read = fread (data, 1, max_extent, file); 550 mime_type = _xdg_mime_magic_lookup_data (global_magic, data, bytes_read, NULL,
|
/external/dbus/tools/ |
dbus-launch.c | 453 int bytes_read; local 458 bytes_read = read (tty_fd, discard, sizeof (discard)); 461 bytes_read, errno); 463 if (bytes_read == 0) 465 else if (bytes_read < 0 && errno != EINTR)
|
/external/bison/src/ |
scan-gram.l | 789 size_t bytes_read = fread (buf, 1, size, fp); 790 if (bytes_read) 792 char *w = memchr (buf, '\r', bytes_read); 796 char const *lim = buf + bytes_read; 825 return bytes_read; [all...] |
/external/dbus/dbus/ |
dbus-sysdeps-unix.c | 221 int bytes_read; local 239 bytes_read = read (fd, data, count); 241 if (bytes_read < 0) 255 _dbus_string_set_length (buffer, start + bytes_read); 258 if (bytes_read > 0) 259 _dbus_verbose_bytes_of_string (buffer, start, bytes_read); 262 return bytes_read; 1654 int bytes_read; local [all...] |
/external/protobuf/gtest/src/ |
gtest-death-test.cc | 374 int bytes_read; local 381 bytes_read = posix::Read(read_fd(), &flag, 1); 382 } while (bytes_read == -1 && errno == EINTR); 384 if (bytes_read == 0) { 386 } else if (bytes_read == 1) { [all...] |
/frameworks/base/media/libmedia/ |
MediaProfiles.cpp | 554 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); local 555 if (bytes_read < 0) { 562 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)); 564 if (bytes_read == 0) break; // done parsing the xml file
|
/bootable/recovery/applypatch/ |
applypatch.c | 68 ssize_t bytes_read = fread(file->data, 1, file->size, f); local 69 if (bytes_read != file->size) { 71 filename, (long)bytes_read, (long)file->size);
|
/external/chromium/net/flip/ |
flip_framer_test.cc | 90 size_t bytes_read = local 92 size_t bytes_processed = framer_.ProcessInput(input_ptr, bytes_read);
|
/external/chromium/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 887 ssize_t bytes_read = 0; local 889 bytes_read = SSL_read(ssl_, bytes, size); 891 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT); 894 if (bytes_read == -1) { 908 } else if (bytes_read > 0) { 909 VLOG(2) << "Read: " << bytes_read << " bytes from fd: " << fd_; 910 read_buffer_.AdvanceWritablePtr(bytes_read); 915 } else { // bytes_read == 0 [all...] |
/external/libxml2/ |
nanohttp.c | 1191 int bytes_read = 0; local 1211 ctxt->inptr - ctxt->inrptr - bytes_read; 1212 ctxt->strm->next_in = BAD_CAST (ctxt->inrptr + bytes_read); 1215 bytes_read += orig_avail_in - ctxt->strm->avail_in; 1220 ctxt->inrptr += bytes_read; [all...] |