/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call_performance.c | 98 char proto[8] = "udp"; in main() local 111 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
|
/third_party/lwip/src/include/lwip/prot/ |
H A D | ip4.h | 125 #define IPH_PROTO_SET(hdr, proto) (hdr)->_proto = (u8_t)(proto)
|
/third_party/node/deps/v8/src/objects/ |
H A D | prototype-inl.h | 135 MaybeHandle<HeapObject> proto = in AdvanceFollowingProxiesIgnoringAccessChecks() local 137 if (!proto.ToHandle(&handle_)) return false; in AdvanceFollowingProxiesIgnoringAccessChecks()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | SchemaTest.java | 20 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.UNKNOWN; 24 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
|
/third_party/protobuf/examples/ |
H A D | add_person.go | 12 "github.com/golang/protobuf/proto" 22 // An int32 field in the .proto file is represented as an int32 field 33 // A string field in the .proto file results in a string field in Go. 56 // message in the .proto file. This results in a Go struct 71 // A proto enum results in a Go constant for each enum value. 83 // A repeated proto field maps to a slice field in Go. We can 112 if err := proto.Unmarshal(in, book); err != nil { 125 out, err := proto.Marshal(book)
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_refcounts.py | 91 proto = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_int) 94 f = proto(func)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_rtos.c | 38 int l2_packet_send(const struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 43 (void)proto; in l2_packet_send()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/ |
H A D | l2_packet_rtos.c | 38 int l2_packet_send(const struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send() argument 43 (void)proto; in l2_packet_send()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_flow_table_ip.c | 22 static int nf_flow_state_check(struct flow_offload *flow, int proto, in nf_flow_state_check() argument 27 if (proto != IPPROTO_TCP) in nf_flow_state_check() 150 tuple->encap[i].proto = skb->vlan_proto; in nf_flow_tuple_encap() 157 tuple->encap[i].proto = skb->protocol; in nf_flow_tuple_encap() 162 tuple->encap[i].proto = skb->protocol; in nf_flow_tuple_encap() 276 static bool nf_flow_skb_encap_protocol(const struct sk_buff *skb, __be16 proto, in nf_flow_skb_encap_protocol() argument 284 if (veth->h_vlan_encapsulated_proto == proto) { in nf_flow_skb_encap_protocol() 290 if (nf_flow_pppoe_proto(skb) == proto) { in nf_flow_skb_encap_protocol()
|
/third_party/node/src/ |
H A D | node_builtins.cc | 687 Local<ObjectTemplate> proto = target->PrototypeTemplate(); in CreatePerIsolateProperties() local 689 proto->SetAccessor(isolate_data->config_string(), in CreatePerIsolateProperties() 697 proto->SetAccessor(FIXED_ONE_BYTE_STRING(isolate, "builtinIds"), in CreatePerIsolateProperties() 705 proto->SetAccessor(FIXED_ONE_BYTE_STRING(isolate, "builtinCategories"), in CreatePerIsolateProperties() 713 SetMethod(isolate, proto, "getCacheUsage", BuiltinLoader::GetCacheUsage); in CreatePerIsolateProperties() 714 SetMethod(isolate, proto, "compileFunction", BuiltinLoader::CompileFunction); in CreatePerIsolateProperties() 715 SetMethod(isolate, proto, "hasCachedBuiltins", HasCachedBuiltins); in CreatePerIsolateProperties() 716 SetMethod(isolate, proto, "setInternalLoaders", SetInternalLoaders); in CreatePerIsolateProperties()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 401 enum mlxsw_sp_l3proto proto; member 411 enum mlxsw_sp_l3proto proto; member 429 enum mlxsw_sp_l3proto proto) in mlxsw_sp_fib_create() 435 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create() 443 fib->proto = proto; in mlxsw_sp_fib_create() 489 (enum mlxsw_reg_ralxx_protocol) lpm_tree->proto, in mlxsw_sp_lpm_tree_alloc() 500 (enum mlxsw_reg_ralxx_protocol) lpm_tree->proto, in mlxsw_sp_lpm_tree_free() 532 enum mlxsw_sp_l3proto proto) in mlxsw_sp_lpm_tree_create() 540 lpm_tree->proto in mlxsw_sp_lpm_tree_create() 427 mlxsw_sp_fib_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_vr *vr, enum mlxsw_sp_l3proto proto) mlxsw_sp_fib_create() argument 530 mlxsw_sp_lpm_tree_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_prefix_usage *prefix_usage, enum mlxsw_sp_l3proto proto) mlxsw_sp_lpm_tree_create() argument 568 mlxsw_sp_lpm_tree_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_prefix_usage *prefix_usage, enum mlxsw_sp_l3proto proto) mlxsw_sp_lpm_tree_get() argument 748 mlxsw_sp_vr_fib(const struct mlxsw_sp_vr *vr, enum mlxsw_sp_l3proto proto) mlxsw_sp_vr_fib() argument 847 mlxsw_sp_vr_lpm_tree_should_replace(struct mlxsw_sp_vr *vr, enum mlxsw_sp_l3proto proto, u8 tree_id) mlxsw_sp_vr_lpm_tree_should_replace() argument 884 enum mlxsw_sp_l3proto proto = fib->proto; mlxsw_sp_vrs_lpm_tree_replace() local 1142 mlxsw_sp_router_ip2me_fib_entry_find(struct mlxsw_sp *mlxsw_sp, u32 tb_id, enum mlxsw_sp_l3proto proto, const union mlxsw_sp_l3addr *addr, enum mlxsw_sp_fib_entry_type type) mlxsw_sp_router_ip2me_fib_entry_find() argument 2913 enum mlxsw_sp_l3proto proto; global() member 4290 enum mlxsw_reg_ralxx_protocol proto; mlxsw_sp_fib_entry_ralue_pack() local 4831 mlxsw_sp_fib_node_get(struct mlxsw_sp *mlxsw_sp, u32 tb_id, const void *addr, size_t addr_len, unsigned char prefix_len, enum mlxsw_sp_l3proto proto) mlxsw_sp_fib_node_get() argument 5661 __mlxsw_sp_router_set_abort_trap(struct mlxsw_sp *mlxsw_sp, enum mlxsw_reg_ralxx_protocol proto, u8 tree_id) __mlxsw_sp_router_set_abort_trap() argument 5790 enum mlxsw_reg_ralxx_protocol proto = MLXSW_REG_RALXX_PROTOCOL_IPV4; mlxsw_sp_router_set_abort_trap() local 5844 mlxsw_sp_vr_fib_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_vr *vr, enum mlxsw_sp_l3proto proto) mlxsw_sp_vr_fib_flush() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 232 const char * const port, int proto) in sock_connect_mptcp() 245 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp() 767 int parse_proto(const char *proto) in parse_proto() argument 769 if (!strcasecmp(proto, "MPTCP")) in parse_proto() 771 if (!strcasecmp(proto, "TCP")) in parse_proto() 774 fprintf(stderr, "Unknown protocol: %s\n.", proto); in parse_proto() 231 sock_connect_mptcp(const char * const remoteaddr, const char * const port, int proto) sock_connect_mptcp() argument
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | qcom-geni-se.c | 264 u32 proto = geni_se_read_proto(se); in geni_se_select_fifo_mode() local 270 if (proto != GENI_SE_UART) { in geni_se_select_fifo_mode() 277 if (proto != GENI_SE_UART) in geni_se_select_fifo_mode() 288 u32 proto = geni_se_read_proto(se); in geni_se_select_dma_mode() local 294 if (proto != GENI_SE_UART) { in geni_se_select_dma_mode() 301 if (proto != GENI_SE_UART) in geni_se_select_dma_mode()
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | gateway_client.c | 621 __be16 proto; in batadv_gw_dhcp_recipient_get() local 629 proto = ethhdr->h_proto; in batadv_gw_dhcp_recipient_get() 633 if (proto == htons(ETH_P_8021Q)) { in batadv_gw_dhcp_recipient_get() 638 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get() 643 switch (proto) { in batadv_gw_dhcp_recipient_get() 679 switch (proto) { in batadv_gw_dhcp_recipient_get()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 38 __be16 proto; member 174 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port() 334 act->vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace() 338 data.vlan.proto = act->vlan.proto; in mtk_flow_offload_replace() 435 if (data.vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | conn_client.c | 48 idr_remove(&local->conn_ids, conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() 166 conn->proto.cid = id << RXRPC_CIDSHIFT; in rxrpc_alloc_client_connection() 167 conn->proto.epoch = local->rxnet->epoch; in rxrpc_alloc_client_connection() 213 conn->proto.epoch != rxnet->epoch) in rxrpc_may_reuse_conn() 223 id = conn->proto.cid >> RXRPC_CIDSHIFT; in rxrpc_may_reuse_conn() 426 call->cid = conn->proto.cid | channel; in rxrpc_activate_one_channel()
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format_pack.py | 611 proto = 'util_format_%s_unpack_%s(%s *restrict dst_row, const uint8_t *restrict src, unsigned width)' % ( 613 print('void %s;' % proto, file=sys.stdout2) 616 print(proto) 672 proto = 'util_format_%s_fetch_rgba(void *restrict in_dst, const uint8_t *restrict src, UNUSED unsigned i, UNUSED unsigned j)' % (name) 673 print('void %s;' % proto, file=sys.stdout2) 676 print(proto)
|
/third_party/nghttp2/src/ |
H A D | h2load.cc | 1112 auto proto = StringRef{next_proto, next_proto_len}; in connection_made() local 1116 if (!util::streq(StringRef{&NGHTTP3_ALPN_H3[1]}, proto) && in connection_made() 1117 !util::streq_l("h3-29", proto)) { in connection_made() 1121 } else if (util::check_h2_is_selected(proto)) { in connection_made() 1123 } else if (util::streq(NGHTTP2_H1_1, proto)) { in connection_made() 1129 selected_proto = proto.str(); in connection_made() 1137 for (const auto &proto : config.npn_list) { in connection_made() 1138 if (util::streq(NGHTTP2_H1_1_ALPN, StringRef{proto})) { in connection_made() 1157 for (const auto &proto : config.npn_list) { in connection_made() 1158 std::cout << proto in connection_made() 2495 auto proto = StringRef{optarg}; main() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa.c | 44 * @proto: Ethertype (usually ETH_P_EAPOL) 51 int ver, const u8 *dest, u16 proto, in wpa_eapol_key_send() 161 ret = wpa_sm_ether_send(sm, dest, proto, msg, msg_len); in wpa_eapol_key_send() 209 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_sm_key_request() 210 sm->proto == WPA_PROTO_OSEN) ? in wpa_sm_key_request() 338 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk() 375 if (sm->proto == WPA_PROTO_RSN && in wpa_supplicant_get_pmk() 529 reply->type = (sm->proto == WPA_PROTO_RSN || in wpa_supplicant_send_2_of_4() 530 sm->proto == WPA_PROTO_OSEN) ? in wpa_supplicant_send_2_of_4() 538 if (sm->proto in wpa_supplicant_send_2_of_4() 50 wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, int ver, const u8 *dest, u16 proto, u8 *msg, size_t msg_len, u8 *key_mic) wpa_eapol_key_send() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 679 int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_add_vid() argument 831 int qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_kill_vid() argument 1829 qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, in qede_parse_flow_attr() argument 1849 if (proto != htons(ETH_P_IP) && in qede_parse_flow_attr() 1850 proto != htons(ETH_P_IPV6)) { in qede_parse_flow_attr() 1851 DP_NOTICE(edev, "Unsupported proto=0x%x\n", proto); in qede_parse_flow_attr() 1862 if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IP)) in qede_parse_flow_attr() 1864 else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6)) in qede_parse_flow_attr() 1866 else if (ip_proto == IPPROTO_UDP && proto in qede_parse_flow_attr() 1876 qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto, struct flow_cls_offload *f) qede_add_tc_flower_fltr() argument 1984 __be16 proto; qede_flow_spec_to_rule() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 677 int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_add_vid() argument 829 int qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in qede_vlan_rx_kill_vid() argument 1820 qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, in qede_parse_flow_attr() argument 1840 if (proto != htons(ETH_P_IP) && in qede_parse_flow_attr() 1841 proto != htons(ETH_P_IPV6)) { in qede_parse_flow_attr() 1842 DP_NOTICE(edev, "Unsupported proto=0x%x\n", proto); in qede_parse_flow_attr() 1853 if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IP)) in qede_parse_flow_attr() 1855 else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6)) in qede_parse_flow_attr() 1857 else if (ip_proto == IPPROTO_UDP && proto in qede_parse_flow_attr() 1867 qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto, struct flow_cls_offload *f) qede_add_tc_flower_fltr() argument 1975 __be16 proto; qede_flow_spec_to_rule() local [all...] |
/third_party/libcoap/src/ |
H A D | coap_oscore.c | 69 coap_proto_t proto, in coap_new_client_session_oscore() 72 coap_new_client_session(ctx, local_if, server, proto); in coap_new_client_session_oscore() 88 coap_proto_t proto, in coap_new_client_session_oscore_psk() 92 coap_new_client_session_psk2(ctx, local_if, server, proto, psk_data); in coap_new_client_session_oscore_psk() 108 coap_proto_t proto, in coap_new_client_session_oscore_pki() 112 coap_new_client_session_pki(ctx, local_if, server, proto, pki_data); in coap_new_client_session_oscore_pki() 630 COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_oscore_new_pdu_encrypted() 643 if (!coap_pdu_encode_header(osc_pdu, session->proto)) { in coap_oscore_new_pdu_encrypted() 1378 coap_pdu_encode_header(plain_pdu, session->proto); in coap_oscore_decrypt_pdu() 1545 if (!coap_pdu_encode_header(decrypt_pdu, session->proto)) { in coap_oscore_decrypt_pdu() 66 coap_new_client_session_oscore(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore() argument 85 coap_new_client_session_oscore_psk(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_cpsk_t *psk_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_psk() argument 105 coap_new_client_session_oscore_pki(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_pki_t *pki_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_pki() argument 2110 coap_new_client_session_oscore(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore() argument 2124 coap_new_client_session_oscore_psk(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_cpsk_t *psk_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_psk() argument 2140 coap_new_client_session_oscore_pki(coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, coap_dtls_pki_t *pki_data, coap_oscore_conf_t *oscore_conf) coap_new_client_session_oscore_pki() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 304 // // in "foo.proto" in SetUp() 310 // // in "bar.proto" in SetUp() 317 // Also, we have an empty file "baz.proto". This file's purpose is to in SetUp() 318 // make sure that even though it has the same package as foo.proto, in SetUp() 319 // searching it for members of foo.proto won't work. in SetUp() 322 foo_file.set_name("foo.proto"); in SetUp() 331 bar_file.set_name("bar.proto"); in SetUp() 333 bar_file.add_dependency("foo.proto"); in SetUp() 342 baz_file.set_name("baz.proto"); in SetUp() 397 EXPECT_EQ("foo.proto", foo_file in TEST_F() 525 FileDescriptorProto proto; TEST_F() local 599 FileDescriptorProto proto; TEST_F() local 771 CopyWithJsonName(const Descriptor* message, DescriptorProto* proto) CopyWithJsonName() argument 914 DescriptorProto proto; TEST_F() local 2740 BuildFile(const FileDescriptorProto& proto) BuildFile() argument 2814 FieldDescriptorProto proto; TEST_P() local 7702 FileDescriptorProto proto; TEST_F() local 7720 FileDescriptorProto proto; TEST_F() local 7801 ParseProtoAndAddToDb(const char* proto) ParseProtoAndAddToDb() argument 7807 ParseProtoAndAddToDb(const std::string& proto) ParseProtoAndAddToDb() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | psnap.h | 10 void unregister_snap_client(struct datalink_proto *proto);
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | layout.h | 7 char proto; member
|