/external/bluetooth/glib/gio/tests/ |
memory-input-stream.c | 35 gsize bytes_read, pos, len, chunk_size; local 53 bytes_read = g_input_stream_read (stream, buffer, chunk_size, NULL, &error); 55 g_assert_cmpint (bytes_read, ==, MIN (chunk_size, len - pos)); 56 g_assert (strncmp (buffer, result + pos, bytes_read) == 0); 58 pos += bytes_read;
|
/external/chromium/base/ |
file_util_linux.cc | 48 ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); local 49 if (bytes_read < 0) { 53 if (bytes_read == 0) 61 bytes_read - bytes_written_per_read)); 67 } while (bytes_written_per_read < bytes_read);
|
/external/bluetooth/glib/gio/win32/ |
gwinhttpfileinputstream.c | 132 DWORD bytes_read; local 158 (winhttp_stream->request, buffer, count, &bytes_read)) 165 return bytes_read;
|
/external/chromium/base/test/ |
test_file_util_win.cc | 64 DWORD bytes_read, bytes_written; local 66 bytes_read = 0; 67 ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL); 68 if (bytes_read == 0) 71 if (bytes_read < kOneMB) { 76 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read); 93 total_bytes += bytes_read;
|
/external/bluetooth/glib/tests/ |
timeloop.c | 36 gsize bytes_read = 0; local 40 while (bytes_read < len) 42 err = g_io_channel_read (channel, buf + bytes_read, len - bytes_read, &count); 51 bytes_read += count;
|
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...] |
timeloop-basic.c | 36 size_t bytes_read = 0; local 39 while (bytes_read < len) 41 count = read (fd, buf + bytes_read, len - bytes_read); 50 bytes_read += count;
|
timeloop-closure.c | 37 gsize bytes_read = 0; local 41 while (bytes_read < len) 43 err = g_io_channel_read (channel, buf + bytes_read, len - bytes_read, &count); 52 bytes_read += count;
|
/external/chromium/net/url_request/ |
url_request_file_dir_job.cc | 75 int *bytes_read) { 76 DCHECK(bytes_read); 77 *bytes_read = 0; 82 if (FillReadBuffer(buf->data(), buf_size, bytes_read)) 177 int *bytes_read) { 178 DCHECK(bytes_read); 180 *bytes_read = 0; 186 *bytes_read = count; 197 int bytes_read; local 199 &bytes_read)) { [all...] |
url_request_test_job.cc | 155 int *bytes_read) { 163 DCHECK(bytes_read); 164 *bytes_read = 0; 177 *bytes_read = to_read; 212 int bytes_read; local 213 if (!ReadRawData(async_buf_, async_buf_size_, &bytes_read)) 216 NotifyReadComplete(bytes_read);
|
/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/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);
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
dbg_module.c | 117 unsigned char bytes_read; local 146 bytes_read = ioctl_return_size; 148 if (bytes_read > 0) 154 in_debug_buffer[bytes_read + 1] = 0; 156 console_send_buffer_to_host(ETHERNET_UTILS_LOGGER_MODULE_ID, in_debug_buffer, (bytes_read + 1));
|
/external/bluetooth/glib/gio/ |
gcancellable.c | 319 gsize bytes_read; local 321 &bytes_read, NULL);
|
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));
|
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);
|
/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);
|
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;
|
/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/chromium/net/tools/fetch/ |
fetch_client.cc | 87 static StatsCounter bytes_read("FetchClient.bytes_read"); 88 bytes_read.Add(result); 165 int bytes_read = table.GetCounterValue("c:FetchClient.bytes_read"); local 170 printf("Bytes Read : %d\n", bytes_read); 173 double bps = static_cast<float>(bytes_read * 8) /
|
/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/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/v8/test/cctest/ |
test-sockets.cc | 60 int bytes_read = 0; local 61 while (bytes_read < data_size_) { 62 bytes_read += client_->Receive(data_ + bytes_read, data_size_ - 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;
|