Searched refs:byte_str (Results 1 – 13 of 13) sorted by relevance
/external/autotest/client/cros/ |
D | dhcp_unittest.py | 51 def bin2hex(byte_str, justification=20): argument 56 chars = ["x" + (hex(ord(c))[2:].zfill(2)) for c in byte_str] 66 discovery_packet = dhcp_packet.DhcpPacket(byte_str=binary_discovery_packet) 133 packet = dhcp_packet.DhcpPacket(byte_str=byte_string) 158 packet = dhcp_packet.DhcpPacket(byte_str=data)
|
D | dhcp_packet.py | 677 def __init__(self, byte_str=None): argument 698 if byte_str is None: 700 if len(byte_str) < OPTIONS_START_OFFSET + 1: 704 self._fields[field] = field.unpack(byte_str[field.offset : 709 while offset < len(byte_str) and get_ord( 710 byte_str[offset]) != OPTION_END: 711 data_type = get_ord(byte_str[offset]) 715 data_length = get_ord(byte_str[offset]) 717 data = byte_str[offset: offset + data_length]
|
D | dhcp_test_server.py | 295 packet = dhcp_packet.DhcpPacket(byte_str=data)
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | grpc_gevent.pyx.pxi | 39 byte_str = _decode(<bytes>res_str[:str_len]) 40 if byte_str.endswith(':' + str(port)): 41 byte_str = byte_str[:(0 - len(str(port)) - 1)] 42 byte_str = byte_str.lstrip('[') 43 byte_str = byte_str.rstrip(']') 44 byte_str = '{}'.format(byte_str) 45 return byte_str, port
|
/external/protobuf/python/google/protobuf/ |
D | reflection.py | 62 def ParseMessage(descriptor, byte_str): argument 77 new_msg.ParseFromString(byte_str)
|
/external/cronet/third_party/protobuf/python/google/protobuf/ |
D | reflection.py | 62 def ParseMessage(descriptor, byte_str): argument 77 new_msg.ParseFromString(byte_str)
|
/external/vulkan-validation-layers/layers/ |
D | shader_validation.h | 288 char byte_str[3] = {}; in Sha1ToVkUuid() local 290 byte_str[0] = padded_sha1_str[2 * i + 0]; in Sha1ToVkUuid() 291 byte_str[1] = padded_sha1_str[2 * i + 1]; in Sha1ToVkUuid() 292 uuid[i] = static_cast<uint8_t>(strtol(byte_str, NULL, 16)); in Sha1ToVkUuid()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_text.cpp | 332 ByteString byte_str = str.ToUTF16LE(); in FPDFText_GetText() local 333 size_t byte_str_len = byte_str.GetLength(); in FPDFText_GetText() 339 memcpy(result, byte_str.c_str(), byte_str_len); in FPDFText_GetText()
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 551 byte_str = memview.tobytes() 553 value = str(byte_str, 'utf-8')
|
/external/pigweed/pw_software_update/py/pw_software_update/ |
D | generate_test_bundle.py | 92 byte_str = ''.join([f'std::byte{{0x{b:02x}}},' for b in data])
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cff1-table.hh | 1354 hb_bytes_t byte_str = cff1_std_strings (sid); in get_glyph_name() local 1355 str = byte_str.arrayZ; in get_glyph_name() 1356 str_len = byte_str.length; in get_glyph_name()
|
/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 551 byte_str = memview.tobytes() 553 value = str(byte_str, 'utf-8')
|
/external/pdfium/fxjs/ |
D | cjs_field.cpp | 751 ByteString byte_str = pRuntime->ToByteString(vp); in set_border_style() local 753 AddDelay_String(FP_BORDERSTYLE, byte_str); in set_border_style() 756 byte_str); in set_border_style()
|