Home
last modified time | relevance | path

Searched defs:EnumValueDescriptor (Results 1 – 25 of 106) sorted by relevance

12345

/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/enums/
Dmod.rs22 pub struct EnumValueDescriptor { struct
29 _assert_send_sync::<EnumValueDescriptor>(); in _assert_send_sync() argument
32 impl fmt::Debug for EnumValueDescriptor { implementation
41 impl fmt::Display for EnumValueDescriptor { implementation
47 impl EnumValueDescriptor { implementation
48 pub(crate) fn new(enum_descriptor: EnumDescriptor, index: usize) -> EnumValueDescriptor { in new()
187 pub fn value_by_name(&self, name: &str) -> Option<EnumValueDescriptor> { in value_by_name()
198 pub fn value_by_number(&self, number: i32) -> Option<EnumValueDescriptor> { in value_by_number()
206 pub fn value_by_index(&self, index: usize) -> EnumValueDescriptor { in value_by_index()
215 pub fn default_value(&self) -> EnumValueDescriptor { in default_value()
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf/src/reflect/
Denums.rs15 pub struct EnumValueDescriptor { struct
16 proto: &'static EnumValueDescriptorProto, argument
19 impl Copy for EnumValueDescriptor {} implementation
21 impl EnumValueDescriptor { impl
117 pub fn value_by_name<'a>(&'a self, name: &str) -> &'a EnumValueDescriptor { in value_by_name()
124 pub fn value_by_number<'a>(&'a self, number: i32) -> &'a EnumValueDescriptor { in value_by_number()
/aosp_15_r20/external/starlark-go/lib/proto/
H A Dproto.go1188 type EnumValueDescriptor struct { struct
1201 func (e EnumValueDescriptor) Type() string { return "proto.EnumValueDescriptor" }
1202 func (e EnumValueDescriptor) Truth() starlark.Bool { return true }
1203 func (e EnumValueDescriptor) Freeze() {} // immutable
1204 func (e EnumValueDescriptor) Hash() (h uint32, err error) { return uint32(e.Desc.Number()), nil }
1205 func (e EnumValueDescriptor) AttrNames() []string {
1208 func (e EnumValueDescriptor) Attr(name string) (starlark.Value, error) {
1222 …EnumValueDescriptor) CompareSameType(op syntax.Token, y_ starlark.Value, depth int) (bool, error) {
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumValueDescriptor.cs41 public sealed class EnumValueDescriptor : DescriptorBase class
46 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() method in Google.Protobuf.Reflection.EnumValueDescriptor
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumValueDescriptor.cs41 public sealed class EnumValueDescriptor : DescriptorBase class
46 internal EnumValueDescriptor(EnumValueDescriptorProto proto, FileDescriptor file, in EnumValueDescriptor() method in Google.Protobuf.Reflection.EnumValueDescriptor
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf/src/reflect/acc/
Dv1.rs33 fn get_enum_generic(&self, m: &dyn Message) -> &'static EnumValueDescriptor; in get_enum_generic()
62 fn get_enum(&self, m: &M) -> &'static EnumValueDescriptor; in get_enum()
70 fn get_enum(&self, m: &M) -> &'static EnumValueDescriptor { in get_enum()
83 fn get_enum_item(&self, m: &M, index: usize) -> &'static EnumValueDescriptor; in get_enum_item()
245 fn get_enum_generic(&self, m: &dyn Message) -> &'static EnumValueDescriptor { in get_enum_generic()
/aosp_15_r20/external/protobuf/src/google/protobuf/
H A Ddescriptor.h92 class EnumValueDescriptor; variable
1237 friend class EnumValueDescriptor; variable
1320 EnumValueDescriptor() {} in EnumValueDescriptor() function
1699 friend class EnumValueDescriptor; variable
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.h92 class EnumValueDescriptor; variable
1237 friend class EnumValueDescriptor; variable
1320 EnumValueDescriptor() {} in EnumValueDescriptor() function
1699 friend class EnumValueDescriptor; variable
/aosp_15_r20/external/cronet/third_party/protobuf/php/ext/google/protobuf/
H A Ddef.c67 } EnumValueDescriptor; typedef
93 PHP_METHOD(EnumValueDescriptor, getName) { in PHP_METHOD() argument
103 PHP_METHOD(EnumValueDescriptor, getNumber) { in PHP_METHOD() argument
/aosp_15_r20/external/protobuf/php/ext/google/protobuf/
H A Ddef.c67 } EnumValueDescriptor; typedef
93 PHP_METHOD(EnumValueDescriptor, getName) { in PHP_METHOD() argument
103 PHP_METHOD(EnumValueDescriptor, getNumber) { in PHP_METHOD() argument
/aosp_15_r20/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dnames.h44 class EnumValueDescriptor; variable
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/
Denum_full.rs10 fn descriptor(&self) -> EnumValueDescriptor; in descriptor()
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dnames.h44 class EnumValueDescriptor; variable
/aosp_15_r20/external/golang-protobuf/reflect/protoreflect/
H A Dtype.go583 type EnumValueDescriptor interface { interface
591 type isEnumValueDescriptor interface{ ProtoType(EnumValueDescriptor) } argument
/aosp_15_r20/external/protobuf/php/src/Google/Protobuf/
H A DEnumValueDescriptor.php35 class EnumValueDescriptor class
/aosp_15_r20/external/cronet/third_party/protobuf/php/src/Google/Protobuf/
H A DEnumValueDescriptor.php35 class EnumValueDescriptor class
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf/src/
Denums.rs19 fn descriptor(&self) -> &'static EnumValueDescriptor { in descriptor()
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dgenerator.h51 class EnumValueDescriptor; variable
/aosp_15_r20/external/protobuf/src/google/protobuf/compiler/python/
H A Dgenerator.h51 class EnumValueDescriptor; variable
/aosp_15_r20/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DEnumBuilderContext.php36 use Google\Protobuf\EnumValueDescriptor; alias
/aosp_15_r20/external/protobuf/php/src/Google/Protobuf/Internal/
H A DEnumBuilderContext.php36 use Google\Protobuf\EnumValueDescriptor; alias
H A DEnumDescriptor.php5 use Google\Protobuf\EnumValueDescriptor; alias
/aosp_15_r20/external/golang-protobuf/reflect/protodesc/
H A Dproto.go205 func ToEnumValueDescriptorProto(value protoreflect.EnumValueDescriptor) *descriptorpb.EnumValueDesc…
/aosp_15_r20/external/golang-protobuf/internal/encoding/defval/
H A Ddefault.go121 func Marshal(v protoreflect.Value, ev protoreflect.EnumValueDescriptor, k protoreflect.Kind, f Form…
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/well_known_types/
Dtype_.rs651 fn descriptor(&self) -> crate::reflect::EnumValueDescriptor { in descriptor()
714 fn descriptor(&self) -> crate::reflect::EnumValueDescriptor { in descriptor()
1287 fn descriptor(&self) -> crate::reflect::EnumValueDescriptor { in descriptor()

12345