Home
last modified time | relevance | path

Searched refs:getEnum (Results 1 – 25 of 32) sorted by relevance

12

/external/protobuf/objectivec/Tests/
DGPBDictionaryTests+Int32.m2615 XCTAssertFalse([dict getEnum:NULL forKey:11]);
2629 XCTAssertTrue([dict getEnum:NULL forKey:11]);
2630 XCTAssertTrue([dict getEnum:&value forKey:11]);
2632 XCTAssertFalse([dict getEnum:NULL forKey:12]);
2651 XCTAssertTrue([dict getEnum:NULL forKey:11]);
2652 XCTAssertTrue([dict getEnum:&value forKey:11]);
2654 XCTAssertTrue([dict getEnum:NULL forKey:12]);
2655 XCTAssertTrue([dict getEnum:&value forKey:12]);
2657 XCTAssertTrue([dict getEnum:NULL forKey:13]);
2658 XCTAssertTrue([dict getEnum:&value forKey:13]);
[all …]
DGPBDictionaryTests+String.m2615 XCTAssertFalse([dict getEnum:NULL forKey:@"foo"]);
2629 XCTAssertTrue([dict getEnum:NULL forKey:@"foo"]);
2630 XCTAssertTrue([dict getEnum:&value forKey:@"foo"]);
2632 XCTAssertFalse([dict getEnum:NULL forKey:@"bar"]);
2651 XCTAssertTrue([dict getEnum:NULL forKey:@"foo"]);
2652 XCTAssertTrue([dict getEnum:&value forKey:@"foo"]);
2654 XCTAssertTrue([dict getEnum:NULL forKey:@"bar"]);
2655 XCTAssertTrue([dict getEnum:&value forKey:@"bar"]);
2657 XCTAssertTrue([dict getEnum:NULL forKey:@"baz"]);
2658 XCTAssertTrue([dict getEnum:&value forKey:@"baz"]);
[all …]
DGPBDictionaryTests+UInt32.m2615 XCTAssertFalse([dict getEnum:NULL forKey:1U]);
2629 XCTAssertTrue([dict getEnum:NULL forKey:1U]);
2630 XCTAssertTrue([dict getEnum:&value forKey:1U]);
2632 XCTAssertFalse([dict getEnum:NULL forKey:2U]);
2651 XCTAssertTrue([dict getEnum:NULL forKey:1U]);
2652 XCTAssertTrue([dict getEnum:&value forKey:1U]);
2654 XCTAssertTrue([dict getEnum:NULL forKey:2U]);
2655 XCTAssertTrue([dict getEnum:&value forKey:2U]);
2657 XCTAssertTrue([dict getEnum:NULL forKey:3U]);
2658 XCTAssertTrue([dict getEnum:&value forKey:3U]);
[all …]
DGPBDictionaryTests+UInt64.m2615 XCTAssertFalse([dict getEnum:NULL forKey:31ULL]);
2629 XCTAssertTrue([dict getEnum:NULL forKey:31ULL]);
2630 XCTAssertTrue([dict getEnum:&value forKey:31ULL]);
2632 XCTAssertFalse([dict getEnum:NULL forKey:32ULL]);
2651 XCTAssertTrue([dict getEnum:NULL forKey:31ULL]);
2652 XCTAssertTrue([dict getEnum:&value forKey:31ULL]);
2654 XCTAssertTrue([dict getEnum:NULL forKey:32ULL]);
2655 XCTAssertTrue([dict getEnum:&value forKey:32ULL]);
2657 XCTAssertTrue([dict getEnum:NULL forKey:33ULL]);
2658 XCTAssertTrue([dict getEnum:&value forKey:33ULL]);
[all …]
DGPBDictionaryTests+Int64.m2615 XCTAssertFalse([dict getEnum:NULL forKey:21LL]);
2629 XCTAssertTrue([dict getEnum:NULL forKey:21LL]);
2630 XCTAssertTrue([dict getEnum:&value forKey:21LL]);
2632 XCTAssertFalse([dict getEnum:NULL forKey:22LL]);
2651 XCTAssertTrue([dict getEnum:NULL forKey:21LL]);
2652 XCTAssertTrue([dict getEnum:&value forKey:21LL]);
2654 XCTAssertTrue([dict getEnum:NULL forKey:22LL]);
2655 XCTAssertTrue([dict getEnum:&value forKey:22LL]);
2657 XCTAssertTrue([dict getEnum:NULL forKey:23LL]);
2658 XCTAssertTrue([dict getEnum:&value forKey:23LL]);
[all …]
DGPBSwiftTests.swift102 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:600)) in testProto2Basics()
104 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:601)) in testProto2Basics()
195 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:600)) in testProto3Basics()
197 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:601)) in testProto3Basics()
DGPBMessageTests+Serialization.m1131 XCTAssertTrue([msg1.knownMapField getEnum:&val forKey:0]);
1140 XCTAssertTrue([msg2.knownMapField getEnum:&val forKey:0]);
1144 XCTAssertTrue([msg2.unknownMapField getEnum:&val forKey:0]);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DEnumValuesTest.java57 assertEquals(ABC.B, enumRes.getEnum(1)); in testEnumResolver()
58 assertNull(enumRes.getEnum(-1)); in testEnumResolver()
59 assertNull(enumRes.getEnum(3)); in testEnumResolver()
/external/clang/test/SemaObjC/
Dselector-1.m25 SEL s6 = @selector((getEnum:enum:bool:));
36 SEL s6 = @selector(getEnum:enum:bool:);
/external/llvm-project/clang/test/SemaObjC/
Dselector-1.m25 SEL s6 = @selector((getEnum:enum:bool:));
36 SEL s6 = @selector(getEnum:enum:bool:);
/external/llvm-project/clang/test/Parser/
Dselector-1.m13 SEL s6 = @selector(getEnum:enum:bool:);
/external/clang/test/Parser/
Dselector-1.m13 SEL s6 = @selector(getEnum:enum:bool:);
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DProto2MessageFactory.java92 builder.setFieldEnum13(Proto2Message.TestEnum.forNumber(data.getEnum())); in newMessage()
111 builder.addFieldEnumList30(Proto2Message.TestEnum.forNumber(data.getEnum())); in newMessage()
126 builder.addFieldEnumListPacked44(Proto2Message.TestEnum.forNumber(data.getEnum())); in newMessage()
217 return Proto2Message.TestEnum.forNumber(data.getEnum());
536 builder.setFieldRequiredEnum83(Proto2Message.TestEnum.forNumber(data.getEnum())); in populateRequiredFields()
DProto2MessageLiteFactory.java94 builder.setFieldEnum13(Proto2MessageLite.TestEnum.forNumber(data.getEnum())); in newMessage()
113 builder.addFieldEnumList30(Proto2MessageLite.TestEnum.forNumber(data.getEnum())); in newMessage()
128 builder.addFieldEnumListPacked44(Proto2MessageLite.TestEnum.forNumber(data.getEnum())); in newMessage()
220 return Proto2MessageLite.TestEnum.forNumber(data.getEnum());
539 builder.setFieldRequiredEnum83(Proto2MessageLite.TestEnum.forNumber(data.getEnum())); in populateRequiredFields()
DExperimentalTestDataProvider.java75 public int getEnum() { in getEnum() method in ExperimentalTestDataProvider
DProto3MessageLiteFactory.java92 builder.setFieldEnum13Value(data.getEnum()); in newMessage()
111 builder.addFieldEnumList30Value(data.getEnum()); in newMessage()
126 builder.addFieldEnumListPacked44Value(data.getEnum()); in newMessage()
207 return Proto3MessageLite.TestEnum.forNumber(data.getEnum());
DProto3MessageFactory.java90 builder.setFieldEnum13Value(data.getEnum()); in newMessage()
109 builder.addFieldEnumList30Value(data.getEnum()); in newMessage()
124 builder.addFieldEnumListPacked44Value(data.getEnum()); in newMessage()
205 return Proto3Message.TestEnum.forNumber(data.getEnum());
/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationValues.java219 public static VariableElement getEnum(AnnotationValue value) { in getEnum() method in AnnotationValues
357 new ArrayVisitor<>(AnnotationValues::getEnum);
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java228 public void getEnum() { in getEnum() method in AnnotationValuesTest
230 assertThat(AnnotationValues.getEnum(value)).isEqualTo(value.getValue()); in getEnum()
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java95 public static VariableElement getEnum(AnnotationValue value) { in getEnum() method in AnnotationValues
/external/antlr/runtime/ObjC/Framework/
DBufferedTreeNodeStream.h96 @property (retain, getter=getEnum, setter=setEnum:) NSEnumerator *e;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumResolver.java184 public Enum<?> getEnum(int index) { in getEnum() method in EnumResolver
/external/protobuf/objectivec/
DGPBDictionary.h787 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint32_t)key;
1708 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int32_t)key;
2629 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint64_t)key;
3550 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int64_t)key;
4471 - (BOOL)getEnum:(nullable int32_t *)value forKey:(BOOL)key;
5392 - (BOOL)getEnum:(nullable int32_t *)value forKey:(NSString *)key;
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTAttributeDef.java343 private int getEnum(String key) in getEnum() method in XSLTAttributeDef
642 int retVal = this.getEnum(value); in processENUM()
693 int key = this.getEnum(value); in processENUM_OR_PQNAME()
/external/doclava/src/com/google/doclava/
DPackageInfo.java388 public ClassInfo getEnum(String enumName) { in getEnum() method in PackageInfo

12