| /external/bluetooth/glib/tests/ |
| convert-test.c | 41 gsize bytes_read = 0; local 46 &bytes_read, &bytes_written, &error); 52 g_assert (bytes_read == 5); 64 gsize bytes_read = 0; local 70 &bytes_read, &bytes_written, 74 g_assert (bytes_read == 2); 81 &bytes_read, &bytes_written, 85 g_assert (bytes_read == 0); 94 &bytes_read, &bytes_written, 98 g_assert (bytes_read == 2) 111 gsize bytes_read = 0; local [all...] |
| mainloop-test.c | 60 gsize bytes_read = 0; local 64 while (bytes_read < len) 66 err = g_io_channel_read (channel, buf + bytes_read, len - bytes_read, &count); 75 bytes_read += count;
|
| /external/bluetooth/glib/gio/ |
| gbufferedinputstream.c | 777 gsize available, bytes_read; local 797 bytes_read = available; 800 if (bytes_read > 0) 810 (char *)buffer + bytes_read, 815 if (nread < 0 && bytes_read == 0) 819 bytes_read += nread; 821 return bytes_read; 828 if (bytes_read == 0) 831 return bytes_read; 837 memcpy ((char *)buffer + bytes_read, (char *)priv->buffer + priv->pos, count) 1023 gssize bytes_read; member in struct:__anon1924 [all...] |
| /external/dbus/dbus/ |
| dbus-transport-socket.c | 249 int bytes_read; local 255 bytes_read = _dbus_read_socket (socket_transport->fd, 259 bytes_read > 0 ? bytes_read : 0); 261 if (bytes_read > 0) 263 _dbus_verbose (" read %d bytes in auth phase\n", bytes_read); 267 else if (bytes_read < 0) 288 _dbus_assert (bytes_read == 0); 699 int bytes_read; local 740 bytes_read = _dbus_string_get_length (&socket_transport->encoded_incoming) [all...] |
| dbus-file-unix.c | 110 int bytes_read; local 114 bytes_read = _dbus_read (fd, str, 116 if (bytes_read <= 0) 131 total += bytes_read;
|
| /external/openssl/apps/ |
| s_time.c | 134 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/nConn) [all...] |
| /external/v8/src/ |
| d8-posix.cc | 294 int bytes_read; local 297 bytes_read = read(exec_error_fds[kReadFD], &err, sizeof(err)); 298 } while (bytes_read == -1 && errno == EINTR); 299 if (bytes_read != 0) { 327 int bytes_read; local 329 bytes_read = read(child_fd, 332 if (bytes_read == -1) { 348 if (bytes_read + fullness > 0) { 349 int length = bytes_read == 0 ? 350 bytes_read + fullness [all...] |
| platform-openbsd.cc | 285 int bytes_read = -1; local 287 bytes_read++; 288 if (bytes_read >= MAP_LENGTH - 1) 290 result = read(fd, buffer + bytes_read, 1); 292 } while (buffer[bytes_read] != '\n'); 293 buffer[bytes_read] = 0; 299 buffer[bytes_read] = 0;
|
| /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...] |
| /frameworks/base/media/libstagefright/chromium_http/ |
| support.cpp | 333 void SfDelegate::OnReadCompleted(net::URLRequest *request, int bytes_read) { 334 if (bytes_read == -1) { 343 MY_LOGV(StringPrintf("OnReadCompleted, read %d bytes", bytes_read).c_str()); 345 if (bytes_read < 0) { 352 } else if (bytes_read == 0) { 358 CHECK_GT(bytes_read, 0); 359 CHECK_LE(mNumBytesRead + bytes_read, mNumBytesTotal); 363 bytes_read); 365 mNumBytesRead += bytes_read;
|
| /device/moto/stingray/recovery/ |
| masterclear_bp.c | 158 UINT32 bytes_read = 0; local 169 bytes_read = read(cmd_engine_fd, &data[total_bytes_read], bytes_to_read - total_bytes_read); 170 LOGE("Attempted to read %d bytes and read %d bytes.\n", bytes_to_read - total_bytes_read, bytes_read); 172 if( bytes_read <= 0 ) 177 total_bytes_read += 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/tinyalsa/ |
| tinycap.c | 150 unsigned int bytes_read = 0; local 187 bytes_read += size; 192 return bytes_read / ((bits / 8) * channels);
|
| /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/chrome/browser/renderer_host/ |
| save_file_resource_handler.cc | 80 bool SaveFileResourceHandler::OnReadCompleted(int request_id, int* bytes_read) { 91 *bytes_read));
|
| download_resource_handler.h | 55 virtual bool OnReadCompleted(int request_id, int* bytes_read);
|
| download_throttling_resource_handler.h | 52 virtual bool OnReadCompleted(int request_id, int* bytes_read);
|
| offline_resource_handler.h | 42 virtual bool OnReadCompleted(int request_id, int* bytes_read);
|
| save_file_resource_handler.h | 44 virtual bool OnReadCompleted(int request_id, int* 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/chrome/browser/ |
| plugin_download_helper.h | 48 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
|
| /external/chromium/net/url_request/ |
| url_request_file_job.cc | 196 int *bytes_read) { 198 DCHECK(bytes_read); 207 *bytes_read = 0; 214 *bytes_read = rv;
|
| url_request_test_job.h | 95 virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read);
|
| /external/chromium/net/spdy/ |
| spdy_http_stream.cc | 113 int bytes_read = 0; local 117 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy); 129 bytes_read += bytes_to_copy; 132 stream_->IncreaseRecvWindowSize(bytes_read); 133 return bytes_read;
|
| /external/chromium/third_party/libjingle/source/talk/xmpp/ |
| xmppclient.cc | 328 size_t bytes_read; local 330 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 335 if (bytes_read == 0) 339 client_->SignalLogInput(bytes, bytes_read); 342 engine_->HandleInput(bytes, bytes_read);
|