Home
last modified time | relevance | path

Searched refs:proto (Results 1 - 25 of 3728) sorted by relevance

12345678910>>...150

/third_party/curl/tests/
H A Dserverhelp.pm67 # values for 'proto' variable in order to differentiate different servers.
102 my $proto;
108 $proto = $1;
114 $proto = $1;
121 return($proto, $ipvnum, $idnum);
129 my ($proto, $ipver, $idnum) = @_;
131 $proto = uc($proto) if($proto);
132 die "unsupported protocol: '$proto'" unles
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py135 proto = message_module.TestAllTypes(
141 self.assertEqual(24, proto.optional_int32)
142 self.assertEqual(54.321, proto.optional_double)
143 self.assertEqual('optional_string', proto.optional_string)
145 self.assertFalse(proto.HasField("optional_float"))
149 proto = message_module.TestAllTypes(
156 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32))
157 self.assertEqual([1.23, 54.321], list(proto.repeated_double))
158 self.assertEqual([True, False, False], list(proto.repeated_bool))
159 self.assertEqual(["optional_string"], list(proto
[all...]
/third_party/protobuf/objectivec/DevTools/
H A Dcompile_testing_protos.sh34 src/google/protobuf/any_test.proto
35 src/google/protobuf/unittest_arena.proto
36 src/google/protobuf/unittest_custom_options.proto
37 src/google/protobuf/unittest_enormous_descriptor.proto
38 src/google/protobuf/unittest_embed_optimize_for.proto
39 src/google/protobuf/unittest_empty.proto
40 src/google/protobuf/unittest_import.proto
41 src/google/protobuf/unittest_import_lite.proto
42 src/google/protobuf/unittest_lite.proto
43 src/google/protobuf/unittest_mset.proto
[all...]
/third_party/protobuf/js/binary/
H A Dproto_test.js38 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
39 goog.require('proto.jspb.test.ExtendsWithMessage');
40 goog.require('proto.jspb.test.ForeignEnum');
41 goog.require('proto.jspb.test.ForeignMessage');
42 goog.require('proto.jspb.test.TestAllTypes');
43 goog.require('proto.jspb.test.TestExtendable');
44 goog.require('proto.jspb.test.extendOptionalBool');
45 goog.require('proto.jspb.test.extendOptionalBytes');
46 goog.require('proto.jspb.test.extendOptionalDouble');
47 goog.require('proto
[all...]
/third_party/protobuf/php/tests/
H A Dcompatibility_test.sh10 $PROTOC1 --php_out=generated proto/test_include.proto
13 proto/empty/echo.proto \
14 proto/test.proto \
15 proto/test_no_namespace.proto \
16 proto/test_prefix.proto \
[all...]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
H A Dproto_test.js37 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
38 goog.require('proto.jspb.test.ExtendsWithMessage');
39 goog.require('proto.jspb.test.ForeignEnum');
40 goog.require('proto.jspb.test.ForeignMessage');
41 goog.require('proto.jspb.test.TestAllTypes');
42 goog.require('proto.jspb.test.TestExtendable');
43 goog.require('proto.jspb.test.extendOptionalBool');
44 goog.require('proto.jspb.test.extendOptionalBytes');
45 goog.require('proto.jspb.test.extendOptionalDouble');
46 goog.require('proto
[all...]
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
H A Dproto_test.js37 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test
38 goog.require('proto.jspb.test.ExtendsWithMessage');
39 goog.require('proto.jspb.test.ForeignEnum');
40 goog.require('proto.jspb.test.ForeignMessage');
41 goog.require('proto.jspb.test.TestAllTypes');
42 goog.require('proto.jspb.test.TestExtendable');
43 goog.require('proto.jspb.test.extendOptionalBool');
44 goog.require('proto.jspb.test.extendOptionalBytes');
45 goog.require('proto.jspb.test.extendOptionalDouble');
46 goog.require('proto
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java71 * FileDescriptor} for a relevant {@code .proto} file. You can obtain it by calling {@code
73 * in that file, and file descriptors for all the imported {@code .proto} files.
76 * google/protobuf/descriptor.proto}.
83 * Describes a {@code .proto} file, including everything defined within. That includes, in
85 * .proto} files (dependencies).
91 return proto; in toProto()
97 return proto.getName(); in getName()
109 return proto.getName(); in getFullName()
113 * Get the proto package name. This is the package name given by the {@code package} statement
114 * in the {@code .proto} fil
279 buildFrom( final FileDescriptorProto proto, final FileDescriptor[] dependencies) buildFrom() argument
296 buildFrom( final FileDescriptorProto proto, final FileDescriptor[] dependencies, final boolean allowUnknownDependencies) buildFrom() argument
492 private FileDescriptorProto proto; global() field in Descriptors.FileDescriptor
501 FileDescriptor( final FileDescriptorProto proto, final FileDescriptor[] dependencies, final DescriptorPool pool, boolean allowUnknownDependencies) FileDescriptor() argument
601 setProto(final FileDescriptorProto proto) setProto() argument
820 private DescriptorProto proto; global() field in Descriptors.Descriptor
861 Descriptor( final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) Descriptor() argument
940 setProto(final DescriptorProto proto) setProto() argument
1254 private FieldDescriptorProto proto; global() field in Descriptors.FieldDescriptor
1363 FieldDescriptor( final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) FieldDescriptor() argument
1622 setProto(final FieldDescriptorProto proto) setProto() argument
1779 private EnumDescriptorProto proto; global() field in Descriptors.EnumDescriptor
1787 EnumDescriptor( final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) EnumDescriptor() argument
1814 setProto(final EnumDescriptorProto proto) setProto() argument
1891 private EnumValueDescriptorProto proto; global() field in Descriptors.EnumValueDescriptor
1896 EnumValueDescriptor( final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) EnumValueDescriptor() argument
1929 setProto(final EnumValueDescriptorProto proto) setProto() argument
1999 private ServiceDescriptorProto proto; global() field in Descriptors.ServiceDescriptor
2004 ServiceDescriptor( final ServiceDescriptorProto proto, final FileDescriptor file, final int index) ServiceDescriptor() argument
2027 setProto(final ServiceDescriptorProto proto) setProto() argument
2106 private MethodDescriptorProto proto; global() field in Descriptors.MethodDescriptor
2115 MethodDescriptor( final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) MethodDescriptor() argument
2152 setProto(final MethodDescriptorProto proto) setProto() argument
2213 private final Message proto; global() field in Descriptors.DescriptorValidationException
2704 setProto(final OneofDescriptorProto proto) setProto() argument
2708 OneofDescriptor( final OneofDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) OneofDescriptor() argument
2724 private OneofDescriptorProto proto; global() field in Descriptors.OneofDescriptor
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dproto.c15 #include "proto.h"
22 struct brcmf_proto *proto; in brcmf_proto_attach() local
26 proto = kzalloc(sizeof(*proto), GFP_ATOMIC); in brcmf_proto_attach()
27 if (!proto) in brcmf_proto_attach()
30 drvr->proto = proto; in brcmf_proto_attach()
39 bphy_err(drvr, "Unsupported proto type %d\n", in brcmf_proto_attach()
43 if (!proto->tx_queue_data || (proto in brcmf_proto_attach()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dproto.c15 #include "proto.h"
22 struct brcmf_proto *proto; in brcmf_proto_attach() local
26 proto = kzalloc(sizeof(*proto), GFP_ATOMIC); in brcmf_proto_attach()
27 if (!proto) in brcmf_proto_attach()
30 drvr->proto = proto; in brcmf_proto_attach()
39 bphy_err(drvr, "Unsupported proto type %d\n", in brcmf_proto_attach()
43 if (!proto->tx_queue_data || (proto in brcmf_proto_attach()
[all...]
/third_party/selinux/libsepol/src/
H A Dport_record.c13 int proto; member
24 int proto; member
29 int low, int high, int proto, in sepol_port_key_create()
43 tmp_key->proto = proto; in sepol_port_key_create()
51 int *low, int *high, int *proto) in sepol_port_key_unpack()
56 *proto = key->proto; in sepol_port_key_unpack()
66 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in sepol_port_key_extract()
69 sepol_port_get_proto_str(port->proto), in sepol_port_key_extract()
28 sepol_port_key_create(sepol_handle_t * handle, int low, int high, int proto, sepol_port_key_t ** key_ptr) sepol_port_key_create() argument
50 sepol_port_key_unpack(const sepol_port_key_t * key, int *low, int *high, int *proto) sepol_port_key_unpack() argument
173 sepol_port_get_proto_str(int proto) sepol_port_get_proto_str() argument
191 sepol_port_set_proto(sepol_port_t * port, int proto) sepol_port_set_proto() argument
[all...]
H A Dnode_record.c22 int proto; member
38 int proto; member
45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr()
48 switch (proto) { in node_parse_addr()
78 "parse address", proto); in node_parse_addr()
89 int proto, char **addr, size_t * addr_sz) in node_alloc_addr()
95 switch (proto) { in node_alloc_addr()
112 ERR(handle, "unsupported protocol %u", proto); in node_alloc_addr()
126 sepol_node_get_proto_str(proto)); in node_alloc_addr()
135 char *addr_bytes, int proto, cha in node_expand_addr()
44 node_parse_addr(sepol_handle_t * handle, const char *addr_str, int proto, char *addr_bytes) node_parse_addr() argument
88 node_alloc_addr(sepol_handle_t * handle, int proto, char **addr, size_t * addr_sz) node_alloc_addr() argument
134 node_expand_addr(sepol_handle_t * handle, char *addr_bytes, int proto, char *addr_str) node_expand_addr() argument
183 node_alloc_addr_string(sepol_handle_t * handle, int proto, char **addr) node_alloc_addr_string() argument
222 sepol_node_key_create(sepol_handle_t * handle, const char *addr, const char *mask, int proto, sepol_node_key_t ** key_ptr) sepol_node_key_create() argument
261 sepol_node_key_unpack(const sepol_node_key_t * key, const char **addr, const char **mask, int *proto) sepol_node_key_unpack() argument
392 sepol_node_set_addr(sepol_handle_t * handle, sepol_node_t * node, int proto, const char *addr) sepol_node_set_addr() argument
477 sepol_node_set_mask(sepol_handle_t * handle, sepol_node_t * node, int proto, const char *mask) sepol_node_set_mask() argument
528 sepol_node_set_proto(sepol_node_t * node, int proto) sepol_node_set_proto() argument
535 sepol_node_get_proto_str(int proto) sepol_node_get_proto_str() argument
[all...]
/kernel/linux/linux-6.6/drivers/ata/pata_parport/
H A Dpata_parport.c31 pi->proto->connect(pi); in pi_connect()
36 pi->proto->disconnect(pi); in pi_disconnect()
50 pi->proto->write_regr(pi, 0, ATA_REG_DEVICE, tmp); in pata_parport_dev_select()
58 pi->proto->write_regr(pi, 1, 6, ctl); in pata_parport_set_devctl()
68 pi->proto->write_regr(pi, 0, ATA_REG_NSECT, 0x55); in pata_parport_devchk()
69 pi->proto->write_regr(pi, 0, ATA_REG_LBAL, 0xaa); in pata_parport_devchk()
71 pi->proto->write_regr(pi, 0, ATA_REG_NSECT, 0xaa); in pata_parport_devchk()
72 pi->proto->write_regr(pi, 0, ATA_REG_LBAL, 0x55); in pata_parport_devchk()
74 pi->proto->write_regr(pi, 0, ATA_REG_NSECT, 0x55); in pata_parport_devchk()
75 pi->proto in pata_parport_devchk()
482 struct pi_protocol *proto; global() member
[all...]
/kernel/linux/linux-5.10/include/trace/
H A Ddefine_trace.h27 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \
28 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \
33 PARAMS(proto), \
40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \
42 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \
47 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
50 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print)
53 #define DEFINE_EVENT_NOP(template, name, proto, arg
[all...]
/kernel/linux/linux-5.10/net/802/
H A Dpsnap.c31 struct datalink_proto *proto = NULL, *p; in find_snap_client() local
35 proto = p; in find_snap_client()
39 return proto; in find_snap_client()
49 struct datalink_proto *proto; in snap_rcv() local
58 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
59 if (proto) { in snap_rcv()
63 rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); in snap_rcv()
67 if (unlikely(!proto)) in snap_rcv()
128 struct datalink_proto *proto = NULL; in register_snap_client() local
135 proto in register_snap_client()
152 unregister_snap_client(struct datalink_proto *proto) unregister_snap_client() argument
[all...]
H A Dp8022.c38 struct datalink_proto *proto; in register_8022_client() local
40 proto = kmalloc(sizeof(*proto), GFP_ATOMIC); in register_8022_client()
41 if (proto) { in register_8022_client()
42 proto->type[0] = type; in register_8022_client()
43 proto->header_length = 3; in register_8022_client()
44 proto->request = p8022_request; in register_8022_client()
45 proto->sap = llc_sap_open(type, func); in register_8022_client()
46 if (!proto->sap) { in register_8022_client()
47 kfree(proto); in register_8022_client()
54 unregister_8022_client(struct datalink_proto *proto) unregister_8022_client() argument
[all...]
/kernel/linux/linux-6.6/include/trace/
H A Ddefine_trace.h27 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \
28 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \
33 PARAMS(proto), \
40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \
42 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \
47 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
50 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print)
53 #define DEFINE_EVENT_NOP(template, name, proto, arg
[all...]
H A Dbpf_probe.h45 #define __BPF_DECLARE_TRACE(call, proto, args) \
47 __bpf_trace_##call(void *__data, proto) \
54 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
55 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
62 #define __DEFINE_EVENT(template, call, proto, args, size) \
67 typedef void (*btf_trace_##call)(void *__data, proto); \
83 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \
90 FIRST(proto); \
95 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \
96 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAM
[all...]
/kernel/linux/linux-6.6/net/802/
H A Dpsnap.c31 struct datalink_proto *proto = NULL, *p; in find_snap_client() local
35 proto = p; in find_snap_client()
39 return proto; in find_snap_client()
49 struct datalink_proto *proto; in snap_rcv() local
58 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
59 if (proto) { in snap_rcv()
63 rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); in snap_rcv()
67 if (unlikely(!proto)) in snap_rcv()
128 struct datalink_proto *proto = NULL; in register_snap_client() local
135 proto in register_snap_client()
152 unregister_snap_client(struct datalink_proto *proto) unregister_snap_client() argument
[all...]
H A Dp8022.c38 struct datalink_proto *proto; in register_8022_client() local
40 proto = kmalloc(sizeof(*proto), GFP_ATOMIC); in register_8022_client()
41 if (proto) { in register_8022_client()
42 proto->type[0] = type; in register_8022_client()
43 proto->header_length = 3; in register_8022_client()
44 proto->request = p8022_request; in register_8022_client()
45 proto->sap = llc_sap_open(type, func); in register_8022_client()
46 if (!proto->sap) { in register_8022_client()
47 kfree(proto); in register_8022_client()
54 unregister_8022_client(struct datalink_proto *proto) unregister_8022_client() argument
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFieldDescriptor.php217 public static function getFieldDescriptor($proto)
220 $type = $proto->getType();
225 $type_name = $proto->getTypeName();
231 $oneof_index = $proto->hasOneofIndex() ? $proto->getOneofIndex() : -1;
234 if ($proto->getLabel() === GPBLabel::REPEATED &&
235 $proto->getType() !== GPBType::MESSAGE &&
236 $proto->getType() !== GPBType::GROUP &&
237 $proto->getType() !== GPBType::STRING &&
238 $proto
[all...]
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dhdlc.c17 * - proto->open(), close(), start(), stop() calls are serialized.
19 * - proto->start() and stop() are called with spin_lock_irq held.
64 BUG_ON(!hdlc->proto->netif_rx); in hdlc_rcv()
65 return hdlc->proto->netif_rx(skb); in hdlc_rcv()
72 if (hdlc->proto->xmit) in hdlc_start_xmit()
73 return hdlc->proto->xmit(skb, dev); in hdlc_start_xmit()
81 if (hdlc->proto->start) in hdlc_proto_start()
82 hdlc->proto->start(dev); in hdlc_proto_start()
90 if (hdlc->proto->stop) in hdlc_proto_stop()
91 hdlc->proto in hdlc_proto_stop()
205 struct hdlc_proto *proto = first_proto; hdlc_ioctl() local
276 attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, size_t size) attach_hdlc_protocol() argument
327 register_hdlc_protocol(struct hdlc_proto *proto) register_hdlc_protocol() argument
336 unregister_hdlc_protocol(struct hdlc_proto *proto) unregister_hdlc_protocol() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dhdlc.c17 * - proto->open(), close(), start(), stop() calls are serialized.
19 * - proto->start() and stop() are called with spin_lock_irq held.
63 BUG_ON(!hdlc->proto->netif_rx); in hdlc_rcv()
64 return hdlc->proto->netif_rx(skb); in hdlc_rcv()
71 if (hdlc->proto->xmit) in hdlc_start_xmit()
72 return hdlc->proto->xmit(skb, dev); in hdlc_start_xmit()
82 if (hdlc->proto->start) in hdlc_proto_start()
83 hdlc->proto->start(dev); in hdlc_proto_start()
90 if (hdlc->proto->stop) in hdlc_proto_stop()
91 hdlc->proto in hdlc_proto_stop()
201 struct hdlc_proto *proto = first_proto; hdlc_ioctl() local
272 attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, size_t size) attach_hdlc_protocol() argument
323 register_hdlc_protocol(struct hdlc_proto *proto) register_hdlc_protocol() argument
332 unregister_hdlc_protocol(struct hdlc_proto *proto) unregister_hdlc_protocol() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dtracepoint.h228 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \
229 static inline void trace_##name##_rcuidle(proto) \
237 #define __DECLARE_TRACE_RCU(name, proto, args, cond)
251 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \
255 static inline void trace_##name(proto) \
265 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
301 #define DEFINE_TRACE_FN(_name, _reg, _unreg, proto, args) \
305 int __traceiter_##_name(void *__data, proto); \
306 void __probestub_##_name(void *__data, proto); \
319 int __traceiter_##_name(void *__data, proto) \
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dtracepoint.h174 * Note, the proto and args passed in includes "__data" as the first parameter.
179 #define __DO_TRACE(name, proto, args, cond, rcuidle) \
219 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \
220 static inline void trace_##name##_rcuidle(proto) \
229 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args)
243 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \
247 static inline void trace_##name(proto) \
258 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
294 #define DEFINE_TRACE_FN(_name, _reg, _unreg, proto, args) \
298 int __traceiter_##_name(void *__data, proto); \
[all...]

Completed in 12 milliseconds

12345678910>>...150