Home
last modified time | relevance | path

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

12345

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldInfo.java65 Field field, int fieldNumber, FieldType fieldType, boolean enforceUtf8) { in forField() argument
68 checkNotNull(fieldType, "fieldType"); in forField()
69 if (fieldType == FieldType.MESSAGE_LIST || fieldType == FieldType.GROUP_LIST) { in forField()
75 fieldType, in forField()
90 Field field, int fieldNumber, FieldType fieldType, Field cachedSizeField) { in forPackedField() argument
93 checkNotNull(fieldType, "fieldType"); in forPackedField()
94 if (fieldType == FieldType.MESSAGE_LIST || fieldType == FieldType.GROUP_LIST) { in forPackedField()
100 fieldType, in forPackedField()
115 Field field, int fieldNumber, FieldType fieldType, Class<?> messageClass) { in forRepeatedMessageField() argument
118 checkNotNull(fieldType, "fieldType"); in forRepeatedMessageField()
[all …]
/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 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in indexSet()
167 if (!(fieldType == Descriptors.FieldDescriptor.Type.MESSAGE && in push()
169 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in push()
238 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in plus()
[all …]
DUtils.java67 …lic static IRubyObject 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 value = validateStringEncoding(context, fieldType, value); in checkType()
133 …wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType, Object value) { in wrapPrimaryValue() argument
135 switch (fieldType) { in wrapPrimaryValue()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs47 private FieldType fieldType; field in Google.Protobuf.Reflection.FieldDescriptor
78 fieldType = GetFieldTypeFromProtoType(proto.Type); in FieldDescriptor()
199 …public bool IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messag…
209 public FieldType FieldType => fieldType;
239 if (fieldType != FieldType.Enum)
254 if (fieldType != FieldType.Message && fieldType != FieldType.Group)
317 fieldType = FieldType.Message; in CrossLink()
321 fieldType = FieldType.Enum; in CrossLink()
329 if (fieldType == FieldType.Message || fieldType == FieldType.Group) in CrossLink()
342 else if (fieldType == FieldType.Enum) in CrossLink()
[all …]
/external/javassist/src/main/javassist/expr/
DFieldAccess.java185 CtClass fieldType in replace() local
191 retType = fieldType; in replace()
195 params[0] = fieldType; in replace()
215 jc.recordType(fieldType); in replace()
250 CtClass fieldType; field in FieldAccess.ProceedForRead
255 fieldType = type; in ProceedForRead()
277 if (fieldType instanceof CtPrimitiveType) in doit()
278 stack += ((CtPrimitiveType)fieldType).getDataSize(); in doit()
285 gen.setType(fieldType); in doit()
292 c.setType(fieldType); in setReturnType()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_interactiveform.cpp45 bool IsFormFieldTypeComboOrText(FormFieldType fieldType) { in IsFormFieldTypeComboOrText() argument
46 switch (fieldType) { in IsFormFieldTypeComboOrText()
56 bool IsFormFieldTypeXFA(FormFieldType fieldType) { in IsFormFieldTypeXFA() argument
57 switch (fieldType) { in IsFormFieldTypeXFA()
260 FormFieldType fieldType = pField->GetFieldType(); in OnCalculate() local
261 if (!IsFormFieldTypeComboOrText(fieldType)) in OnCalculate()
525 FormFieldType fieldType = pField->GetFieldType(); in BeforeValueChange() local
526 if (!IsFormFieldTypeComboOrText(fieldType)) in BeforeValueChange()
538 FormFieldType fieldType = pField->GetFieldType(); in AfterValueChange() local
539 if (!IsFormFieldTypeComboOrText(fieldType)) in AfterValueChange()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp434 const TType &fieldType = *field->type(); in stripStructSpecifierSamplers() local
437 if (!fieldType.isSampler() && !isRemovedStructType(fieldType)) in stripStructSpecifierSamplers()
443 if (fieldType.isStructureContainingSamplers()) in stripStructSpecifierSamplers()
445 const TStructure *fieldStruct = fieldType.getStruct(); in stripStructSpecifierSamplers()
452 if (fieldType.isArray()) in stripStructSpecifierSamplers()
454 newType->makeArrays(fieldType.getArraySizes()); in stripStructSpecifierSamplers()
460 newType = new TType(fieldType); in stripStructSpecifierSamplers()
560 const TType &fieldType = *field->type(); in extractFieldSamplers() local
561 if (fieldType.isSampler() || fieldType.isStructureContainingSamplers()) in extractFieldSamplers()
565 if (fieldType.isSampler()) in extractFieldSamplers()
[all …]
DForcePrecisionQualifier.cpp66 const TType *fieldType = field->type(); in visitDeclaration() local
67 overwriteVariablePrecision((TType *)fieldType); in visitDeclaration()
76 const TType *fieldType = field->type(); in visitDeclaration() local
77 overwriteVariablePrecision((TType *)fieldType); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp81 const TType &fieldType = *fields[i]->type(); in IsSupportedTypeForStructuredBuffer() local
83 if (!fieldType.isArray() && !fieldType.getStruct() && in IsSupportedTypeForStructuredBuffer()
84 (fieldType.isScalar() || fieldType.isVector() || in IsSupportedTypeForStructuredBuffer()
85 (fieldType.isMatrix() && in IsSupportedTypeForStructuredBuffer()
86 ((matrixPacking != EmpRowMajor && fieldType.getRows() == 4) || in IsSupportedTypeForStructuredBuffer()
87 (matrixPacking == EmpRowMajor && fieldType.getCols() == 4))))) in IsSupportedTypeForStructuredBuffer()
114 const TType &fieldType = *interfaceBlock.fields()[0]->type(); in CanTranslateUniformBlockToStructuredBuffer() local
115 if (fieldType.getNumArraySizes() == 1u && in CanTranslateUniformBlockToStructuredBuffer()
116 fieldType.getOutermostArraySize() >= kMinArraySizeUseStructuredBuffer) in CanTranslateUniformBlockToStructuredBuffer()
118 return IsSupportedTypeForStructuredBuffer(fieldType); in CanTranslateUniformBlockToStructuredBuffer()
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java177 String fieldType = finfo.getDescriptor(); in getFieldGetter() local
180 accDesc = "()" + fieldType; in getFieldGetter()
182 accDesc = "(" + Descriptor.of(clazz) + ")" + fieldType; in getFieldGetter()
189 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
193 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
197 code.addReturn(Descriptor.toCtClass(fieldType, pool)); in getFieldGetter()
228 String fieldType = finfo.getDescriptor(); in getFieldSetter() local
231 accDesc = "(" + fieldType + ")V"; in getFieldSetter()
233 accDesc = "(" + Descriptor.of(clazz) + fieldType + ")V"; in getFieldSetter()
241 reg = code.addLoad(0, Descriptor.toCtClass(fieldType, pool)); in getFieldSetter()
[all …]
/external/angle/src/compiler/translator/
DValidateVaryingLocations.cpp33 const TType *fieldType = field->type(); in GetFieldLocationCount() local
35 if (fieldType->getStruct() != nullptr) in GetFieldLocationCount()
37 field_size = GetStructLocationCount(fieldType->getStruct()); in GetFieldLocationCount()
39 else if (fieldType->isMatrix()) in GetFieldLocationCount()
41 field_size = fieldType->getNominalSize(); in GetFieldLocationCount()
45 ASSERT(fieldType->getSecondarySize() == 1); in GetFieldLocationCount()
49 if (fieldType->isArray()) in GetFieldLocationCount()
51 field_size *= fieldType->getArraySizeProduct(); in GetFieldLocationCount()
91 const TType *fieldType = field->type(); in GetLocationCount() local
92 ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); in GetLocationCount()
DStructureHLSL.cpp44 const TType &fieldType = *field->type(); in Define() local
45 if (!IsSampler(fieldType.getBasicType())) in Define()
47 const TStructure *fieldStruct = fieldType.getStruct(); in Define()
51 : TypeString(fieldType); in Define()
56 fieldType, (memberSize != fields.size() - 1) && forcePadding); in Define()
60 ArrayString(fieldType).data() + ";\n"; in Define()
64 string += padHelper->postPaddingString(fieldType, useHLSLRowMajorPacking, in Define()
317 const TType *fieldType = field->type(); in defineVariants() local
318 if (fieldType->getBasicType() == EbtStruct) in defineVariants()
320 ensureStructDefined(*fieldType->getStruct()); in defineVariants()
[all …]
DResourcesHLSL.cpp44 const TType &fieldType = *field.type(); in InterfaceBlockFieldTypeString() local
45 const TLayoutMatrixPacking matrixPacking = fieldType.getLayoutQualifier().matrixPacking; in InterfaceBlockFieldTypeString()
47 const TStructure *structure = fieldType.getStruct(); in InterfaceBlockFieldTypeString()
49 if (fieldType.isMatrix()) in InterfaceBlockFieldTypeString()
54 return matrixPackString + " " + TypeString(fieldType); in InterfaceBlockFieldTypeString()
67 return TypeString(fieldType); in InterfaceBlockFieldTypeString()
839 const TType &fieldType = *field.type(); in uniformBlockWithOneLargeArrayMemberString() local
840 if (fieldType.isMatrix()) in uniformBlockWithOneLargeArrayMemberString()
849 else if (fieldType.isVectorArray() || fieldType.isScalarArray()) in uniformBlockWithOneLargeArrayMemberString()
857 hlsl += InterfaceBlockScalarVectorFieldPaddingString(fieldType) + " };\n"; in uniformBlockWithOneLargeArrayMemberString()
[all …]
DTypes.cpp795 const TType *fieldType = field->type(); in containsArrays() local
796 if (fieldType->isArray() || fieldType->isStructureContainingArrays()) in containsArrays()
806 const TType *fieldType = field->type(); in containsMatrices() local
807 if (fieldType->isMatrix() || fieldType->isStructureContainingMatrices()) in containsMatrices()
817 const TType *fieldType = field->type(); in containsType() local
818 if (fieldType->getBasicType() == type || fieldType->isStructureContainingType(type)) in containsType()
828 const TType *fieldType = field->type(); in containsSamplers() local
829 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/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/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/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/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue347Test.java40 ResolvedType fieldType = javaParserFacade.getType(fieldDeclaration); in resolvingReferenceToEnumDeclarationInSameFile() local
41 assertTrue(fieldType.isReferenceType()); in resolvingReferenceToEnumDeclarationInSameFile()
42 assertTrue(fieldType.asReferenceType().getTypeDeclaration().isEnum()); in resolvingReferenceToEnumDeclarationInSameFile()
43 assertEquals("foo.bar.Foo", fieldType.asReferenceType().getQualifiedName()); in resolvingReferenceToEnumDeclarationInSameFile()
/external/javassist/src/main/javassist/
DCtNewMethod.java231 String fieldType = finfo.getDescriptor(); in getter() local
232 String desc = "()" + fieldType; in getter()
242 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getter()
245 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getter()
274 String fieldType = finfo.getDescriptor(); in setter() local
275 String desc = "(" + fieldType + ")V"; in setter()
286 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in setter()
290 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in setter()
/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()
/external/protobuf/objectivec/
DGPBMessage.m684 if (field.fieldType == GPBFieldTypeRepeated) {
706 if (field.fieldType == GPBFieldTypeMap) {
950 if (field.fieldType == GPBFieldTypeRepeated) {
984 if (field.fieldType == GPBFieldTypeRepeated) {
1065 if (field.fieldType == GPBFieldTypeRepeated) {
1148 GPBFieldType fieldType = field.fieldType;
1149 if (fieldType == GPBFieldTypeSingle) {
1166 } else if (fieldType == GPBFieldTypeRepeated) {
1173 } else { // fieldType == GPBFieldTypeMap
1323 GPBFieldType fieldType = field.fieldType;
[all …]
/external/javaparser/javaparser-core-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()

12345