/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | FieldPresenceTest.java | 225 assertFalse(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection() 226 assertFalse(message.hasField(optionalStringField)); in testFieldPresenceByReflection() 227 assertFalse(message.hasField(optionalBytesField)); in testFieldPresenceByReflection() 228 assertFalse(message.hasField(optionalNestedEnumField)); in testFieldPresenceByReflection() 238 assertFalse(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection() 239 assertFalse(message.hasField(optionalStringField)); in testFieldPresenceByReflection() 240 assertFalse(message.hasField(optionalBytesField)); in testFieldPresenceByReflection() 241 assertFalse(message.hasField(optionalNestedEnumField)); in testFieldPresenceByReflection() 251 assertTrue(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection() 252 assertTrue(message.hasField(optionalStringField)); in testFieldPresenceByReflection() [all …]
|
D | TestUtil.java | 3014 Assert.assertTrue(message.hasField(f("optional_int32" ))); in assertAllFieldsSetViaReflection() 3015 Assert.assertTrue(message.hasField(f("optional_int64" ))); in assertAllFieldsSetViaReflection() 3016 Assert.assertTrue(message.hasField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection() 3017 Assert.assertTrue(message.hasField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection() 3018 Assert.assertTrue(message.hasField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection() 3019 Assert.assertTrue(message.hasField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection() 3020 Assert.assertTrue(message.hasField(f("optional_fixed32" ))); in assertAllFieldsSetViaReflection() 3021 Assert.assertTrue(message.hasField(f("optional_fixed64" ))); in assertAllFieldsSetViaReflection() 3022 Assert.assertTrue(message.hasField(f("optional_sfixed32"))); in assertAllFieldsSetViaReflection() 3023 Assert.assertTrue(message.hasField(f("optional_sfixed64"))); in assertAllFieldsSetViaReflection() [all …]
|
D | DynamicMessageTest.java | 254 assertTrue(copy.hasField(bytesField)); in testDynamicMessageCopy() 255 assertFalse(copy.hasField(uint32Field)); in testDynamicMessageCopy() 258 assertFalse(copy2.hasField(bytesField)); in testDynamicMessageCopy() 259 assertTrue(copy2.hasField(uint32Field)); in testDynamicMessageCopy() 301 assertTrue(mergedBuilder.hasField(mergedField)); in testDynamicOneofMessage() 303 assertTrue(mergedBuilder.hasField(field)); in testDynamicOneofMessage() 304 assertFalse(mergedBuilder.hasField(mergedField)); in testDynamicOneofMessage()
|
D | AbstractMessageTest.java | 81 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper 82 return wrappedMessage.hasField(field); in hasField() 150 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper.Builder 151 return wrappedBuilder.hasField(field); in hasField()
|
D | UnknownFieldSetTest.java | 142 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup() 216 assertFalse(fields.hasField(fieldNumber)); in testClearField()
|
D | LazyFieldLiteTest.java | 244 .hasField(optionalInt64Extension.getDescriptor().getNumber())); in testMergeMightLoseExtensions()
|
D | WireFormatTest.java | 444 assertTrue(unknownFields.hasField(UNKNOWN_TYPE_ID)); in testParseMessageSetWithFlag()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 2248 Assert.assertTrue(message.hasField(f("optional_int32" ))); in assertAllFieldsSetViaReflection() 2249 Assert.assertTrue(message.hasField(f("optional_int64" ))); in assertAllFieldsSetViaReflection() 2250 Assert.assertTrue(message.hasField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection() 2251 Assert.assertTrue(message.hasField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection() 2252 Assert.assertTrue(message.hasField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection() 2253 Assert.assertTrue(message.hasField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection() 2254 Assert.assertTrue(message.hasField(f("optional_fixed32" ))); in assertAllFieldsSetViaReflection() 2255 Assert.assertTrue(message.hasField(f("optional_fixed64" ))); in assertAllFieldsSetViaReflection() 2256 Assert.assertTrue(message.hasField(f("optional_sfixed32"))); in assertAllFieldsSetViaReflection() 2257 Assert.assertTrue(message.hasField(f("optional_sfixed64"))); in assertAllFieldsSetViaReflection() [all …]
|
D | AbstractMessageTest.java | 79 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper 80 return wrappedMessage.hasField(field); in hasField() 134 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper.Builder 135 return wrappedBuilder.hasField(field); in hasField()
|
D | WireFormatTest.java | 378 assertTrue(unknownFields.hasField(UNKNOWN_TYPE_ID)); in testParseMessageSetWithFlag()
|
D | UnknownFieldSetTest.java | 139 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
|
/frameworks/native/libs/incidentcompanion/src/ |
D | IncidentManager.cpp | 72 int32_t hasField; in readFromParcel() local 84 err = in->readInt32(&hasField); in readFromParcel() 89 if (hasField) { in readFromParcel()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 134 if (!message.hasField(field)) { in isInitialized() 188 if (field.isRequired() && !message.hasField(field)) { in findMissingFields() 207 if (message.hasField(field)) { in findMissingFields() 263 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method 388 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.BuilderAdapter 389 return builder.hasField(field); in hasField() 574 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.ExtensionAdapter 575 return extensions.hasField(field); in hasField() 965 boolean hasOriginalValue = target.hasField(field); in mergeMessageSetExtensionFromBytes()
|
D | MapEntry.java | 190 if (hasField(field)) { in getAllFields() 206 public boolean hasField(FieldDescriptor field) { in hasField() method in MapEntry 387 if (hasField(field)) { in getAllFields() 395 public boolean hasField(FieldDescriptor field) { in hasField() method in MapEntry.Builder
|
D | DynamicMessage.java | 191 public boolean hasField(FieldDescriptor field) { in hasField() method in DynamicMessage 193 return fields.hasField(field); in hasField() 234 if (!fields.hasField(field)) { in isInitialized() 488 public boolean hasField(FieldDescriptor field) { 490 return fields.hasField(field);
|
D | MessageOrBuilder.java | 111 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
|
D | GeneratedMessageV3.java | 152 if (!hasField(field)) { in getAllFieldsMutable() 171 if (!hasField(field)) { in isInitialized() 186 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 228 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessageV3 507 if (!hasField(field)) { 544 public boolean hasField(final FieldDescriptor field) { 627 if (!hasField(field)) { 642 if (hasField(field) && 862 return extensions.hasField(extension.getDescriptor()); 1084 public boolean hasField(final FieldDescriptor field) { [all …]
|
D | GeneratedMessage.java | 151 if (!hasField(field)) { in getAllFieldsMutable() 170 if (!hasField(field)) { in isInitialized() 185 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 227 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage 506 if (!hasField(field)) { 543 public boolean hasField(final FieldDescriptor field) { 626 if (!hasField(field)) { 641 if (hasField(field) && 861 return extensions.hasField(extension.getDescriptor()); 1083 public boolean hasField(final FieldDescriptor field) { [all …]
|
D | UnknownFieldSet.java | 117 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet 426 if (hasField(number)) { in mergeField() 466 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet.Builder
|
D | FieldSet.java | 227 public boolean hasField(final FieldDescriptorType descriptor) { in hasField() method in FieldSet
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 262 if (!source.hasField(field)) { in merge() 268 if (source.hasField(field)) { in merge() 273 if (source.hasField(field) || !options.replacePrimitiveFields()) { in merge()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBUnknownFieldSet.h | 45 - (BOOL)hasField:(int32_t)number;
|
D | GPBUnknownFieldSet.m | 140 - (BOOL)hasField:(int32_t)number {
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 220 if (!hasField(args[0])) { in methodMissing() 240 if (!hasField(field)) { in methodMissing() 261 } else if (this.builder.hasField(fieldDescriptor)) { in dup() 408 } else if (this.builder.hasField(fdef)) { in deepCopy() 445 private boolean hasField(IRubyObject fieldName) { in hasField() method in RubyMessage 635 this.builder.hasField(fieldDescriptor) || fields.containsKey(fieldDescriptor)) { in getField() 640 if (this.builder.hasField(fieldDescriptor)) { in getField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBMessageTests+Serialization.m | 169 XCTAssertTrue([unknownFields hasField:Message2_FieldNumber_OptionalEnum]); 171 [unknownFields hasField:Message2_FieldNumber_RepeatedEnumArray]); 172 XCTAssertTrue([unknownFields hasField:Message2_FieldNumber_OneofEnum]);
|