HomeSort by relevance Sort by last modified time
    Searched refs:bytes_read (Results 76 - 100 of 450) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/net/base/
nss_memio.h 72 * If bytes_read is 0, causes EOF to be reported to
74 * If bytes_read is < 0, it is treated as an NSPR error code.
79 void memio_PutReadResult(memio_Private *secret, int bytes_read);
file_stream_context_win.cc 95 DWORD bytes_read; local
97 &bytes_read, &io_context_.overlapped)) {
115 DWORD bytes_read; local
116 if (!ReadFile(file_, buf, buf_len, &bytes_read, NULL)) {
127 return bytes_read;
219 DWORD bytes_read,
241 result = bytes_read;
242 IncrementOffset(&io_context_.overlapped, bytes_read);
  /development/host/windows/usb/api/
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/chromium_org/base/
async_socket_io_handler_win.cc 47 DWORD bytes_read = 0; local
48 BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read,
platform_file_posix.cc 242 int bytes_read = 0; local
245 rv = HANDLE_EINTR(pread(file, data + bytes_read,
246 size - bytes_read, offset + bytes_read));
250 bytes_read += rv;
251 } while (bytes_read < size);
253 return bytes_read ? bytes_read : rv;
261 int bytes_read = 0; local
268 bytes_read += rv
    [all...]
  /external/chromium_org/base/test/
test_file_util_win.cc 161 DWORD bytes_read, bytes_written; local
163 bytes_read = 0;
164 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
165 if (bytes_read == 0)
168 if (bytes_read < kOneMB) {
173 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
190 total_bytes += bytes_read;
  /external/chromium_org/third_party/sfntly/cpp/src/sample/subsetter/
subset_util.cc 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local
56 UNREFERENCED_PARAMETER(bytes_read);
  /external/sfntly/cpp/src/sample/subsetter/
subset_util.cc 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local
56 UNREFERENCED_PARAMETER(bytes_read);
  /external/chromium_org/webkit/browser/blob/
blob_url_request_job.cc 84 int* bytes_read) {
86 DCHECK(bytes_read);
91 *bytes_read = 0;
101 *bytes_read = 0;
109 return ReadLoop(bytes_read);
407 int bytes_read = BytesReadCompleted(); local
408 NotifyReadComplete(bytes_read);
413 int bytes_read = 0; local
414 if (ReadLoop(&bytes_read))
415 NotifyReadComplete(bytes_read);
427 int bytes_read = read_buf_->BytesConsumed(); local
    [all...]
  /external/chromium/chrome/browser/
browser_main_posix.cc 118 size_t bytes_read = 0; local
123 reinterpret_cast<char*>(&signal) + bytes_read,
124 sizeof(signal) - bytes_read));
134 bytes_read += ret;
135 } while (bytes_read < sizeof(signal));
  /external/chromium/chrome/browser/net/
url_request_slow_download_job.cc 82 int *bytes_read) {
85 *bytes_read = 0;
94 *bytes_read = kSecondDownloadSize;
104 *bytes_read = send_size;
112 *bytes_read = 0;
  /external/chromium/net/test/
test_server_posix.cc 61 ssize_t bytes_read = 0; local
63 while (bytes_read < bytes_max) {
83 ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read,
84 bytes_max - bytes_read));
87 bytes_read += num_bytes;
test_server_win.cc 110 DWORD bytes_read = 0; local
111 while (bytes_read < bytes_max) {
113 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read,
122 bytes_read += num_bytes;
  /external/chromium_org/chrome/browser/extensions/api/sockets_udp/
udp_socket_event_dispatcher.cc 100 int bytes_read,
106 // If |bytes_read| == 0, the message contained no data.
107 // If |bytes_read| < 0, there was a network error, and |bytes_read| is a value
110 if (bytes_read >= 0) {
114 receive_info.data = std::string(io_buffer->data(), bytes_read);
128 } else if (bytes_read == net::ERR_IO_PENDING) {
136 receive_error_info.result_code = bytes_read;
  /external/chromium_org/net/test/spawned_test_server/
local_test_server_win.cc 60 DWORD bytes_read = 0; local
61 while (bytes_read < bytes_max) {
63 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read,
72 bytes_read += num_bytes;
  /external/chromium_org/third_party/sfntly/cpp/src/test/
byte_array_test.cc 39 int32_t bytes_read = ba->Get(index, buffer); local
40 std::copy(buffer->begin(), buffer->begin() + bytes_read,
42 index += bytes_read;
54 int32_t bytes_read = ba->Get(index, &((*b)[0]), index, actual_window_size); local
55 index += bytes_read;
  /external/sfntly/cpp/src/test/
byte_array_test.cc 39 int32_t bytes_read = ba->Get(index, buffer); local
40 std::copy(buffer->begin(), buffer->begin() + bytes_read,
42 index += bytes_read;
54 int32_t bytes_read = ba->Get(index, &((*b)[0]), index, actual_window_size); local
55 index += bytes_read;
  /external/libexif/libexif/
exif-loader.c 79 unsigned int bytes_read; member in struct:_ExifLoader
135 if (!eld || (len && !buf) || (eld->bytes_read >= eld->size))
145 len = MIN (len, eld->size - eld->bytes_read);
146 memcpy (eld->buf + eld->bytes_read, buf, len);
147 eld->bytes_read += len;
149 return (eld->bytes_read >= eld->size) ? 0 : 1;
384 loader->bytes_read = 0;
396 !loader->bytes_read)
401 exif_data_load_data (ed, loader->buf, loader->bytes_read);
418 s = loader->bytes_read;
    [all...]
  /external/chromium_org/base/files/
file_posix.cc 243 int bytes_read = 0; local
246 rv = HANDLE_EINTR(pread(file_, data + bytes_read,
247 size - bytes_read, offset + bytes_read));
251 bytes_read += rv;
252 } while (bytes_read < size);
254 return bytes_read ? bytes_read : rv;
263 int bytes_read = 0; local
270 bytes_read += rv
    [all...]
  /external/chromium_org/media/base/
seekable_buffer_unittest.cc 66 int bytes_read = buffer_.Read(write_buffer_, read_size); local
67 EXPECT_GE(read_size, bytes_read);
68 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read));
69 read_position += bytes_read;
178 int bytes_read = buffer_.Read(write_buffer_, read_size);
179 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read));
181 EXPECT_EQ(forward_bytes, bytes_read);
183 EXPECT_EQ(read_size, bytes_read);
184 read_position += bytes_read;
271 int bytes_read = buffer_.Read(write_buffer_, read_size)
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_creator.cc 173 int bytes_read = -1; local
174 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
176 if (!signature_creator->Update(buffer.get(), bytes_read)) {
225 size_t bytes_read = 0; local
227 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
229 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) !=
230 bytes_read) {
  /external/chromium/net/url_request/
url_request_test_job.cc 158 int *bytes_read) {
166 DCHECK(bytes_read);
167 *bytes_read = 0;
180 *bytes_read = to_read;
221 int bytes_read; local
222 if (!ReadRawData(async_buf_, async_buf_size_, &bytes_read))
225 NotifyReadComplete(bytes_read);
  /external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
tcp_socket_event_dispatcher.cc 115 int bytes_read,
119 // If |bytes_read| == 0, the connection has been closed by the peer.
120 // If |bytes_read| < 0, there was a network error, and |bytes_read| is a value
123 if (bytes_read == 0) {
124 bytes_read = net::ERR_CONNECTION_CLOSED;
127 if (bytes_read > 0) {
131 receive_info.data = std::string(io_buffer->data(), bytes_read);
143 } else if (bytes_read == net::ERR_IO_PENDING) {
151 receive_error_info.result_code = bytes_read;
    [all...]
  /external/chromium_org/chrome/browser/predictors/
resource_prefetcher.cc 166 int bytes_read = 0; local
169 status = request->Read(buffer.get(), kResourceBufferSizeBytes, &bytes_read);
172 status = ShouldContinueReadingRequest(request, bytes_read);
181 int bytes_read) {
182 if (bytes_read == 0) { // When bytes_read == 0, no more data.
227 int bytes_read) {
233 if (ShouldContinueReadingRequest(request, bytes_read))
  /external/chromium_org/native_client_sdk/src/examples/api/file_io/
file_io.cc 235 int32_t bytes_read = 0; local
238 bytes_read = file.Read(offset,
242 if (bytes_read > 0) {
243 offset += bytes_read;
244 bytes_to_read -= bytes_read;
245 } else if (bytes_read < 0) {
246 // If bytes_read < PP_OK then it indicates the error code.
247 ShowErrorMessage("File read failed", bytes_read);

Completed in 498 milliseconds

1 2 34 5 6 7 8 91011>>