/external/skia/include/private/ |
D | SkSLModifiers.h | 20 struct Modifiers { struct 35 Modifiers() in Modifiers() argument 39 Modifiers(const Layout& layout, int flags) in Modifiers() argument 74 bool operator==(const Modifiers& other) const { 78 bool operator!=(const Modifiers& other) const { 91 struct hash<SkSL::Modifiers> { argument 92 size_t operator()(const SkSL::Modifiers& key) const {
|
/external/skqp/src/sksl/ast/ |
D | SkSLASTPrecision.h | 21 ASTPrecision(int offset, Modifiers::Flag precision) in ASTPrecision() 27 case Modifiers::kLowp_Flag: return String("precision lowp float;"); in description() 28 case Modifiers::kMediump_Flag: return String("precision mediump float;"); in description() 29 case Modifiers::kHighp_Flag: return String("precision highp float;"); in description() 38 const Modifiers::Flag fPrecision;
|
D | SkSLASTModifiersDeclaration.h | 22 ASTModifiersDeclaration(Modifiers modifiers) in ASTModifiersDeclaration() 30 Modifiers fModifiers;
|
/external/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()
|
/external/llvm-project/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()
|
/external/skqp/src/sksl/ir/ |
D | SkSLVariable.h | 33 Variable(int offset, Modifiers modifiers, StringFragment name, const Type& type, 56 return !fWriteCount || (!fReadCount && !(fModifiers.fFlags & (Modifiers::kOut_Flag | in dead() 57 Modifiers::kPLS_Flag | in dead() 58 Modifiers::kPLSOut_Flag))); in dead() 61 mutable Modifiers fModifiers;
|
D | SkSLModifiers.h | 18 struct Modifiers { struct 42 Modifiers() in Modifiers() function 46 Modifiers(const Layout& layout, int flags) in Modifiers() function 114 bool operator==(const Modifiers& other) const { 118 bool operator!=(const Modifiers& other) const {
|
/external/jdiff/src/jdiff/ |
D | Modifiers.java | 15 class Modifiers implements Comparable { class 33 public Modifiers() { in Modifiers() method in Modifiers 38 Modifiers oModifiers = (Modifiers)o; in compareTo() 61 public String diff(Modifiers newModifiers) { in diff()
|
/external/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.cpp | 40 if (var->modifiers().fFlags & Modifiers::kConst_Flag) { in Convert() 65 if (var->modifiers().fFlags & Modifiers::kIn_Flag) { in Convert() 70 if (var->modifiers().fFlags & Modifiers::kUniform_Flag) { in Convert() 96 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || value); in Make() 98 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || in Make() 107 SkASSERT(!(value && (var->modifiers().fFlags & Modifiers::kIn_Flag))); in Make() 109 SkASSERT(!(value && (var->modifiers().fFlags & Modifiers::kUniform_Flag))); in Make()
|
D | SkSLFunctionDeclaration.cpp | 31 static bool check_modifiers(const Context& context, int offset, const Modifiers& modifiers) { in check_modifiers() 36 Modifiers::kHasSideEffects_Flag | Modifiers::kInline_Flag | Modifiers::kNoInline_Flag, in check_modifiers() 38 if ((modifiers.fFlags & Modifiers::kInline_Flag) && in check_modifiers() 39 (modifiers.fFlags & Modifiers::kNoInline_Flag)) { in check_modifiers() 75 Modifiers::kConst_Flag | Modifiers::kIn_Flag | in check_parameters() 76 Modifiers::kOut_Flag, /*permittedLayoutFlags=*/0); in check_parameters() 87 Modifiers m = param->modifiers(); in check_parameters() 285 const Modifiers* modifiers, in FunctionDeclaration() 300 SymbolTable& symbols, int offset, const Modifiers* modifiers, in Convert()
|
D | SkSLVariable.h | 46 Variable(int offset, const Modifiers* modifiers, StringFragment name, const Type* type, in Variable() 55 const Modifiers& modifiers() const { in modifiers() 59 void setModifiers(const Modifiers* modifiers) { in setModifiers() 90 const Modifiers* fModifiers;
|
D | SkSLFunctionDeclaration.h | 41 const Modifiers* modifiers, 50 const Modifiers* modifiers, 56 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;
|
/external/skia/src/sksl/ |
D | SkSLASTNode.h | 188 ParameterData(Modifiers modifiers, StringFragment name, bool isArray) in ParameterData() 193 Modifiers fModifiers; 212 FunctionData(Modifiers modifiers, StringFragment name, size_t parameterCount) in FunctionData() 217 Modifiers fModifiers; 225 InterfaceBlockData(Modifiers modifiers, StringFragment typeName, size_t declarationCount, in InterfaceBlockData() 233 Modifiers fModifiers; 262 sizeof(Modifiers), 310 NodeData(const Modifiers& data) in NodeData() 312 new (fBytes) Modifiers(data); in NodeData() 442 ASTNode(std::vector<ASTNode>* nodes, int offset, Kind kind, Modifiers m) in ASTNode() [all …]
|
D | SkSLModifiersPool.h | 23 const Modifiers* add(const Modifiers& modifiers) { in add() 33 std::unordered_set<Modifiers> fModifiersSet;
|
D | SkSLParser.h | 23 struct Modifiers; 165 Modifiers modifiers; 178 ASTNode::ID structVarDeclaration(Modifiers modifiers); 180 ASTNode::ID varDeclarationEnd(Modifiers modifiers, ASTNode::ID type, StringFragment name); 194 Modifiers modifiers(); 196 Modifiers modifiersWithDefaults(int defaultFlags); 202 ASTNode::ID interfaceBlock(Modifiers mods);
|
D | SkSLIRGenerator.cpp | 251 void IRGenerator::checkVarDeclaration(int offset, const Modifiers& modifiers, const Type* baseType, in checkVarDeclaration() 263 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in checkVarDeclaration() 266 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in checkVarDeclaration() 267 (modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration() 291 if (modifiers.fFlags & Modifiers::kIn_Flag) { in checkVarDeclaration() 295 if (baseType->isEffectChild() && !(modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration() 300 (modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration() 309 if (!(modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration() 324 int permitted = Modifiers::kConst_Flag; in checkVarDeclaration() 326 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in checkVarDeclaration() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | OpenMPKinds.def | 70 // Modifiers for 'schedule' clause. 75 // Modifiers for 'device' clause. 84 // Modifiers for 'defaultmap' clause. 102 // Modifiers for 'linear' clause. 107 // Modifiers for 'atomic_default_mem_order' clause. 126 // Modifiers for 'to' or 'from' clause. 144 // Modifiers for 'reduction' clause.
|
/external/skqp/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 1063 void GLSLCodeGenerator::writeModifiers(const Modifiers& modifiers, in writeFunctionCall() 1065 if (modifiers.fFlags & Modifiers::kFlat_Flag) { in writeFunctionCall() 1068 if (modifiers.fFlags & Modifiers::kNoPerspective_Flag) { in writeFunctionCall() 1075 if (modifiers.fFlags & Modifiers::kReadOnly_Flag) { in writeFunctionCall() 1078 if (modifiers.fFlags & Modifiers::kWriteOnly_Flag) { in writeFunctionCall() 1081 if (modifiers.fFlags & Modifiers::kCoherent_Flag) { in writeFunctionCall() 1084 if (modifiers.fFlags & Modifiers::kVolatile_Flag) { in writeFunctionCall() 1087 if (modifiers.fFlags & Modifiers::kRestrict_Flag) { in writeFunctionCall() 1090 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in writeFunctionCall() 1091 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeFunctionCall() [all …]
|
D | SkSLParser.h | 46 struct Modifiers; 182 std::unique_ptr<ASTVarDeclarations> structVarDeclaration(Modifiers modifiers); 184 std::unique_ptr<ASTVarDeclarations> varDeclarationEnd(Modifiers modifiers, 202 Modifiers modifiers(); 204 Modifiers modifiersWithDefaults(int defaultFlags); 210 std::unique_ptr<ASTDeclaration> interfaceBlock(Modifiers mods);
|
D | SkSLParser.cpp | 407 Modifiers modifiers = this->modifiers(); in declaration() 466 Modifiers modifiers = this->modifiers(); in varDeclarations() 524 std::unique_ptr<ASTVarDeclarations> Parser::structVarDeclaration(Modifiers modifiers) { in structVarDeclaration() 550 std::unique_ptr<ASTVarDeclarations> Parser::varDeclarationEnd(Modifiers mods, in varDeclarationEnd() 616 Modifiers modifiers = this->modifiersWithDefaults(0); in parameter() 918 Modifiers Parser::modifiers() { in modifiers() 926 flags |= Modifiers::kUniform_Flag; in modifiers() 930 flags |= Modifiers::kConst_Flag; in modifiers() 934 flags |= Modifiers::kIn_Flag; in modifiers() 938 flags |= Modifiers::kOut_Flag; in modifiers() [all …]
|
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 55 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST() 60 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 65 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST() 72 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST() 77 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST() 136 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fFloat3_Type.get()); in DEF_TEST() 141 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat_Type.get()); in DEF_TEST() 146 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST() 153 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST() 158 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 58 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), in DEF_TEST() 64 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fTypes.fFloat.get()); in DEF_TEST() 69 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fTypes.fBool.get()); in DEF_TEST() 76 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fTypes.fInt.get()); in DEF_TEST() 81 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), in DEF_TEST() 145 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), in DEF_TEST() 151 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fTypes.fFloat.get()); in DEF_TEST() 156 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fTypes.fBool.get()); in DEF_TEST() 163 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fTypes.fInt.get()); in DEF_TEST() 168 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), in DEF_TEST()
|