/external/chromium_org/media/formats/mpeg/ |
adts_stream_parser.cc | 68 const int bytes_read = reader.bits_read() / 8; local 69 if (sync != 0xfff || layer != 0 || frame_length < bytes_read || 96 return bytes_read;
|
/external/chromium_org/net/base/ |
file_stream_context_win.cc | 67 DWORD bytes_read; local 69 &bytes_read, &io_context_.overlapped)) { 133 DWORD bytes_read, 154 result = bytes_read; 155 IncrementOffset(&io_context_.overlapped, bytes_read);
|
/external/chromium_org/net/disk_cache/simple/ |
simple_version_upgrade.cc | 147 int bytes_read = fake_index_file.Read(0, local 150 if (bytes_read != sizeof(file_header) ||
|
/external/chromium_org/net/test/spawned_test_server/ |
local_test_server_posix.cc | 65 ssize_t bytes_read = 0; local 67 while (bytes_read < bytes_max) { 77 LOG(ERROR) << "poll() timed out; bytes_read=" << bytes_read; 80 PLOG(ERROR) << "poll() failed for child file descriptor; bytes_read=" 81 << bytes_read; 91 ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read, 92 bytes_max - bytes_read)); 95 bytes_read += num_bytes;
|
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/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)) 151 int bytes_read; local 153 &bytes_read)) { 160 NotifyReadComplete(bytes_read); 170 int* bytes_read) { 171 DCHECK(bytes_read); 173 *bytes_read = 0 [all...] |
/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/chromium_org/third_party/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...] |
/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...] |
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 61 size_t bytes_read = 0; local 64 bytes_read = min(size, peek_remaining); 65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); 66 mPeekOffset += bytes_read; 73 size -= bytes_read; 74 buffer = ((char*) buffer) + bytes_read; 77 bytes_read += doRead(buffer, size); 79 return bytes_read;
|
/bionic/tests/ |
fcntl_test.cpp | 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local 167 ASSERT_NE(bytes_read, -1); 169 ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_MOVE); 170 ASSERT_EQ(bytes_read, bytes_written); 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local 216 ASSERT_NE(bytes_read, -1); 221 ASSERT_EQ(bytes_read, bytes_teed);
|
/external/chromium_org/chrome/browser/predictors/ |
resource_prefetcher.cc | 168 int bytes_read = 0; local 171 status = request->Read(buffer.get(), kResourceBufferSizeBytes, &bytes_read); 174 status = ShouldContinueReadingRequest(request, bytes_read); 183 int bytes_read) { 184 if (bytes_read == 0) { // When bytes_read == 0, no more data. 230 int bytes_read) { 236 if (ShouldContinueReadingRequest(request, bytes_read))
|
/external/chromium_org/chrome/utility/image_writer/ |
image_writer.cc | 120 int bytes_read = image_file_.Read(bytes_processed_, buffer.get(), local 123 if (bytes_read > 0) { 126 int bytes_to_write = bytes_read + (kMemoryAlignment - 1) - 127 (bytes_read - 1) % kMemoryAlignment; 132 if (bytes_written < bytes_read) { 137 bytes_processed_ += bytes_read; 141 } else if (bytes_read == 0) { 162 int bytes_read = image_file_.Read(bytes_processed_, image_buffer.get(), local 165 if (bytes_read > 0) { 168 kBurningBlockSize) < bytes_read) { [all...] |
/external/chromium_org/chrome/utility/media_galleries/ |
iapps_xml_utils.cc | 93 int bytes_read = file.Read(0, string_as_array(&result), file_info.size); local 94 if (bytes_read != file_info.size)
|
/external/chromium_org/chromeos/process_proxy/ |
process_output_watcher.cc | 120 ssize_t bytes_read = local 124 if (bytes_read < 0) 127 if (bytes_read > 0) 128 ReportOutput(type, bytes_read); 132 if (bytes_read <= 0) {
|
/external/chromium_org/content/browser/fileapi/ |
fileapi_message_filter_unittest.cc | 160 int bytes_read = 0; local 166 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 167 EXPECT_EQ(0, bytes_read); 176 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 177 EXPECT_EQ(0, bytes_read); 183 stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); 184 EXPECT_EQ(0, bytes_read); 213 int bytes_read = 0; local 219 stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); 220 EXPECT_EQ(kFakeData.size(), static_cast<size_t>(bytes_read)); 260 int bytes_read = 0; local [all...] |
/external/chromium_org/content/browser/streams/ |
stream_url_request_job.cc | 50 int bytes_read; local 52 pending_buffer_.get(), pending_buffer_size_, &bytes_read)) { 54 DCHECK_GT(bytes_read, 0); 59 bytes_read = 0; 76 total_bytes_read_ += bytes_read; 77 NotifyReadComplete(bytes_read); 96 int* bytes_read) { 101 DCHECK(bytes_read); 108 *bytes_read = 0; 113 switch (stream_->ReadRawData(buf, to_read, bytes_read)) { [all...] |
/external/chromium_org/device/hid/ |
hid_connection_linux.cc | 161 ssize_t bytes_read = HANDLE_EINTR( local 163 if (bytes_read < 0) { 173 bytes_read++; 176 ProcessInputReport(buffer, bytes_read);
|
/external/chromium_org/media/audio/ |
audio_device_thread.cc | 168 size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data)); local 169 if (bytes_read != sizeof(pending_data))
|
/external/chromium_org/media/base/ |
seekable_buffer_unittest.cc | 69 int bytes_read = buffer_.Read(write_buffer_, read_size); local 70 EXPECT_GE(read_size, bytes_read); 71 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read)); 72 read_position += bytes_read; 181 int bytes_read = buffer_.Read(write_buffer_, read_size); 182 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read)); 184 EXPECT_EQ(forward_bytes, bytes_read); 186 EXPECT_EQ(read_size, bytes_read); 187 read_position += bytes_read; 274 int bytes_read = buffer_.Read(write_buffer_, read_size) [all...] |
yuv_convert_perftest.cc | 54 int bytes_read = base::ReadFile( local 57 CHECK_EQ(bytes_read, kYUV12Size);
|
/external/chromium_org/mojo/embedder/ |
platform_channel_pair_posix_unittest.cc | 182 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local 183 EXPECT_EQ(j + 1, bytes_read); 184 EXPECT_EQ(std::string(j + 1, '0' + i), std::string(read_buf, bytes_read)); 247 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local 248 EXPECT_EQ(file_contents.size(), bytes_read); 249 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
|
/external/chromium_org/remoting/host/ |
token_validator_base.cc | 85 int bytes_read = 0; local 86 request_->Read(buffer_.get(), kBufferSize, &bytes_read); 87 OnReadCompleted(request_.get(), bytes_read); 91 int bytes_read) { 95 if (!request_->status().is_success() || bytes_read <= 0) 98 data_.append(buffer_->data(), bytes_read); 99 } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read));
|