Home
last modified time | relevance | path

Searched refs:Modifiers (Results 1 – 25 of 188) sorted by relevance

12345678

/external/skia/include/private/
DSkSLModifiers.h20 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/
DSkSLASTPrecision.h21 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;
DSkSLASTModifiersDeclaration.h22 ASTModifiersDeclaration(Modifiers modifiers) in ASTModifiersDeclaration()
30 Modifiers fModifiers;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeUDT.cpp33 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()
DNativeTypeEnum.cpp124 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/
DNativeTypeUDT.cpp33 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()
DNativeTypeEnum.cpp124 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/
DSkSLVariable.h33 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;
DSkSLModifiers.h18 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/
DModifiers.java15 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/
DSkSLVarDeclarations.cpp40 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()
DSkSLFunctionDeclaration.cpp31 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()
DSkSLVariable.h46 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;
DSkSLFunctionDeclaration.h41 const Modifiers* modifiers,
50 const Modifiers* modifiers,
56 const Modifiers& modifiers() const { in modifiers()
120 const Modifiers* fModifiers;
DSkSLModifiersDeclaration.h25 ModifiersDeclaration(const Modifiers* modifiers) in ModifiersDeclaration()
29 const Modifiers& modifiers() const { in modifiers()
42 const Modifiers* fModifiers;
/external/skia/src/sksl/
DSkSLASTNode.h188 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 …]
DSkSLModifiersPool.h23 const Modifiers* add(const Modifiers& modifiers) { in add()
33 std::unordered_set<Modifiers> fModifiersSet;
DSkSLParser.h23 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);
DSkSLIRGenerator.cpp251 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/
DOpenMPKinds.def70 // 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/
DSkSLGLSLCodeGenerator.cpp1063 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 …]
DSkSLParser.h46 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);
DSkSLParser.cpp407 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/
DSkSLMemoryLayoutTest.cpp55 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/
DSkSLMemoryLayoutTest.cpp58 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()

12345678