/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldInfo.java | 65 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 …]
|
D | MessageSchema.java | 419 final int fieldType; in newSchemaForRawMessageInfo() local 444 fieldType = fieldTypeWithExtraBits & 0xFF; in newSchemaForRawMessageInfo() 455 if (fieldType >= ONEOF_TYPE_OFFSET) { in newSchemaForRawMessageInfo() 468 final int oneofFieldType = fieldType - ONEOF_TYPE_OFFSET; in newSchemaForRawMessageInfo() 508 if (fieldType == 9 /* FieldType.MESSAGE */ || fieldType == 17 /* FieldType.GROUP */) { in newSchemaForRawMessageInfo() 510 } else if (fieldType == 27 /* FieldType.MESSAGE_LIST */ in newSchemaForRawMessageInfo() 511 || fieldType == 49 /* FieldType.GROUP_LIST */) { in newSchemaForRawMessageInfo() 513 } else if (fieldType == 12 /* FieldType.ENUM */ in newSchemaForRawMessageInfo() 514 || fieldType == 30 /* FieldType.ENUM_LIST */ in newSchemaForRawMessageInfo() 515 || fieldType == 44 /* FieldType.ENUM_LIST_PACKED */) { in newSchemaForRawMessageInfo() [all …]
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyRepeatedField.java | 64 …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 …]
|
D | Utils.java | 67 …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()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FieldDescriptor.cs | 47 private FieldType fieldType; field in Google.Protobuf.Reflection.FieldDescriptor 102 fieldType = GetFieldTypeFromProtoType(proto.Type); in FieldDescriptor() 223 …public bool IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messag… 251 public FieldType FieldType => fieldType; 281 if (fieldType != FieldType.Enum) 296 if (fieldType != FieldType.Message && fieldType != FieldType.Group) 367 fieldType = FieldType.Message; in CrossLink() 371 fieldType = FieldType.Enum; in CrossLink() 379 if (fieldType == FieldType.Message || fieldType == FieldType.Group) in CrossLink() 392 else if (fieldType == FieldType.Enum) in CrossLink() [all …]
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonemetadata.pb.js | 2314 fieldType: goog.proto2.Message.FieldType.STRING, property 2320 fieldType: goog.proto2.Message.FieldType.STRING, property 2326 fieldType: goog.proto2.Message.FieldType.STRING, property 2331 fieldType: goog.proto2.Message.FieldType.STRING, property 2336 fieldType: goog.proto2.Message.FieldType.BOOL, property 2342 fieldType: goog.proto2.Message.FieldType.STRING, property 2371 fieldType: goog.proto2.Message.FieldType.STRING, property 2377 fieldType: goog.proto2.Message.FieldType.INT32, property 2383 fieldType: goog.proto2.Message.FieldType.INT32, property 2388 fieldType: goog.proto2.Message.FieldType.STRING, property [all …]
|
D | phonenumber.pb.js | 494 fieldType: goog.proto2.Message.FieldType.INT32, property 500 fieldType: goog.proto2.Message.FieldType.UINT64, property 505 fieldType: goog.proto2.Message.FieldType.STRING, property 510 fieldType: goog.proto2.Message.FieldType.BOOL, property 515 fieldType: goog.proto2.Message.FieldType.INT32, property 521 fieldType: goog.proto2.Message.FieldType.STRING, property 526 fieldType: goog.proto2.Message.FieldType.ENUM, property 532 fieldType: goog.proto2.Message.FieldType.STRING, property
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteStructSamplers.cpp | 434 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 …]
|
D | ForcePrecisionQualifier.cpp | 66 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()
|
D | RemoveDynamicIndexing.cpp | 92 TType *fieldType = new TType(indexedType); in GetFieldType() local 95 fieldType->toMatrixColumnType(); in GetFieldType() 100 fieldType->toComponentType(); in GetFieldType() 104 if (fieldType->getPrecision() == EbpUndefined) in GetFieldType() 106 fieldType->setPrecision(EbpHigh); in GetFieldType() 108 return fieldType; in GetFieldType()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 81 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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 33 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()
|
D | StructureHLSL.cpp | 44 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 …]
|
D | OutputGLSLBase.cpp | 475 const TType *fieldType = fields[i]->type(); in writeConstantUnion() local 476 ASSERT(fieldType != nullptr); in writeConstantUnion() 477 pConstUnion = writeConstantUnion(*fieldType, pConstUnion); in writeConstantUnion() 1161 const TType &fieldType = *field->type(); in declareStruct() local 1162 if (writeVariablePrecision(fieldType.getPrecision())) in declareStruct() 1166 if (fieldType.isPrecise()) in declareStruct() 1168 writePreciseQualifier(fieldType); in declareStruct() 1170 out << getTypeName(fieldType) << " " << hashFieldName(field); in declareStruct() 1171 if (fieldType.isArray()) in declareStruct() 1173 out << ArrayString(fieldType); in declareStruct() [all …]
|
D | ResourcesHLSL.cpp | 44 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 …]
|
D | Types.cpp | 802 const TType *fieldType = field->type(); in containsArrays() local 803 if (fieldType->isArray() || fieldType->isStructureContainingArrays()) in containsArrays() 813 const TType *fieldType = field->type(); in containsMatrices() local 814 if (fieldType->isMatrix() || fieldType->isStructureContainingMatrices()) in containsMatrices() 824 const TType *fieldType = field->type(); in containsType() local 825 if (fieldType->getBasicType() == type || fieldType->isStructureContainingType(type)) in containsType() 835 const TType *fieldType = field->type(); in containsSamplers() local 836 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
|
D | BuildSPIRV.cpp | 55 bool IsBlockFieldRowMajorQualified(const TType &fieldType, bool isParentBlockRowMajorQualified) in IsBlockFieldRowMajorQualified() argument 60 const TLayoutMatrixPacking fieldMatrixPacking = fieldType.getLayoutQualifier().matrixPacking; in IsBlockFieldRowMajorQualified() 114 const TType &fieldType = *field->type(); in ToShaderVariable() local 117 fieldType.getLayoutQualifier().matrixPacking; in ToShaderVariable() 121 fieldType.getStruct() != nullptr ? GL_NONE : GLVariableType(fieldType); in ToShaderVariable() 123 var.fields.push_back(ToShaderVariable(fieldType.getStruct(), glType, in ToShaderVariable() 124 fieldType.getArraySizes(), isFieldRowMajor)); in ToShaderVariable() 426 void SpirvTypeSpec::onBlockFieldSelection(const TType &fieldType) in onBlockFieldSelection() argument 431 if (fieldType.getStruct() == nullptr) in onBlockFieldSelection() 435 isRowMajorQualifiedArray = IsNonSquareRowMajorArrayInBlock(fieldType, *this); in onBlockFieldSelection() [all …]
|
D | Symbol.cpp | 138 const TType *fieldType = field->type(); in createSamplerSymbols() local 139 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in createSamplerSymbols() 145 fieldType->createSamplerSymbols(ImmutableString(fieldName.str()), fieldApiName, in createSamplerSymbols()
|
D | OutputHLSL.cpp | 526 const TType &fieldType = *field.type(); in structInitializerString() local 528 init += structInitializerString(indent + 1, fieldType, fieldName); in structInitializerString() 1664 const TType *fieldType = field->type(); in visitBinary() local 1665 if (fieldType->isMatrix() || fieldType->isVectorArray() || in visitBinary() 1666 fieldType->isScalarArray()) in visitBinary() 1699 const TType *fieldType = field->type(); in visitBinary() local 1700 if (fieldType->isMatrix() || fieldType->isVectorArray() || in visitBinary() 1701 fieldType->isScalarArray()) in visitBinary() 3359 const TType *fieldType = fields[i]->type(); in writeConstantUnion() local 3360 constUnionIterated = writeConstantUnion(out, *fieldType, constUnionIterated); in writeConstantUnion() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | SymbolTable.cpp | 112 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()
|
/third_party/protobuf/objectivec/ |
D | GPBMessage.m | 679 if (field.fieldType == GPBFieldTypeRepeated) { 701 if (field.fieldType == GPBFieldTypeMap) { 943 if (field.fieldType == GPBFieldTypeRepeated) { 977 if (field.fieldType == GPBFieldTypeRepeated) { 1055 if (field.fieldType == GPBFieldTypeRepeated) { 1138 GPBFieldType fieldType = field.fieldType; 1139 if (fieldType == GPBFieldTypeSingle) { 1156 } else if (fieldType == GPBFieldTypeRepeated) { 1163 } else { // fieldType == GPBFieldTypeMap 1313 GPBFieldType fieldType = field.fieldType; [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 823 glu::DataType fieldType[2]; member 831 for (deUint32 i = 0; i < DE_LENGTH_OF_ARRAY(fieldType); ++i) in testName() 833 if (fieldType[i] == glu::TYPE_INVALID) in testName() 836 name += glu::getDataTypeName(fieldType[i]); in testName() 883 p.useType(m_caseDef.fieldType[0]); in checkSupport() 884 p.useType(m_caseDef.fieldType[1]); in checkSupport() 935 << " " << getDataTypeName(m_caseDef.fieldType[0]) << " x;\n"; in initPrograms() 936 if (m_caseDef.fieldType[1]) in initPrograms() 937 src << " " << getDataTypeName(m_caseDef.fieldType[1]) << " y;\n"; in initPrograms() 957 …src << "(arr[" << de::toString(i) << "].x == " << getDataTypeLiteral(m_caseDef.fieldType[0], "0") … in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 823 glu::DataType fieldType[2]; member 831 for (deUint32 i = 0; i < DE_LENGTH_OF_ARRAY(fieldType); ++i) in testName() 833 if (fieldType[i] == glu::TYPE_INVALID) in testName() 836 name += glu::getDataTypeName(fieldType[i]); in testName() 883 p.useType(m_caseDef.fieldType[0]); in checkSupport() 884 p.useType(m_caseDef.fieldType[1]); in checkSupport() 935 << " " << getDataTypeName(m_caseDef.fieldType[0]) << " x;\n"; in initPrograms() 936 if (m_caseDef.fieldType[1]) in initPrograms() 937 src << " " << getDataTypeName(m_caseDef.fieldType[1]) << " y;\n"; in initPrograms() 957 …src << "(arr[" << de::toString(i) << "].x == " << getDataTypeLiteral(m_caseDef.fieldType[0], "0") … in initPrograms() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 161 const TType &fieldType = *field->type(); in visitSymbol() local 163 GetPerVertexFieldIndex(fieldType.getQualifier(), field->name()); in visitSymbol() 166 if (fieldType.isInvariant()) in visitSymbol() 170 if (fieldType.isPrecise()) in visitSymbol()
|
/third_party/protobuf/js/binary/ |
D | constants.js | 235 jspb.BinaryConstants.FieldTypeToWireType = function(fieldType) { argument 238 switch (fieldType) {
|