/external/gtest/src/ |
gtest-port.cc | 486 size_t bytes_read = 0; // # of bytes read so far local 493 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 494 bytes_read += bytes_last_read; 495 } while (bytes_last_read > 0 && bytes_read < file_size); 497 const ::std::string content(buffer, buffer+bytes_read);
|
/external/protobuf/gtest/src/ |
gtest-port.cc | 521 size_t bytes_read = 0; // # of bytes read so far 528 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 529 bytes_read += bytes_last_read; 530 } while (bytes_last_read > 0 && bytes_read < file_size); 532 const String content(buffer, bytes_read);
|
/external/jpeg/ |
jdmarker.c | 103 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon4588 744 unsigned int bytes_read, data_length; local 773 marker->bytes_read = 0; 774 bytes_read = 0; 778 bytes_read = data_length = 0; 783 bytes_read = marker->bytes_read; 785 data = cur_marker->data + bytes_read; 788 while (bytes_read < data_length) { 790 marker->bytes_read = bytes_read [all...] |
/development/host/windows/usb/api/ |
adb_api.h | 501 @param[out] bytes_read Number of bytes read. Can be NULL.
514 unsigned long* bytes_read,
547 @param[out] bytes_read Number of bytes read. Can be NULL.
557 unsigned long* bytes_read,
|
adb_api.cpp | 394 unsigned long* bytes_read,
405 bytes_read,
444 unsigned long* bytes_read,
453 adb_object->SyncRead(buffer, bytes_to_read, bytes_read, time_out);
|
/hardware/qcom/media/mm-video/vidc/vdec/test/ |
omx_vdec_test.cpp | 1872 int bytes_read=0; local 1918 int bytes_read=0; local 1944 int bytes_read = 0; local 2005 unsigned int bytes_read = 0; local 2176 int bytes_read = 0; local [all...] |
decoder_driver_test.c | 1060 int bytes_read = 0; local 1079 bytes_read = fread(&dataptr[readOffset],1, 1,inputBufferFile); 1080 if( !bytes_read) 1160 int bytes_read=0; local [all...] |
/external/chromium/base/ |
directory_watcher_inotify.cc | 231 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd_, &buffer[0], local 234 if (bytes_read < 0) { 240 while (i < bytes_read) { 243 DCHECK(i + event_size <= static_cast<size_t>(bytes_read));
|
process_util_posix.cc | 692 ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| local 696 bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, 698 if (bytes_read <= 0) 700 output_buf.append(buffer, bytes_read); 701 output_buf_left -= static_cast<size_t>(bytes_read); 711 if (output_buf_left || bytes_read <= 0) {
|
/external/chromium/net/base/ |
https_prober.cc | 76 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) {
|
nss_memio.c | 385 void memio_PutReadResult(memio_Private *secret, int bytes_read) 390 if (bytes_read > 0) { 391 mb->tail += bytes_read; 394 } else if (bytes_read == 0) { 397 } else /* if (bytes_read < 0) */ { 398 mb->last_err = bytes_read;
|
/external/bluetooth/glib/glib/ |
giochannel.h | 147 gsize *bytes_read, 177 gsize *bytes_read); 250 gsize *bytes_read,
|
giochannel.c | 194 * @bytes_read: returns the number of bytes actually read 206 gsize *bytes_read) 213 g_return_val_if_fail (bytes_read != NULL, G_IO_ERROR_UNKNOWN); 217 if (bytes_read) 218 *bytes_read = 0; 224 status = channel->funcs->io_read (channel, buf, count, bytes_read, &err); [all...] |
giounix.c | 74 gsize *bytes_read, 179 gsize *bytes_read, 194 *bytes_read = 0; 214 *bytes_read = result;
|
/external/chromium/net/url_request/ |
url_request_new_ftp_job.cc | 119 int *bytes_read) { 121 DCHECK(bytes_read); 126 *bytes_read = rv;
|
/external/bluetooth/glib/gio/ |
gunixmount.c | 293 gsize bytes_read; local 299 status = g_io_channel_read_chars (channel, buf, sizeof (buf), &bytes_read, &error); 302 g_string_append_len (data->error_string, buf, bytes_read); 303 if (bytes_read == sizeof (buf)) 307 g_string_append_len (data->error_string, buf, bytes_read);
|
gunixvolume.c | 340 gsize bytes_read; local 346 status = g_io_channel_read_chars (channel, buf, sizeof (buf), &bytes_read, &error); 349 g_string_append_len (data->error_string, buf, bytes_read); 350 if (bytes_read == sizeof (buf)) 354 g_string_append_len (data->error_string, buf, bytes_read);
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 324 ssize_t bytes_read; local 327 bytes_read = read(read_fd_, &flag, 1); 328 } while (bytes_read == -1 && errno == EINTR); 330 if (bytes_read == 0) { 332 } else if (bytes_read == 1) {
|
/external/chromium/net/ocsp/ |
nss_ocsp.cc | 255 int bytes_read = 0; local 260 request_->Read(buffer_, kRecvBufferSize, &bytes_read); 262 OnReadCompleted(request_, bytes_read); 265 virtual void OnReadCompleted(URLRequest* request, int bytes_read) { 270 if (!request_->status().is_success() || bytes_read <= 0) 272 data_.append(buffer_->data(), bytes_read); 273 } while (request_->Read(buffer_, kRecvBufferSize, &bytes_read));
|
/external/v8/src/ |
platform-freebsd.cc | 265 int bytes_read = -1; local 267 bytes_read++; 268 if (bytes_read >= MAP_LENGTH - 1) 270 result = read(fd, buffer + bytes_read, 1); 272 } while (buffer[bytes_read] != '\n'); 273 buffer[bytes_read] = 0; 279 buffer[bytes_read] = 0;
|
/external/chromium/net/flip/ |
flip_session.cc | 523 void FlipSession::OnReadComplete(int bytes_read) { 528 LOG(INFO) << "Flip socket read: " << bytes_read << " bytes"; 532 if (bytes_read <= 0) { 534 net::Error error = static_cast<net::Error>(bytes_read); 548 while (bytes_read && 550 uint32 bytes_processed = flip_framer_.ProcessInput(data, bytes_read); 551 bytes_read -= bytes_processed; 624 int bytes_read = connection_->socket()->Read(read_buffer_.get(), local 627 switch (bytes_read) { 643 this, &FlipSession::OnReadComplete, bytes_read)); [all...] |
/external/bluetooth/glib/tests/ |
gio-test.c | 68 guint *bytes_read) 78 *bytes_read = 0; 97 *bytes_read += nb;
|
/external/qemu/slirp/ |
tftp.c | 105 int bytes_read = 0; local 123 bytes_read = read(fd, buf, len); 128 return bytes_read;
|
/external/qemu/slirp-android/ |
tftp.c | 105 int bytes_read = 0; local 123 bytes_read = read(fd, buf, len); 128 return bytes_read;
|
/external/zlib/contrib/iostream3/ |
zfstream.cc | 197 int bytes_read = gzread(file, buffer, buffer_size); local 199 if (bytes_read <= 0) 206 this->setg(buffer, buffer, buffer + bytes_read);
|