/dports/devel/py-proto-plus/proto-plus-1.19.6/proto/marshal/ |
H A D | marshal.py | 70 def register(self, proto_type: type, rule: Rule = None): 101 self._rules[proto_type] = rule 115 self._rules[proto_type] = rule_class() 163 if isinstance(proto_type, type): 164 return RepeatedComposite(value, marshal=self, proto_type=proto_type) 173 rule = self._rules.get(proto_type, self._noop) 180 if proto_type not in ( 203 proto_type.DESCRIPTOR.has_options 206 recursive_type = type(proto_type().value) 210 rule = self._rules.get(proto_type, self._noop) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/tools/bindings/generators/mojolpm_templates/ |
H A D | mojolpm.h.tmpl | 55 const {{proto_type}}& input, 60 {{proto_type}}& output); 68 {%- set struct_type = proto_type ~ "_ProtoStruct" %} 71 const {{proto_type}}& input, 76 {{proto_type}}& output);{{"\n"-}} 92 {%- set union_type = proto_type ~ "_ProtoUnion" %} 98 const {{proto_type}}& input, 103 {{proto_type}}& output);{{"\n"-}} 181 const {{proto_type}}::RemoteAction& input); 184 const {{proto_type}}::AssociatedRemoteAction& input); [all …]
|
H A D | mojolpm.cc.tmpl | 39 {%- set struct_type = proto_type ~ "_ProtoStruct" %} 54 {%- set union_type = proto_type ~ "_ProtoUnion" %} 224 {%- set method_type = proto_type ~ "::" ~ interface.name ~ "_" ~ method.name %} 253 bool HandleRemoteAction(const {{proto_type}}::RemoteAction& input) { 262 case {{proto_type}}::RemoteAction::kReset: { 274 bool HandleAssociatedRemoteAction(const {{proto_type}}::AssociatedRemoteAction& input) { 283 case {{proto_type}}::AssociatedRemoteAction::kReset: { 296 const {{proto_type}}::ReceiverAction& input) { 332 const {{proto_type}}::{{interface.name}}_{{method.name}}& input) { 387 uint32_t instance_id, const {{proto_type}}::{{interface.name}}_{{method.name}}& input) { [all …]
|
H A D | mojolpm_macros.tmpl | 49 {%- set proto_type = kind|cpp_wrapper_proto_type(add_same_module_namespaces=true) %} 50 {{proto_type}} tmp_{{name}}; 61 {%- set proto_type = kind|cpp_wrapper_proto_type(add_same_module_namespaces=true) %} 62 {{proto_type}} tmp_{{name}};
|
H A D | mojolpm_traits_specialization_macros.tmpl | 5 {%- set proto_type = "::mojolpm" ~ (struct|get_qualified_name_for_kind(flatten_nested_kind=True))… 6 {%- set struct_type = proto_type ~ "_ProtoStruct" %} 44 {%- set proto_type = "::mojolpm" ~ (union|get_qualified_name_for_kind(flatten_nested_kind=True)) … 45 {%- set union_type = proto_type ~ "_ProtoUnion" %}
|
H A D | mojolpm_from_proto_macros.tmpl | 212 {%- set proto_type = "::mojolpm" ~ (enum|get_qualified_name_for_kind(flatten_nested_kind=True)) %} 215 const {{proto_type}}& input, 233 {%- set proto_type = "::mojolpm" ~ (struct|get_qualified_name_for_kind(flatten_nested_kind=True))… 234 {%- set struct_type = proto_type ~ "_ProtoStruct" %} 301 const {{proto_type}}& input, 303 if (input.instance_case() == {{proto_type}}::kOld) { 319 {%- set proto_type = "::mojolpm" ~ (union|get_qualified_name_for_kind(flatten_nested_kind=True)) … 320 {%- set union_type = proto_type ~ "_ProtoUnion" %} 370 const {{proto_type}}& input, 372 if (input.instance_case() == {{proto_type}}::kOld) {
|
H A D | mojolpm_to_proto_macros.tmpl | 258 {%- set proto_type = "::mojolpm" ~ (enum|get_qualified_name_for_kind(flatten_nested_kind=True)) %} 262 {{proto_type}}& output) { 267 output = static_cast<{{proto_type}}>(input); 270 output = static_cast<{{proto_type}}>( 280 {%- set proto_type = "::mojolpm" ~ (struct|get_qualified_name_for_kind(flatten_nested_kind=True))… 281 {%- set struct_type = proto_type ~ "_ProtoStruct" %} 284 {{proto_type}}& output) { 333 {%- set proto_type = "::mojolpm" ~ (union|get_qualified_name_for_kind(flatten_nested_kind=True)) … 334 {%- set union_type = proto_type ~ "_ProtoUnion" %} 337 {{proto_type}}& output) {
|
/dports/devel/py-proto-plus/proto-plus-1.19.6/proto/ |
H A D | fields.py | 32 proto_type, argument 48 if not isinstance(proto_type, int): 51 if isinstance(proto_type, (EnumMeta, EnumTypeWrapper)): 52 enum = proto_type 53 proto_type = ProtoType.ENUM 55 message = proto_type 56 proto_type = ProtoType.MESSAGE 60 self.proto_type = proto_type 108 type=self.proto_type, 137 return self.proto_type
|
/dports/net/ryu/ryu-4.26/ryu/lib/packet/ |
H A D | linux.py | 29 proto_type): argument 35 self.proto_type = proto_type 40 proto_type) = struct.unpack_from(cls._PACK_STR, buf) 41 l = cls(pkt_type, arphrd_type, address_length, addres, proto_type) 42 return (l, linuxcooked.get_packet_type(proto_type),
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | proto.c | 32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach() 35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach() 40 drvr->bus_if->proto_type); in brcmf_proto_attach() 64 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) in brcmf_proto_detach() 66 else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) in brcmf_proto_detach()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | proto.c | 32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach() 35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach() 40 drvr->bus_if->proto_type); in brcmf_proto_attach() 64 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) in brcmf_proto_detach() 66 else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) in brcmf_proto_detach()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | proto.c | 32 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) { in brcmf_proto_attach() 35 } else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) { in brcmf_proto_attach() 40 drvr->bus_if->proto_type); in brcmf_proto_attach() 64 if (drvr->bus_if->proto_type == BRCMF_PROTO_BCDC) in brcmf_proto_detach() 66 else if (drvr->bus_if->proto_type == BRCMF_PROTO_MSGBUF) in brcmf_proto_detach()
|
/dports/devel/grpc134/grpc-1.34.1/src/compiler/ |
H A D | ruby_generator_string-inl.h | 120 std::string proto_type = descriptor->full_name(); in RubyTypeOf() local 123 ReplacePrefix(&proto_type, descriptor->file()->package(), ""); in RubyTypeOf() 124 ReplacePrefix(&proto_type, ".", ""); // remove the leading . (no package) in RubyTypeOf() 125 proto_type = RubyPackage(descriptor->file()) + "." + proto_type; in RubyTypeOf() 127 std::string res("." + proto_type); in RubyTypeOf()
|
/dports/devel/grpc130/grpc-1.30.2/src/compiler/ |
H A D | ruby_generator_string-inl.h | 120 std::string proto_type = descriptor->full_name(); in RubyTypeOf() local 123 ReplacePrefix(&proto_type, descriptor->file()->package(), ""); in RubyTypeOf() 124 ReplacePrefix(&proto_type, ".", ""); // remove the leading . (no package) in RubyTypeOf() 125 proto_type = RubyPackage(descriptor->file()) + "." + proto_type; in RubyTypeOf() 127 grpc::string res(proto_type); in RubyTypeOf()
|
/dports/devel/grpc/grpc-1.42.0/src/compiler/ |
H A D | ruby_generator_string-inl.h | 120 std::string proto_type = descriptor->full_name(); in RubyTypeOf() local 123 ReplacePrefix(&proto_type, descriptor->file()->package(), ""); in RubyTypeOf() 124 ReplacePrefix(&proto_type, ".", ""); // remove the leading . (no package) in RubyTypeOf() 125 proto_type = RubyPackage(descriptor->file()) + "." + proto_type; in RubyTypeOf() 127 std::string res("." + proto_type); in RubyTypeOf()
|
/dports/devel/py-grpcio-tools/grpcio-tools-1.43.0/grpc_root/src/compiler/ |
H A D | ruby_generator_string-inl.h | 120 std::string proto_type = descriptor->full_name(); in RubyTypeOf() local 123 ReplacePrefix(&proto_type, descriptor->file()->package(), ""); in RubyTypeOf() 124 ReplacePrefix(&proto_type, ".", ""); // remove the leading . (no package) in RubyTypeOf() 125 proto_type = RubyPackage(descriptor->file()) + "." + proto_type; in RubyTypeOf() 127 std::string res("." + proto_type); in RubyTypeOf()
|
/dports/devel/py-gapic-generator/gapic-generator-0.35.10/gapic/templates/%namespace/%name_%version/%sub/types/ |
H A D | _message.py.j2 | 38 …{{- p }}.{{ key_field.proto_type }}, {{ p }}.{{ value_field.proto_type }}, number={{ field.number … 40 {{ value_field.proto_type.lower() }}={{ value_field.type.ident.rel(message.ident) }}, 45 …{{- p }}.{{ field.proto_type }}, number={{ field.number }}{% if field.proto3_optional %}, optional… 47 {{ field.proto_type.lower() }}={{ field.type.ident.rel(message.ident) }},
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/protobuf-codegen-2.10.0/src/ |
H A D | field.rs | 243 type_is_copy(self.proto_type()) in is_copy() 600 protobuf_name(self.proto_type) in os_write_fn_suffix() 605 match self.proto_type { in os_write_fn_param_type() 660 match self.proto_type { in is_zigzag() 668 match self.proto_type { in is_enum() 676 type_is_copy(self.proto_type) in elem_type_is_copy() 711 Some(match self.proto_type { in default_value_from_proto() 741 self.proto_type in default_value_from_proto() 917 None => match self.proto_type { in element_size() 970 match self.proto_type { in write_write_element() [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/protobuf-codegen-2.14.0/src/field/ |
H A D | mod.rs | 254 type_is_copy(self.proto_type()) in is_copy() 619 protobuf_name(self.proto_type) in os_write_fn_suffix() 624 match self.proto_type { in os_write_fn_param_type() 679 match self.proto_type { in is_zigzag() 687 match self.proto_type { in is_enum() 695 type_is_copy(self.proto_type) in elem_type_is_copy() 730 Some(match self.proto_type { in default_value_from_proto() 760 self.proto_type in default_value_from_proto() 936 None => match self.proto_type { in element_size() 989 match self.proto_type { in write_write_element() [all …]
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/protobuf-codegen-2.25.2/src/field/ |
H A D | mod.rs | 256 type_is_copy(self.proto_type()) in is_copy() 629 protobuf_name(self.proto_type) in os_write_fn_suffix() 634 match self.proto_type { in os_write_fn_param_type() 689 match self.proto_type { in is_zigzag() 697 match self.proto_type { in is_enum() 705 type_is_copy(self.proto_type) in elem_type_is_copy() 740 Some(match self.proto_type { in default_value_from_proto() 770 self.proto_type in default_value_from_proto() 946 None => match self.proto_type { in element_size() 1005 match self.proto_type { in write_write_element() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/protobuf-codegen-2.25.2/src/field/ |
H A D | mod.rs | 256 type_is_copy(self.proto_type()) in is_copy() 629 protobuf_name(self.proto_type) in os_write_fn_suffix() 634 match self.proto_type { in os_write_fn_param_type() 689 match self.proto_type { in is_zigzag() 697 match self.proto_type { in is_enum() 705 type_is_copy(self.proto_type) in elem_type_is_copy() 740 Some(match self.proto_type { in default_value_from_proto() 770 self.proto_type in default_value_from_proto() 946 None => match self.proto_type { in element_size() 1005 match self.proto_type { in write_write_element() [all …]
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/ |
H A D | checker.py | 43 def _create_checker(proto_type): # type: (Type[Message]) -> Callable[[FuncType], FuncType] argument 47 if not isinstance(proto, proto_type): 50 proto_type.__name__))
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/ |
H A D | checker.py | 51 def _create_checker(proto_type): # type: (Type[Message]) -> Callable[[FuncType], FuncType] argument 55 if not isinstance(proto, proto_type): 58 proto_type.__name__))
|
/dports/net/cloud-init/cloud-init-21.4/cloudinit/distros/ |
H A D | net_util.py | 123 proto_type = iface_details[2].strip().lower() 126 if proto_type in ['dhcp', 'static']: 127 iface_info['bootproto'] = proto_type
|
/dports/devel/p5-Function-Parameters/Function-Parameters-2.001003/lib/Function/ |
H A D | Parameters.pm | 257 my $proto_type = $imports{$name}; 259 $proto_type = {defaults => $proto_type} unless ref $proto_type; 261 my %type = %$proto_type;
|