/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_sharedobject_test.cpp | 60 ASSERT_FALSE(hclass->IsConstructor()); in HWTEST_F_L0() 73 ASSERT_TRUE(ctorHClass->IsConstructor()); in HWTEST_F_L0() 83 ASSERT_FALSE(protoHClass->IsConstructor()); in HWTEST_F_L0() 92 ASSERT_FALSE(sObjProtoHClass->IsConstructor()); in HWTEST_F_L0() 110 ASSERT_TRUE(ctorHClass->IsConstructor()); in HWTEST_F_L0() 116 ASSERT_FALSE(normalFunctionClass->IsConstructor()); in HWTEST_F_L0() 132 ASSERT_TRUE(!hclass->IsConstructor()); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
D | ETSfunction.cpp | 93 } else if (scriptFunc->IsConstructor()) { in CompileSourceBlock() 113 … if (scriptFunc->IsConstructor() || scriptFunc->IsStaticBlock() || scriptFunc->IsEntryPoint()) { in CompileSourceBlock() 130 … if (scriptFunc->IsConstructor() || scriptFunc->IsStaticBlock() || scriptFunc->IsEntryPoint()) { in CompileSourceBlock()
|
D | function.cpp | 223 if (decl->IsConstructor() && (util::Helpers::GetClassDefiniton(decl)->Super() == nullptr)) { in CompileFunction()
|
/arkcompiler/ets_runtime/test/fuzztest/jsnapiisconstructor_fuzzer/ |
D | jsnapiisconstructor_fuzzer.cpp | 35 intValue->IsConstructor(); in JSNApiIsConstructorFuzzTest()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
D | ets_method.h | 185 bool IsConstructor() const in IsConstructor() function 187 return GetPandaMethod()->IsConstructor(); in IsConstructor()
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
D | methodDefinition.h | 58 [[nodiscard]] bool IsConstructor() const noexcept in IsConstructor() function
|
D | scriptFunction.h | 162 [[nodiscard]] bool IsConstructor() const noexcept in IsConstructor() function
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 327 if (iter->IsConstructor()) { in GetContainingConstructor() 365 ASSERT(node->IsConstructor() || node->IsMethod()); in GetClassDefiniton() 486 if (func->IsConstructor()) { in FunctionName() 722 if (strLit->Str().Is(USE_SENDABLE) && func->IsConstructor()) { in SetFuncFlagsForDirectives()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
D | std_core_Method.cpp | 115 ASSERT(meth->IsConstructor()); in TypeAPIMethodInvokeConstructor()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
D | helpers.cpp | 215 if (iter->IsConstructor()) { in GetContainingConstructor() 366 ASSERT(node->IsConstructor()); in GetClassDefiniton() 532 if (func->IsConstructor()) { in FunctionName()
|
/arkcompiler/ets_frontend/es2panda/compiler/function/ |
D | functionBuilder.cpp | 48 if (!rootNode->IsScriptFunction() || !rootNode->AsScriptFunction()->IsConstructor()) { in ImplicitReturn() 63 if (rootNode->AsScriptFunction()->IsConstructor() && in ImplicitReturn()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
D | pgo_profile_type.h | 238 bool IsConstructor() const in IsConstructor() function 403 bool IsConstructor() const in IsConstructor() function
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | builtins_base.h | 104 constexpr bool IsConstructor() const in IsConstructor() function
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
D | bytecodeopt_peepholes.cpp | 47 if (adapter->IsConstructor(call->GetCallMethod(), graph->GetLanguage())) { in FindCtorCall()
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
D | scriptFunction.h | 148 bool IsConstructor() const in IsConstructor() function
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_reflect.cpp | 61 if (!target->IsConstructor()) { in ReflectConstruct() 68 if (!newTarget->IsConstructor()) { in ReflectConstruct()
|
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
D | pgo_hclass_generator.cpp | 63 } else if (rootType.IsConstructor()) { in GenerateHClass()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
D | method.h | 678 bool IsConstructor() const in IsConstructor() function 687 return IsConstructor() && !IsStatic(); in IsInstanceConstructor() 692 return IsConstructor() && IsStatic(); in IsStaticConstructor()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_promise.cpp | 86 if (!obj->IsConstructor()) { in NewPromiseCapability()
|
D | js_function.cpp | 331 ASSERT_PRINT(func->IsConstructor(), "func must be Constructor type"); in MakeConstructor() 402 if (!(func->IsConstructor() && target->IsConstructor())) { in Construct() 543 if (!func->IsConstructor()) { in ConstructInternal() 663 if (!target->IsConstructor()) { in ConstructInternal()
|
D | js_object-inl.h | 78 inline bool JSObject::IsConstructor() const in IsConstructor() function 80 return GetJSHClass()->IsConstructor(); in IsConstructor()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
D | ets_runtime_interface.cpp | 145 …return MethodCast(method)->IsConstructor() && GetClassNameFromMethod(method) == "std.core.StringBu… in IsMethodStringBuilderConstructorWithStringArg()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_factory_test.cpp | 129 EXPECT_TRUE(!cls->IsConstructor()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
D | ets_class_wrapper.cpp | 341 if (method->IsConstructor()) { in CalculateProperties() 393 ASSERT(!method->IsConstructor()); in BuildJSProperties()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
D | runtime_adapter_test.cpp | 146 EXPECT_FALSE(adapter.IsConstructor(main, SourceLanguage::PANDA_ASSEMBLY)); in TEST()
|