/external/libwebm/webm_parser/test_utils/ |
D | parser_test.h | 48 std::uint64_t num_bytes_read = 0; in ParseAndVerify() local 49 const Status status = parser_.Feed(&callback_, &reader_, &num_bytes_read); in ParseAndVerify() 51 ASSERT_EQ(size, num_bytes_read); in ParseAndVerify() 69 std::uint64_t num_bytes_read = 0; in IncrementalParseAndVerify() local 74 num_bytes_read += local_num_bytes_read; in IncrementalParseAndVerify() 81 ASSERT_EQ(expected_num_bytes_read, num_bytes_read); in IncrementalParseAndVerify() 87 std::uint64_t num_bytes_read = 0; in ParseAndExpectResult() local 88 const Status status = parser_.Feed(&callback_, &reader_, &num_bytes_read); in ParseAndExpectResult()
|
D | element_parser_test.h | 50 std::uint64_t num_bytes_read = 0; in ParseAndVerify() local 51 const Status status = parser_.Feed(&callback_, &reader_, &num_bytes_read); in ParseAndVerify() 55 ASSERT_EQ(size, num_bytes_read); in ParseAndVerify() 68 std::uint64_t num_bytes_read = 0; in IncrementalParseAndVerify() local 73 num_bytes_read += local_num_bytes_read; in IncrementalParseAndVerify() 81 ASSERT_EQ(metadata_.size, num_bytes_read); in IncrementalParseAndVerify() 91 std::uint64_t num_bytes_read = 0; in ParseAndExpectResult() local 92 const Status status = parser_.Feed(&callback_, &reader_, &num_bytes_read); in ParseAndExpectResult()
|
/external/libwebm/webm_parser/src/ |
D | block_header_parser.cc | 22 std::uint64_t* num_bytes_read) { in Feed() argument 25 assert(num_bytes_read != nullptr); in Feed() 27 *num_bytes_read = 0; in Feed() 36 *num_bytes_read += local_num_bytes_read; in Feed() 49 *num_bytes_read += local_num_bytes_read; in Feed() 64 ++*num_bytes_read; in Feed()
|
D | id_parser.cc | 22 std::uint64_t* num_bytes_read) { in Feed() argument 25 assert(num_bytes_read != nullptr); in Feed() 28 *num_bytes_read = 0; in Feed() 47 ++*num_bytes_read; in Feed() 64 *num_bytes_read += local_num_bytes_read; in Feed()
|
D | var_int_parser.cc | 25 std::uint64_t* num_bytes_read) { in Feed() argument 28 assert(num_bytes_read != nullptr); in Feed() 31 *num_bytes_read = 0; in Feed() 39 ++*num_bytes_read; in Feed() 56 *num_bytes_read += local_num_bytes_read; in Feed()
|
D | parser_utils.cc | 22 std::uint64_t num_bytes_read; in ReadByte() local 23 const Status status = reader->Read(1, byte, &num_bytes_read); in ReadByte() 26 assert(num_bytes_read == 0); in ReadByte() 28 assert(num_bytes_read == 1); in ReadByte()
|
D | id_element_parser.cc | 37 std::uint64_t* num_bytes_read) { in Feed() argument 40 assert(num_bytes_read != nullptr); in Feed() 43 &value_, num_bytes_read); in Feed() 44 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
|
D | date_parser.cc | 60 std::uint64_t* num_bytes_read) { in Feed() argument 63 assert(num_bytes_read != nullptr); in Feed() 66 &value_, num_bytes_read); in Feed() 67 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
|
D | block_parser.cc | 79 std::uint64_t* num_bytes_read) { in Feed() argument 82 assert(num_bytes_read != nullptr); in Feed() 84 *num_bytes_read = 0; in Feed() 93 *num_bytes_read += local_num_bytes_read; in Feed() 122 ++*num_bytes_read; in Feed() 160 ++*num_bytes_read; in Feed() 175 *num_bytes_read += local_num_bytes_read; in Feed() 190 *num_bytes_read += local_num_bytes_read; in Feed() 246 *num_bytes_read += local_num_bytes_read; in Feed() 258 *num_bytes_read += original - lace_sizes_[current_lace_]; in Feed()
|
D | skip_parser.cc | 33 std::uint64_t* num_bytes_read) { in Feed() argument 36 assert(num_bytes_read != nullptr); in Feed() 38 *num_bytes_read = 0; in Feed() 52 *num_bytes_read += local_num_bytes_read; in Feed()
|
D | float_parser.cc | 44 std::uint64_t* num_bytes_read) { in Feed() argument 47 assert(num_bytes_read != nullptr); in Feed() 54 &uint64_value_, num_bytes_read); in Feed() 55 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
|
D | virtual_block_parser.cc | 32 std::uint64_t* num_bytes_read) { in Feed() argument 35 assert(num_bytes_read != nullptr); in Feed() 37 *num_bytes_read = 0; in Feed() 46 *num_bytes_read += local_num_bytes_read; in Feed()
|
D | bool_parser.h | 50 std::uint64_t* num_bytes_read) override { in Feed() argument 53 assert(num_bytes_read != nullptr); in Feed() 57 &uint_value, num_bytes_read); in Feed() 58 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
|
D | segment_parser.cc | 50 std::uint64_t* num_bytes_read) { in Feed() argument 53 assert(num_bytes_read != nullptr); in Feed() 55 *num_bytes_read = 0; in Feed() 73 const Status status = MasterParser::Feed(callback, reader, num_bytes_read); in Feed()
|
D | size_parser.cc | 26 std::uint64_t* num_bytes_read) { in Feed() argument 29 assert(num_bytes_read != nullptr); in Feed() 35 Status status = uint_parser_.Feed(callback, reader, num_bytes_read); in Feed()
|
D | int_parser.h | 71 std::uint64_t* num_bytes_read) override { in Feed() argument 74 assert(num_bytes_read != nullptr); in Feed() 77 &value_, num_bytes_read); in Feed() 78 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
|
D | unknown_parser.cc | 34 std::uint64_t* num_bytes_read) { in Feed() argument 37 assert(num_bytes_read != nullptr); in Feed() 44 *num_bytes_read = original_bytes_remaining - bytes_remaining_; in Feed()
|
D | void_parser.cc | 36 std::uint64_t* num_bytes_read) { in Feed() argument 39 assert(num_bytes_read != nullptr); in Feed() 45 *num_bytes_read = original_bytes_remaining - bytes_remaining_; in Feed()
|
D | master_parser.cc | 73 std::uint64_t* num_bytes_read) { in Feed() argument 76 assert(num_bytes_read != nullptr); in Feed() 78 *num_bytes_read = 0; in Feed() 104 *num_bytes_read += local_num_bytes_read; in Feed() 128 *num_bytes_read += local_num_bytes_read; in Feed() 143 *num_bytes_read += local_num_bytes_read; in Feed() 229 *num_bytes_read += local_num_bytes_read; in Feed()
|
D | webm_parser.cc | 44 std::uint64_t num_bytes_read; in Feed() local 56 status = id_parser_.Feed(callback, reader, &num_bytes_read); in Feed() 57 child_metadata_.header_size += num_bytes_read; in Feed() 72 status = size_parser_.Feed(callback, reader, &num_bytes_read); in Feed() 73 child_metadata_.header_size += num_bytes_read; in Feed() 162 status = child_parser_->Feed(callback, reader, &num_bytes_read); in Feed()
|
D | block_group_parser.h | 43 std::uint64_t* num_bytes_read) override { in Feed() argument 44 *num_bytes_read = 0; in Feed() 56 return MasterValueParser::Feed(callback, reader, num_bytes_read); in Feed()
|
D | byte_parser.h | 83 std::uint64_t* num_bytes_read) override { in Feed() argument 86 assert(num_bytes_read != nullptr); in Feed() 88 *num_bytes_read = 0; in Feed() 104 *num_bytes_read += local_num_bytes_read; in Feed()
|
/external/webrtc/common_audio/ |
D | wav_file.cc | 101 size_t num_bytes_read; in ReadSamples() local 105 num_bytes_read = file_.Read(samples_to_convert.data(), in ReadSamples() 107 num_samples_read = num_bytes_read / sizeof(samples_to_convert[0]); in ReadSamples() 114 num_bytes_read = file_.Read(&samples[next_chunk_start], in ReadSamples() 116 num_samples_read = num_bytes_read / sizeof(samples[0]); in ReadSamples() 118 RTC_CHECK(num_samples_read == 0 || (num_bytes_read % num_samples_read) == 0) in ReadSamples() 141 size_t num_bytes_read; in ReadSamples() local 145 num_bytes_read = file_.Read(samples_to_convert.data(), in ReadSamples() 147 num_samples_read = num_bytes_read / sizeof(samples_to_convert[0]); in ReadSamples() 155 num_bytes_read = file_.Read(&samples[next_chunk_start], in ReadSamples() [all …]
|
/external/zlib/google/ |
D | zip_reader.cc | 253 const int num_bytes_read = in ExtractCurrentEntry() local 256 if (num_bytes_read == 0) { in ExtractCurrentEntry() 259 } else if (num_bytes_read < 0) { in ExtractCurrentEntry() 262 } else if (num_bytes_read > 0) { in ExtractCurrentEntry() 264 remaining_capacity, base::checked_cast<uint64_t>(num_bytes_read)); in ExtractCurrentEntry() 267 if (remaining_capacity == base::checked_cast<uint64_t>(num_bytes_read)) { in ExtractCurrentEntry() 414 const int num_bytes_read = unzReadCurrentFile(zip_file_, in ExtractChunk() local 418 if (num_bytes_read == 0) { in ExtractChunk() 421 } else if (num_bytes_read < 0) { in ExtractChunk() 423 << "(" << num_bytes_read << ")"; in ExtractChunk() [all …]
|
/external/angle/third_party/zlib/google/ |
D | zip_reader.cc | 253 const int num_bytes_read = in ExtractCurrentEntry() local 256 if (num_bytes_read == 0) { in ExtractCurrentEntry() 259 } else if (num_bytes_read < 0) { in ExtractCurrentEntry() 262 } else if (num_bytes_read > 0) { in ExtractCurrentEntry() 264 remaining_capacity, base::checked_cast<uint64_t>(num_bytes_read)); in ExtractCurrentEntry() 267 if (remaining_capacity == base::checked_cast<uint64_t>(num_bytes_read)) { in ExtractCurrentEntry() 414 const int num_bytes_read = unzReadCurrentFile(zip_file_, in ExtractChunk() local 418 if (num_bytes_read == 0) { in ExtractChunk() 421 } else if (num_bytes_read < 0) { in ExtractChunk() 423 << "(" << num_bytes_read << ")"; in ExtractChunk() [all …]
|