/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | FieldInfo.java | 65 Field field, int fieldNumber, FieldType fieldType, boolean enforceUtf8) { in forField() 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() 93 checkNotNull(fieldType, "fieldType"); in forPackedField() 94 if (fieldType in forPackedField() 64 forField( Field field, int fieldNumber, FieldType fieldType, boolean enforceUtf8) forField() argument 89 forPackedField( Field field, int fieldNumber, FieldType fieldType, Field cachedSizeField) forPackedField() argument 114 forRepeatedMessageField( Field field, int fieldNumber, FieldType fieldType, Class<?> messageClass) forRepeatedMessageField() argument 136 forFieldWithEnumVerifier( Field field, int fieldNumber, FieldType fieldType, EnumVerifier enumVerifier) forFieldWithEnumVerifier() argument 156 forPackedFieldWithEnumVerifier( Field field, int fieldNumber, FieldType fieldType, EnumVerifier enumVerifier, Field cachedSizeField) forPackedFieldWithEnumVerifier() argument 181 forProto2OptionalField( Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, EnumVerifier enumVerifier) forProto2OptionalField() argument 225 forOneofMemberField( int fieldNumber, FieldType fieldType, OneofInfo oneof, Class<?> oneofStoredType, boolean enforceUtf8, EnumVerifier enumVerifier) forOneofMemberField() argument 266 forProto2RequiredField( Field field, int fieldNumber, FieldType fieldType, Field presenceField, int presenceMask, boolean enforceUtf8, EnumVerifier enumVerifier) forProto2RequiredField() argument [all...] |
H A D | MessageSchema.java | 419 final int fieldType; in newSchemaForRawMessageInfo() 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 in newSchemaForRawMessageInfo() 4353 decodeMapEntryValue( byte[] data, int position, int limit, WireFormat.FieldType fieldType, Class<?> messageType, Registers registers) decodeMapEntryValue() argument 4481 parseRepeatedField( T message, byte[] data, int position, int limit, int tag, int number, int wireType, int bufferPosition, long typeAndOffset, int fieldType, long fieldOffset, Registers registers) parseRepeatedField() argument 4685 parseOneofField( T message, byte[] data, int position, int limit, int tag, int number, int wireType, int typeAndOffset, int fieldType, long fieldOffset, int bufferPosition, Registers registers) parseOneofField() argument [all...] |
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyRepeatedField.java | 64 public RubyRepeatedField(Ruby runtime, RubyClass klazz, Descriptors.FieldDescriptor.Type fieldType, IRubyObject typeClass) { 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, valu in push() 407 private Descriptors.FieldDescriptor.Type fieldType; global() field in RubyRepeatedField [all...] |
H A D | Utils.java | 67 public 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 public static IRubyObject 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/ |
H A 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 && messageType.Proto.Options.MapEntry; 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 in CrossLink() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A 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 in GetLocationCount() [all...] |
H A 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() 1271 const TType &fieldType = *field->type(); declareInterfaceBlock() local [all...] |
H A 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 in defineVariants() 399 const TType *fieldType = field->type(); addStructConstructor() local [all...] |
H A 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 in uniformBlockWithOneLargeArrayMemberString() 922 const TType &fieldType = *field.type(); uniformBlockMembersString() local [all...] |
H A 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 in containsSamplers() local [all...] |
H A 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 in onBlockFieldSelection() 769 const TType &fieldType = *field->type(); declareType() local 1947 const TType &fieldType = *field->type(); writeMemberDecorations() local [all...] |
H A 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()
|
H A 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 in visitBinary() 3359 const TType *fieldType = fields[i]->type(); writeConstantUnion() local 3473 const TType *fieldType = field->type(); addStructEqualityFunction() local [all...] |
H A D | CollectVariables.cpp | 943 const TType &fieldType = *blockField->type(); in recordVarying() local 948 int fieldLocation = fieldType.getLayoutQualifier().location; in recordVarying() 958 location += fieldType.getLocationCount(); in recordVarying() 961 if (fieldType.getQualifier() != EvqGlobal) in recordVarying() 963 fieldVariable.interpolation = GetFieldInterpolationType(fieldType.getQualifier()); in recordVarying() 1021 const TType &fieldType = *field->type(); in recordInterfaceBlock() local 1039 setFieldProperties(fieldType, field->name(), staticUse, false, false, &fieldVariable); in recordInterfaceBlock() 1041 (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); in recordInterfaceBlock()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A 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 in extractFieldSamplers() 593 extractSampler(const std::string &newName, const TType &fieldType, TIntermSequence *newSequence) extractSampler() argument [all...] |
H A 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()
|
H A 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/libphonenumber/javascript/i18n/phonenumbers/ |
H A D | phonemetadata.pb.js | 2314 fieldType: goog.proto2.Message.FieldType.STRING, 2320 fieldType: goog.proto2.Message.FieldType.STRING, 2326 fieldType: goog.proto2.Message.FieldType.STRING, 2331 fieldType: goog.proto2.Message.FieldType.STRING, 2336 fieldType: goog.proto2.Message.FieldType.BOOL, 2342 fieldType: goog.proto2.Message.FieldType.STRING, 2371 fieldType: goog.proto2.Message.FieldType.STRING, 2377 fieldType: goog.proto2.Message.FieldType.INT32, 2383 fieldType: goog.proto2.Message.FieldType.INT32, 2388 fieldType [all...] |
H A D | phonenumber.pb.js | 494 fieldType: goog.proto2.Message.FieldType.INT32, 500 fieldType: goog.proto2.Message.FieldType.UINT64, 505 fieldType: goog.proto2.Message.FieldType.STRING, 510 fieldType: goog.proto2.Message.FieldType.BOOL, 515 fieldType: goog.proto2.Message.FieldType.INT32, 521 fieldType: goog.proto2.Message.FieldType.STRING, 526 fieldType: goog.proto2.Message.FieldType.ENUM, 532 fieldType: goog.proto2.Message.FieldType.STRING,
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
H A 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 in CanTranslateUniformBlockToStructuredBuffer() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 801 glu::DataType fieldType[2]; member 809 for (deUint32 i = 0; i < DE_LENGTH_OF_ARRAY(fieldType); ++i) in testName() 811 if (fieldType[i] == glu::TYPE_INVALID) in testName() 814 name += glu::getDataTypeName(fieldType[i]); in testName() 866 p.useType(m_caseDef.fieldType[0]); in checkSupport() 867 p.useType(m_caseDef.fieldType[1]); in checkSupport() 919 << " " << getDataTypeName(m_caseDef.fieldType[0]) << " x;\n"; in initPrograms() 920 if (m_caseDef.fieldType[1]) in initPrograms() 921 src << " " << getDataTypeName(m_caseDef.fieldType[1]) << " y;\n"; in initPrograms() 941 src << "(arr[" << de::toString(i) << "].x == " << getDataTypeLiteral(m_caseDef.fieldType[ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A 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[ in initPrograms() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
H A D | DeclarePerVertexBlocks.cpp | 161 const TType &fieldType = *field->type(); variable 163 GetPerVertexFieldIndex(fieldType.getQualifier(), field->name()); 166 if (fieldType.isInvariant()) 170 if (fieldType.isPrecise())
|
/third_party/protobuf/js/binary/ |
H A D | constants.js | 232 * @param {jspb.BinaryConstants.FieldType} fieldType 235 jspb.BinaryConstants.FieldTypeToWireType = function(fieldType) { 238 switch (fieldType) {
|