| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| D | ParseContext.cpp | 1129 const TType &arrayType) in checkArrayOfArraysInOut() argument 1131 if (arrayType.isArrayOfArrays()) in checkArrayOfArraysInOut() 2985 TType *arrayType = new TType(elementType); in parseSingleArrayDeclaration() local 2986 arrayType->makeArrays(arraySizes); in parseSingleArrayDeclaration() 2988 checkArrayOfArraysInOut(indexLocation, elementType, *arrayType); in parseSingleArrayDeclaration() 2990 checkGeometryShaderInputAndSetArraySize(indexLocation, identifier, arrayType); in parseSingleArrayDeclaration() 2991 checkTessellationShaderUnsizedArraysAndSetSize(indexLocation, identifier, arrayType); in parseSingleArrayDeclaration() 2993 checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, arrayType); in parseSingleArrayDeclaration() 2995 if (IsAtomicCounter(arrayType->getBasicType())) in parseSingleArrayDeclaration() 2997 checkAtomicCounterOffsetDoesNotOverlap(false, identifierLocation, arrayType); in parseSingleArrayDeclaration() [all …]
|
| D | Types.cpp | 579 bool TType::isElementTypeOf(const TType &arrayType) const in isElementTypeOf() 581 if (!sameNonArrayType(arrayType)) in isElementTypeOf() 585 if (arrayType.getNumArraySizes() != getNumArraySizes() + 1u) in isElementTypeOf() 591 if (mArraySizes[i] != arrayType.mArraySizes[i]) in isElementTypeOf()
|
| D | ParseContext.h | 141 const TType &arrayType); 621 TType *arrayType);
|
| D | Types.h | 274 bool isElementTypeOf(const TType &arrayType) const;
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| D | validationES1.cpp | 56 ClientVertexArrayType arrayType) in ValidateClientStateCommon() argument 59 switch (arrayType) in ValidateClientStateCommon() 82 ClientVertexArrayType arrayType, in ValidateBuiltinVertexAttributeCommon() argument 99 switch (arrayType) in ValidateBuiltinVertexAttributeCommon() 139 if (arrayType == ClientVertexArrayType::PointSize) in ValidateBuiltinVertexAttributeCommon() 146 if (arrayType == ClientVertexArrayType::PointSize || in ValidateBuiltinVertexAttributeCommon() 147 arrayType == ClientVertexArrayType::Color) in ValidateBuiltinVertexAttributeCommon() 157 if (arrayType != ClientVertexArrayType::Color) in ValidateBuiltinVertexAttributeCommon() 812 ClientVertexArrayType arrayType) in ValidateDisableClientState() argument 814 return ValidateClientStateCommon(context, entryPoint, arrayType); in ValidateDisableClientState() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
| D | RewriteStructSamplers.cpp | 629 void enterArray(const TType &arrayType) in enterArray() argument 631 const TSpan<const unsigned int> &arraySizes = arrayType.getArraySizes(); in enterArray() 639 void exitArray(const TType &arrayType) in exitArray() argument 641 mArraySizeStack.resize(mArraySizeStack.size() - arrayType.getNumArraySizes()); in exitArray()
|
| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| D | InitOutputVariables_test.cpp | 81 TType *arrayType = new TType(elementType); in CreateIndexedLValueNodeList() local 82 arrayType->makeArray(arraySize); in CreateIndexedLValueNodeList() 87 new TVariable(&symbolTable, lValueName, arrayType, SymbolType::UserDefined); in CreateIndexedLValueNodeList()
|
| /third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
| D | ParseHelper.cpp | 1495 TType arrayType(publicType); in parseSingleArrayDeclaration() local 1504 arrayType.setArraySize(size); in parseSingleArrayDeclaration() 1507 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseSingleArrayDeclaration() 1510 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseSingleArrayDeclaration() 1561 TPublicType arrayType(publicType); in parseSingleArrayInitDeclaration() local 1571 arrayType.setArray(true, size); in parseSingleArrayInitDeclaration() 1575 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseSingleArrayInitDeclaration() 1677 TType arrayType = TType(publicType); in parseArrayDeclarator() local 1683 arrayType.setArraySize(size); in parseArrayDeclarator() 1686 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseArrayDeclarator() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
| D | AstHelpers.cpp | 345 TType &sh::DropOuterDimension(const TType &arrayType) in DropOuterDimension() argument 347 ASSERT(arrayType.isArray()); in DropOuterDimension() 349 TType &innerType = *new TType(arrayType); in DropOuterDimension()
|
| D | AstHelpers.h | 129 TType &DropOuterDimension(const TType &arrayType);
|
| /third_party/spirv-tools/source/opt/ |
| D | scalar_replacement_pass.cpp | 632 const Instruction* arrayType) const { in GetArrayLength() 633 assert(arrayType->opcode() == SpvOpTypeArray); in GetArrayLength() 635 get_def_use_mgr()->GetDef(arrayType->GetSingleWordInOperand(1u)); in GetArrayLength()
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| D | scalar_replacement_pass.cpp | 627 const Instruction* arrayType) const { in GetArrayLength() 628 assert(arrayType->opcode() == SpvOpTypeArray); in GetArrayLength() 630 get_def_use_mgr()->GetDef(arrayType->GetSingleWordInOperand(1u)); in GetArrayLength()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| D | scalar_replacement_pass.cpp | 627 const Instruction* arrayType) const { in GetArrayLength() 628 assert(arrayType->opcode() == SpvOpTypeArray); in GetArrayLength() 630 get_def_use_mgr()->GetDef(arrayType->GetSingleWordInOperand(1u)); in GetArrayLength()
|
| /third_party/glslang/glslang/HLSL/ |
| D | hlslParseHelper.cpp | 4513 TType arrayType(EbtInt, EvqTemporary, 2); in decomposeSampleMethods() local 4516 arrayType.transferArraySizes(arraySizes); in decomposeSampleMethods() 4523 argOffset = addConstructor(loc, initList, arrayType); in decomposeSampleMethods() 8156 TType arrayType; in convertInitializerList() local 8157 arrayType.shallowCopy(type); // sharing struct stuff is fine in convertInitializerList() 8158 …arrayType.copyArraySizes(*type.getArraySizes()); // but get a fresh copy of the array information,… in convertInitializerList() 8162 arrayType.changeOuterArraySize((int)initList->getSequence().size()); in convertInitializerList() 8165 if (arrayType.isArrayOfArrays() && initList->getSequence().size() > 0) { in convertInitializerList() 8168 …arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1)… in convertInitializerList() 8169 for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) { in convertInitializerList() [all …]
|
| /third_party/skia/src/sksl/codegen/ |
| D | SkSLSPIRVCodeGenerator.cpp | 554 std::unique_ptr<Type> arrayType; in getType() local 563 arrayType = Type::MakeArrayType(arrayName, component, rawType.columns()); in getType() 564 type = arrayType.get(); in getType() 2575 SpvId SPIRVCodeGenerator::writeArrayComparison(const Type& arrayType, SpvId lhs, Operator op, in writeArrayComparison() argument 2579 SkASSERT(arrayType.isArray()); in writeArrayComparison() 2580 const Type& componentType = arrayType.componentType(); in writeArrayComparison() 2582 const int arraySize = arrayType.columns(); in writeArrayComparison()
|
| /third_party/glslang/glslang/MachineIndependent/ |
| D | ParseHelper.cpp | 6910 TType arrayType; in convertInitializerList() local 6911 arrayType.shallowCopy(type); // sharing struct stuff is fine in convertInitializerList() 6912 …arrayType.copyArraySizes(*type.getArraySizes()); // but get a fresh copy of the array information… in convertInitializerList() 6915 arrayType.changeOuterArraySize((int)initList->getSequence().size()); in convertInitializerList() 6917 if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() && in convertInitializerList() 6918 …arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1)… in convertInitializerList() 6919 for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) { in convertInitializerList() 6920 if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize) in convertInitializerList() 6921 … arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1)); in convertInitializerList() 6925 TType elementType(arrayType, 0); // dereferenced type in convertInitializerList() [all …]
|
| /third_party/node/lib/internal/util/ |
| D | inspect.js | 992 const arrayType = isArrayBuffer(value) ? 'ArrayBuffer' : 994 const prefix = getPrefix(constructor, tag, arrayType);
|
| /third_party/typescript/src/compiler/ |
| D | checker.ts | 5717 const arrayType = factory.createArrayTypeNode(elementType); 5718 …n type.target === globalArrayType ? arrayType : factory.createTypeOperatorNode(SyntaxKind.Readonly… 17525 … function instantiateMappedArrayType(arrayType: Type, mappedType: MappedType, mapper: TypeMapper) { 17528 …createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTyp… 39573 let arrayType = inputType; 39581 if (arrayType.flags & TypeFlags.Union) { 39587 arrayType = getUnionType(filteredTypes, UnionReduction.Subtype); 39590 else if (arrayType.flags & TypeFlags.StringLike) { 39591 arrayType = neverType; 39594 hasStringConstituent = arrayType !== inputType; [all …]
|
| D | types.ts | 4819 /* @internal */ getElementTypeOfArrayType(arrayType: Type): Type | undefined;
|
| /third_party/glslang/SPIRV/ |
| D | GlslangToSpv.cpp | 181 …int getArrayStride(const glslang::TType& arrayType, glslang::TLayoutPacking, glslang::TLayoutMatri… 4293 int TGlslangToSpvTraverser::getArrayStride(const glslang::TType& arrayType, glslang::TLayoutPacking… in getArrayStride() argument 4298 glslangIntermediate->getMemberAlignment(arrayType, size, stride, explicitLayout, in getArrayStride()
|
| /third_party/typescript/lib/ |
| D | typingsInstaller.js | 55699 var arrayType = ts.factory.createArrayTypeNode(elementType); 55700 ….target === globalArrayType ? arrayType : ts.factory.createTypeOperatorNode(147 /* SyntaxKind.Read… 66507 function instantiateMappedArrayType(arrayType, mappedType, mapper) { argument 66510 …createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTyp… 86803 var arrayType = inputType; 86810 if (arrayType.flags & 1048576 /* TypeFlags.Union */) { 86816 arrayType = getUnionType(filteredTypes, 2 /* UnionReduction.Subtype */); 86819 else if (arrayType.flags & 402653316 /* TypeFlags.StringLike */) { 86820 arrayType = neverType; 86822 hasStringConstituent = arrayType !== inputType; [all …]
|
| D | tsc.js | 46135 var arrayType = ts.factory.createArrayTypeNode(elementType); 46136 …return type.target === globalArrayType ? arrayType : ts.factory.createTypeOperatorNode(147, arrayT… 55578 function instantiateMappedArrayType(arrayType, mappedType, mapper) { argument 55581 …createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType(arrayType), getMappedTyp… 73108 var arrayType = inputType; 73112 if (arrayType.flags & 1048576) { 73116 arrayType = getUnionType(filteredTypes, 2); 73119 else if (arrayType.flags & 402653316) { 73120 arrayType = neverType; 73122 hasStringConstituent = arrayType !== inputType; [all …]
|