Home
last modified time | relevance | path

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

/third_party/protobuf/objectivec/Tests/
DGPBDictionaryTests+Int32.m2616 XCTAssertFalse([dict getEnum:NULL forKey:11]);
2630 XCTAssertTrue([dict getEnum:NULL forKey:11]);
2631 XCTAssertTrue([dict getEnum:&value forKey:11]);
2633 XCTAssertFalse([dict getEnum:NULL forKey:12]);
2652 XCTAssertTrue([dict getEnum:NULL forKey:11]);
2653 XCTAssertTrue([dict getEnum:&value forKey:11]);
2655 XCTAssertTrue([dict getEnum:NULL forKey:12]);
2656 XCTAssertTrue([dict getEnum:&value forKey:12]);
2658 XCTAssertTrue([dict getEnum:NULL forKey:13]);
2659 XCTAssertTrue([dict getEnum:&value forKey:13]);
[all …]
DGPBDictionaryTests+String.m2616 XCTAssertFalse([dict getEnum:NULL forKey:@"foo"]);
2630 XCTAssertTrue([dict getEnum:NULL forKey:@"foo"]);
2631 XCTAssertTrue([dict getEnum:&value forKey:@"foo"]);
2633 XCTAssertFalse([dict getEnum:NULL forKey:@"bar"]);
2652 XCTAssertTrue([dict getEnum:NULL forKey:@"foo"]);
2653 XCTAssertTrue([dict getEnum:&value forKey:@"foo"]);
2655 XCTAssertTrue([dict getEnum:NULL forKey:@"bar"]);
2656 XCTAssertTrue([dict getEnum:&value forKey:@"bar"]);
2658 XCTAssertTrue([dict getEnum:NULL forKey:@"baz"]);
2659 XCTAssertTrue([dict getEnum:&value forKey:@"baz"]);
[all …]
DGPBDictionaryTests+UInt32.m2616 XCTAssertFalse([dict getEnum:NULL forKey:1U]);
2630 XCTAssertTrue([dict getEnum:NULL forKey:1U]);
2631 XCTAssertTrue([dict getEnum:&value forKey:1U]);
2633 XCTAssertFalse([dict getEnum:NULL forKey:2U]);
2652 XCTAssertTrue([dict getEnum:NULL forKey:1U]);
2653 XCTAssertTrue([dict getEnum:&value forKey:1U]);
2655 XCTAssertTrue([dict getEnum:NULL forKey:2U]);
2656 XCTAssertTrue([dict getEnum:&value forKey:2U]);
2658 XCTAssertTrue([dict getEnum:NULL forKey:3U]);
2659 XCTAssertTrue([dict getEnum:&value forKey:3U]);
[all …]
DGPBDictionaryTests+Int64.m2616 XCTAssertFalse([dict getEnum:NULL forKey:21LL]);
2630 XCTAssertTrue([dict getEnum:NULL forKey:21LL]);
2631 XCTAssertTrue([dict getEnum:&value forKey:21LL]);
2633 XCTAssertFalse([dict getEnum:NULL forKey:22LL]);
2652 XCTAssertTrue([dict getEnum:NULL forKey:21LL]);
2653 XCTAssertTrue([dict getEnum:&value forKey:21LL]);
2655 XCTAssertTrue([dict getEnum:NULL forKey:22LL]);
2656 XCTAssertTrue([dict getEnum:&value forKey:22LL]);
2658 XCTAssertTrue([dict getEnum:NULL forKey:23LL]);
2659 XCTAssertTrue([dict getEnum:&value forKey:23LL]);
[all …]
DGPBDictionaryTests+UInt64.m2616 XCTAssertFalse([dict getEnum:NULL forKey:31ULL]);
2630 XCTAssertTrue([dict getEnum:NULL forKey:31ULL]);
2631 XCTAssertTrue([dict getEnum:&value forKey:31ULL]);
2633 XCTAssertFalse([dict getEnum:NULL forKey:32ULL]);
2652 XCTAssertTrue([dict getEnum:NULL forKey:31ULL]);
2653 XCTAssertTrue([dict getEnum:&value forKey:31ULL]);
2655 XCTAssertTrue([dict getEnum:NULL forKey:32ULL]);
2656 XCTAssertTrue([dict getEnum:&value forKey:32ULL]);
2658 XCTAssertTrue([dict getEnum:NULL forKey:33ULL]);
2659 XCTAssertTrue([dict getEnum:&value forKey:33ULL]);
[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.m1446 XCTAssertTrue([msg1.knownMapField getEnum:&val forKey:0]);
1455 XCTAssertTrue([msg2.knownMapField getEnum:&val forKey:0]);
1459 XCTAssertTrue([msg2.unknownMapField getEnum:&val forKey:0]);
/third_party/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()
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());
DExperimentalTestDataProvider.java75 public int getEnum() { in getEnum() method in ExperimentalTestDataProvider
/third_party/protobuf/objectivec/
DGPBDictionary.h788 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint32_t)key;
1709 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int32_t)key;
2630 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint64_t)key;
3551 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int64_t)key;
4472 - (BOOL)getEnum:(nullable int32_t *)value forKey:(BOOL)key;
5393 - (BOOL)getEnum:(nullable int32_t *)value forKey:(NSString *)key;
DGPBDictionary.m703 //%- (BOOL)getEnum:(VALUE_TYPE *)value forKey:(KEY_TYPE##KisP$S##KisP)key {
2889 - (BOOL)getEnum:(int32_t *)value forKey:(uint32_t)key {
4639 - (BOOL)getEnum:(int32_t *)value forKey:(int32_t)key {
6389 - (BOOL)getEnum:(int32_t *)value forKey:(uint64_t)key {
8139 - (BOOL)getEnum:(int32_t *)value forKey:(int64_t)key {
9949 - (BOOL)getEnum:(int32_t *)value forKey:(NSString *)key {
11861 - (BOOL)getEnum:(int32_t*)value forKey:(BOOL)key {
DGPBMessage.m3196 result.encodingSelector = @selector(getEnum);
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_ra.cpp2257 switch (tex->tex.target.getEnum()) { in isScalarTexGM107()
2278 switch (tex->tex.target.getEnum()) { in isScalarTexGM107()
2290 switch (tex->tex.target.getEnum()) { in isScalarTexGM107()
2310 switch (tex->tex.target.getEnum()) { in isScalarTexGM107()
Dnv50_ir.h1043 enum TexTarget getEnum() const { return target; } in getEnum() function
Dnv50_ir_emit_gm107.cpp2815 switch (tex->tex.target.getEnum()) { in getTEXSTarget()
2859 switch (tex->tex.target.getEnum()) { in getTLDSTarget()
Dnv50_ir_from_nir.cpp2308 TexInstruction *texi = mkTex(getOperation(op), target.getEnum(), location, 0, defs, srcs); in visit()
3081 TexInstruction *texi = mkTex(op, target.getEnum(), r, s, defs, srcs); in visit()
Dnv50_ir_lowering_nvc0.cpp1892 switch (su->tex.target.getEnum()) { in getSuClampSubOp()