Home
last modified time | relevance | path

Searched full:is_static (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
Dcall_ets.cpp35 template <bool IS_STATIC>
40 return st.HandleImpl<IS_STATIC>(); in HandleImpl()
46 template <bool IS_STATIC>
52 template <bool IS_STATIC>
76 template <bool IS_STATIC>
86 if (!IS_STATIC) { in ConvertArgs()
92 auto const numArgs = protoReader_.GetMethod()->GetNumArgs() - !IS_STATIC; in ConvertArgs()
129 if constexpr (!IS_STATIC) { in ConvertArgs()
133 static constexpr size_t ETS_ARGS_DISP = IS_STATIC ? 0 : 1; in ConvertArgs()
179 template <bool IS_STATIC>
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dets_field_wrapper.cpp32 template <bool IS_STATIC>
36 if constexpr (IS_STATIC) { in EtsAccessorsHandleThis()
60 template <typename FieldAccessor, bool IS_STATIC>
78 EtsObject *etsThis = EtsAccessorsHandleThis<IS_STATIC>(etsFieldWrapper, coro, ctx, env, jsThis); in EtsFieldGetter()
94 template <typename FieldAccessor, bool IS_STATIC>
113 EtsObject *etsThis = EtsAccessorsHandleThis<IS_STATIC>(etsFieldWrapper, coro, ctx, env, jsThis); in EtsFieldSetter()
220 template <bool IS_STATIC>
226 prop.attributes = IS_STATIC ? EtsClassWrapper::STATIC_FIELD_ATTR : EtsClassWrapper::FIELD_ATTR; in DoMakeNapiProperty()
230 … ASSERT(!IS_STATIC || wrapper->GetOwner()->GetEtsClass()->GetRuntimeClass() == field->GetClass()); in DoMakeNapiProperty()
234 prop.getter = EtsFieldGetter<Accessor, IS_STATIC>; in DoMakeNapiProperty()
[all …]
Dets_method_wrapper.h95 template <bool IS_STATIC>
98 template <bool IS_STATIC>
109 template <bool IS_STATIC>
Dets_method_wrapper.cpp101 template <bool IS_STATIC>
114 return EtsMethodWrapper::DoEtsMethodCall<IS_STATIC>(env, cinfo, findMethodFunc); in GetterSetterCallHandler()
117 template <bool IS_STATIC>
143 if constexpr (IS_STATIC) { in DoEtsMethodCall()
205 template <bool IS_STATIC>
228 return EtsMethodWrapper::DoEtsMethodCall<IS_STATIC>(env, cinfo, findMethodFunc); in EtsMethodCallHandler()
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
DmethodBuilder.cpp162 template <bool IS_STATIC>
166 … (IS_STATIC ? ir::ScriptFunctionFlags::STATIC_BLOCK : ir::ScriptFunctionFlags::CONSTRUCTOR); in CreateIrConstructor()
171 if constexpr (IS_STATIC) { in CreateIrConstructor()
DmethodBuilder.h77 template <bool IS_STATIC>
/arkcompiler/runtime_core/static_core/runtime/include/
Dclass.h783 template <bool IS_STATIC>
786 return IS_STATIC ? numRefsfields_ : numReffields_; in GetRefFieldsNum()
789 template <bool IS_STATIC>
792 return IS_STATIC ? offsetRefsfields_ : offsetReffields_; in GetRefFieldsOffset()
795 template <bool IS_STATIC>
798 return IS_STATIC ? volatileRefsfieldsNum_ : volatileReffieldsNum_; in GetVolatileRefFieldsNum()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_platform_types.cpp86 template <bool IS_STATIC>
94 if constexpr (IS_STATIC) { in FindMethod()
/arkcompiler/runtime_core/static_core/verification/
Dmessages.yaml212 args: is_static
214 Expected ${(is_static ? "static" : "instance")} field.
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder.cpp690 template <bool IS_STATIC>
695 …if (IS_STATIC ? GetRuntime()->IsMethodStaticConstructor(method) : GetRuntime()->IsInstanceConstruc… in IsInConstructor()
Dinst_builder.h425 template <bool IS_STATIC>
Dinst_builder-inl.h726 constexpr bool IS_STATIC = false; in BuildLoadObject() local
727 if (runtime->IsFieldReadonly(field) && !IsInConstructor<IS_STATIC>()) { in BuildLoadObject()
849 constexpr bool IS_STATIC = true; in BuildLoadStaticInst() local
850 if (GetRuntime()->IsFieldReadonly(field) && !IsInConstructor<IS_STATIC>()) { in BuildLoadStaticInst()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp1069 bool is_static = (access_flags & ACC_STATIC) != 0; in MakeFunctionItems() local
1070 size_t idx = is_static ? 0 : 1; in MakeFunctionItems()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.h368 User(bool is_static, unsigned index, unsigned size) in User() argument
369 …: properties_(IsStaticFlag::Encode(is_static) | IndexField::Encode(index) | SizeField::Encode(size… in User()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/
Dani_interaction_api.cpp546 template <bool IS_STATIC>
553 if (method->IsStatic() == IS_STATIC && ::strcmp(method->GetName(), name) == 0) { in CheckUniqueMethod()