Home
last modified time | relevance | path

Searched refs:memberType (Results 1 – 25 of 31) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DnarrowingByDiscriminantInLoop.types37 for (const memberType of callbackType.members) {
38 >memberType : IDLMemberTypes
43 if (memberType.type === "const") {
44 >memberType.type === "const" : boolean
45 >memberType.type : "operation" | "const"
46 >memberType : IDLMemberTypes
50 memberType.idlType; // string
51 >memberType.idlType : string
52 >memberType : ConstantMemberType
55 else if (memberType.type === "operation") {
[all …]
DnarrowingByDiscriminantInLoop.js25 for (const memberType of callbackType.members) {
26 if (memberType.type === "const") {
27 memberType.idlType; // string
29 else if (memberType.type === "operation") {
30 memberType.idlType.origin; // string
31 (memberType.idlType as IDLTypeDescription);
37 for (const memberType of callbackType.members) {
38 if (memberType.type === "operation") {
39 memberType.idlType.origin; // string
44 function foo(memberType: IDLMemberTypes) {
[all …]
DnarrowingByDiscriminantInLoop.symbols50 for (const memberType of callbackType.members) {
51 >memberType : Symbol(memberType, Decl(narrowingByDiscriminantInLoop.ts, 23, 14))
56 if (memberType.type === "const") {
57 >memberType.type : Symbol(type, Decl(narrowingByDiscriminantInLoop.ts, 12, 31), Decl(narrowingByDis…
58 >memberType : Symbol(memberType, Decl(narrowingByDiscriminantInLoop.ts, 23, 14))
61 memberType.idlType; // string
62 >memberType.idlType : Symbol(ConstantMemberType.idlType, Decl(narrowingByDiscriminantInLoop.ts, 18,…
63 >memberType : Symbol(memberType, Decl(narrowingByDiscriminantInLoop.ts, 23, 14))
66 else if (memberType.type === "operation") {
67 >memberType.type : Symbol(OperationMemberType.type, Decl(narrowingByDiscriminantInLoop.ts, 12, 31))
[all …]
/third_party/typescript/tests/cases/compiler/
DnarrowingByDiscriminantInLoop.ts26 for (const memberType of callbackType.members) { constant
27 if (memberType.type === "const") {
28 memberType.idlType; // string
30 else if (memberType.type === "operation") {
31 memberType.idlType.origin; // string
32 (memberType.idlType as IDLTypeDescription);
38 for (const memberType of callbackType.members) { constant
39 if (memberType.type === "operation") {
40 memberType.idlType.origin; // string
45 function foo(memberType: IDLMemberTypes) {
[all …]
/third_party/glslang/glslang/MachineIndependent/
DParseContextBase.cpp611 void TParseContextBase::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStr… in growGlobalUniformBlock() argument
631 if (memberType != symbol->getType()) { in growGlobalUniformBlock()
633 err += "\"" + memberType.getCompleteString() + "\""; in growGlobalUniformBlock()
636 error(loc, "Types must match:", memberType.getFieldName().c_str(), err.c_str()); in growGlobalUniformBlock()
643 type->shallowCopy(memberType); in growGlobalUniformBlock()
665 …ase::growAtomicCounterBlock(int binding, const TSourceLoc& loc, TType& memberType, const TString& … in growAtomicCounterBlock() argument
704 type->shallowCopy(memberType); in growAtomicCounterBlock()
DlinkValidate.cpp614 const TType* memberType = (*memberList)[j].type; in mergeBlockDefinitions() local
620 if ((*memberType) != (*unitMemberType)) { in mergeBlockDefinitions()
622 infoSink.info << " " << memberType->getFieldName() << ": "; in mergeBlockDefinitions()
623 infoSink.info << "\"" << memberType->getCompleteString() << "\" versus "; in mergeBlockDefinitions()
1807 TType memberType(type, member); in computeTypeLocationSize() local
1808 size += computeTypeLocationSize(memberType, stage); in computeTypeLocationSize()
1864 TType memberType(type, member); in computeTypeUniformLocationSize() local
1865 size += computeTypeUniformLocationSize(memberType); in computeTypeUniformLocationSize()
1932 TType memberType(type, member); in computeTypeXfbSize() local
1939 …int memberSize = computeTypeXfbSize(memberType, memberContains64BitType, memberContains32BitType, … in computeTypeXfbSize()
[all …]
Dreflection.cpp230 const TType &memberType = *memberList[i].type; in countAggregateMembers() local
231 int numMembers = countAggregateMembers(memberType); in countAggregateMembers()
234 … if (memberType.isArray() && ! memberType.getArraySizes()->hasUnsized() && memberType.isStruct()) { in countAggregateMembers()
236 numMembers *= memberType.getArraySizes()->getCumulativeSize(); in countAggregateMembers()
DParseHelper.cpp228 void TParseContext::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TString&… in growGlobalUniformBlock() argument
238 TParseContextBase::growGlobalUniformBlock(loc, memberType, memberName, typeList); in growGlobalUniformBlock()
256 memberType.getQualifier().setBlockStorage(storageOverride); in growGlobalUniformBlock()
261 void TParseContext::growAtomicCounterBlock(int binding, const TSourceLoc& loc, TType& memberType, c… in growAtomicCounterBlock() argument
270 TParseContextBase::growAtomicCounterBlock(binding, loc, memberType, memberName, typeList); in growAtomicCounterBlock()
289 memberType.getQualifier().setBlockStorage(storageOverride); in growAtomicCounterBlock()
8267 TType& memberType = *typeList[member].type; in declareBlock() local
8268 TQualifier& memberQualifier = memberType.getQualifier(); in declareBlock()
8271 … "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c… in declareBlock()
8285 …error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c… in declareBlock()
[all …]
Dlocalintermediate.h1005 …static void updateOffset(const TType& parentType, const TType& memberType, int& offset, int& membe…
/third_party/vk-gl-cts/framework/randomshaders/
DrsgUtils.cpp252 const VariableType& memberType = i->getType(); in getTypeConstructorDepth() local
254 switch (memberType.getBaseType()) in getTypeConstructorDepth()
257 depth = getTypeConstructorDepth(memberType); in getTypeConstructorDepth()
263 depth = memberType.getNumElements() == 1 ? 1 : 2; in getTypeConstructorDepth()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_id.cpp415 auto memberType = module_.FindDef(memberTypeId); in isValid() local
416 if (!memberType || !spvOpcodeGeneratesType(memberType->opcode())) { in isValid()
422 if (SpvOpTypeStruct == memberType->opcode() && in isValid()
433 if (memberType->opcode() != SpvOpTypePointer) { in isValid()
441 auto typePointingTo = module_.FindDef(memberType->words()[3]); in isValid()
724 auto memberType = module_.FindDef(resultType->words()[memberIndex]); in isValid() local
725 assert(memberType); in isValid()
726 if (memberType->id() != constituentType->id()) { in isValid()
1056 auto memberType = module_.FindDef(resultType->words()[memberIndex]); in isValid() local
1057 assert(memberType); in isValid()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp2113 CaseDefinition makeStructCompositeCaseDefinition (const glu::DataType memberType) in makeStructCompositeCaseDefinition() argument
2123 << " " << glu::getDataTypeName(memberType) << " sc;\n" in makeStructCompositeCaseDefinition()
2127 << "Data s0 = Data(3, 2.0, true, " << glu::getDataTypeName(memberType) << "(sc0), 8u);\n"; in makeStructCompositeCaseDefinition()
2130 const glu::DataType scalarType = glu::getDataTypeScalarType(memberType); in makeStructCompositeCaseDefinition()
2144 …sum_s0 += " << accumTypeStr << "(s0.sc" << getFirstDataElementSubscriptString(memberType) << ");\n" in makeStructCompositeCaseDefinition()
2150 const std::string caseName = glu::getDataTypeName(memberType); in makeStructCompositeCaseDefinition()
2160 …makeVector(OffsetValue(getDataTypeScalarSizeBytes(memberType), 0, makeValue(scalarType, checksum))… in makeStructCompositeCaseDefinition()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp2113 CaseDefinition makeStructCompositeCaseDefinition (const glu::DataType memberType) in makeStructCompositeCaseDefinition() argument
2123 << " " << glu::getDataTypeName(memberType) << " sc;\n" in makeStructCompositeCaseDefinition()
2127 << "Data s0 = Data(3, 2.0, true, " << glu::getDataTypeName(memberType) << "(sc0), 8u);\n"; in makeStructCompositeCaseDefinition()
2130 const glu::DataType scalarType = glu::getDataTypeScalarType(memberType); in makeStructCompositeCaseDefinition()
2144 …sum_s0 += " << accumTypeStr << "(s0.sc" << getFirstDataElementSubscriptString(memberType) << ");\n" in makeStructCompositeCaseDefinition()
2150 const std::string caseName = glu::getDataTypeName(memberType); in makeStructCompositeCaseDefinition()
2160 …makeVector(OffsetValue(getDataTypeScalarSizeBytes(memberType), 0, makeValue(scalarType, checksum))… in makeStructCompositeCaseDefinition()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dxml_consistency.py379 memberType = self.reg.typedict[typeName]
380 … badFields.update(self.__validateStructLimittypes(typeName, memberType, requiredLimittype))
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp171 void HlslParseContext::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStri… in growGlobalUniformBlock() argument
175 correctUniform(memberType.getQualifier()); in growGlobalUniformBlock()
176 if (memberType.isStruct()) { in growGlobalUniformBlock()
177 auto it = ioTypeMap.find(memberType.getStruct()); in growGlobalUniformBlock()
181 TParseContextBase::growGlobalUniformBlock(loc, memberType, memberName, newTypeList); in growGlobalUniformBlock()
1088 void HlslParseContext::splitBuiltIn(const TString& baseName, const TType& memberType, const TArrayS… in splitBuiltIn() argument
1095 if (!isClipOrCullDistance(memberType)) in splitBuiltIn()
1096 …if (splitBuiltIns.find(tInterstageIoData(memberType.getQualifier().builtIn, outerQualifier.storage… in splitBuiltIn()
1100 TVariable* ioVar = makeInternalVariable(baseName + "." + memberType.getFieldName(), memberType); in splitBuiltIn()
1102 if (arraySizes != nullptr && !memberType.isArray()) in splitBuiltIn()
[all …]
DhlslGrammar.cpp2414 TType memberType; in acceptStructDeclarationList() local
2415 if (! acceptFullySpecifiedType(memberType, nodeList, attributes)) { in acceptStructDeclarationList()
2421 parseContext.transferTypeAttributes(token.loc, attributes, memberType); in acceptStructDeclarationList()
2436 … functionDefinitionAccepted = acceptMemberFunctionDefinition(nodeList, memberType, *idToken.string, in acceptStructDeclarationList()
2446 member.type->shallowCopy(memberType); in acceptStructDeclarationList()
DhlslParseHelper.h270 …void splitBuiltIn(const TString& baseName, const TType& memberType, const TArraySizes*, const TQua…
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShader.cpp878 auto &memberType = getType(structType.word(2 + memberIndex)); in ProcessInterfaceVariable() local
882 builtinInterface[member.BuiltIn] = { resultId, offset, memberType.componentCount }; in ProcessInterfaceVariable()
885 offset += memberType.componentCount; in ProcessInterfaceVariable()
1310 auto memberType = type.definition.word(2u + j); in WalkAccessChain() local
1311 offsetIntoStruct += getType(memberType).componentCount * sizeof(float); in WalkAccessChain()
1387 auto memberType = type.definition.word(2u + j); in WalkLiteralAccessChain() local
1388 offsetIntoStruct += getType(memberType).componentCount; in WalkLiteralAccessChain()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp2395 const TType &memberType = argumentInfo.typedMemberInfo.type; in source() local
2397 if(memberType.getBasicType() == EbtBool) in source()
2399 …ASSERT(argumentInfo.clampedIndex < (memberType.isArray() ? memberType.getArraySize() : 1)); // ind… in source()
2414 else if((memberType.getLayoutQualifier().matrixPacking == EmpRowMajor) && memberType.isMatrix()) in source()
2416 int numCols = memberType.getNominalSize(); in source()
2417 int numRows = memberType.getSecondarySize(); in source()
2419 …ASSERT(argumentInfo.clampedIndex < (numCols * (memberType.isArray() ? memberType.getArraySize() : … in source()
/third_party/typescript/src/services/
Dcompletions.ts2857 ? checker.getAllPossiblePropertiesOfTypes(type.types.filter(memberType =>
2859 !(memberType.flags & TypeFlags.Primitive ||
2860 checker.isArrayLikeType(memberType) ||
2861 typeHasCallOrConstructSignatures(memberType, checker) ||
2862 checker.isTypeInvalidDueToUnionDiscriminant(memberType, obj))))
/third_party/glslang/SPIRV/
DSpvBuilder.cpp961 Id Builder::makeMemberDebugType(Id const memberType, DebugTypeLoc const& debugTypeLoc) in makeMemberDebugType() argument
963 assert(debugId[memberType] != 0); in makeMemberDebugType()
969 type->addIdOperand(debugId[memberType]); // type id in makeMemberDebugType()
991 for(auto const memberType : memberTypes) { in makeCompositeDebugType() local
992 assert(debugTypeLocs.find(memberType) != debugTypeLocs.end()); in makeCompositeDebugType()
994 memberDebugTypes.emplace_back(makeMemberDebugType(memberType, debugTypeLocs[memberType])); in makeCompositeDebugType()
DGlslangToSpv.cpp187 …void updateMemberOffset(const glslang::TType& structType, const glslang::TType& memberType, int& c…
4990 …pvTraverser::updateMemberOffset(const glslang::TType& structType, const glslang::TType& memberType, in updateMemberOffset() argument
4997 if (memberType.getQualifier().hasOffset()) in updateMemberOffset()
4998 currentOffset = memberType.getQualifier().layoutOffset; in updateMemberOffset()
5006 if (! memberType.getQualifier().hasOffset()) in updateMemberOffset()
5021 …int memberAlignment = glslangIntermediate->getMemberAlignment(memberType, memberSize, dummyStride,… in updateMemberOffset()
5030 …! memberType.isArray() && memberType.isVector() && structType.getTypeName().compare("$Global") != … in updateMemberOffset()
5032 int componentAlignment = glslangIntermediate->getBaseAlignmentScalar(memberType, dummySize); in updateMemberOffset()
5041 …if (explicitLayout != glslang::ElpScalar && glslangIntermediate->improperStraddle(memberType, memb… in updateMemberOffset()
DSpvBuilder.h224 Id makeMemberDebugType(Id const memberType, DebugTypeLoc const& debugTypeLoc);
/third_party/libxml2/
Dxmlschemas.c13390 xmlSchemaTypePtr memberType; in xmlSchemaResolveUnionMemberTypes() local
13410 memberType = xmlSchemaGetType(ctxt->schema, name, nsName); in xmlSchemaResolveUnionMemberTypes()
13411 if ((memberType == NULL) || (! WXS_IS_SIMPLE(memberType))) { in xmlSchemaResolveUnionMemberTypes()
13426 link->type = memberType; in xmlSchemaResolveUnionMemberTypes()
13434 memberType = type->subtypes; in xmlSchemaResolveUnionMemberTypes()
13435 while (memberType != NULL) { in xmlSchemaResolveUnionMemberTypes()
13441 link->type = memberType; in xmlSchemaResolveUnionMemberTypes()
13448 memberType = memberType->next; in xmlSchemaResolveUnionMemberTypes()
15111 xmlSchemaTypePtr memberType; in xmlSchemaCheckUnionTypeDefCircularRecur() local
15115 memberType = member->type; in xmlSchemaCheckUnionTypeDefCircularRecur()
[all …]
/third_party/typescript/src/compiler/
Dchecker.ts9765 …const memberType = getFreshTypeOfLiteralType(getLiteralType(value !== undefined ? value : 0, enumC…
9766 getSymbolLinks(getSymbolOfNode(member)).declaredType = memberType;
9767 memberTypeList.push(getRegularTypeOfLiteralType(memberType));
11108 for (const memberType of types) {
11109 for (const { escapedName } of getAugmentedPropertiesOfType(memberType)) {

12