Home
last modified time | relevance | path

Searched refs:hasField (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java225 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 …]
DTestUtil.java3014 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 …]
DDynamicMessageTest.java254 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()
DAbstractMessageTest.java81 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()
DUnknownFieldSetTest.java142 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
216 assertFalse(fields.hasField(fieldNumber)); in testClearField()
DLazyFieldLiteTest.java244 .hasField(optionalInt64Extension.getDescriptor().getNumber())); in testMergeMightLoseExtensions()
DWireFormatTest.java444 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/
DTestUtil.java2248 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 …]
DAbstractMessageTest.java79 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()
DWireFormatTest.java378 assertTrue(unknownFields.hasField(UNKNOWN_TYPE_ID)); in testParseMessageSetWithFlag()
DUnknownFieldSetTest.java139 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
/frameworks/native/libs/incidentcompanion/src/
DIncidentManager.cpp72 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/
DMessageReflection.java134 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()
DMapEntry.java190 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
DDynamicMessage.java191 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);
DMessageOrBuilder.java111 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
DGeneratedMessageV3.java152 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 …]
DGeneratedMessage.java151 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 …]
DUnknownFieldSet.java117 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
DFieldSet.java227 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/
DFieldMaskTree.java262 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/
DGPBUnknownFieldSet.h45 - (BOOL)hasField:(int32_t)number;
DGPBUnknownFieldSet.m140 - (BOOL)hasField:(int32_t)number {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java220 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/
DGPBMessageTests+Serialization.m169 XCTAssertTrue([unknownFields hasField:Message2_FieldNumber_OptionalEnum]);
171 [unknownFields hasField:Message2_FieldNumber_RepeatedEnumArray]);
172 XCTAssertTrue([unknownFields hasField:Message2_FieldNumber_OneofEnum]);

12