Home
last modified time | relevance | path

Searched refs:par (Results 1 – 20 of 20) sorted by relevance

/arkcompiler/runtime_core/assembler/tests/
Dassembler_emitter_test.cpp878 Parser par; variable
888 auto ret = par.Parse(source);
889 EXPECT_EQ(par.ShowError().err, Error::ErrorType::ERR_NONE);
907 Parser par; variable
924 auto program = par.Parse(source, source_filename);
925 EXPECT_EQ(par.ShowError().err, Error::ErrorType::ERR_NONE);
940 Parser par; variable
947 auto program = par.Parse(v);
948 EXPECT_EQ(par.ShowError().err, Error::ErrorType::ERR_NONE);
961 Parser par; variable
[all …]
/arkcompiler/ets_runtime/test/moduletest/class/
Dclass.js74 var par = new A; variable
75 print(par.a);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_TypeCreator.cpp252 auto par = GetPandasmTypeFromDescriptor(creator->GetCtx(), baseTd->GetMutf8()); in TypeAPITypeCreatorCtxClassSetBase() local
253 if (par.GetRank() != 0) { in TypeAPITypeCreatorCtxClassSetBase()
256 …creator->GetRec()->metadata->SetAttributeValue(typeapi_create_consts::ATTR_EXTENDS, par.GetName()); in TypeAPITypeCreatorCtxClassSetBase()
263 auto par = GetPandasmTypeFromDescriptor(creator->GetCtx(), baseTd->GetMutf8()); in TypeAPITypeCreatorCtxInterfaceAddBase() local
264 if (par.GetRank() != 0) { in TypeAPITypeCreatorCtxInterfaceAddBase()
267 …creator->GetRec()->metadata->SetAttributeValue(typeapi_create_consts::ATTR_IMPLEMENTS, par.GetName… in TypeAPITypeCreatorCtxInterfaceAddBase()
408 const auto &par = fn.params[i]; in AddLambdaParamInst() local
412 if (par.type.IsObject()) { in AddLambdaParamInst()
415 auto ctor = ctx->DeclarePrimitive(par.type.GetComponentName()).first; in AddLambdaParamInst()
/arkcompiler/ets_frontend/ets2panda/linter/src/utils/
DTsUtils.ts1145 let par = node.parent
1146 while (par) {
1147 if (ts.isBlock(par)) {
1150 par = par.parent;
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sample.cpp2902 Local<JSValueRef> ThrowErrorFuncTest(const EcmaVM *vm, Local<NumberRef> par) in ThrowErrorFuncTest() argument
2904 int i = par->Int32Value(vm); in ThrowErrorFuncTest()
2915 Local<JSValueRef> ThrowRangeErrorFuncTest(const EcmaVM *vm, Local<NumberRef> par) in ThrowRangeErrorFuncTest() argument
2917 int i = par->Int32Value(vm); in ThrowRangeErrorFuncTest()
2928 Local<JSValueRef> ThrowReferenceErrorFuncTest(const EcmaVM *vm, Local<NumberRef> par) in ThrowReferenceErrorFuncTest() argument
2930 int i = par->Int32Value(vm); in ThrowReferenceErrorFuncTest()
2941 Local<JSValueRef> ThrowSyntaxErrorFuncTest(const EcmaVM *vm, Local<NumberRef> par) in ThrowSyntaxErrorFuncTest() argument
2943 int i = par->Int32Value(vm); in ThrowSyntaxErrorFuncTest()
2954 Local<JSValueRef> ThrowTypeErrorFuncTest(const EcmaVM *vm, Local<NumberRef> par) in ThrowTypeErrorFuncTest() argument
2956 int i = par->Int32Value(vm); in ThrowTypeErrorFuncTest()
[all …]
Dffi_workload.cpp3210 void *par = new int(0); in HWTEST_F_L0() local
3213 JSNApi::NotifyNativeCalling(vm_, par); in HWTEST_F_L0()
3223 void *par = new std::string("abc"); in HWTEST_F_L0() local
3226 JSNApi::NotifyNativeCalling(vm_, par); in HWTEST_F_L0()
3236 void *par = new char('a'); in HWTEST_F_L0() local
3239 JSNApi::NotifyNativeCalling(vm_, par); in HWTEST_F_L0()
3249 void *par = new long(123456); // 123456 = random number in HWTEST_F_L0() local
3252 JSNApi::NotifyNativeCalling(vm_, par); in HWTEST_F_L0()
3262 void *par = nullptr; in HWTEST_F_L0() local
3265 JSNApi::NotifyNativeCalling(vm_, par); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DTypeCreator.ets688 const par = this.params.$_get(i)
689 …ctx.checkError(TypeCreatorCtx.lambdaTypeAddParam(ftPtr, par.typ.getTypeDescriptor(), par.attrs.get…
1101 const par = this.params.$_get(a)
1102 let name = par.name ?? '' + a;
1103 …ctx.checkError(TypeCreatorCtx.methodAddParam(fptr, par.typ.getTypeDescriptor(), name, par.attrs.ge…
/arkcompiler/ets_frontend/ets2panda/linter-4.2/src/
DUtils.ts1491 let par = node.parent;
1492 while (par) {
1493 if (ts.isBlock(par)) {
1496 par = par.parent;
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
Dstubbuilder.js486 let par = null;
/arkcompiler/runtime_core/compiler/tests/amd64/
Dencoder64_test.cpp2798 auto par = param_info->GetNativeParam(params[0]); in TestParam() local
2801 par = param_info->GetNativeParam(params[i]); in TestParam()
2809 if (std::holds_alternative<Reg>(par)) { in TestParam()
2810 test->GetEncoder()->EncodeMov(ret_reg, std::get<Reg>(par)); in TestParam()
2812 … auto mem = MemRef(Target::Current().GetStackReg(), std::get<uint8_t>(par) * sizeof(uint32_t)); in TestParam()
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dencoder64_test.cpp2853 auto par = paramInfo->GetNativeParam(PARAMS[0]); in TestParam() local
2856 par = paramInfo->GetNativeParam(PARAMS[i]); in TestParam()
2864 if (std::holds_alternative<Reg>(par)) { in TestParam()
2865 test->GetEncoder()->EncodeMov(retReg, std::get<Reg>(par)); in TestParam()
2867 … auto mem = MemRef(Target::Current().GetStackReg(), std::get<uint8_t>(par) * sizeof(uint32_t)); in TestParam()
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
Dencoder32_test.cpp2865 auto par = param_info->GetNativeParam(PARAMS[0]); in TestParam() local
2868 par = param_info->GetNativeParam(PARAMS[i]); in TestParam()
2881 if (std::holds_alternative<Reg>(par)) { in TestParam()
2882 test->GetEncoder()->EncodeMov(ret_reg, std::get<Reg>(par)); in TestParam()
2885 … std::get<uint8_t>(par) * fl.GetSlotSize()); in TestParam()
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dencoder32_test.cpp2814 auto par = param_info->GetNativeParam(params[0]); in TestParam() local
2817 par = param_info->GetNativeParam(params[i]); in TestParam()
2830 if (std::holds_alternative<Reg>(par)) { in TestParam()
2831 test->GetEncoder()->EncodeMov(ret_reg, std::get<Reg>(par)); in TestParam()
2834 … fl.GetFrameSize<CFrameLayout::BYTES>() + std::get<uint8_t>(par) * fl.GetSlotSize()); in TestParam()
/arkcompiler/runtime_core/compiler/tests/aarch64/
Dencoder64_test.cpp2933 auto par = param_info->GetNativeParam(params[0]); in TestParam() local
2936 par = param_info->GetNativeParam(params[i]); in TestParam()
2947 if (std::holds_alternative<Reg>(par)) { in TestParam()
2948 test->GetEncoder()->EncodeMov(ret_reg, std::get<Reg>(par)); in TestParam()
2950 … auto mem = MemRef(Target::Current().GetStackReg(), std::get<uint8_t>(par) * sizeof(uint32_t)); in TestParam()
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dencoder64_test.cpp3002 auto par = param_info->GetNativeParam(PARAMS[0]); in TestParam() local
3005 par = param_info->GetNativeParam(PARAMS[i]); in TestParam()
3016 if (std::holds_alternative<Reg>(par)) { in TestParam()
3017 test->GetEncoder()->EncodeMov(ret_reg, std::get<Reg>(par)); in TestParam()
3019 … auto mem = MemRef(Target::Current().GetStackReg(), std::get<uint8_t>(par) * sizeof(uint32_t)); in TestParam()
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.cpp1416 ArenaVector<ir::Expression *> par {allocator->Adapter()}; in CreateFunctionTypeNode() local
1419 par.push_back(reinterpret_cast<ir::AstNode *>(params[i])->AsExpression()); in CreateFunctionTypeNode()
1422 auto signature = ir::FunctionSignature(tpar, std::move(par), tret); in CreateFunctionTypeNode()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D9_classes.rst2464 …method () { console.log ("Instance field = ", this.field, " par = ", parameter, " loc = ", local) }
2492 …method () { console.log ("Instance field = ", this.field, " par = ", parameter, " loc = ", local) }
2508 …method () { console.log ("Instance field = ", this.field, " par = ", parameter, " loc = ", local) }
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md809 void *par = new int(0);
810 JSNApi::NotifyNativeCalling(vm_, par);
/arkcompiler/runtime_core/static_core/docs/
Ddoxygen.config235 # "sideeffect=@par Side Effects:\n"
/arkcompiler/runtime_core/docs/
Ddoxygen.config235 # "sideeffect=@par Side Effects:\n"