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

1 2 3 4 5 6 7 8 9

  /art/runtime/
zip_archive_test.cc 51 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local
52 if (bytes_read == 0) {
55 computed_crc = crc32(computed_crc, buf, bytes_read);
  /external/chromium_org/media/audio/
async_socket_io_handler_posix.cc 30 int bytes_read = HANDLE_EINTR(read(socket_, pending_buffer_, local
32 DCHECK_GE(bytes_read, 0);
35 read_complete_.Run(bytes_read > 0 ? bytes_read : 0);
52 int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); local
53 if (bytes_read < 0) {
62 read_complete_.Run(bytes_read);
async_socket_io_handler_win.cc 47 DWORD bytes_read = 0; local
48 BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read,
  /external/chromium/chrome/browser/
crash_upload_list_win.cc 19 DWORD bytes_read; local
27 &bytes_read,
33 while (record_offset < bytes_read) {
34 DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read);
36 DCHECK(record_offset + record->Length <= bytes_read);
plugin_download_helper.cc 78 int bytes_read = 0; local
80 &bytes_read)) {
86 } else if (bytes_read == 0) {
89 OnReadCompleted(request, bytes_read);
95 int bytes_read) {
98 if (bytes_read == 0) {
103 int request_bytes_read = bytes_read;
  /external/chromium/net/test/
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;
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;
  /external/chromium_org/android_webview/browser/net/
input_stream_reader.cc 47 int bytes_read = 0; local
48 if (!stream_->Read(dest, dest_size, &bytes_read))
51 return bytes_read;
  /external/chromium_org/android_webview/native/
input_stream_unittest.cc 47 int* bytes_read) {
56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
70 int bytes_read = 0; local
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
74 EXPECT_EQ(0, bytes_read);
79 int bytes_read = 0; local
80 DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read);
81 EXPECT_EQ(bytes_requested, bytes_read);
86 int bytes_read = 0; local
87 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
93 int bytes_read = 0; local
100 int bytes_read = 0; local
111 int bytes_read = 0; local
118 int bytes_read = 0; local
    [all...]
  /external/chromium_org/chrome/browser/
crash_upload_list_win.cc 20 DWORD bytes_read; local
28 &bytes_read,
34 while (record_offset < bytes_read) {
35 DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read);
37 DCHECK(record_offset + record->Length <= bytes_read);
  /external/chromium_org/chrome_frame/
urlmon_upload_data_stream_unittest.cc 27 ULONG bytes_read = 0; local
28 hr = upload_istream->Read(buffer, 500, &bytes_read);
31 EXPECT_EQ(bytes_read, random_string_length);
62 ULONG bytes_read = 0; local
67 &bytes_read)) != S_FALSE) {
69 EXPECT_GT(bytes_read, static_cast<ULONG>(0));
71 write_pos += bytes_read;
72 bytes_read = 0;
76 EXPECT_TRUE((write_pos + bytes_read) == kBigBufferLength);
117 ULONG bytes_read = 0 local
152 ULONG bytes_read = 42; local
    [all...]
  /external/chromium_org/chromeos/process_proxy/
process_output_watcher.cc 97 ssize_t bytes_read = HANDLE_EINTR(read(*fd, read_buffer_, read_buffer_size_)); local
98 if (bytes_read < 0)
101 if (bytes_read > 0) {
102 on_read_callback_.Run(type, std::string(read_buffer_, bytes_read));
107 if (bytes_read <= 0) {
  /external/chromium_org/device/bluetooth/
bluetooth_socket_chromeos.cc 93 ssize_t bytes_read; local
97 bytes_read =
99 if (bytes_read > 0)
100 buffer->set_offset(buffer->offset() + bytes_read);
101 } while (socket_type_ == RFCOMM && bytes_read > 0);
108 if (bytes_read < 0) {
119 if (bytes_read == 0 && socket_type_ == RFCOMM) {
  /external/chromium_org/ipc/
ipc_channel_reader.cc 23 int bytes_read = 0; local
25 &bytes_read);
31 DCHECK(bytes_read > 0);
32 if (!DispatchInputData(input_buf_, bytes_read))
37 bool ChannelReader::AsyncReadComplete(int bytes_read) {
38 return DispatchInputData(input_buf_, bytes_read);
  /external/chromium_org/net/test/spawned_test_server/
local_test_server_win.cc 59 DWORD bytes_read = 0; local
60 while (bytes_read < bytes_max) {
62 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read,
71 bytes_read += num_bytes;
  /external/chromium_org/tools/android/forwarder2/
command.cc 50 int bytes_read = socket->ReadNumBytes(command_buffer, kCommandStringSize); local
51 if (bytes_read != kCommandStringSize) {
52 if (bytes_read < 0)
54 else if (!bytes_read)
  /external/chromium_org/tools/android/md5sum/
md5sum.cc 34 std::streamsize bytes_read = stream.readsome(buf, sizeof(buf)); local
35 if (bytes_read == 0)
37 base::MD5Update(&ctx, base::StringPiece(buf, bytes_read));
  /external/flac/libFLAC/
ogg_helper.c 47 size_t bytes_read = bytes; local
48 switch(read_callback(encoder, buffer, &bytes_read, client_data)) {
50 bytes -= bytes_read;
51 buffer += bytes_read;
54 if(bytes_read == 0) {
58 bytes -= bytes_read;
59 buffer += bytes_read;
  /external/sfntly/cpp/src/test/
file_io_test.cc 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local
42 EXPECT_EQ(bytes_read, length);
102 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local
103 EXPECT_EQ(bytes_read, length);
test_font_utils.cc 78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local
79 EXPECT_EQ(bytes_read, file_size);
  /external/chromium/base/
platform_file_win.cc 124 DWORD bytes_read; local
125 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0)
126 return bytes_read;
  /external/chromium/chrome/browser/ui/webui/
screenshot_source.cc 48 int bytes_read = 0; local
49 if (!(bytes_read = file_util::ReadFile(file,
  /external/chromium/net/url_request/
url_request_file_dir_job.cc 79 int *bytes_read) {
80 DCHECK(bytes_read);
81 *bytes_read = 0;
86 if (FillReadBuffer(buf->data(), buf_size, bytes_read))
187 int bytes_read; local
189 &bytes_read)) {
196 NotifyReadComplete(bytes_read);
206 int *bytes_read) {
207 DCHECK(bytes_read);
209 *bytes_read = 0
    [all...]
  /external/chromium_org/base/test/
test_process_killer_win.cc 82 SIZE_T bytes_read = 0; local
87 &bytes_read)) {
98 SIZE_T bytes_read; local
104 &bytes_read)) {
117 &bytes_read)) {
  /external/chromium_org/chrome/installer/util/
logging_installer.cc 54 int bytes_read = base::ReadPlatformFile(old_log_file, local
58 if (bytes_read > 0 &&
59 (bytes_read == file_util::WriteFile(log_file,
61 bytes_read) ||

Completed in 756 milliseconds

1 2 3 4 5 6 7 8 9