Home
last modified time | relevance | path

Searched defs:stmt (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_behavior_test.cc40 auto* stmt = Decl(Var("lhs", ty.i32(), Add(Call("DiscardOrNext"), 1))); in TEST_F() local
51 auto* stmt = Decl(Var("lhs", ty.i32(), Add(1, Call("DiscardOrNext")))); in TEST_F() local
62 auto* stmt = Decl(Var("lhs", ty.u32(), Bitcast<u32>(Call("DiscardOrNext")))); in TEST_F() local
79 auto* stmt = in TEST_F() local
91 auto* stmt = in TEST_F() local
104 auto* stmt = Decl(Var("lhs", ty.i32(), in TEST_F() local
117 auto* stmt = Assign("lhs", "rhs"); in TEST_F() local
129 auto* stmt = Assign(IndexAccessor("lhs", Call("DiscardOrNext")), 1); in TEST_F() local
141 auto* stmt = Assign("lhs", Call("DiscardOrNext")); in TEST_F() local
153 auto* stmt = Block(); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_variable_decl_statement_test.cc30 auto* stmt = Decl(var); in TEST_F() local
43 auto* stmt = Decl(var); in TEST_F() local
56 auto* stmt = Decl(var); in TEST_F() local
74 auto* stmt = Decl(var); in TEST_F() local
88 auto* stmt = Decl(var); in TEST_F() local
102 auto* stmt = Decl(var); in TEST_F() local
156 auto* stmt = Decl(var); in TEST_F() local
/third_party/skia/third_party/externals/tint/src/ast/
Ddiscard_statement_test.cc26 auto* stmt = create<DiscardStatement>(); in TEST_F() local
34 auto* stmt = create<DiscardStatement>( in TEST_F() local
43 auto* stmt = create<DiscardStatement>(); in TEST_F() local
Dfallthrough_statement_test.cc26 auto* stmt = create<FallthroughStatement>(); in TEST_F() local
34 auto* stmt = create<FallthroughStatement>(Source{Source::Location{20, 2}}); in TEST_F() local
41 auto* stmt = create<FallthroughStatement>(); in TEST_F() local
Dcall_expression_test.cc30 auto* stmt = create<CallExpression>(func, params); in TEST_F() local
42 auto* stmt = create<CallExpression>(Source{{20, 2}}, func, ExpressionList{}); in TEST_F() local
57 auto* stmt = create<CallExpression>(type, params); in TEST_F() local
69 auto* stmt = create<CallExpression>(Source{{20, 2}}, type, ExpressionList{}); in TEST_F() local
80 auto* stmt = create<CallExpression>(func, ExpressionList{}); in TEST_F() local
Dvariable_decl_statement_test.cc29 auto* stmt = create<VariableDeclStatement>(var); in TEST_F() local
36 auto* stmt = in TEST_F() local
46 auto* stmt = create<VariableDeclStatement>(var); in TEST_F() local
Dmember_accessor_expression_test.cc28 auto* stmt = create<MemberAccessorExpression>(str, mem); in TEST_F() local
34 auto* stmt = create<MemberAccessorExpression>( in TEST_F() local
42 auto* stmt = in TEST_F() local
Dcontinue_statement_test.cc26 auto* stmt = create<ContinueStatement>(Source{Source::Location{20, 2}}); in TEST_F() local
33 auto* stmt = create<ContinueStatement>(); in TEST_F() local
Dbreak_statement_test.cc26 auto* stmt = create<BreakStatement>(Source{Source::Location{20, 2}}); in TEST_F() local
33 auto* stmt = create<BreakStatement>(); in TEST_F() local
Dassignment_statement_test.cc30 auto* stmt = create<AssignmentStatement>(lhs, rhs); in TEST_F() local
39 auto* stmt = in TEST_F() local
50 auto* stmt = create<AssignmentStatement>(lhs, rhs); in TEST_F() local
Dswitch_statement_test.cc35 auto* stmt = create<SwitchStatement>(ident, body); in TEST_F() local
44 auto* stmt = create<SwitchStatement>(Source{Source::Location{20, 2}}, ident, in TEST_F() local
59 auto* stmt = create<SwitchStatement>(ident, body); in TEST_F() local
/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp56 for (const std::unique_ptr<Statement>& stmt : cases) { in find_duplicate_case_values() local
84 static void move_all_but_break(std::unique_ptr<Statement>& stmt, StatementArray* target) { in move_all_but_break()
132 std::unique_ptr<Statement>& stmt = (*iter)->as<SwitchCase>().statement(); in BlockForCase() local
234 SkASSERT(std::all_of(cases.begin(), cases.end(), [&](const std::unique_ptr<Statement>& stmt) { in Make()
239 SkASSERT(std::all_of(cases.begin(), cases.end(), [&](const std::unique_ptr<Statement>& stmt) { in Make()
253 for (const std::unique_ptr<Statement>& stmt : cases) { in Make() local
DSkSLDoStatement.cpp18 std::unique_ptr<Statement> stmt, in Convert()
35 std::unique_ptr<Statement> stmt, in Make()
/third_party/skia/src/sksl/analysis/
DSkSLSwitchCaseContainsExit.cpp20 bool visitStatement(const Statement& stmt) override { in visitStatement()
81 bool Analysis::SwitchCaseContainsUnconditionalExit(Statement& stmt) { in SwitchCaseContainsUnconditionalExit()
85 bool Analysis::SwitchCaseContainsConditionalExit(Statement& stmt) { in SwitchCaseContainsConditionalExit()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_variable_decl_statement_test.cc30 auto* stmt = Decl(var); in TEST_F() local
43 auto* stmt = Decl(var); in TEST_F() local
98 auto* stmt = Decl(var); in TEST_F() local
113 auto* stmt = Decl(var); in TEST_F() local
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_variable_decl_statement_test.cc30 auto* stmt = Decl(var); in TEST_F() local
43 auto* stmt = Decl(var); in TEST_F() local
100 auto* stmt = Decl(var); in TEST_F() local
115 auto* stmt = Decl(var); in TEST_F() local
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ui/
DOpenGLFunctions.h49 #define GL_CHECK(stmt) \ argument
53 #define GL_CHECK(stmt) stmt argument
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_variable_decl_statement_test.cc28 auto* stmt = Decl(var); in TEST_F() local
42 auto* stmt = Decl(var); in TEST_F() local
Dgenerator_impl.cc797 bool GeneratorImpl::EmitBlock(const ast::BlockStatement* stmt) { in EmitBlock()
807 bool GeneratorImpl::EmitStatement(const ast::Statement* stmt) { in EmitStatement()
873 bool GeneratorImpl::EmitAssign(const ast::AssignmentStatement* stmt) { in EmitAssign()
896 bool GeneratorImpl::EmitCase(const ast::CaseStatement* stmt) { in EmitCase()
935 bool GeneratorImpl::EmitIf(const ast::IfStatement* stmt) { in EmitIf()
976 bool GeneratorImpl::EmitLoop(const ast::LoopStatement* stmt) { in EmitLoop()
999 bool GeneratorImpl::EmitForLoop(const ast::ForLoopStatement* stmt) { in EmitForLoop()
1073 bool GeneratorImpl::EmitReturn(const ast::ReturnStatement* stmt) { in EmitReturn()
1086 bool GeneratorImpl::EmitSwitch(const ast::SwitchStatement* stmt) { in EmitSwitch()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DErrorInjector.h50 # define INJECT_ERROR_OR_RUN(stmt, ...) \ argument
64 # define INJECT_ERROR_OR_RUN(stmt, ...) stmt argument
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_intrinsic_texture_test.cc3690 auto* stmt = CallStmt(call); in TEST_P() local
3717 auto* stmt = CallStmt(call); in TEST_P() local
3737 auto* stmt = CallStmt(call); in TEST_P() local
/third_party/ltp/tools/sparse/sparse-src/
Dinline.c46 static struct statement * dup_statement(struct statement *stmt) in dup_statement()
197 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in copy_expression() local
331 static struct statement *copy_one_statement(struct statement *stmt) in copy_one_statement()
477 struct statement *stmt; in copy_statement() local
518 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in inline_function() local
Dparse.c664 struct statement *stmt = __alloc_statement(0); in alloc_statement() local
1984 static struct token *parse_asm_operands(struct token *token, struct statement *stmt, in parse_asm_operands()
2006 static struct token *parse_asm_clobbers(struct token *token, struct statement *stmt, in parse_asm_clobbers()
2019 static struct token *parse_asm_labels(struct token *token, struct statement *stmt, in parse_asm_labels()
2035 static struct token *parse_asm_statement(struct token *token, struct statement *stmt) in parse_asm_statement()
2096 struct statement *stmt; in make_statement() local
2114 static void start_iterator(struct statement *stmt) in start_iterator()
2131 static void end_iterator(struct statement *stmt) in end_iterator()
2139 struct statement *stmt = alloc_statement(sym->pos, STMT_COMPOUND); in start_function() local
2174 static void start_switch(struct statement *stmt) in start_switch()
[all …]
/third_party/python/Lib/
Dtimeit.py102 def __init__(self, stmt="pass", setup="pass", timer=default_timer, argument
231 def timeit(stmt="pass", setup="pass", timer=default_timer, argument
236 def repeat(stmt="pass", setup="pass", timer=default_timer, argument
/third_party/skia/third_party/externals/tint/src/transform/
Dfold_trivial_single_use_lets.cc30 const ast::VariableDeclStatement* AsTrivialLetDecl(const ast::Statement* stmt) { in AsTrivialLetDecl()
59 auto* stmt = stmts[stmt_idx]; in Run() local

123456