/external/openthread/tests/scripts/thread-cert/ |
D | test_crypto.py | 101 message_info = common.MessageInfo() 102 message_info.source_mac_address = common.MacAddress.from_eui64( 105 message_info.source_ipv6 = "fe80::235:cc94:d77a:07e8" 106 message_info.destination_ipv6 = "ff02::2" 108 message_info.aux_sec_hdr = net_crypto.AuxiliarySecurityHeader(key_id_mode=2, 112 message_info.aux_sec_hdr_bytes = convert_aux_sec_hdr_to_bytearray(message_info.aux_sec_hdr) 124 mle_msg = net_crypto_engine.decrypt(data, mic, message_info) 135 message_info = common.MessageInfo() 136 message_info.source_mac_address = common.MacAddress.from_eui64( 139 message_info.source_ipv6 = "fe80::235:cc94:d77a:07e8" [all …]
|
D | net_crypto.py | 54 def encrypt(self, data, message_info): argument 65 …auth_data = self._crypto_material_creator.create_key_and_nonce_and_authenticated_data(message_info) 72 def decrypt(self, enc_data, mic, message_info): argument 84 …auth_data = self._crypto_material_creator.create_key_and_nonce_and_authenticated_data(message_info) 125 def create_key_and_nonce_and_authenticated_data(self, message_info): argument 175 def create_key_and_nonce_and_authenticated_data(self, message_info): argument 176 _, mac_key = self._generate_keys(message_info.aux_sec_hdr.sequence_counter) 179 message_info.source_mac_address, 180 message_info.aux_sec_hdr.frame_counter, 181 message_info.aux_sec_hdr.security_level, [all …]
|
D | mesh_cop.py | 135 def parse(self, data, message_info): argument 151 def parse(self, data, message_info): argument 174 def parse(self, data, message_info): argument 198 def parse(self, data, message_info): argument 199 len = message_info.length 213 def parse(self, data, message_info): argument 226 def parse(self, data, message_info): argument 239 def parse(self, data, message_info): argument 252 def parse(self, data, message_info): argument 281 def parse(self, data, message_info): argument [all …]
|
D | test_lowpan.py | 280 message_info = common.MessageInfo() 281 message_info.source_mac_address = common.MacAddress.from_eui64( 283 message_info.destination_mac_address = common.MacAddress.from_eui64( 292 actual_ipv6_packet = parser.parse(io.BytesIO(lowpan_packet), message_info) 311 message_info = common.MessageInfo() 312 message_info.source_mac_address = common.MacAddress.from_eui64( 314 message_info.destination_mac_address = common.MacAddress.from_eui64( 320 actual_ipv6_packet = parser.parse(io.BytesIO(lowpan_packet), message_info) 339 message_info = common.MessageInfo() 340 message_info.source_mac_address = common.MacAddress.from_eui64( [all …]
|
D | test_common.py | 59 message_info = common.MessageInfo() 60 message_info.source_ipv6 = source_ipv6 63 actual_source_ipv6 = message_info.source_ipv6 72 message_info = common.MessageInfo() 73 message_info.destination_ipv6 = destination_ipv6 76 actual_destination_ipv6 = message_info.destination_ipv6 88 message_info = common.MessageInfo() 89 message_info.source_mac_address = source_mac_address 92 actual_source_mac_address = message_info.source_mac_address 101 message_info = common.MessageInfo() [all …]
|
D | mle.py | 133 def parse(self, data, message_info): argument 175 def parse(self, data, message_info): argument 204 def parse(self, data, message_info): argument 229 def parse(self, data, message_info): argument 254 def parse(self, data, message_info): argument 279 def parse(self, data, message_info): argument 304 def parse(self, data, message_info): argument 339 def parse(self, data, message_info): argument 383 def parse(self, data, message_info): argument 390 link_quality_and_route_data.append(self._lqrd_factory.parse(data, message_info)) [all …]
|
D | network_data.py | 63 def parse(self, data, message_info): argument 77 message_info.stable = stable 78 tlv = factory.parse(io.BytesIO(value), message_info) 110 def parse(self, data, message_info): argument 124 def parse(self, data, message_info): argument 128 route = self._route_factory.parse(data, message_info) 160 def parse(self, data, message_info): argument 161 routes = self._routes_factory.parse(data, message_info) 163 return HasRoute(routes, message_info.stable) 222 def parse(self, data, message_info): argument [all …]
|
D | lowpan.py | 218 def parse(self, data, next_header, message_info): argument 223 options = self._hop_by_hop_options_factory.parse(io.BytesIO(ext_header_data), message_info) 227 message_info.payload_length += len(ext_header) 255 def parse(self, data, message_info): argument 262 return factory.parse(data, next_header, message_info) 305 def parse(self, data, message_info): argument 748 def parse(self, data, message_info): argument 759 src_address = self._decompress_src_addr(iphc, message_info.source_mac_address, sci, data) 761 … dst_address = self._decompress_dst_addr(iphc, message_info.destination_mac_address, dci, data) 800 def decompress(self, data, message_info): argument [all …]
|
D | ipv6.py | 99 def parse(self, data, message_info): argument 903 def _parse_extension_headers(self, data, next_header, message_info): argument 909 extension_header = factory.parse(data, message_info) 917 def _parse_upper_layer_protocol(self, data, next_header, message_info): argument 920 return factory.parse(data, message_info) 922 def parse(self, data, message_info): argument 925 message_info.source_ipv6 = ipv6_header.source_address 926 message_info.destination_ipv6 = ipv6_header.destination_address 928 …der, extension_headers = self._parse_extension_headers(data, ipv6_header.next_header, message_info) 930 upper_layer_protocol = self._parse_upper_layer_protocol(data, next_header, message_info) [all …]
|
D | network_diag.py | 78 def parse(self, data, message_info): argument 80 while data.tell() < message_info.length: 145 def parse(self, data, message_info): argument 169 def parse(self, data, message_info): argument 193 def parse(self, data, message_info): argument 245 def parse(self, data, message_info): argument 247 while message_info.length > 0: 249 message_info.length -= 2 254 mode = mle.ModeFactory().parse(data, message_info) 255 message_info.length -= 1 [all …]
|
D | network_layer.py | 81 def parse(self, data, message_info): argument 106 def parse(self, data, message_info): argument 131 def parse(self, data, message_info): argument 156 def parse(self, data, message_info): argument 181 def parse(self, data, message_info): argument 206 def parse(self, data, message_info): argument 236 def parse(self, data, message_info): argument 262 def parse(self, data, message_info): argument 275 def parse(self, data, message_info): argument 288 def parse(self, data, message_info): argument [all …]
|
D | tlvs_parsing.py | 48 def parse(self, data, message_info): argument 64 def parse(self, data, message_info): argument 75 message_info.length = length 76 tlv = factory.parse(io.BytesIO(value), message_info)
|
D | mac802154.py | 327 message_info = MessageInfo() 328 message_info.aux_sec_hdr = aux_sec_header 329 message_info.aux_sec_hdr_bytes = aux_sec_hdr_bytes 330 message_info.extra_open_fields = extra_open_fields 331 message_info.mhr_bytes = mhr_bytes 342 message_info.open_payload_length = 1 345 … message_info.source_mac_address = DeviceDescriptors.get_extended(src_address).mac_address 347 message_info.source_mac_address = src_address.mac_address 350 …payload = MacPayload(bytearray(open_payload) + sec_obj.decrypt(private_payload, mic, message_info))
|
D | test_ipv6.py | 660 message_info = any_message_info() 661 message_info.source_ipv6 = "ff::" 662 message_info.destination_address = "ff::" 667 factory.parse(io.BytesIO(ipv6_packet_data), message_info) 670 self.assertEqual("fd00:1234:4555::ff:fe00:1800", message_info.source_ipv6.compressed) 671 self.assertEqual("ff03::1", message_info.destination_ipv6.compressed) 1049 message_info = common.MessageInfo() 1050 message_info.src_port = any_port() 1051 message_info.dst_port = any_port() 1054 src_dst_port_based_payload_factories={message_info.src_port: BytesPayloadFactory()}) [all …]
|
D | test_network_data.py | 388 message_info = common.MessageInfo() 389 message_info.stable = stable 392 actual_has_route = factory.parse(io.BytesIO(data), message_info) 524 message_info = common.MessageInfo() 527 actual_prefix = factory.parse(io.BytesIO(data), message_info) 790 message_info = common.MessageInfo() 791 message_info.stable = stable 794 actual_border_router = factory.parse(io.BytesIO(data), message_info) 874 message_info = common.MessageInfo() 875 message_info.stable = stable [all …]
|
D | coap.py | 127 def parse(self, data, message_info): argument 282 message_info, argument 287 self._message_info = message_info 392 def _parse_initial_byte(self, data, message_info): argument 401 def parse(self, data, message_info): argument 402 version, _type, token_length = self._parse_initial_byte(data, message_info) 408 options = self._options_factory.parse(data, message_info) 427 message_info,
|
D | test_mle.py | 1710 message_info = common.MessageInfo() 1711 message_info.source_ipv6 = "fe80::10cf:d38b:3b61:5558" 1712 message_info.destination_ipv6 = "fe80::383e:9eed:7a01:36a5" 1714 message_info.source_mac_address = common.MacAddress.from_eui64( 1716 message_info.destination_mac_address = common.MacAddress.from_eui64( 1729 actual_mle_message = factory.parse(io.BytesIO(data), message_info) 1761 message_info = common.MessageInfo() 1762 message_info.source_ipv6 = "fe80::241c:b11b:7b62:caf1" 1763 message_info.destination_ipv6 = "ff02::1" 1765 message_info.source_mac_address = common.MacAddress.from_eui64( [all …]
|
D | message.py | 591 message_info = common.MessageInfo() 592 message_info.source_mac_address = message.mac_header.src_address 593 message_info.destination_mac_address = message.mac_header.dest_address 598 ipv6_packet = self._lowpan_parser.parse(lowpan_payload, message_info)
|
D | test_network_layer.py | 477 def parse(self, data, message_info): argument
|
D | test_coap.py | 520 def parse(self, data, message_info): argument
|
D | dtls.py | 619 def parse(self, data, message_info): argument
|
/external/protobuf/src/google/protobuf/ |
D | extension_set_inl.h | 179 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 182 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 192 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 195 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 234 *extension.message_info.prototype, in ParseMessageSetItemTmpl() 237 *extension.message_info.prototype, in ParseMessageSetItemTmpl()
|
D | extension_set_heavy.cc | 290 output->message_info.prototype = in Find() 292 GOOGLE_CHECK(output->message_info.prototype != nullptr) in Find()
|
/external/cronet/third_party/protobuf/src/google/protobuf/ |
D | extension_set_inl.h | 179 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 182 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 192 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 195 *extension.message_info.prototype, in ParseFieldWithExtensionInfo() 234 *extension.message_info.prototype, in ParseMessageSetItemTmpl() 237 *extension.message_info.prototype, in ParseMessageSetItemTmpl()
|
D | extension_set_heavy.cc | 291 output->message_info.prototype = in Find() 293 GOOGLE_CHECK(output->message_info.prototype != nullptr) in Find()
|