| /external/chromium_org/third_party/brotli/src/brotli/dec/ |
| bit_reader.h | 104 int bytes_read = BrotliRead(br->input_, dst, BROTLI_READ_SIZE); local 105 if (bytes_read < 0) { 108 if (bytes_read < BROTLI_READ_SIZE) { 112 *(uint64_t*)(dst + bytes_read) = 0; 113 *(uint64_t*)(dst + bytes_read + 8) = 0; 114 *(uint64_t*)(dst + bytes_read + 16) = 0; 115 *(uint64_t*)(dst + bytes_read + 24) = 0; 117 memset(dst + bytes_read, 0, 32); 134 br->bit_end_pos_ += ((uint32_t)bytes_read << 3);
|
| /external/chromium_org/third_party/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/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
| 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;
|
| /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/chromium_org/third_party/webrtc/modules/audio_device/android/ |
| low_latency_event_posix.cc | 95 ssize_t bytes_read = HANDLE_EINTR(read(handles_[kReadHandle], buffer, bytes)); local 96 if (bytes_read == 0) { 100 } else if (bytes_read == static_cast<ssize_t>(bytes)) {
|
| /external/chromium_org/third_party/webrtc/system_wrappers/source/ |
| file_impl.cc | 198 int bytes_read = static_cast<int>(fread(buf, 1, length, id_)); local 199 if (bytes_read != length && !looping_) { 202 return bytes_read;
|
| /external/chromium_org/third_party/webrtc/test/ |
| fake_audio_device.cc | 100 int bytes_read = file_utility_->ReadPCMData( local 102 if (bytes_read <= 0) 104 int num_samples = bytes_read / 2; // 2 bytes per sample.
|
| /external/libvpx/libvpx/test/ |
| svc_test.cc | 417 const size_t bytes_read = fread(stats_buf.buf, 1, stats_buf.sz, stats_file); local 418 ASSERT_EQ(bytes_read, stats_buf.sz);
|
| /external/lldb/source/API/ |
| SBCommunication.cpp | 147 size_t bytes_read = 0; local 149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL); 160 (uint64_t)bytes_read); 161 return 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/sfntly/data/ |
| 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;
|
| /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/webrtc/src/system_wrappers/source/ |
| file_impl.cc | 198 int bytes_read = static_cast<int>(fread(buf, 1, length, _id)); local 199 if (bytes_read != length && !_looping) 203 return bytes_read;
|
| /external/zlib/src/contrib/iostream3/ |
| zfstream.cc | 197 int bytes_read = gzread(file, buffer, buffer_size); local 199 if (bytes_read <= 0) 206 this->setg(buffer, buffer, buffer + bytes_read);
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
| svc_test.cc | 417 const size_t bytes_read = fread(stats_buf.buf, 1, stats_buf.sz, stats_file); local 418 ASSERT_EQ(bytes_read, stats_buf.sz);
|
| /art/runtime/base/unix_file/ |
| fd_file.cc | 184 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_, ptr, byte_count)); local 185 if (bytes_read <= 0) { 190 byte_count -= bytes_read; // Reduce the number of remaining bytes. 191 ptr += bytes_read; // Move the buffer forward.
|
| /external/chromium_org/base/files/ |
| file_unittest.cc | 168 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local 169 EXPECT_EQ(0, bytes_read); 173 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); 174 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); 175 for (int i = 0; i < bytes_read; i++) 179 bytes_read = file.Read(0, data_read_1, 0); 180 EXPECT_EQ(0, bytes_read); 183 bytes_read = file.Read(0, data_read_1, kTestDataSize); 184 EXPECT_EQ(kTestDataSize, bytes_read); 185 for (int i = 0; i < bytes_read; i++ 256 int bytes_read = file.Read(0, data_read_1, local 292 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local [all...] |
| /external/chromium_org/base/process/ |
| launch_win.cc | 355 DWORD bytes_read = 0; local 356 BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); 357 if (!success || bytes_read == 0) 359 output->append(buffer, bytes_read);
|
| /external/chromium_org/base/test/ |
| test_file_util_win.cc | 159 DWORD bytes_read, bytes_written; local 161 bytes_read = 0; 162 ::ReadFile(file_handle.Get(), buffer, kOneMB, &bytes_read, NULL); 163 if (bytes_read == 0) 166 if (bytes_read < kOneMB) { 171 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read); 188 total_bytes += bytes_read;
|
| /external/chromium_org/chrome/app/ |
| image_pre_reader_win.cc | 60 DWORD bytes_read = 0; local 65 &bytes_read, 67 bytes_read == bytes_to_read;
|
| /external/chromium_org/chrome/browser/ |
| chrome_browser_main_posix.cc | 198 size_t bytes_read = 0; local 203 reinterpret_cast<char*>(&signal) + bytes_read, 204 sizeof(signal) - bytes_read)); 214 bytes_read += ret; 215 } while (bytes_read < sizeof(signal));
|
| /external/chromium_org/chrome/browser/extensions/ |
| extension_creator.cc | 219 int bytes_read = -1; local 220 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 222 if (!signature_creator->Update(buffer.get(), bytes_read)) { 275 size_t bytes_read = 0; local 277 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 279 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) != 280 bytes_read) {
|
| /external/chromium_org/chromeos/accelerometer/ |
| accelerometer_reader.cc | 158 int bytes_read = base::ReadFile(base::FilePath(kAccelerometerDevicePath), local 160 if (bytes_read < static_cast<int>(length)) { 161 LOG(ERROR) << "Read " << bytes_read << " byte(s), expected "
|
| /external/chromium_org/components/cronet/android/ |
| url_request_adapter.cc | 212 int bytes_read; local 214 read_buffer_, read_buffer_->RemainingCapacity(), &bytes_read)) { 215 if (bytes_read == 0) { 220 VLOG(1) << "Synchronously read: " << bytes_read << " bytes"; 221 OnBytesRead(bytes_read); 241 int bytes_read) { 242 VLOG(1) << "Asynchronously read: " << bytes_read << " bytes"; 243 if (bytes_read < 0) { 246 } else if (bytes_read == 0) { 251 OnBytesRead(bytes_read); [all...] |
| url_request_adapter.h | 107 size_t bytes_read() const { return bytes_read_; } function in class:cronet::URLRequestAdapter 118 int bytes_read) OVERRIDE; 129 void OnBytesRead(int bytes_read);
|