Searched refs:LimitedReader (Results 1 – 7 of 7) sorted by relevance
/external/libwebm/webm_parser/test_utils/ |
D | limited_reader.h | 27 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);
|
D | limited_reader.cc | 12 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()
|
D | parser_test.h | 65 webm::LimitedReader limited_reader( in IncrementalParseAndVerify()
|
D | element_parser_test.h | 64 webm::LimitedReader limited_reader( in IncrementalParseAndVerify()
|
/external/libwebm/webm_parser/tests/ |
D | limited_reader_test.cc | 21 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()
|
D | parser_utils_test.cc | 22 using webm::LimitedReader; 31 LimitedReader reader( in TEST_F() 65 LimitedReader reader( in TEST_F()
|
D | master_parser_test.cc | 37 using webm::LimitedReader;
|