/third_party/skia/src/sksl/ir/ |
D | SkSLModifiers.cpp | 15 bool Modifiers::checkPermitted(const Context& context, int line, int permittedModifierFlags, in checkPermitted() 17 static constexpr struct { Modifiers::Flag flag; const char* name; } kModifierFlags[] = { in checkPermitted() 18 { Modifiers::kConst_Flag, "const" }, in checkPermitted() 19 { Modifiers::kIn_Flag, "in" }, in checkPermitted() 20 { Modifiers::kOut_Flag, "out" }, in checkPermitted() 21 { Modifiers::kUniform_Flag, "uniform" }, in checkPermitted() 22 { Modifiers::kFlat_Flag, "flat" }, in checkPermitted() 23 { Modifiers::kNoPerspective_Flag, "noperspective" }, in checkPermitted() 24 { Modifiers::kHasSideEffects_Flag, "sk_has_side_effects" }, in checkPermitted() 25 { Modifiers::kInline_Flag, "inline" }, in checkPermitted() [all …]
|
D | SkSLVarDeclarations.cpp | 39 void VarDeclaration::ErrorCheck(const Context& context, int line, const Modifiers& modifiers, in ErrorCheck() 53 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in ErrorCheck() 56 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 60 if (modifiers.fFlags & Modifiers::kIn_Flag) { in ErrorCheck() 64 if (baseType->isEffectChild() && !(modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 72 if (!(modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 86 int permitted = Modifiers::kConst_Flag | Modifiers::kHighp_Flag | Modifiers::kMediump_Flag | in ErrorCheck() 87 Modifiers::kLowp_Flag; in ErrorCheck() 89 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in ErrorCheck() 90 Modifiers::kFlat_Flag | Modifiers::kNoPerspective_Flag; in ErrorCheck() [all …]
|
D | SkSLFunctionDeclaration.cpp | 36 const Modifiers& modifiers) { in check_modifiers() 37 const int permitted = Modifiers::kHasSideEffects_Flag | in check_modifiers() 38 Modifiers::kInline_Flag | in check_modifiers() 39 Modifiers::kNoInline_Flag | in check_modifiers() 40 (context.fConfig->fIsBuiltinCode ? Modifiers::kES3_Flag : 0); in check_modifiers() 42 if ((modifiers.fFlags & Modifiers::kInline_Flag) && in check_modifiers() 43 (modifiers.fFlags & Modifiers::kNoInline_Flag)) { in check_modifiers() 83 Modifiers::kConst_Flag | Modifiers::kIn_Flag | Modifiers::kOut_Flag, in check_parameters() 95 Modifiers m = param->modifiers(); in check_parameters() 100 if (Modifiers::kIn_Flag == (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag))) { in check_parameters() [all …]
|
D | SkSLVariable.h | 45 Variable(int line, const Modifiers* modifiers, skstd::string_view name, const Type* type, in Variable() 55 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, 59 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, 73 const Modifiers& modifiers, 76 const Modifiers& modifiers() const { in modifiers() 80 void setModifiers(const Modifiers* modifiers) { in setModifiers() 111 const Modifiers* fModifiers;
|
D | SkSLVariable.cpp | 32 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, in Convert() 35 (modifiers.fFlags & Modifiers::kOut_Flag) && in Convert() 43 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, in Make() 62 const Modifiers& modifiers, in MakeScratchVariable() 74 SkASSERT(!(modifiers.fFlags & Modifiers::kOut_Flag)); in MakeScratchVariable() 83 context.fModifiersPool->add(Modifiers{}), in MakeScratchVariable()
|
D | SkSLFunctionDeclaration.h | 41 const Modifiers* modifiers, 50 const Modifiers* modifiers, 55 const Modifiers& modifiers() const { in modifiers() 120 const Modifiers* fModifiers;
|
D | SkSLModifiersDeclaration.h | 25 ModifiersDeclaration(const Modifiers* modifiers) in ModifiersDeclaration() 29 const Modifiers& modifiers() const { in modifiers() 42 const Modifiers* fModifiers;
|
/third_party/skia/include/sksl/ |
D | DSLModifiers.h | 23 kNo_Modifier = SkSL::Modifiers::kNo_Flag, 24 kConst_Modifier = SkSL::Modifiers::kConst_Flag, 25 kIn_Modifier = SkSL::Modifiers::kIn_Flag, 26 kOut_Modifier = SkSL::Modifiers::kOut_Flag, 27 kInOut_Modifier = SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag, 28 kUniform_Modifier = SkSL::Modifiers::kUniform_Flag, 29 kFlat_Modifier = SkSL::Modifiers::kFlat_Flag, 30 kNoPerspective_Modifier = SkSL::Modifiers::kNoPerspective_Flag, 50 SkSL::Modifiers fModifiers;
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource2.js | 67 export enum Modifiers { 336 var Modifiers; 337 (function (Modifiers) { argument 338 Modifiers[Modifiers["None"] = 0] = "None"; 339 Modifiers[Modifiers["Private"] = 1] = "Private"; 340 Modifiers[Modifiers["Public"] = 2] = "Public"; 341 Modifiers[Modifiers["Readonly"] = 4] = "Readonly"; 342 Modifiers[Modifiers["Ambient"] = 8] = "Ambient"; 343 Modifiers[Modifiers["Exported"] = 16] = "Exported"; 344 Modifiers[Modifiers["Getter"] = 32] = "Getter"; [all …]
|
D | classStaticBlock20.errors.txt | 1 …ance/classes/classStaticBlock/classStaticBlock20.ts(2,5): error TS1184: Modifiers cannot appear he… 2 …ance/classes/classStaticBlock/classStaticBlock20.ts(6,5): error TS1184: Modifiers cannot appear he… 3 …nce/classes/classStaticBlock/classStaticBlock20.ts(10,5): error TS1184: Modifiers cannot appear he… 10 !!! error TS1184: Modifiers cannot appear here. 16 !!! error TS1184: Modifiers cannot appear here. 22 !!! error TS1184: Modifiers cannot appear here.
|
D | functionsWithModifiersInBlocks1.errors.txt | 1 tests/cases/compiler/functionsWithModifiersInBlocks1.ts(2,4): error TS1184: Modifiers cannot appear… 4 tests/cases/compiler/functionsWithModifiersInBlocks1.ts(3,4): error TS1184: Modifiers cannot appear… 6 tests/cases/compiler/functionsWithModifiersInBlocks1.ts(4,4): error TS1184: Modifiers cannot appear… 15 !!! error TS1184: Modifiers cannot appear here. 22 !!! error TS1184: Modifiers cannot appear here. 27 !!! error TS1184: Modifiers cannot appear here.
|
D | umd-errors.errors.txt | 3 tests/cases/conformance/externalModules/err3.d.ts(3,1): error TS1184: Modifiers cannot appear here. 4 tests/cases/conformance/externalModules/err3.d.ts(4,1): error TS1184: Modifiers cannot appear here. 5 tests/cases/conformance/externalModules/err3.d.ts(5,1): error TS1184: Modifiers cannot appear here. 30 !!! error TS1184: Modifiers cannot appear here. 33 !!! error TS1184: Modifiers cannot appear here. 36 !!! error TS1184: Modifiers cannot appear here.
|
D | parserRealSource2.types | 321 export enum Modifiers { 322 >Modifiers : Modifiers 325 >None : Modifiers 329 >Private : Modifiers 333 >Public : Modifiers 339 >Readonly : Modifiers 345 >Ambient : Modifiers 351 >Exported : Modifiers 357 >Getter : Modifiers 363 >Setter : Modifiers [all …]
|
D | parserModifierOnStatementInBlock4.errors.txt | 1 …/ErrorRecovery/parserModifierOnStatementInBlock4.ts(2,4): error TS1184: Modifiers cannot appear he… 8 !!! error TS1184: Modifiers cannot appear here.
|
D | parserModifierOnStatementInBlock3.errors.txt | 1 …/ErrorRecovery/parserModifierOnStatementInBlock3.ts(2,4): error TS1184: Modifiers cannot appear he… 8 !!! error TS1184: Modifiers cannot appear here.
|
D | parserModifierOnStatementInBlock1.errors.txt | 1 …/ErrorRecovery/parserModifierOnStatementInBlock1.ts(2,4): error TS1184: Modifiers cannot appear he… 8 !!! error TS1184: Modifiers cannot appear here.
|
D | objectLiteralMemberWithModifiers1.errors.txt | 2 tests/cases/compiler/objectLiteralMemberWithModifiers1.ts(1,11): error TS1184: Modifiers cannot app… 10 !!! error TS1184: Modifiers cannot appear here.
|
/third_party/skia/include/private/ |
D | SkSLModifiers.h | 22 struct Modifiers { struct 53 Modifiers() in Modifiers() argument 57 Modifiers(const Layout& layout, int flags) in Modifiers() argument 108 bool operator==(const Modifiers& other) const { 112 bool operator!=(const Modifiers& other) const { 132 struct hash<SkSL::Modifiers> { argument 133 size_t operator()(const SkSL::Modifiers& key) const {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeTypeUDT.cpp | 33 UnmodifiedType(&UnmodifiedType), Modifiers(std::move(Modifier)) {} in NativeTypeUDT() 47 if (Modifiers.hasValue()) in dump() 136 if (!Modifiers) in isConstType() 138 return (Modifiers->Modifiers & ModifierOptions::Const) != in isConstType() 209 if (!Modifiers) in isUnalignedType() 211 return (Modifiers->Modifiers & ModifierOptions::Unaligned) != in isUnalignedType() 216 if (!Modifiers) in isVolatileType() 218 return (Modifiers->Modifiers & ModifierOptions::Volatile) != in isVolatileType()
|
D | NativeTypeEnum.cpp | 124 UnmodifiedType(&UnmodifiedType), Modifiers(std::move(Modifier)) {} in NativeTypeEnum() 141 if (Modifiers.hasValue()) in dump() 169 if (!Modifiers) in findChildren() 355 if (!Modifiers) in isConstType() 357 return ((Modifiers->getModifiers() & ModifierOptions::Const) != in isConstType() 362 if (!Modifiers) in isVolatileType() 364 return ((Modifiers->getModifiers() & ModifierOptions::Volatile) != in isVolatileType() 369 if (!Modifiers) in isUnalignedType() 371 return ((Modifiers->getModifiers() & ModifierOptions::Unaligned) != in isUnalignedType()
|
/third_party/skia/src/sksl/ |
D | SkSLModifiersPool.h | 23 const Modifiers* add(const Modifiers& modifiers) { in add() 33 std::unordered_set<Modifiers> fModifiersSet;
|
/third_party/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 60 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), in DEF_TEST() 66 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), context.fTypes.fFloat.get()); in DEF_TEST() 71 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("c"), context.fTypes.fBool.get()); in DEF_TEST() 78 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST() 83 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), in DEF_TEST() 148 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), in DEF_TEST() 154 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), context.fTypes.fFloat.get()); in DEF_TEST() 159 fields1.emplace_back(SkSL::Modifiers(), skstd::string_view("c"), context.fTypes.fBool.get()); in DEF_TEST() 166 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST() 171 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), in DEF_TEST()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 29 modifiers.fModifiers.fFlags |= Modifiers::kHasSideEffects_Flag; in init() 35 modifiers.fModifiers.fFlags &= ~Modifiers::kInline_Flag; in init() 36 modifiers.fModifiers.fFlags |= Modifiers::kNoInline_Flag; in init() 58 ThreadContext::Modifiers(modifiers.fModifiers), in init()
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLProgramUsage.cpp | 115 const Modifiers& modifiers = v.modifiers(); in isDead() 119 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag))) { in isDead()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLPipelineStageCodeGenerator.cpp | 74 String modifierString(const Modifiers& modifiers); 234 const Modifiers& modifiers = var->modifiers(); in writeVariableReference() 353 (decl.modifiers().fFlags & Modifiers::kInline_Flag) ? "inline " : "", in functionDeclaration() 354 (decl.modifiers().fFlags & Modifiers::kNoInline_Flag) ? "noinline " : "", in functionDeclaration() 380 } else if (var.modifiers().fFlags & Modifiers::kUniform_Flag) { in writeGlobalVarDeclaration() 612 String PipelineStageCodeGenerator::modifierString(const Modifiers& modifiers) { in modifierString() 614 if (modifiers.fFlags & Modifiers::kConst_Flag) { in modifierString() 618 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kOut_Flag)) { in modifierString() 620 } else if (modifiers.fFlags & Modifiers::kIn_Flag) { in modifierString() 622 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in modifierString()
|