Home
last modified time | relevance | path

Searched refs:Yield (Results 1 - 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/tests/ReactorBenchmarks/
H A DReactorBenchmarks.cpp43 Yield(Int(0)); in BENCHMARK_DEFINE_F()
44 Yield(Int(1)); in BENCHMARK_DEFINE_F()
49 Yield(next); in BENCHMARK_DEFINE_F()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DCoroutine.hpp51 // A Coroutine may Yield() values of type T, which can be retrieved with
75 // (2) Coroutines support Yield() statements to suspend execution of the
76 // coroutine and pass a value up to the caller. Yield can be called
91 // Yield(Int(0));
92 // Yield(Int(1));
96 // Yield(next);
200 # ifdef Yield // Defined in WinBase.h
201 # undef Yield macro
207 inline void Yield(const T &val) in Yield() function
/third_party/node/deps/v8/src/torque/
H A Dimplementation-visitor.cc757 init_result = scope.Yield(*init_result); in Visit()
812 right = right_scope.Yield(GenerateImplicitConvert(common_type, right)); in Visit()
817 left = left_scope.Yield(GenerateImplicitConvert(common_type, left)); in Visit()
857 false_result = false_block_scope.Yield( in Visit()
864 return outer_scope.Yield(true_result); in Visit()
903 true_result = true_block_scope.Yield( in Visit()
914 return outer_scope.Yield(true_result); in Visit()
927 return scope.Yield(expr->postfix ? current_value : assignment_value); in Visit()
945 return scope.Yield(assignment_value); in Visit()
1000 return scope.Yield(GenerateFetchFromLocatio in Visit()
[all...]
H A Dimplementation-visitor.h613 // the slots protected by {StackScope::Yield}. Calling {Yield(v)} deletes all
623 // result = stack_scope.Yield(surviving_slots);
630 VisitResult Yield(VisitResult result) { in Yield() function in v8::internal::torque::ImplementationVisitor::StackScope
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderControlFlow.cpp18 #include "Reactor/Coroutine.hpp" // rr::Yield
633 Yield(YieldResult::ControlBarrier); in EmitControlBarrier()
725 void SpirvShader::Yield(YieldResult res) const in Yield() function in sw::SpirvShader
727 rr::Yield(RValue<Int>(int(res))); in Yield()
H A DSpirvShader.hpp46 #undef Yield // b/127920555 macro
1354 // Helper for calling rr::Yield with res cast to an rr::Int.
1355 void Yield(YieldResult res) const;
/third_party/rust/crates/syn/src/
H A Dtoken.rs788 "yield" pub struct Yield
966 [yield] => { $crate::token::Yield };
H A Dstmt.rs364 | Expr::Yield(_) in stmt_expr()
H A Dexpr.rs221 Yield(ExprYield),
231 // Expr::Yield(expr) => {...}
729 | Expr::Yield(ExprYield { attrs, .. }) => mem::replace(attrs, new),
955 | Expr::Yield(_)
1683 input.parse().map(Expr::Yield) in atom_expr()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
H A DReactorUnitTests.cpp2501 Yield(Int(0));
2502 Yield(Int(1));
2507 Yield(next);
2540 Yield(data[i]);
2578 Yield(rr::Extract(a, 2));
2580 Yield(rr::Extract(b, 1));
2582 Yield(rr::Extract(c, 1));
2597 // This test was written to make sure a coroutine without a Yield()
2637 Yield(Int(0));
2638 Yield(In
[all...]
/third_party/python/Python/
H A Dast_unparse.c805 if (!e->v.Yield.value) { in append_ast_yield()
810 APPEND_EXPR(e->v.Yield.value, PR_TEST); in append_ast_yield()
H A Dast.c315 ret = !exp->v.Yield.value || validate_expr(state, exp->v.Yield.value, Load); in validate_expr()
H A Dsymtable.c1648 if (e->v.Yield.value) in symtable_visit_expr()
1649 VISIT(st, expr, e->v.Yield.value); in symtable_visit_expr()
H A Dast_opt.c762 CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value); in astfold_expr()
/third_party/typescript/tests/baselines/reference/
H A DparserRealSource10.js63 Yield,
125 LimKeyword = Yield,
252 setTokenInfo(TokenID.Yield, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "yield", ErrorRecoverySet.None);
535 TokenID[TokenID["Yield"] = 53] = "Yield";
724 setTokenInfo(TokenID.Yield, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "yield", ErrorRecoverySet.None);
/third_party/node/deps/v8/src/ast/
H A Dast.h110 V(Yield) \
2079 // Yield
2083 // Our Yield is different from the JS yield in that it "returns" its argument as
2103 friend class Yield;
2118 class Yield final : public Suspend {
2122 Yield(Expression* expression, int pos, OnAbruptResume on_abrupt_resume) in Yield() function in v8::internal::final
3206 return zone_->New<Yield>(expression, pos, on_abrupt_resume); in NewYield()
H A Dast-traversal-visitor.h355 void AstTraversalVisitor<Subclass>::VisitYield(Yield* expr) { in VisitYield()
H A Dprettyprinter.cc372 void CallPrinter::VisitYield(Yield* node) { Find(node->expression()); } in VisitYield()
1302 void AstPrinter::VisitYield(Yield* node) { in VisitYield()
/third_party/python/Include/internal/
H A Dpycore_ast.h418 } Yield; member
/third_party/rust/crates/syn/src/gen/
H A Dclone.rs293 Expr::Yield(v0) => Expr::Yield(v0.clone()), in clone()
H A Deq.rs314 (Expr::Yield(self0), Expr::Yield(other0)) => self0 == other0, in eq()
H A Dvisit.rs1390 Expr::Yield(_binding_0) => { in visit_expr()
H A Dhash.rs512 Expr::Yield(v0) => { in hash()
/third_party/rust/crates/syn/tests/common/
H A Deq.rs600 Yield(0) Yeet(0) Become(0) IncludedBytes(0) FormatArgs(0) Err);
/third_party/python/Lib/test/
H A Dtest_ast.py229 # Yield - yield expressions can't work outside a function
1597 self.expr(ast.Yield(ast.Name("x", ast.Store())), "must have Load")

Completed in 56 milliseconds

12