Home
last modified time | relevance | path

Searched refs:num_actually_skipped (Results 1 – 11 of 11) sorted by relevance

/external/libwebm/webm_parser/test_utils/
Dlimited_reader.cc55 std::uint64_t* num_actually_skipped) { in Skip() argument
57 assert(num_actually_skipped != nullptr); in Skip()
59 *num_actually_skipped = 0; in Skip()
69 Status status = impl_->Skip(num_to_skip, num_actually_skipped); in Skip()
70 assert(*num_actually_skipped <= num_to_skip); in Skip()
72 if (status.code == Status::kOkCompleted && *num_actually_skipped < expected) { in Skip()
77 total_skip_limit_ -= *num_actually_skipped; in Skip()
81 total_read_skip_limit_ -= *num_actually_skipped; in Skip()
Dlimited_reader.h50 std::uint64_t* num_actually_skipped) override;
/external/libwebm/webm_parser/src/
Dfile_reader.cc65 std::uint64_t* num_actually_skipped) { in Skip() argument
67 assert(num_actually_skipped != nullptr); in Skip()
69 *num_actually_skipped = 0; in Skip()
82 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip()
104 *num_actually_skipped += static_cast<std::uint64_t>(actual); in Skip()
109 if (*num_actually_skipped == 0) { in Skip()
Distream_reader.cc73 std::uint64_t* num_actually_skipped) { in Skip() argument
75 assert(num_actually_skipped != nullptr); in Skip()
77 *num_actually_skipped = 0; in Skip()
93 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip()
115 *num_actually_skipped += static_cast<std::uint64_t>(actual); in Skip()
120 if (*num_actually_skipped == 0) { in Skip()
Dbuffer_reader.cc82 std::uint64_t* num_actually_skipped) { in Skip() argument
84 assert(num_actually_skipped != nullptr); in Skip()
86 *num_actually_skipped = 0; in Skip()
98 *num_actually_skipped = num_to_skip; in Skip()
101 if (*num_actually_skipped != expected) { in Skip()
Dcallback.cc147 std::uint64_t num_actually_skipped; in Skip() local
148 status = reader->Skip(*bytes_remaining, &num_actually_skipped); in Skip()
149 *bytes_remaining -= num_actually_skipped; in Skip()
/external/libwebm/webm_parser/tests/
Dwebm_parser_test.cc165 std::uint64_t num_actually_skipped = 0; in TEST_F() local
166 reader.Skip(num_to_skip, &num_actually_skipped); in TEST_F()
167 EXPECT_EQ(num_to_skip, num_actually_skipped); in TEST_F()
199 std::uint64_t num_actually_skipped = 0; in TEST_F() local
200 reader.Skip(num_to_skip, &num_actually_skipped); in TEST_F()
201 EXPECT_EQ(num_to_skip, num_actually_skipped); in TEST_F()
237 std::uint64_t num_actually_skipped = 0; in TEST_F() local
238 reader.Skip(num_to_skip, &num_actually_skipped); in TEST_F()
239 EXPECT_EQ(num_to_skip, num_actually_skipped); in TEST_F()
/external/libwebm/webm_parser/include/webm/
Dreader.h76 std::uint64_t* num_actually_skipped) = 0;
Dfile_reader.h68 std::uint64_t* num_actually_skipped) override;
Distream_reader.h71 std::uint64_t* num_actually_skipped) override;
Dbuffer_reader.h115 std::uint64_t* num_actually_skipped) override;