OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:byte_str
(Results
1 - 6
of
6
) sorted by null
/external/nanopb-c/generator/google/protobuf/
reflection.py
152
def ParseMessage(descriptor,
byte_str
):
157
byte_str
: Serialized protocol buffer byte string
168
new_msg.ParseFromString(
byte_str
)
/external/protobuf/python/google/protobuf/
reflection.py
156
def ParseMessage(descriptor,
byte_str
):
161
byte_str
: Serialized protocol buffer byte string
168
new_msg.ParseFromString(
byte_str
)
/external/autotest/client/cros/
dhcp_unittest.py
39
def bin2hex(
byte_str
, justification=20):
44
chars = ["x" + (hex(ord(c))[2:].zfill(2)) for c in
byte_str
]
54
discovery_packet = dhcp_packet.DhcpPacket(
byte_str
=binary_discovery_packet)
132
packet = dhcp_packet.DhcpPacket(
byte_str
=data)
dhcp_packet.py
630
def __init__(self,
byte_str
=None):
651
if
byte_str
is None:
653
if len(
byte_str
) < OPTIONS_START_OFFSET + 1:
657
self._fields[field] = field.unpack(
byte_str
[field.offset :
662
while offset < len(
byte_str
) and ord(
byte_str
[offset]) != OPTION_END:
663
data_type = ord(
byte_str
[offset])
667
data_length = ord(
byte_str
[offset])
669
data =
byte_str
[offset: offset + data_length]
dhcp_test_server.py
241
packet = dhcp_packet.DhcpPacket(
byte_str
=data)
/external/protobuf/python/google/protobuf/internal/
decoder.py
485
def _ConvertToUnicode(
byte_str
):
487
return local_unicode(
byte_str
, 'utf-8')
Completed in 4044 milliseconds