Lines Matching defs:length
126 // byte string carries its size (byte length).
136 // See RFC 7049 Section 2.2.1, indefinite length arrays / maps have additional
143 // length maps / arrays.
440 // bit wide length, plus a 32 bit length for that string.
690 auto length = static_cast<size_t>(token_start_internal_value_);
691 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length);
696 auto length = static_cast<size_t>(token_start_internal_value_);
697 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length);
702 auto length = static_cast<size_t>(token_start_internal_value_);
703 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length);
708 auto length = static_cast<size_t>(token_start_internal_value_);
709 return bytes_.subspan(status_.pos + kEncodedEnvelopeHeaderSize, length);
729 // when adding lengths (array / string length / etc.); we do this by
803 // The envelope must be a byte string with 32 bit length.
808 // Read the length of the byte string.
1011 // |bytes| must start with the indefinite length array byte, so basically,
1012 // ParseArray may only be called after an indefinite length array has been
1039 // |bytes| must start with the indefinite length array byte, so basically,
1040 // ParseArray may only be called after an indefinite length array has been
1541 void Parse(const Char* start, size_t length) {
1543 const Char* end = start + length;
1554 bool CharsToDouble(const uint16_t* chars, size_t length, double* result) {
1556 buffer.reserve(length + 1);
1557 for (size_t ii = 0; ii < length; ++ii) {
1566 bool CharsToDouble(const uint8_t* chars, size_t length, double* result) {
1567 std::string buffer(reinterpret_cast<const char*>(chars), length);
1591 int length = 0;
1594 ++length;
1596 if (!length)
1598 if (!allow_leading_zeros && length > 1 && has_leading_zero)