Home
last modified time | relevance | path

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

12

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java203 assertFalse(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection()
204 assertFalse(message.hasField(optionalStringField)); in testFieldPresenceByReflection()
205 assertFalse(message.hasField(optionalBytesField)); in testFieldPresenceByReflection()
206 assertFalse(message.hasField(optionalNestedEnumField)); in testFieldPresenceByReflection()
216 assertFalse(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection()
217 assertFalse(message.hasField(optionalStringField)); in testFieldPresenceByReflection()
218 assertFalse(message.hasField(optionalBytesField)); in testFieldPresenceByReflection()
219 assertFalse(message.hasField(optionalNestedEnumField)); in testFieldPresenceByReflection()
229 assertTrue(message.hasField(optionalInt32Field)); in testFieldPresenceByReflection()
230 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()
/external/protobuf/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
389 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.BuilderAdapter
390 return builder.hasField(field); in hasField()
576 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.ExtensionAdapter
577 return extensions.hasField(field); in hasField()
968 boolean hasOriginalValue = target.hasField(field); in mergeMessageSetExtensionFromBytes()
DMapEntry.java163 if (hasField(field)) { in getAllFields()
179 public boolean hasField(FieldDescriptor field) { in hasField() method in MapEntry
382 if (hasField(field)) { in getAllFields()
390 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);
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
505 if (!hasField(field)) { in getAllFieldsMutable()
542 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage.Builder
625 if (!hasField(field)) { in isInitialized()
640 if (hasField(field) && in isInitialized()
833 return extensions.hasField(extension.getDescriptor()); in hasExtension()
1008 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage.ExtendableMessage
[all …]
DMessageOrBuilder.java111 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
DUnknownFieldSet.java116 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet
424 if (hasField(number)) { in mergeField()
464 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet.Builder
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java256 if (!source.hasField(field)) { in merge()
262 if (source.hasField(field)) { in merge()
267 if (source.hasField(field) || !options.replacePrimitiveFields()) { in merge()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java93 if (ancestor.getTypeDeclaration().hasField(name)) { in getField()
101 public boolean hasField(String name) { in hasField() method in ReflectionClassAdapter
111 return superclass.getTypeDeclaration().hasField(name); in hasField()
DReflectionEnumDeclaration.java118 public boolean hasField(String name) { in hasField() method in ReflectionEnumDeclaration
119 return reflectionClassAdapter.hasField(name); in hasField()
DReflectionInterfaceDeclaration.java253 public boolean hasField(String name) { in hasField() method in ReflectionInterfaceDeclaration
254 return reflectionClassAdapter.hasField(name); in hasField()
DReflectionClassDeclaration.java259 public boolean hasField(String name) { in hasField() method in ReflectionClassDeclaration
260 return reflectionClassAdapter.hasField(name); in hasField()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_EnumDeclarationContext.txt7 … this.getDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model.declarations.Re…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt9 …n.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model.declarations.Re…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt38 …r.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model.declarations.Re…
49 …s.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model.declarations.Re…
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt20 …7) reflectionClassAdapter.hasField(name) ==> com.github.javaparser.symbolsolver.reflectionmodel.Re…
/external/protobuf/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
631 this.builder.hasField(fieldDescriptor) || fields.containsKey(fieldDescriptor)) { in getField()
636 if (this.builder.hasField(fieldDescriptor)) { in getField()
/external/protobuf/objectivec/
DGPBUnknownFieldSet.h45 - (BOOL)hasField:(int32_t)number;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp569 static bool hasField(TBAAStructTypeNode BaseType, in hasField() function
573 if (T == FieldType || hasField(T, FieldType)) in hasField()
643 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DEnumDeclarationContext.java57 if (this.getDeclaration().hasField(name)) { in solveSymbol()
DSwitchEntryContext.java52 if (typeUsageOfTypeDeclaration.getTypeDeclaration().hasField(name)) { in solveSymbol()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserTypeVariableDeclaration.java111 public boolean hasField(String name) { in hasField() method in JavaParserTypeVariableDeclaration

12