HomeSort by relevance Sort by last modified time
    Searched refs:bytes_read (Results 26 - 50 of 113) sorted by null

12 3 4 5

  /external/chromium/net/base/
https_prober.h 58 void OnReadCompleted(URLRequest* request, int bytes_read);
file_stream_posix.cc 408 int bytes_read = Read(buf, to_read, NULL); local
409 if (bytes_read <= 0) {
411 return bytes_read;
416 bytes_total += bytes_read;
417 buf += bytes_read;
418 to_read -= bytes_read;
  /external/chromium/net/tools/flip_server/
ring_buffer.cc 125 int bytes_read = 0; local
131 memcpy(bytes + bytes_read, rptr, rsize);
132 bytes_read += rsize;
137 return bytes_read;
  /external/chromium/net/url_request/
url_request_file_job.h 28 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
url_request_unittest.h 229 int bytes_read = 0; local
230 if (request->Read(buf_, kBufferSize, &bytes_read))
231 OnReadCompleted(request, bytes_read);
237 virtual void OnReadCompleted(URLRequest* request, int bytes_read) {
247 if (bytes_read >= 0) {
249 received_bytes_count_ += bytes_read;
252 data_received_.append(buf_->data(), bytes_read);
256 if (request->status().is_success() && bytes_read > 0) {
257 bytes_read = 0;
258 while (request->Read(buf_, kBufferSize, &bytes_read)) {
    [all...]
url_request_file_job.cc 142 int *bytes_read) {
144 DCHECK(bytes_read);
153 *bytes_read = 0;
160 *bytes_read = rv;
url_request_new_ftp_job.h 50 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
url_request_test_job.h 92 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest-port.cc 146 size_t bytes_read = 0; // # of bytes read so far local
153 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
154 bytes_read += bytes_last_read;
155 } while (bytes_last_read > 0 && bytes_read < file_size);
157 const ::std::string content(buffer, buffer+bytes_read);
  /system/extras/tests/directiotest/
directiotest.c 73 size_t bytes_read = 0; local
78 ret = read(fd, (char *)buf + bytes_read, count - bytes_read);
86 bytes_read += ret;
87 } while (bytes_read < count);
89 return bytes_read;
  /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:__anon1989
    [all...]
  /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 263 int bytes_read = -1; local
265 bytes_read++;
266 if (bytes_read >= MAP_LENGTH - 1)
268 result = read(fd, buffer + bytes_read, 1);
270 } while (buffer[bytes_read] != '\n');
271 buffer[bytes_read] = 0;
277 buffer[bytes_read] = 0;
  /external/dbus/dbus/
dbus-transport-socket.c 247 int bytes_read; local
253 bytes_read = _dbus_read_socket (socket_transport->fd,
257 bytes_read > 0 ? bytes_read : 0);
259 if (bytes_read > 0)
261 _dbus_verbose (" read %d bytes in auth phase\n", bytes_read);
265 else if (bytes_read < 0)
287 _dbus_assert (bytes_read == 0);
651 int bytes_read; local
690 bytes_read = _dbus_string_get_length (&socket_transport->encoded_incoming)
    [all...]
dbus-auth.h 59 int bytes_read);
dbus-message-internal.h 58 int bytes_read);
  /external/chromium/net/flip/
flip_stream.cc 86 int bytes_read = 0; local
90 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy);
102 bytes_read += bytes_to_copy;
104 if (bytes_read > 0)
105 recv_bytes_ += bytes_read;
106 return bytes_read;
flip_framer.cc 170 int bytes_read = ProcessCommonHeader(data, len); local
171 len -= bytes_read;
172 data += bytes_read;
184 int bytes_read = ProcessControlFramePayload(data, len); local
185 len -= bytes_read;
186 data += bytes_read;
193 int bytes_read = ProcessDataFramePayload(data, len); local
194 len -= bytes_read;
195 data += bytes_read;
  /external/chromium/net/socket/
tcp_client_socket_unittest.cc 151 uint32 bytes_read = 0; local
152 while (bytes_read < arraysize(kServerReply) - 1) {
160 bytes_read += rv;
196 uint32 bytes_read = 0; local
197 while (bytes_read < arraysize(kServerReply) - 1) {
205 bytes_read += rv;
  /external/clearsilver/util/
neo_files.c 71 int bytes_read; local
97 if ((bytes_read = read (fd, *str, len)) == -1)
104 (*str)[bytes_read] = '\0';
106 if (out_len) *out_len = bytes_read;
  /external/chromium/net/tools/dump_cache/
upgrade.cc 229 void DoGetKey(int bytes_read);
235 void DoReadData(int bytes_read);
262 int bytes_read = static_cast<int>(bytes_transfered); local
263 if (bytes_read < sizeof(Message) && state_ != MASTER_END &&
277 DoGetKey(bytes_read);
286 DoReadData(bytes_read);
356 void MasterSM::DoGetKey(int bytes_read) {
461 void MasterSM::DoReadData(int bytes_read) {
569 int bytes_read = static_cast<int>(bytes_transfered); local
570 if (bytes_read < sizeof(Message))
    [all...]
  /external/gtest/src/
gtest-death-test.cc 464 DWORD bytes_read; local
468 &bytes_read,
472 if (bytes_read == 0) {
474 } else if (bytes_read == 1) {
681 DWORD bytes_read; local
685 bytes_read = 0;
689 &bytes_read,
691 buffer[bytes_read] = 0;
693 } while (read_succeeded && bytes_read > 0);
743 ssize_t bytes_read; local
    [all...]

Completed in 1581 milliseconds

12 3 4 5