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

12 3 4 5 6 7 8 9

  /external/chromium_org/chrome_frame/
urlmon_upload_data_stream.cc 95 int bytes_read = request_body_stream_->Read(buf, buf->size(), local
97 DCHECK_NE(net::ERR_IO_PENDING, bytes_read);
98 if (bytes_read == 0) // Reached the end of the stream.
101 memcpy(write_pointer, buf->data(), bytes_read);
104 bytes_copied += bytes_read;
107 write_pointer += bytes_read;
  /external/chromium_org/device/bluetooth/
bluetooth_socket_win.cc 78 int bytes_read; local
82 bytes_read = recv(fd_, buffer->data(), buffer->RemainingCapacity(), 0);
83 if (bytes_read > 0)
84 buffer->set_offset(buffer->offset() + bytes_read);
85 } while (bytes_read > 0);
88 if (bytes_read < 0 && error_code != WSAEWOULDBLOCK) {
  /external/chromium_org/net/test/spawned_test_server/
local_test_server_posix.cc 64 ssize_t bytes_read = 0; local
66 while (bytes_read < bytes_max) {
76 LOG(ERROR) << "poll() timed out; bytes_read=" << bytes_read;
79 PLOG(ERROR) << "poll() failed for child file descriptor; bytes_read="
80 << bytes_read;
90 ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read,
91 bytes_max - bytes_read));
94 bytes_read += num_bytes;
  /external/chromium_org/net/url_request/
url_request_file_dir_job.cc 69 int* bytes_read) {
70 DCHECK(bytes_read);
71 *bytes_read = 0;
76 if (FillReadBuffer(buf->data(), buf_size, bytes_read))
150 int bytes_read; local
152 &bytes_read)) {
159 NotifyReadComplete(bytes_read);
169 int* bytes_read) {
170 DCHECK(bytes_read);
172 *bytes_read = 0
    [all...]
  /external/chromium_org/tools/android/forwarder2/
device_forwarder_main.cc 124 const int bytes_read = daemon_socket->Read( variable
126 CHECK_GT(bytes_read, 0);
127 DCHECK(bytes_read < sizeof(buf));
128 buf[bytes_read] = 0;
129 base::StringPiece msg(buf, 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/sfntly/cpp/src/sfntly/data/
byte_array.cc 111 int32_t bytes_read = 0; local
115 while ((bytes_read =
117 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read);
119 index += bytes_read;
120 remaining_length -= bytes_read;
132 int32_t bytes_read = 0; local
135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) {
136 os->Write(&b, 0, bytes_read);
137 index += bytes_read;
145 int32_t bytes_read = 0 local
165 int32_t bytes_read = 0; local
    [all...]
font_input_stream.cc 86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); local
87 position_ += bytes_read;
88 return bytes_read;
  /art/runtime/base/unix_file/
fd_file.cc 112 int bytes_read = TEMP_FAILURE_RETRY(read(fd_, ptr, byte_count)); local
113 if (bytes_read <= 0) {
116 byte_count -= bytes_read; // Reduce the number of remaining bytes.
117 ptr += bytes_read; // Move the buffer forward.
125 int bytes_read = TEMP_FAILURE_RETRY(write(fd_, ptr, byte_count)); local
126 if (bytes_read < 0) {
129 byte_count -= bytes_read; // Reduce the number of remaining bytes.
130 ptr += bytes_read; // Move the buffer forward.
  /external/chromium/base/test/
test_file_util_win.cc 65 DWORD bytes_read, bytes_written; local
67 bytes_read = 0;
68 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
69 if (bytes_read == 0)
72 if (bytes_read < kOneMB) {
77 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
94 total_bytes += bytes_read;
  /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/chrome/browser/safe_browsing/
bloom_filter.cc 102 int bytes_read = filter.Read(reinterpret_cast<char*>(&file_version), local
104 if (bytes_read != sizeof(file_version) || file_version != kFileVersion) {
111 bytes_read = filter.Read(reinterpret_cast<char*>(&num_keys),
113 if (bytes_read != sizeof(num_keys) ||
122 bytes_read = filter.Read(reinterpret_cast<char*>(&key), sizeof(key), NULL);
123 if (bytes_read != sizeof(key)) {
142 bytes_read = filter.Read(data.get(), byte_size, NULL);
143 if (bytes_read < byte_size) {
146 } else if (bytes_read != byte_size) {
  /external/chromium_org/base/process/
launch_win.cc 266 DWORD bytes_read = 0; local
267 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL);
268 if (!success || bytes_read == 0)
270 output->append(buffer, bytes_read);
  /external/chromium_org/chrome/browser/predictors/
resource_prefetcher.cc 167 int bytes_read = 0; local
170 status = request->Read(buffer.get(), kResourceBufferSizeBytes, &bytes_read);
173 status = ShouldContinueReadingRequest(request, bytes_read);
182 int bytes_read) {
183 if (bytes_read == 0) { // When bytes_read == 0, no more data.
228 int bytes_read) {
234 if (ShouldContinueReadingRequest(request, bytes_read))
  /external/chromium_org/chrome/test/security_tests/
ipc_security_tests.cc 127 DWORD bytes_read = 0; local
138 ::ReadFile(server_pipe, buffer, 1, &bytes_read, NULL);
  /external/chromium_org/content/browser/fileapi/
fileapi_message_filter_unittest.cc 207 int bytes_read = 0; local
213 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
214 EXPECT_EQ(0, bytes_read);
226 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
227 EXPECT_EQ(0, bytes_read);
233 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read));
234 EXPECT_EQ(0, bytes_read);
263 int bytes_read = 0; local
269 stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read));
270 EXPECT_EQ(kFakeData.size(), static_cast<size_t>(bytes_read));
311 int bytes_read = 0; local
    [all...]
  /external/chromium_org/content/browser/streams/
stream_unittest.cc 52 int bytes_read = 0; local
53 while (stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read) ==
56 buffer_->SetCapacity(old_capacity + bytes_read);
58 buffer->data(), bytes_read);
stream_url_request_job.cc 43 int bytes_read; local
45 pending_buffer_.get(), pending_buffer_size_, &bytes_read);
52 total_bytes_read_ += bytes_read;
53 NotifyReadComplete(bytes_read);
73 int* bytes_read) {
77 DCHECK(bytes_read);
84 *bytes_read = 0;
89 switch (stream_->ReadRawData(buf, to_read, bytes_read)) {
92 total_bytes_read_ += *bytes_read;
  /external/chromium_org/media/audio/
audio_device_thread.cc 162 size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data)); local
163 if (bytes_read != sizeof(pending_data)) {
164 DCHECK_EQ(bytes_read, 0U);
  /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_org/net/base/
file_stream.cc 176 int bytes_read = ReadSync(buf, to_read); local
177 if (bytes_read <= 0) {
179 return bytes_read;
184 bytes_total += bytes_read;
185 buf += bytes_read;
186 to_read -= bytes_read;
  /external/chromium_org/net/tools/quic/
quic_socket_utils.cc 99 int bytes_read = recvmsg(fd, &hdr, 0); local
103 if (bytes_read < 0 && errno != 0) {
127 return bytes_read;
  /external/chromium_org/tools/gn/
function_exec_script.cc 109 DWORD bytes_read = 0; local
110 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL);
111 if (!success || bytes_read == 0)
113 std_out->append(buffer, bytes_read);
  /external/sfntly/cpp/src/sample/chromium/
chrome_subsetter.cc 57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local
59 return bytes_read == file_size;
  /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;

Completed in 2281 milliseconds

12 3 4 5 6 7 8 9