Home
last modified time | relevance | path

Searched refs:num_bytes_remaining_ (Results 1 – 14 of 14) sorted by relevance

/external/libwebm/webm_parser/src/
Dbool_parser.h43 size_ = num_bytes_remaining_ = static_cast<int>(metadata.size); in Init()
56 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
58 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
61 if ((num_bytes_remaining_ != 0 && uint_value != 0) || uint_value > 1) { in Feed()
75 assert(num_bytes_remaining_ == 0); in value()
82 assert(num_bytes_remaining_ == 0); in mutable_value()
89 int num_bytes_remaining_ = -1; variable
Did_parser.cc26 assert(num_bytes_remaining_ != 0); in Feed()
41 if (num_bytes_remaining_ == -1) { in Feed()
56 num_bytes_remaining_ = CountLeadingZeros(first_byte); in Feed()
62 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
65 num_bytes_remaining_ -= static_cast<int>(local_num_bytes_read); in Feed()
71 assert(num_bytes_remaining_ == 0); in id()
Dskip_parser.cc27 num_bytes_remaining_ = metadata.size; in Init()
40 if (num_bytes_remaining_ == 0) { in Feed()
47 status = reader->Skip(num_bytes_remaining_, &local_num_bytes_read); in Feed()
49 local_num_bytes_read == num_bytes_remaining_) || in Feed()
50 (status.ok() && local_num_bytes_read < num_bytes_remaining_) || in Feed()
53 num_bytes_remaining_ -= local_num_bytes_read; in Feed()
Dint_parser.h59 size_ = num_bytes_remaining_ = static_cast<int>(metadata.size); in Init()
76 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
78 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
83 if (std::is_signed<T>::value && num_bytes_remaining_ == 0 && size_ > 0) { in Feed()
98 assert(num_bytes_remaining_ == 0); in value()
105 assert(num_bytes_remaining_ == 0); in mutable_value()
112 int num_bytes_remaining_ = -1; variable
Dvar_int_parser.cc29 assert(num_bytes_remaining_ != 0); in Feed()
33 if (num_bytes_remaining_ == -1) { in Feed()
48 num_bytes_remaining_ = total_data_bytes_; in Feed()
54 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
57 num_bytes_remaining_ -= static_cast<int>(local_num_bytes_read); in Feed()
Dfloat_parser.cc37 num_bytes_remaining_ = static_cast<int>(metadata.size); in Init()
49 if (num_bytes_remaining_ == 0) { in Feed()
53 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
55 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
57 if (num_bytes_remaining_ == 0) { in Feed()
Dvar_int_parser.h36 assert(num_bytes_remaining_ == 0); in value()
44 assert(num_bytes_remaining_ == 0); in encoded_length()
49 int num_bytes_remaining_ = -1;
Did_element_parser.h38 assert(num_bytes_remaining_ == 0); in value()
45 assert(num_bytes_remaining_ == 0); in mutable_value()
51 int num_bytes_remaining_ = -1; variable
Dfloat_parser.h44 assert(num_bytes_remaining_ == 0); in value()
51 assert(num_bytes_remaining_ == 0); in mutable_value()
59 int num_bytes_remaining_ = -1; variable
Did_element_parser.cc30 num_bytes_remaining_ = static_cast<int>(metadata.size); in Init()
42 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
44 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
Ddate_parser.h45 assert(num_bytes_remaining_ == 0); in value()
52 assert(num_bytes_remaining_ == 0); in mutable_value()
59 int num_bytes_remaining_ = -1; variable
Ddate_parser.cc35 num_bytes_remaining_ = static_cast<int>(metadata.size); in Init()
65 const Status status = AccumulateIntegerBytes(num_bytes_remaining_, reader, in Feed()
67 num_bytes_remaining_ -= static_cast<int>(*num_bytes_read); in Feed()
Dskip_parser.h30 std::uint64_t num_bytes_remaining_;
Did_parser.h39 int num_bytes_remaining_ = -1;