Home
last modified time | relevance | path

Searched refs:LimitedReader (Results 1 – 7 of 7) sorted by relevance

/external/libwebm/webm_parser/test_utils/
Dlimited_reader.h27 class LimitedReader : public Reader {
29 LimitedReader() = delete;
30 LimitedReader(const LimitedReader&) = delete;
31 LimitedReader& operator=(const LimitedReader&) = delete;
33 LimitedReader(LimitedReader&&) = default;
34 LimitedReader& operator=(LimitedReader&&) = default;
36 explicit LimitedReader(std::unique_ptr<Reader> impl);
Dlimited_reader.cc12 LimitedReader::LimitedReader(std::unique_ptr<Reader> impl) in LimitedReader() function in webm::LimitedReader
15 Status LimitedReader::Read(std::size_t num_to_read, std::uint8_t* buffer, in Read()
54 Status LimitedReader::Skip(std::uint64_t num_to_skip, in Skip()
87 std::uint64_t LimitedReader::Position() const { return impl_->Position(); } in Position()
89 void LimitedReader::set_return_status_when_blocked(Status status) { in set_return_status_when_blocked()
93 void LimitedReader::set_single_read_limit(std::size_t max_num_bytes) { in set_single_read_limit()
97 void LimitedReader::set_single_skip_limit(std::uint64_t max_num_bytes) { in set_single_skip_limit()
101 void LimitedReader::set_total_read_limit(std::size_t max_num_bytes) { in set_total_read_limit()
105 void LimitedReader::set_total_skip_limit(std::uint64_t max_num_bytes) { in set_total_skip_limit()
109 void LimitedReader::set_total_read_skip_limit(std::uint64_t max_num_bytes) { in set_total_read_skip_limit()
Dparser_test.h65 webm::LimitedReader limited_reader( in IncrementalParseAndVerify()
Delement_parser_test.h64 webm::LimitedReader limited_reader( in IncrementalParseAndVerify()
/external/libwebm/webm_parser/tests/
Dlimited_reader_test.cc21 using webm::LimitedReader;
31 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
44 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
55 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
76 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
99 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
120 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
148 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
174 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
203 LimitedReader reader(std::unique_ptr<Reader>(new BufferReader({1, 2, 3, 4}))); in TEST_F()
Dparser_utils_test.cc22 using webm::LimitedReader;
31 LimitedReader reader( in TEST_F()
65 LimitedReader reader( in TEST_F()
Dmaster_parser_test.cc37 using webm::LimitedReader;