Home
last modified time | relevance | path

Searched refs:byte_length (Results 1 – 10 of 10) sorted by relevance

/external/libtextclassifier/native/utils/utf8/
Dunicodetext.cc85 void UnicodeText::Repr::append(const char* bytes, int byte_length) { in append() argument
86 reserve(size_ + byte_length); in append()
87 memcpy(data_ + size_, bytes, byte_length); in append()
88 size_ += byte_length; in append()
120 UnicodeText& UnicodeText::PointToUTF8(const char* buffer, int byte_length) { in PointToUTF8() argument
121 repr_.PointTo(buffer, byte_length); in PointToUTF8()
125 UnicodeText& UnicodeText::CopyUTF8(const char* buffer, int byte_length) { in CopyUTF8() argument
126 repr_.Copy(buffer, byte_length); in CopyUTF8()
Dunicodetext.h171 UnicodeText& PointToUTF8(const char* utf8_buffer, int byte_length);
172 UnicodeText& CopyUTF8(const char* utf8_buffer, int byte_length);
215 void append(const char* bytes, int byte_length);
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Dec.py371 byte_length = (self.curve.key_size + 7) // 8
373 b'\x04' + utils.int_to_bytes(self.x, byte_length) +
374 utils.int_to_bytes(self.y, byte_length)
392 byte_length = (curve.key_size + 7) // 8
393 if len(data) == 2 * byte_length + 1:
394 x = utils.int_from_bytes(data[1:byte_length + 1], 'big')
395 y = utils.int_from_bytes(data[byte_length + 1:], 'big')
/external/puffin/src/
Dutils.cc39 uint64_t byte_length; member
52 byte_length = byte_end_offset - byte_offset; in ExtentData()
54 byte_length = 0; in ExtentData()
64 std::min(byte_length, other.byte_length)); in Compare()
/external/tcpdump/
Dprint-eigrp.c215 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; in eigrp_print() local
354 byte_length = (bit_length + 7) / 8; /* variable length encoding */ in eigrp_print()
356 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_int->destination,byte_length); in eigrp_print()
388 byte_length = (bit_length + 7) / 8; /* variable length encoding */ in eigrp_print()
390 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_ext->destination,byte_length); in eigrp_print()
Dprint-isoclns.c2057 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local
2092 byte_length = (bit_length + 7) / 8; /* prefix has variable length encoding */ in isis_print_extd_ip_reach()
2094 if (!ND_TTEST2(*tptr, byte_length)) in isis_print_extd_ip_reach()
2097 memcpy(prefix,tptr,byte_length); /* copy as much as is stored in the TLV */ in isis_print_extd_ip_reach()
2098 tptr+=byte_length; in isis_print_extd_ip_reach()
2099 processed+=byte_length; in isis_print_extd_ip_reach()
/external/ukey2/src/main/cpp/src/securegcm/
Dukey2_handshake.cc191 std::unique_ptr<string> UKey2Handshake::GetVerificationString(int byte_length) { in GetVerificationString() argument
192 if (byte_length < 1 || byte_length > 32) { in GetVerificationString()
/external/ukey2/src/main/cpp/include/securegcm/
Dukey2_handshake.h128 std::unique_ptr<string> GetVerificationString(int byte_length);
/external/google-breakpad/src/processor/
Dminidump.cc338 size_t byte_length = word_length * sizeof(utf16_data[0]); in ConvertUTF16BufferToUTF8String() local
340 memcpy(&utf16_vector[0], &utf16_data[0], byte_length); in ConvertUTF16BufferToUTF8String()
/external/python/cpython3/Doc/library/
Dstdtypes.rst3870 ``[byte_length//new_itemsize]``, which means that the result view