Home
last modified time | relevance | path

Searched refs:fieldType (Results 1 – 25 of 84) sorted by relevance

1234

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyRepeatedField.java64 …edField(Ruby runtime, RubyClass klazz, Descriptors.FieldDescriptor.Type fieldType, IRubyObject typ… in RubyRepeatedField() argument
66 this.fieldType = fieldType; in RubyRepeatedField()
79 this.fieldType = Utils.rubyToFieldType(args[0]); in initialize()
80 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE in initialize()
81 || fieldType == Descriptors.FieldDescriptor.Type.ENUM) { in initialize()
87 Utils.validateTypeClass(context, fieldType, typeClass); in initialize()
113 Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in indexSet()
167 if (!(fieldType == Descriptors.FieldDescriptor.Type.MESSAGE && in push()
169 Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in push()
238 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in plus()
[all …]
DUtils.java67 public static void checkType(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType, in checkType() argument
71 switch(fieldType) { in checkType()
79 switch(fieldType) { in checkType()
93 checkIntTypePrecision(context, fieldType, value); in checkType()
109 validateStringEncoding(context.runtime, fieldType, value); in checkType()
132 …wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType, Object value) { in wrapPrimaryValue() argument
134 switch (fieldType) { in wrapPrimaryValue()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs45 private FieldType fieldType; field in Google.Protobuf.Reflection.FieldDescriptor
74 fieldType = GetFieldTypeFromProtoType(proto.Type); in FieldDescriptor()
185 …public bool IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messag…
200 public FieldType FieldType => fieldType;
230 if (fieldType != FieldType.Enum)
245 if (fieldType != FieldType.Message)
268 fieldType = FieldType.Message; in CrossLink()
272 fieldType = FieldType.Enum; in CrossLink()
280 if (fieldType == FieldType.Message) in CrossLink()
293 else if (fieldType == FieldType.Enum) in CrossLink()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_interform.cpp49 bool IsFormFieldTypeComboOrText(FormFieldType fieldType) { in IsFormFieldTypeComboOrText() argument
50 switch (fieldType) { in IsFormFieldTypeComboOrText()
60 bool IsFormFieldTypeXFA(FormFieldType fieldType) { in IsFormFieldTypeXFA() argument
61 switch (fieldType) { in IsFormFieldTypeXFA()
271 FormFieldType fieldType = pField->GetFieldType(); in OnCalculate() local
272 if (!IsFormFieldTypeComboOrText(fieldType)) in OnCalculate()
631 FormFieldType fieldType = pField->GetFieldType(); in BeforeValueChange() local
632 if (!IsFormFieldTypeComboOrText(fieldType)) in BeforeValueChange()
648 FormFieldType fieldType = pField->GetFieldType(); in AfterValueChange() local
649 if (IsFormFieldTypeComboOrText(fieldType)) { in AfterValueChange()
[all …]
Dcpdfsdk_interform.h96 bool IsNeedHighLight(FormFieldType fieldType);
100 void SetHighlightColor(FX_COLORREF clr, FormFieldType fieldType);
102 FX_COLORREF GetHighlightColor(FormFieldType fieldType);
Dcpdfsdk_widgethandler.cpp230 FormFieldType fieldType = pWidget->GetFieldType(); in OnLoad() local
231 if (fieldType == FormFieldType::kTextField || in OnLoad()
232 fieldType == FormFieldType::kComboBox) { in OnLoad()
239 if (bFormatted && fieldType == FormFieldType::kComboBox) in OnLoad()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java100 Class fieldType = f.getType(); in equals() local
110 if (fieldType.isPrimitive()) { in equals()
111 String fname = fieldType.toString(); in equals()
191 Class fieldType = f.getType(); in match() local
200 if (fieldType.isPrimitive()) { in match()
201 String fname = fieldType.toString(); in match()
302 Class fieldType = f.getType(); in debugDump() local
315 if (fieldType.isPrimitive()) { in debugDump()
316 String fname = fieldType.toString(); in debugDump()
340 } else if (GenericObject.class.isAssignableFrom(fieldType)) { in debugDump()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java98 Class<?> fieldType = f.getType(); in equals() local
108 if (fieldType.isPrimitive()) { in equals()
109 String fname = fieldType.toString(); in equals()
188 Class<?> fieldType = f.getType(); in match() local
198 if (fieldType.isPrimitive()) { in match()
199 String fname = fieldType.toString(); in match()
295 Class<?> fieldType = f.getType(); in debugDump() local
308 if (fieldType.isPrimitive()) { in debugDump()
309 String fname = fieldType.toString(); in debugDump()
333 } else if (GenericObject.class.isAssignableFrom(fieldType)) { in debugDump()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp112 const TType *fieldType = field->type(); in containsArrays() local
113 if(fieldType->isArray() || fieldType->isStructureContainingArrays()) in containsArrays()
123 const TType *fieldType = field->type(); in containsType() local
124 if(fieldType->getBasicType() == type || fieldType->isStructureContainingType(type)) in containsType()
134 const TType *fieldType = field->type(); in containsSamplers() local
135 if(IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderFieldReference.java42 @Nonnull final BuilderTypeReference fieldType; field in BuilderFieldReference
47 @Nonnull BuilderTypeReference fieldType) { in BuilderFieldReference() argument
50 this.fieldType = fieldType; in BuilderFieldReference()
62 return fieldType.getType(); in getType()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageObject.java71 Class<?> fieldType = f.getType(); in debugDump() local
84 if (fieldType.isPrimitive()) { in debugDump()
85 String fname = fieldType.toString(); in debugDump()
111 fieldType)) { in debugDump()
121 fieldType)) { in debugDump()
136 sprint(fieldType.getName() + ":"); in debugDump()
/external/nist-sip/java/gov/nist/core/
DGenericObject.java238 Class<?> fieldType = f.getType(); in merge() local
239 String fname = fieldType.toString(); in merge()
242 if (fieldType.isPrimitive()) { in merge()
425 Class<?> fieldType = f.getType(); in equals() local
435 if (fieldType.isPrimitive()) { in equals()
436 String fname = fieldType.toString(); in equals()
510 Class<?> fieldType = f.getType(); in match() local
520 if (fieldType.isPrimitive()) { in match()
521 String fname = fieldType.toString(); in match()
605 Class<?> fieldType = f.getType(); in debugDump() local
[all …]
/external/protobuf/objectivec/
DGPBMessage.m651 if (field.fieldType == GPBFieldTypeRepeated) {
673 if (field.fieldType == GPBFieldTypeMap) {
894 if (field.fieldType == GPBFieldTypeRepeated) {
928 if (field.fieldType == GPBFieldTypeRepeated) {
1008 if (field.fieldType == GPBFieldTypeRepeated) {
1087 GPBFieldType fieldType = field.fieldType;
1088 if (fieldType == GPBFieldTypeSingle) {
1105 } else if (fieldType == GPBFieldTypeRepeated) {
1112 } else { // fieldType == GPBFieldTypeMap
1258 GPBFieldType fieldType = field.fieldType;
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue347.java49 ResolvedType fieldType = javaParserFacade.getType(fieldDeclaration); in resolvingReferenceToEnumDeclarationInSameFile() local
50 assertEquals(true, fieldType.isReferenceType()); in resolvingReferenceToEnumDeclarationInSameFile()
51 assertEquals(true, fieldType.asReferenceType().getTypeDeclaration().isEnum()); in resolvingReferenceToEnumDeclarationInSameFile()
52 assertEquals("foo.bar.Foo", fieldType.asReferenceType().getQualifiedName()); in resolvingReferenceToEnumDeclarationInSameFile()
/external/desugar/java/com/google/devtools/common/options/
DOptionsUsage.java320 Class<?> fieldType = optionDefinition.getType(); in getCompletion() local
322 if (fieldType.equals(boolean.class)) { in getCompletion()
325 } else if (fieldType.equals(TriState.class)) { in getCompletion()
328 } else if (fieldType.isEnum()) { in getCompletion()
331 .append(COMMA_JOINER.join(fieldType.getEnumConstants()).toLowerCase(Locale.ENGLISH)) in getCompletion()
333 } else if (fieldType.getSimpleName().equals("Label")) { in getCompletion()
336 } else if (fieldType.getSimpleName().equals("PathFragment")) { in getCompletion()
338 } else if (Void.class.isAssignableFrom(fieldType)) { in getCompletion()
DOptionDefinition.java202 Type fieldType = getField().getGenericType(); in getFieldSingularType() local
206 ParameterizedType pfieldType = (ParameterizedType) fieldType; in getFieldSingularType()
207 fieldType = pfieldType.getActualTypeArguments()[0]; in getFieldSingularType()
209 return fieldType; in getFieldSingularType()
/external/cldr/tools/java/org/unicode/cldr/util/
DLogicalGrouping.java132 String fieldType = parts.findAttributeValue("field", "type"); in getPaths() local
136 …if (!(nowUnits.contains(fieldType) && relativeValue == 0)) { // Workaround for "now", "this hour",… in getPaths()
138 if (fieldType != null && fieldType.startsWith("day")) { in getPaths()
197 String fieldType = parts.findAttributeValue("field", "type"); in isOptional() local
200 … if (fieldType != null && fieldType.startsWith("day") && Math.abs(relativeValue.intValue()) >= 2) { in isOptional()
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DInitializePropertyMetaModelsStatementsGenerator.java23 final Class<?> fieldType = fieldTypeAnalysis.innerType; in generate() local
24 final String typeName = fieldType.getTypeName().replace('$', '.'); in generate()
31 optionalOf(decapitalize(nodeMetaModelName(fieldType)), isNode(fieldType)), in generate()
/external/proguard/src/proguard/obfuscate/
DMappingKeeper.java101 String fieldType, in processFieldMapping() argument
109 String descriptor = ClassUtil.internalType(fieldType); in processFieldMapping()
125 ": field '" + fieldType + " " + fieldName + in processFieldMapping()
DMultiMappingProcessor.java63 String fieldType, in processFieldMapping() argument
70 fieldType, in processFieldMapping()
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java213 private static <T> T readFieldOrNull(Object instance, Class<T> fieldType, String fieldName) { in readFieldOrNull() argument
219 if (value == null || !fieldType.isInstance(value)) return null; in readFieldOrNull()
220 return fieldType.cast(value); in readFieldOrNull()
230 if (delegate != null) return readFieldOrNull(delegate, fieldType, fieldName); in readFieldOrNull()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java217 private static <T> T readFieldOrNull(Object instance, Class<T> fieldType, String fieldName) { in readFieldOrNull() argument
223 if (value == null || !fieldType.isInstance(value)) return null; in readFieldOrNull()
224 return fieldType.cast(value); in readFieldOrNull()
234 if (delegate != null) return readFieldOrNull(delegate, fieldType, fieldName); in readFieldOrNull()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionFieldDeclaration.java79 public ResolvedFieldDeclaration replaceType(ResolvedType fieldType) { in replaceType() argument
80 return new ReflectionFieldDeclaration(field, typeSolver, fieldType); in replaceType()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java639 fieldType (); in parameterDescriptor()
655 fieldType (); in returnDescriptor()
663 fieldType (); in componentType()
687 void fieldType () throws IOException in fieldType() method in Types.methodDescriptorCompiler
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java121 Class<?> fieldType = field.getType(); in print() local
124 if (fieldType.isArray()) { in print()
125 Class<?> arrayType = fieldType.getComponentType(); in print()

1234