Home
last modified time | relevance | path

Searched refs:Enum1 (Results 1 – 22 of 22) sorted by relevance

/external/golang-protobuf/internal/testprotos/registry/
Dtest.pb.go19 type Enum1 int32 type
22 Enum1_ONE Enum1 = 1
35 func (x Enum1) Enum() *Enum1 {
36 p := new(Enum1)
41 func (x Enum1) String() string {
45 func (Enum1) Descriptor() protoreflect.EnumDescriptor {
49 func (Enum1) Type() protoreflect.EnumType {
53 func (x Enum1) Number() protoreflect.EnumNumber {
58 func (x *Enum1) UnmarshalJSON(b []byte) error {
63 *x = Enum1(num)
[all …]
Dtest.proto19 enum Enum1 { enum
33 optional Enum1 enum_field = 12;
42 optional Enum1 enum_field = 22;
/external/golang-protobuf/cmd/protoc-gen-go/testdata/comments/
Dcomments.pb.go20 type Enum1 int32 type
24 Enum1_FOO Enum1 = 0 // COMMENT: FOO.InlineTrailing
26 Enum1_BAR Enum1 = 1
41 func (x Enum1) Enum() *Enum1 {
42 p := new(Enum1)
47 func (x Enum1) String() string {
51 func (Enum1) Descriptor() protoreflect.EnumDescriptor {
55 func (Enum1) Type() protoreflect.EnumType {
59 func (x Enum1) Number() protoreflect.EnumNumber {
64 func (x *Enum1) UnmarshalJSON(b []byte) error {
[all …]
Dcomments.proto12 // COMMENT: Enum1.Leading
13 enum Enum1 { enum
21 // COMMENT: Enum1.EndBody
/external/clang/test/CodeGenObjC/
Dobjc-fixed-enum.m16 typedef NS_ENUM(NSInteger, Enum1) {
38 Enum1 e1 = Enum1One;
51 // CHECK: ![[ENUMERATOR1:[0-9]+]] = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Enum1"
69 // CHECK: ![[TYPE1]] = !DIDerivedType(tag: DW_TAG_typedef, name: "Enum1"
/external/catch2/projects/SelfTest/UsageTests/
DEnumToString.tests.cpp6 enum Enum1 { Enum1Value0, Enum1Value1 }; enum
17 Enum1 e0 = Enum1Value0;
19 Enum1 e1 = Enum1Value1;
/external/clang/test/SemaCXX/
Doverloaded-builtin-operators.cpp17 struct Enum1 { struct
40 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { in f()
203 typedef enum { Enum1, Enum2, Enum3 } MyEnum; enumerator
Doverloaded-operator.cpp59 enum Enum1 { }; enum
63 E1(Enum1) { } in E1()
73 void enum_test(Enum1 enum1, Enum2 enum2, E1 e1, E2 e2, Enum1 next_enum1) { in enum_test()
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py270 class Enum1(messages.Enum): class
277 self.assertEquals('Enum1', Enum1.definition_name())
278 self.assertEquals(None, Enum1.outer_definition_name())
279 self.assertEquals(None, Enum1.definition_package())
280 self.assertEquals(six.text_type, type(Enum1.definition_name()))
333 class Enum1(messages.Enum): class
340 self.assertEquals(Enum1.VAL1, Enum1.VAL1)
341 self.assertNotEquals(Enum1.VAL1, Enum1.VAL2)
342 self.assertNotEquals(Enum1.VAL1, Enum2.VAL1)
343 self.assertNotEquals(Enum1.VAL1, 'VAL1')
[all …]
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DE.input14 enum Enum1 {
17 Enum1() {}
DE.output14 enum Enum1 {
20 Enum1() {}
/external/grpc-grpc/third_party/nanopb/tests/options/
Doptions.proto39 enum Enum1 enum
48 required Enum1 field = 1 [default = EnumValue2];
/external/nanopb-c/tests/options/
Doptions.proto40 enum Enum1 enum
49 required Enum1 field = 1 [default = EnumValue2];
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dfunction.pass.cpp21 enum Enum1 {}; enum
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dfunction.pass.cpp18 enum Enum1 {}; enum
/external/protobuf/objectivec/Tests/
Dunittest_deprecated_file.proto72 enum Enum1 { enum
Dunittest_deprecated.proto73 enum Enum1 { enum
/external/cronet/third_party/protobuf/objectivec/Tests/
Dunittest_deprecated_file.proto72 enum Enum1 { enum
Dunittest_deprecated.proto73 enum Enum1 { enum
/external/rust/crates/pin-project-lite/tests/
Dtest.rs608 enum Enum1 { in attrs()
/external/clang/lib/AST/
DASTImporter.cpp1460 } else if (EnumDecl *Enum1 = dyn_cast<EnumDecl>(D1)) { in Finish() local
1463 IdentifierInfo *Name1 = Enum1->getIdentifier(); in Finish()
1464 if (!Name1 && Enum1->getTypedefNameForAnonDecl()) in Finish()
1465 Name1 = Enum1->getTypedefNameForAnonDecl()->getIdentifier(); in Finish()
1470 !::IsStructurallyEquivalent(*this, Enum1, Enum2)) in Finish()
/external/golang-protobuf/internal/encoding/text/
Ddecode_test.go959 in: `foo: Enum1[bar]:Enum2`,