Home
last modified time | relevance | path

Searched refs:num_bytes_read (Results 1 – 25 of 64) sorted by relevance

123

/external/libwebm/webm_parser/test_utils/
Dparser_test.h48 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()
Delement_parser_test.h50 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/
Dblock_header_parser.cc22 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()
Did_parser.cc22 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()
Dvar_int_parser.cc25 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()
Dparser_utils.cc22 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()
Did_element_parser.cc37 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()
Ddate_parser.cc60 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()
Dblock_parser.cc79 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()
Dskip_parser.cc33 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()
Dfloat_parser.cc44 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()
Dvirtual_block_parser.cc32 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()
Dbool_parser.h50 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()
Dsegment_parser.cc50 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()
Dsize_parser.cc26 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()
Dint_parser.h71 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()
Dunknown_parser.cc34 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()
Dvoid_parser.cc36 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()
Dmaster_parser.cc73 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()
Dwebm_parser.cc44 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()
Dblock_group_parser.h43 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()
Dbyte_parser.h83 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/
Dwav_file.cc101 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/
Dzip_reader.cc253 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/
Dzip_reader.cc253 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 …]

123