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

1 2 3 4 5

  /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/chromium/net/url_request/
url_request_simple_job.cc 35 int* bytes_read) {
36 DCHECK(bytes_read);
42 *bytes_read = buf_size;
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_job.h 93 bool Read(net::IOBuffer* buf, int buf_size, int *bytes_read);
227 void NotifyReadComplete(int bytes_read);
253 // the data, and bytes_read will receive the number of bytes read.
254 // If returning true, and bytes_read is returned as 0, there is no
260 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
263 void FilteredDataRead(int bytes_read);
269 bool ReadFilteredData(int *bytes_read);
304 bool ReadRawDataForFilter(int *bytes_read);
311 // Updates the profiling info and notifies observers that bytes_read bytes
313 void RecordBytesRead(int bytes_read);
    [all...]
url_request_job.cc 162 bool URLRequestJob::Read(net::IOBuffer* buf, int buf_size, int *bytes_read) {
167 DCHECK(bytes_read);
169 *bytes_read = 0;
173 rv = ReadRawData(buf, buf_size, bytes_read);
174 if (rv && *bytes_read > 0)
175 RecordBytesRead(*bytes_read);
182 if (ReadFilteredData(bytes_read)) {
188 if (rv && *bytes_read == 0)
193 bool URLRequestJob::ReadRawDataForFilter(int *bytes_read) {
196 DCHECK(bytes_read);
    [all...]
url_request_file_dir_job.h 25 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
46 bool FillReadBuffer(char *buf, int buf_size, int *bytes_read);
url_request_simple_job.h 19 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
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/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;
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 52 ULONG* bytes_read,
58 bytes_read,
78 ULONG* bytes_read,
83 bytes_read,
adb_endpoint_object.h 117 @param[out] bytes_read Number of bytes read. Can be NULL.
129 ULONG* bytes_read,
157 @param[out] bytes_read Number of bytes read. Can be NULL.
166 ULONG* bytes_read,
  /external/bluetooth/glib/glib/
gconvert.h 69 gsize *bytes_read,
75 gsize *bytes_read,
83 gsize *bytes_read,
92 gsize *bytes_read,
97 gsize *bytes_read,
113 gsize *bytes_read,
118 gsize *bytes_read,
gconvert.c 562 * @bytes_read: location to store the number of bytes in the
600 gsize *bytes_read,
683 if (bytes_read)
684 *bytes_read = p - str;
724 * @bytes_read: location to store the number of bytes in the
751 gsize *bytes_read,
766 if (bytes_read)
767 *bytes_read = 0;
776 bytes_read, bytes_written,
796 * @bytes_read: location to store the number of bytes in th
    [all...]
  /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/chromium/sdch/open-vcdiff/src/
vcdiff_main.cc 137 // into input_buffer_. If successful, returns true and sets *bytes_read
140 bool ReadInput(size_t* bytes_read);
311 bool VCDiffFileBasedCoder::ReadInput(size_t* bytes_read) {
313 *bytes_read = fread(&input_buffer_[0], 1, input_buffer_.size(), input_file_);
346 size_t bytes_read = fread(&compare_buffer_[0], local
355 if (bytes_read < output_size) {
360 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) {
410 size_t bytes_read = 0; local
411 if (!WriteOutput(output) || !ReadInput(&bytes_read)) {
416 if (bytes_read > 0)
467 size_t bytes_read = 0; local
531 size_t bytes_read = 0; local
    [all...]
  /external/chromium/net/base/
nss_memio.h 58 * If bytes_read is 0, causes EOF to be reported to
60 * If bytes_read is < 0, it is treated as an NSPR error code.
65 void memio_PutReadResult(memio_Private *secret, int bytes_read);
file_stream_win.cc 66 DWORD bytes_read, DWORD error);
95 MessageLoopForIO::IOContext* context, DWORD bytes_read, DWORD error) {
104 int result = static_cast<int>(bytes_read);
108 if (bytes_read)
109 IncrementOffset(&context->overlapped, bytes_read);
227 DWORD bytes_read; local
228 if (!ReadFile(file_, buf, buf_len, &bytes_read, overlapped)) {
243 rv = static_cast<int>(bytes_read);
253 int bytes_read = Read(buf, to_read, NULL); local
254 if (bytes_read <= 0)
    [all...]
  /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);
  /external/elfcopy/
dwarf.c 243 unsigned int bytes_read; local
248 len = read_leb128 (data, & bytes_read, 0);
249 data += bytes_read;
254 return bytes_read;
257 len += bytes_read;
270 adr = byte_get (data, len - bytes_read - 1);
273 value_hook(data, len - bytes_read - 1, adr);
285 val = read_leb128 (data, & bytes_read, 0);
287 data += bytes_read;
288 val = read_leb128 (data, & bytes_read, 0)
435 unsigned int bytes_read; local
613 unsigned int bytes_read; local
984 unsigned int bytes_read; local
1729 unsigned int bytes_read; local
1965 unsigned int bytes_read; local
1996 unsigned int bytes_read; local
2207 unsigned int bytes_read; local
    [all...]
  /external/bluetooth/glib/tests/
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;
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;
  /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/bluetooth/glib/gio/win32/
gwinhttpfileinputstream.c 132 DWORD bytes_read; local
158 (winhttp_stream->request, buffer, count, &bytes_read))
165 return bytes_read;

Completed in 728 milliseconds

1 2 3 4 5