Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/tests/benchmarks/
Daccess-nbody.pa21 .record Body{
56 newarr v4, v2, Body[]
109 .function void BodyInit(Body a0, f64 a1, f64 a2, f64 a3, f64 a4, f64 a5, f64 a6, f64 a7){
111 stobj a0, Body.x
113 stobj a0, Body.y
115 stobj a0, Body.z
117 stobj a0, Body.vx
119 stobj a0, Body.vy
121 stobj a0, Body.vz
123 stobj a0, Body.mass
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/pgo_test_case/
Dclass_test.js16 class Body { class
23 class Foot extends Body {
31 class Arm extends Body {
43 let a = new Body(1, 23);
Dop_type_test.js16 class Body { class
58 return new Body(0.0, 0.0, SOLAR_MASS);
62 return new Body(1.2, 3.1, PI);
/arkcompiler/ets_runtime/test/typeinfer/loopbeginphi/
Dloopbeginphi.ts53 class Body {}
54 const bodies: Body[] = [];
/arkcompiler/ets_frontend/es2panda/ir/statements/
DdoWhileStatement.h45 const Statement *Body() const in Body() function
50 Statement *Body() in Body() function
DwhileStatement.h55 const Statement *Body() const in Body() function
60 Statement *Body() in Body() function
DforInStatement.h65 Statement *Body() in Body() function
70 const Statement *Body() const in Body() function
DforOfStatement.h69 Statement *Body() in Body() function
74 const Statement *Body() const in Body() function
DforUpdateStatement.h80 Statement *Body() in Body() function
85 const Statement *Body() const in Body() function
DlabelledStatement.h42 const Statement *Body() const in Body() function
DfunctionDeclaration.cpp55 func_->Body()->Check(checker); in Check()
/arkcompiler/ets_frontend/es2panda/ir/base/
DcatchClause.h56 BlockStatement *Body() in Body() function
61 const BlockStatement *Body() const in Body() function
DclassDefinition.h109 ArenaVector<Statement *> &Body() in Body() function
114 const ArenaVector<Statement *> &Body() const in Body() function
DscriptFunction.h108 const AstNode *Body() const in Body() function
113 AstNode *Body() in Body() function
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsModuleDeclaration.h59 const Statement *Body() const in Body() function
64 Statement *Body() in Body() function
DtsInterfaceBody.h39 const ArenaVector<Expression *> &Body() const in Body() function
DtsInterfaceDeclaration.h60 const TSInterfaceBody *Body() const in Body() function
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrowFunctionExpression.cpp66 if (!func_->Body()->IsExpression()) { in Check()
67 func_->Body()->Check(checker); in Check()
DfunctionExpression.cpp66 func_->Body()->Check(checker); in Check()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp56 if (func->IsArrow() && func->Body()->IsExpression()) { in HandleFunctionReturn()
57 ElaborateElementwise(returnType, func->Body()->AsExpression(), func->Body()->Start()); in HandleFunctionReturn()
78 if (func->IsArrow() && func->Body()->IsExpression()) { in HandleFunctionReturn()
79 return func->Body()->Check(this); in HandleFunctionReturn()
83 CollectTypesFromReturnStatements(func->Body(), &returnTypes); in HandleFunctionReturn()
679 if (!SearchForReturnOrThrow(func->Body())) { in CheckAllCodePathsInNonVoidFunctionReturnOrThrow()
Dobject.cpp520 for (const auto *member : declaration->Body()->Body()) { in ResolveDeclaredMembers()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp571 for (auto *stmt : classDef->Body()) { in BuildClassDefinition()
598 ResolveReference(forUpdateStmt, forUpdateStmt->Body()); in BuildForUpdateLoop()
623 ResolveReference(catchClauseStmt, catchClauseStmt->Body()); in BuildCatchClause()
695 ResolveReference(scriptFunc, scriptFunc->Body()); in ResolveReference()
739 ResolveReference(doWhileStatement, doWhileStatement->Body()); in ResolveReference()
751 ResolveReference(whileStatement, whileStatement->Body()); in ResolveReference()
761 …rInOfLoop(forInStmt, forInStmt->Scope(), forInStmt->Left(), forInStmt->Right(), forInStmt->Body()); in ResolveReference()
767 …rInOfLoop(forOfStmt, forOfStmt->Scope(), forOfStmt->Left(), forOfStmt->Right(), forOfStmt->Body()); in ResolveReference()
/arkcompiler/ets_frontend/es2panda/compiler/core/
DdynamicContext.cpp39 if (!labelledStmt->Body()->IsBlockStatement() && !labelledStmt->Body()->IsIfStatement()) { in LabelContext()
Dfunction.cpp126 const auto &statements = decl->Parent()->Parent()->Parent()->AsClassDefinition()->Body(); in CompileInstanceFields()
179 const ir::AstNode *body = decl->Body(); in CompileFunction()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp113 if (node->AsTSModuleDeclaration()->Body()->IsTSModuleBlock()) { in AddVariableToNearestStatements()
154 auto *body = scope->Node()->AsScriptFunction()->Body(); in PushVariablesToNearestStatements()
473 for (auto *it : node->Body()) { in VisitComputedProperty()
515 for (auto *it : node->Body()) { in VisitPrivateProperty()
557 ir::BlockStatement *blockStat = node->Ctor()->Function()->Body()->AsBlockStatement(); in GetInsertPosForConstructor()
590 for (auto *it : node->Body()) { in VisitInstanceProperty()
601 ir::BlockStatement *blockStat = node->Ctor()->Function()->Body()->AsBlockStatement(); in VisitInstanceProperty()
646 auto *body = func->Body(); in VisitTSParameterProperty()
702 auto classDefinitionBody = node->Body(); in VisitStaticProperty()
764 auto classDefinitionBody = node->Definition()->Body(); in VisitClassDeclaration()
[all …]

12