Home
last modified time | relevance | path

Searched refs:length_bytes (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/conformance/
Dconformance_python.py92 length_bytes = sys.stdin.read(4)
93 if len(length_bytes) == 0:
95 elif len(length_bytes) != 4:
101 length = struct.unpack("<I", length_bytes)[0]
Dconformance_ruby.rb88 length_bytes = STDIN.read(4)
89 return false if length_bytes.nil?
91 length = length_bytes.unpack('V').first
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c389 uint8_t length_bytes[MAX_HASH_BIT_COUNT_BYTES]; in EVP_tls_cbc_digest_record() local
390 OPENSSL_memset(length_bytes, 0, md_length_size - 4); in EVP_tls_cbc_digest_record()
391 length_bytes[md_length_size - 4] = (uint8_t)(bits >> 24); in EVP_tls_cbc_digest_record()
392 length_bytes[md_length_size - 3] = (uint8_t)(bits >> 16); in EVP_tls_cbc_digest_record()
393 length_bytes[md_length_size - 2] = (uint8_t)(bits >> 8); in EVP_tls_cbc_digest_record()
394 length_bytes[md_length_size - 1] = (uint8_t)bits; in EVP_tls_cbc_digest_record()
449 is_block_b, length_bytes[j - (md_block_size - md_length_size)], b); in EVP_tls_cbc_digest_record()
De_chacha20poly1305.c117 uint8_t length_bytes[8]; in poly1305_update_length() local
119 for (unsigned i = 0; i < sizeof(length_bytes); i++) { in poly1305_update_length()
120 length_bytes[i] = data_len; in poly1305_update_length()
124 CRYPTO_poly1305_update(poly1305, length_bytes, sizeof(length_bytes)); in poly1305_update_length()
/external/elfutils/libdw/
Ddwarf_getaranges.c114 unsigned int length_bytes = 4; in dwarf_getaranges() local
121 length_bytes = 8; in dwarf_getaranges()
148 length_bytes, &offset, IDX_debug_info, 4)) in dwarf_getaranges()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp8.cc604 size_t length_bytes = PictureIdLength(); in PayloadDescriptorExtraLength() local
606 ++length_bytes; in PayloadDescriptorExtraLength()
608 ++length_bytes; in PayloadDescriptorExtraLength()
609 if (length_bytes > 0) in PayloadDescriptorExtraLength()
610 ++length_bytes; // Include the extension field. in PayloadDescriptorExtraLength()
611 return length_bytes; in PayloadDescriptorExtraLength()
/external/libtextclassifier/smartselect/
Dtoken-feature-extractor.cc214 const int length_bytes = in ExtractCharactergramFeaturesUnicode() local
217 StringPiece(it_chargram_start.utf8_data(), length_bytes))); in ExtractCharactergramFeaturesUnicode()
/external/Microsoft-GSL/tests/
Dspan_tests.cpp1216 CHECK(bs.length() == s.length_bytes()); in SUITE()
1233 CHECK(bs.length() == s.length_bytes()); in SUITE()
1248 CHECK(bs.length() == s.length_bytes()); in SUITE()
1266 CHECK(bs.length() == s.length_bytes()); in SUITE()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter_unittest.cc562 size_t length_bytes = expected_size_ms[i] * bytes_per_ms_; in TEST_P() local
565 VerifyPacket((*it), length_bytes, kPayloadType, kSequenceNumber, in TEST_P()
/external/Microsoft-GSL/gsl/
Dstring_span417 constexpr index_type length_bytes() const noexcept { return span_.length_bytes(); }
Dspan496 constexpr index_type length_bytes() const noexcept { return size_bytes(); }
Dmulti_span1457 constexpr size_type length_bytes() const noexcept { return this->size_bytes(); }
/external/elfutils/src/
Dreadelf.c4807 unsigned int length_bytes = 4; in print_debug_aranges_section() local
4813 length_bytes = 8; in print_debug_aranges_section()
4838 if (readp + length_bytes > readendp) in print_debug_aranges_section()
4840 if (length_bytes == 8) in print_debug_aranges_section()