Home
last modified time | relevance | path

Searched refs:declaration (Results 1 - 25 of 195) sorted by relevance

12345678

/third_party/skia/third_party/externals/tint/src/sem/
H A Dvariable.cc31 Variable::Variable(const ast::Variable* declaration, in Variable() argument
36 : declaration_(declaration), in Variable()
44 LocalVariable::LocalVariable(const ast::Variable* declaration, in LocalVariable() argument
50 : Base(declaration, type, storage_class, access, std::move(constant_value)), in LocalVariable()
55 GlobalVariable::GlobalVariable(const ast::Variable* declaration, in GlobalVariable() argument
61 : Base(declaration, type, storage_class, access, std::move(constant_value)), in GlobalVariable()
66 Parameter::Parameter(const ast::Variable* declaration, in Parameter() argument
72 : Base(declaration, type, storage_class, access, Constant{}), in Parameter()
78 VariableUser::VariableUser(const ast::IdentifierExpression* declaration, in VariableUser() argument
81 : Base(declaration, variabl in VariableUser()
[all...]
H A Dmember_accessor_expression.cc28 const ast::MemberAccessorExpression* declaration, in MemberAccessorExpression()
31 : Base(declaration, type, statement, Constant{}) {} in MemberAccessorExpression()
36 const ast::MemberAccessorExpression* declaration, in StructMemberAccess()
40 : Base(declaration, type, statement), member_(member) {} in StructMemberAccess()
44 Swizzle::Swizzle(const ast::MemberAccessorExpression* declaration, in Swizzle() argument
48 : Base(declaration, type, statement), indices_(std::move(indices)) {} in Swizzle()
27 MemberAccessorExpression( const ast::MemberAccessorExpression* declaration, const sem::Type* type, const Statement* statement) MemberAccessorExpression() argument
35 StructMemberAccess( const ast::MemberAccessorExpression* declaration, const sem::Type* type, const Statement* statement, const StructMember* member) StructMemberAccess() argument
H A Dif_statement.cc25 IfStatement::IfStatement(const ast::IfStatement* declaration, in IfStatement() argument
28 : Base(declaration, parent, function) {} in IfStatement()
32 ElseStatement::ElseStatement(const ast::ElseStatement* declaration, in ElseStatement() argument
35 : Base(declaration, parent, function) {} in ElseStatement()
H A Dloop_statement.cc25 LoopStatement::LoopStatement(const ast::LoopStatement* declaration, in LoopStatement() argument
28 : Base(declaration, parent, function) { in LoopStatement()
36 const ast::BlockStatement* declaration, in LoopContinuingBlockStatement()
39 : Base(declaration, parent, function) { in LoopContinuingBlockStatement()
35 LoopContinuingBlockStatement( const ast::BlockStatement* declaration, const CompoundStatement* parent, const sem::Function* function) LoopContinuingBlockStatement() argument
H A Dstatement.cc29 Statement::Statement(const ast::Statement* declaration, in Statement() argument
32 : declaration_(declaration), parent_(parent), function_(function) {} in Statement()
40 CompoundStatement::CompoundStatement(const ast::Statement* declaration, in CompoundStatement() argument
43 : Base(declaration, parent, function) {} in CompoundStatement()
H A Dswitch_statement.cc25 SwitchStatement::SwitchStatement(const ast::SwitchStatement* declaration, in SwitchStatement() argument
28 : Base(declaration, parent, function) { in SwitchStatement()
39 CaseStatement::CaseStatement(const ast::CaseStatement* declaration, in CaseStatement() argument
42 : Base(declaration, parent, function) { in CaseStatement()
H A Dblock_statement.cc28 BlockStatement::BlockStatement(const ast::BlockStatement* declaration, in BlockStatement() argument
31 : Base(declaration, parent, function) {} in BlockStatement()
50 LoopBlockStatement::LoopBlockStatement(const ast::BlockStatement* declaration, in LoopBlockStatement() argument
53 : Base(declaration, parent, function) { in LoopBlockStatement()
H A Dstruct.cc29 Struct::Struct(const ast::Struct* declaration, in Struct() argument
35 : declaration_(declaration), in Struct()
81 StructMember::StructMember(const ast::StructMember* declaration, in StructMember() argument
88 : declaration_(declaration), in StructMember()
/third_party/weex-loader/deps/weex-styler/lib/
H A Dshorthand-parser.js3 type: 'declaration',
9 function transition (declaration) {
11 var match = declaration.value.match(CHUNK_REGEXP)
13 var position = declaration.position
21 function margin (declaration) {
22 var position = declaration.position
23 var splitResult = declaration.value.split(/\s+/)
51 return declarations.reduce((result, declaration) => {
52 var parser = parserCollection[declaration.property]
54 return result.concat(parser(declaration))
[all...]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c83 * declaration
88 struct tgsi_declaration *declaration, in declaration_grow()
91 assert( declaration->NrTokens < 0xFF ); in declaration_grow()
93 declaration->NrTokens++; in declaration_grow()
101 struct tgsi_declaration declaration; in tgsi_default_declaration() local
103 declaration.Type = TGSI_TOKEN_TYPE_DECLARATION; in tgsi_default_declaration()
104 declaration.NrTokens = 1; in tgsi_default_declaration()
105 declaration.File = TGSI_FILE_NULL; in tgsi_default_declaration()
106 declaration.UsageMask = TGSI_WRITEMASK_XYZW; in tgsi_default_declaration()
107 declaration in tgsi_default_declaration()
87 declaration_grow( struct tgsi_declaration *declaration, struct tgsi_header *header ) declaration_grow() argument
134 struct tgsi_declaration declaration; tgsi_build_declaration() local
178 tgsi_build_declaration_range( unsigned first, unsigned last, struct tgsi_declaration *declaration, struct tgsi_header *header ) tgsi_build_declaration_range() argument
198 tgsi_build_declaration_dimension(unsigned index_2d, struct tgsi_declaration *declaration, struct tgsi_header *header) tgsi_build_declaration_dimension() argument
227 tgsi_build_declaration_interp(unsigned interpolate, unsigned interpolate_location, struct tgsi_declaration *declaration, struct tgsi_header *header) tgsi_build_declaration_interp() argument
259 tgsi_build_declaration_semantic( unsigned semantic_name, unsigned semantic_index, unsigned streamx, unsigned streamy, unsigned streamz, unsigned streamw, struct tgsi_declaration *declaration, struct tgsi_header *header ) tgsi_build_declaration_semantic() argument
301 tgsi_build_declaration_image(unsigned texture, unsigned format, unsigned raw, unsigned writable, struct tgsi_declaration *declaration, struct tgsi_header *header) tgsi_build_declaration_image() argument
336 tgsi_build_declaration_sampler_view(unsigned texture, unsigned return_type_x, unsigned return_type_y, unsigned return_type_z, unsigned return_type_w, struct tgsi_declaration *declaration, struct tgsi_header *header) tgsi_build_declaration_sampler_view() argument
371 tgsi_build_declaration_array(unsigned arrayid, struct tgsi_declaration *declaration, struct tgsi_header *header) tgsi_build_declaration_array() argument
410 struct tgsi_declaration *declaration; tgsi_build_full_declaration() local
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
H A DWrapSwitchStatementsInBlocks.cpp68 for (TIntermDeclaration *declaration : declarations) in visitSwitch()
71 ASSERT(declaration->getSequence()->size() == 1); in visitSwitch()
74 TIntermSymbol *declaratorAsSymbol = declaration->getSequence()->at(0)->getAsSymbolNode(); in visitSwitch()
77 // This is a simple declaration like: "float f;" in visitSwitch()
78 // Remove the declaration from inside the switch and put it in the wrapping block. in visitSwitch()
80 mMultiReplacements.emplace_back(node->getStatementList(), declaration, in visitSwitch()
84 // The declaration can't be the last statement inside the switch since unused variables in visitSwitch()
86 ASSERT(declaration != statementList->back()); in visitSwitch()
90 // This is an init declaration like: "float f = 0.0;" in visitSwitch()
91 // Change the init declaration insid in visitSwitch()
[all...]
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dtemplate.rs1 //! Template declaration and instantiation related things.
35 /// Template declaration (and such declaration's template parameters) related
102 /// Get the set of `ItemId`s that make up this template declaration's free
112 /// Get the number of free template parameters this template declaration
119 /// declaration.
121 /// Note that this item doesn't need to be a template declaration itself for
123 /// this item is a member of a template declaration, then the parent's
127 /// parameters, even though it is not itself a template declaration and
235 Item::from_ty_or_ref(t, t.declaration(), Non in from_ty()
[all...]
/third_party/typescript/tests/ts_extra_tests/tool/
H A Dtestcfg.py58 self.declaration = data
67 if self.declaration == {}:
68 self.detail_result = "parse test case declaration failed, maybe bad format."
70 if 'error' in self.declaration:
71 if self.declaration['error'] is None or 'code' not in self.declaration['error'] and 'type' not in \
72 self.declaration['error']:
129 if 'experimentalDecorators' in self.declaration:
134 if 'error' in self.declaration:
139 if 'isCurrent' in self.declaration
[all...]
/third_party/skia/src/sksl/ir/
H A DSkSLFunctionPrototype.h20 * A function prototype (a function declaration as a top-level program element)
26 FunctionPrototype(int line, const FunctionDeclaration* declaration, bool builtin) in FunctionPrototype() argument
28 , fDeclaration(declaration) in FunctionPrototype()
31 const FunctionDeclaration& declaration() const { in declaration() function in SkSL::final
40 return std::make_unique<FunctionPrototype>(fLine, &this->declaration(), /*builtin=*/false);
44 return this->declaration().description() + ";";
H A DSkSLFunctionDefinition.h20 * A function definition (a declaration plus an associated block of code).
28 FunctionDefinition(int line, const FunctionDeclaration* declaration, bool builtin, in FunctionDefinition() argument
31 , fDeclaration(declaration) in FunctionDefinition()
54 const FunctionDeclaration& declaration() const { in declaration() function in SkSL::final
83 return std::make_unique<FunctionDefinition>(fLine, &this->declaration(),
89 return this->declaration().description() + " " + this->body()->description();
H A DSkSLVarDeclarations.h23 * A single variable declaration statement. Multiple variables declared together are expanded to
109 * A variable declaration appearing at global scope. A global declaration like 'int x, y;' produces
110 * two GlobalVarDeclaration elements, each containing the declaration of one variable.
119 SkASSERT(this->declaration()->is<VarDeclaration>()); in GlobalVarDeclaration()
122 std::unique_ptr<Statement>& declaration() { in declaration() function in SkSL::final
126 const std::unique_ptr<Statement>& declaration() const { in declaration() function in SkSL::final
131 return std::make_unique<GlobalVarDeclaration>(this->declaration()->clone());
135 return this->declaration()->description();
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DDeferGlobalInitializers.cpp37 void GetDeferredInitializers(TIntermDeclaration *declaration, in GetDeferredInitializers() argument
47 ASSERT(declaration->getSequence()->size() == 1); in GetDeferredInitializers()
49 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers()
81 declaration->replaceChildNode(init, symbolNode); in GetDeferredInitializers()
148 TIntermDeclaration *declaration = statement->getAsDeclarationNode(); in DeferGlobalInitializers() local
149 if (declaration) in DeferGlobalInitializers()
151 GetDeferredInitializers(declaration, initializeUninitializedGlobals, in DeferGlobalInitializers()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_interchange_zero_like_constants.cpp34 opt::Instruction* declaration) { in FindOrCreateToggledConstant()
35 // |declaration| must not be a specialization constant because we do not know in FindOrCreateToggledConstant()
37 if (opt::IsSpecConstantInst(declaration->opcode())) { in FindOrCreateToggledConstant()
42 declaration->result_id()); in FindOrCreateToggledConstant()
50 return FindOrCreateNullConstant(declaration->type_id()); in FindOrCreateToggledConstant()
52 // Add declaration of equivalent scalar constant in FindOrCreateToggledConstant()
57 return FindOrCreateZeroConstant(declaration->type_id(), false); in FindOrCreateToggledConstant()
33 FindOrCreateToggledConstant( opt::Instruction* declaration) FindOrCreateToggledConstant() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_interchange_zero_like_constants.cpp34 opt::Instruction* declaration) { in FindOrCreateToggledConstant()
35 // |declaration| must not be a specialization constant because we do not know in FindOrCreateToggledConstant()
37 if (opt::IsSpecConstantInst(declaration->opcode())) { in FindOrCreateToggledConstant()
42 declaration->result_id()); in FindOrCreateToggledConstant()
50 return FindOrCreateNullConstant(declaration->type_id()); in FindOrCreateToggledConstant()
52 // Add declaration of equivalent scalar constant in FindOrCreateToggledConstant()
57 return FindOrCreateZeroConstant(declaration->type_id(), false); in FindOrCreateToggledConstant()
33 FindOrCreateToggledConstant( opt::Instruction* declaration) FindOrCreateToggledConstant() argument
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_interchange_zero_like_constants.cpp34 opt::Instruction* declaration) { in FindOrCreateToggledConstant()
35 // |declaration| must not be a specialization constant because we do not know in FindOrCreateToggledConstant()
37 if (opt::IsSpecConstantInst(declaration->opcode())) { in FindOrCreateToggledConstant()
42 declaration->result_id()); in FindOrCreateToggledConstant()
50 return FindOrCreateNullConstant(declaration->type_id()); in FindOrCreateToggledConstant()
52 // Add declaration of equivalent scalar constant in FindOrCreateToggledConstant()
57 return FindOrCreateZeroConstant(declaration->type_id(), false); in FindOrCreateToggledConstant()
33 FindOrCreateToggledConstant( opt::Instruction* declaration) FindOrCreateToggledConstant() argument
/third_party/node/deps/v8/src/torque/
H A Dtype-visitor.cc108 for (auto declaration : methods) { in DeclareMethods()
109 CurrentSourcePosition::Scope pos_scope(declaration->pos); in DeclareMethods()
111 TorqueMacroDeclaration::DynamicCast(declaration); in DeclareMethods()
249 ReportError("Shapes must be extern, add \"extern\" to the declaration."); in ComputeType()
367 pos = generic_type->declaration()->name->pos; in ComputeType()
396 Signature TypeVisitor::MakeSignature(const CallableDeclaration* declaration) { in MakeSignature() argument
398 for (const auto& label : declaration->labels) { in MakeSignature()
403 if (declaration->parameters.has_varargs) in MakeSignature()
404 arguments_variable = declaration->parameters.arguments_variable; in MakeSignature()
405 Signature result{declaration in MakeSignature()
[all...]
H A Ddeclaration-visitor.cc5 #include "src/torque/declaration-visitor.h"
43 // Only processes type declaration nodes, namespaces and generics. in Predeclare()
235 << " is ambigous, it matches more than one generic declaration (" in Visit()
250 << " doesn't match any generic declaration\n"; in Visit()
268 CallableDeclaration* generic_declaration = matching_generic->declaration(); in Visit()
324 return TypeVisitor::MakeSignature(key.generic->declaration()); in MakeSpecializedSignature()
330 if (!body && IntrinsicDeclaration::DynamicCast(key.generic->declaration()) == in SpecializeImplicit()
339 Callable* result = Specialize(key, key.generic->declaration(), base::nullopt, in SpecializeImplicit()
351 CallableDeclaration* declaration, in Specialize()
360 << ") to intantiation of generic " << declaration in Specialize()
349 Specialize( const SpecializationKey<GenericCallable>& key, CallableDeclaration* declaration, base::Optional<const SpecializationDeclaration*> explicit_specialization, base::Optional<Statement*> body, SourcePosition position) Specialize() argument
[all...]
/third_party/mesa3d/src/mesa/program/
H A Dsymbol_table.c178 const char *name, void *declaration) in _mesa_symbol_table_add_symbol()
206 new_sym->data = declaration; in _mesa_symbol_table_add_symbol()
219 void *declaration) in _mesa_symbol_table_replace_symbol()
227 sym->data = declaration; in _mesa_symbol_table_replace_symbol()
233 const char *name, void *declaration) in _mesa_symbol_table_add_global_symbol()
278 sym->data = declaration; in _mesa_symbol_table_add_global_symbol()
177 _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *table, const char *name, void *declaration) _mesa_symbol_table_add_symbol() argument
217 _mesa_symbol_table_replace_symbol(struct _mesa_symbol_table *table, const char *name, void *declaration) _mesa_symbol_table_replace_symbol() argument
232 _mesa_symbol_table_add_global_symbol(struct _mesa_symbol_table *table, const char *name, void *declaration) _mesa_symbol_table_add_global_symbol() argument
H A Dsymbol_table.h37 const char *name, void *declaration);
41 void *declaration);
46 void *declaration);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DSeparateCompoundStructDeclarations.cpp32 Declaration declaration = ViewDeclaration(*declNode); variable
34 const TVariable &var = declaration.symbol.variable();
71 if (declaration.initExpr)
74 TOperator::EOpInitialize, instanceSymbol, declaration.initExpr));
82 replacementMap[declaration.symbol.uniqueId().get()] = instanceSymbol;

Completed in 11 milliseconds

12345678