/third_party/python/Lib/test/test_asyncio/ |
H A D | test_sock_lowlevel.py | 523 for family, type, proto, cname, address in infos: 525 sock = socket.socket(family=family, type=type, proto=proto)
|
H A D | test_streams.py | 966 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 967 with self.subTest(pickle_protocol=proto): 968 e2 = pickle.loads(pickle.dumps(e, protocol=proto)) 975 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 976 with self.subTest(pickle_protocol=proto): 977 e2 = pickle.loads(pickle.dumps(e, protocol=proto))
|
/third_party/python/Lib/test/ |
H A D | test_selectors.py | 29 def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): 30 with socket.socket(family, type, proto) as l: 33 c = socket.socket(family, type, proto)
|
H A D | test_zlib.py | 746 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 748 pickle.dumps(zlib.compressobj(zlib.Z_BEST_COMPRESSION), proto) 751 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 753 pickle.dumps(zlib.decompressobj(), proto)
|
H A D | test_random.py | 385 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 386 state = pickle.dumps(self.gen, proto) 461 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 462 self.assertRaises(NotImplementedError, pickle.dumps, self.gen, proto) 583 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 585 self.assertRaises(TypeError, pickle.dumps, r, proto)
|
H A D | audiotests.py | 48 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 49 dump = pickle.dumps(params, proto)
|
H A D | seq_tests.py | 424 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 425 lst2 = pickle.loads(pickle.dumps(lst, proto))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ibss_rsn.c | 62 static int supp_ether_send(void *ctx, const u8 *dest, u16 proto, const u8 *buf, in supp_ether_send() argument 68 wpa_printf(MSG_DEBUG, "SUPP: %s(dest=" MACSTR " proto=0x%04x " in supp_ether_send() 70 __func__, MAC2STR(dest), proto, (unsigned long) len); in supp_ether_send() 73 return l2_packet_send(wpa_s->l2, dest, proto, buf, len); in supp_ether_send()
|
H A D | wpa_supplicant.c | 1254 int sel, proto; in wpa_supplicant_set_suites() local 1264 if (bss_rsn && (ssid->proto & WPA_PROTO_RSN) && in wpa_supplicant_set_suites() 1269 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites() 1270 } else if (bss_wpa && (ssid->proto & WPA_PROTO_WPA) && in wpa_supplicant_set_suites() 1276 proto = WPA_PROTO_WPA; in wpa_supplicant_set_suites() 1278 } else if (bss_osen && (ssid->proto & WPA_PROTO_OSEN) && in wpa_supplicant_set_suites() 1284 proto = WPA_PROTO_OSEN; in wpa_supplicant_set_suites() 1285 } else if (bss_rsn && (ssid->proto & WPA_PROTO_OSEN) && in wpa_supplicant_set_suites() 1291 proto = WPA_PROTO_RSN; in wpa_supplicant_set_suites() 1296 "WPA: ssid proto in wpa_supplicant_set_suites() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_common.h | 491 int proto; member 534 const char * wpa_key_mgmt_txt(int key_mgmt, int proto); 695 u32 wpa_cipher_to_suite(int proto, int cipher);
|
/third_party/libcoap/examples/ |
H A D | coap-server.c | 885 coap_proto_t proto; in get_ongoing_proxy_session() local 922 proto = info_list->proto; in get_ongoing_proxy_session() 931 coap_new_client_session(context, NULL, &dst, proto); in get_ongoing_proxy_session() 948 coap_new_client_session_pki(context, NULL, &dst, proto, dtls_pki); in get_ongoing_proxy_session() 954 coap_new_client_session_psk2(context, NULL, &dst, proto, dtls_cpsk); in get_ongoing_proxy_session() 2336 ep = coap_new_endpoint(ctx, &info->addr, info->proto); in get_context() 2338 coap_log_warn("cannot create endpoint for proto %u\n", in get_context() 2339 info->proto); in get_context()
|
H A D | coap-rd.c | 725 ep = coap_new_endpoint(ctx, &info->addr, info->proto); in get_context() 727 coap_log_warn("cannot create endpoint for proto %u\n", in get_context() 728 info->proto); in get_context()
|
/third_party/libcoap/include/coap3/ |
H A D | coap_pdu.h | 432 * @param proto Session's protocol 441 int coap_pdu_parse(coap_proto_t proto,
|
/third_party/nghttp2/src/ |
H A D | shrpx_tls.h | 208 // Returns true if |proto| is included in the 211 const StringRef &proto);
|
H A D | shrpx_config.cc | 959 Proto proto; member 994 if (util::istarts_with_l(param, "proto=")) { in parse_downstream_params() 995 auto protostr = StringRef{first + str_size("proto="), end}; in parse_downstream_params() 997 LOG(ERROR) << "backend: proto: protocol is empty"; in parse_downstream_params() 1002 out.proto = Proto::HTTP2; in parse_downstream_params() 1005 out.proto = Proto::HTTP1; in parse_downstream_params() 1007 LOG(ERROR) << "backend: proto: unknown protocol " << protostr; in parse_downstream_params() 1189 params.proto = Proto::HTTP1; in parse_mapping() 1213 addr.proto = params.proto; in parse_mapping() 4358 strproto(Proto proto) strproto() argument [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.h | 97 // protoc --cpp_out=outdir --foo_out=outdir --proto_path=src src/foo.proto 99 // The .proto file to compile can be specified on the command line using either 101 // in --proto_path. For example, for src/foo.proto, the following two protoc 103 // 1. protoc --proto_path=src src/foo.proto (physical file path) 104 // 2. protoc --proto_path=src foo.proto (virtual path relative to src) 164 // PROTO_FILES list the .proto files which were given on the compiler 167 // (as defined in descriptor.proto). This is piped to the plugin's stdin. 195 // always try to find the .proto file relative to the current directory 218 // Remaps the proto file so that it is relative to one of the directories 221 std::string* proto, [all...] |
H A D | parser_unittest.cc | 167 file.set_name("foo.proto"); in ExpectHasValidationErrors() 295 "Only UTF-8 is accepted for proto file.\n" in TEST_F() 1198 ExpectParsesTo("import \"foo/bar/baz.proto\";\n", in TEST_F() 1199 "dependency: \"foo/bar/baz.proto\""); in TEST_F() 1204 "import \"foo.proto\";\n" in TEST_F() 1205 "import \"bar.proto\";\n" in TEST_F() 1206 "import \"baz.proto\";\n", in TEST_F() 1207 "dependency: \"foo.proto\"" in TEST_F() 1208 "dependency: \"bar.proto\"" in TEST_F() 1209 "dependency: \"baz.proto\""); in TEST_F() 2183 StripFieldTypeName(DescriptorProto* proto) StripFieldTypeName() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | libsrt.c | 390 char hostname[1024],proto[1024],path[1024]; in libsrt_setup() local 395 av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), in libsrt_setup() 397 if (strcmp(proto, "srt")) in libsrt_setup()
|
H A D | concatdec.c | 119 const char *proto; in add_file() local 129 proto = avio_find_protocol_name(filename); in add_file() 130 if (proto && av_strstart(filename, proto, &ptr) && in add_file()
|
/third_party/node/lib/internal/ |
H A D | url.js | 1218 function defineIDLClass(proto, classStr, obj) { 1220 ObjectDefineProperty(proto, SymbolToStringTag, { 1230 ObjectDefineProperty(proto, key, { 1239 ObjectDefineProperty(proto, key, {
|
/third_party/node/deps/v8/src/ic/ |
H A D | keyed-store-generic.cc | 743 TNode<HeapObject> proto = LoadMapPrototype(holder_map); in LookupPropertyOnPrototypeChain() local 744 GotoIf(IsNull(proto), &ok_to_write); in LookupPropertyOnPrototypeChain() 745 var_holder = proto; in LookupPropertyOnPrototypeChain() 746 var_holder_map = LoadMap(proto); in LookupPropertyOnPrototypeChain()
|
/third_party/protobuf/js/ |
H A D | message.js | 64 * ctor: proto.example.MyMessage, 65 * toObjectFn: proto.example.MyMessage.toObject, 212 * the proto before serialization. This is enabled by default to be 247 * maps from a proto field number to the field's value. 264 * The JsPb message_id of this proto. 289 * Returns the JsPb message_id of this proto. 309 * Returns the index into msg.array at which the proto field with tag number 339 * @param {!jspb.Message} msg The JsPb proto to modify. 448 * @param {!jspb.Message} msg The JsPb proto to modify. 478 // Avoid changing the shape of the proto wit [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | driver_i.h | 406 const u8 *dest, u16 proto, in wpa_drv_tx_control_port() 412 return wpa_s->driver->tx_control_port(wpa_s->drv_priv, dest, proto, in wpa_drv_tx_control_port() 1182 const u8 *dst, u16 proto, in wpa_drv_send_eapol() 1186 return wpa_s->driver->send_eapol(wpa_s->drv_priv, dst, proto, in wpa_drv_send_eapol() 405 wpa_drv_tx_control_port(struct wpa_supplicant *wpa_s, const u8 *dest, u16 proto, const u8 *buf, size_t len, int no_encrypt) wpa_drv_tx_control_port() argument 1181 wpa_drv_send_eapol(struct wpa_supplicant *wpa_s, const u8 *dst, u16 proto, const u8 *data, size_t data_len) wpa_drv_send_eapol() argument
|
/third_party/lwip/src/netif/ppp/ |
H A D | auth.c | 1198 void np_up(ppp_pcb *pcb, int proto) { in np_up() argument 1202 LWIP_UNUSED_ARG(proto); in np_up() 1249 void np_down(ppp_pcb *pcb, int proto) { in np_down() argument 1250 LWIP_UNUSED_ARG(proto); in np_down() 1268 void np_finished(ppp_pcb *pcb, int proto) { in np_finished() argument 1269 LWIP_UNUSED_ARG(proto); in np_finished()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_eth_conf.rs | 1237 pub proto: u8, 1295 unsafe { ::std::ptr::addr_of!((*ptr).proto) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv4_flow() 1301 stringify!(proto) in bindgen_test_layout_rte_eth_ipv4_flow() 1316 pub proto: u8, 1366 unsafe { ::std::ptr::addr_of!((*ptr).proto) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv6_flow() 1372 stringify!(proto) in bindgen_test_layout_rte_eth_ipv6_flow()
|