Searched refs:cpptype (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| D | js_convert_base.h | 59 using cpptype = ImplCpptype; member 60 static constexpr bool IS_REFTYPE = std::is_pointer_v<cpptype>; 61 …tatic constexpr size_t TYPE_SIZE = IS_REFTYPE ? ClassHelper::OBJECT_POINTER_SIZE : sizeof(cpptype); 69 static napi_value Wrap(napi_env env, cpptype etsVal) in Wrap() 80 static std::optional<cpptype> Unwrap(InteropCtx *ctx, napi_env env, napi_value jsVal) in Unwrap() 90 static napi_value WrapWithNullCheck(napi_env env, cpptype etsVal) in WrapWithNullCheck() 102 … static std::optional<cpptype> UnwrapWithNullCheck(InteropCtx *ctx, napi_env env, napi_value jsVal) in UnwrapWithNullCheck() 122 … [[maybe_unused]] cpptype etsVal); \ 124 …[[maybe_unused]] static inline std::optional<cpptype> UnwrapImpl([[maybe_unused]] InteropCtx *ctx,… 131 …api_value JSConvert##type::WrapImpl([[maybe_unused]] napi_env env, [[maybe_unused]] cpptype etsVal) [all …]
|
| D | intrinsics_api_impl.h | 66 typename T::cpptype JSValueNamedGetter(JSValue *etsJsValue, EtsString *etsPropName) in JSValueNamedGetter() 84 void JSValueNamedSetter(JSValue *etsJsValue, EtsString *etsPropName, typename T::cpptype etsPropVal) in JSValueNamedSetter() 100 typename T::cpptype JSValueIndexedGetter(JSValue *etsJsValue, int32_t index) in JSValueIndexedGetter() 126 void *ConvertToLocal(typename T::cpptype etsValue) in ConvertToLocal() 186 typename CONVERTOR::cpptype ConvertFromLocal(void *value) in ConvertFromLocal() 195 if constexpr (!std::is_pointer_v<typename CONVERTOR::cpptype>) { in ConvertFromLocal()
|
| D | js_refconvert_array.h | 37 using ElemCpptype = typename Conv::cpptype;
|
| D | js_convert.h | 475 static ALWAYS_INLINE inline std::optional<typename T::cpptype> JSValueGetByName(InteropCtx *ctx, JS… in JSValueGetByName() 489 typename T::cpptype etsPropVal) in JSValueSetByName()
|
| D | js_refconvert_builtin.cpp | 35 using ObjType = std::remove_pointer_t<typename Conv::cpptype>; in WrapImpl()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/ |
| D | arg_convertors.h | 27 using cpptype = typename Convertor::cpptype; // NOLINT(readability-identifier-naming) in UnwrapVal() local 32 if constexpr (std::is_pointer_v<cpptype>) { in UnwrapVal() 224 … using cpptype = typename Convertor::cpptype; // NOLINT(readability-identifier-naming) in ConvertRefArgToJS() local 225 cpptype value = std::remove_pointer_t<cpptype>::FromEtsObject(EtsObject::FromCoreType(ref)); in ConvertRefArgToJS() 260 … using cpptype = typename Convertor::cpptype; // NOLINT(readability-identifier-naming) in ConvertArgToJS() local 261 napi_value res = Convertor::Wrap(env, readVal(helpers::TypeIdentity<cpptype>())); in ConvertArgToJS()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/intrinsics/ |
| D | std_js_jsruntime.cpp | 223 #define CONVERT_LOCAL_VALUE(type, cpptype) \ argument 224 void *CompilerConvert##type##ToLocalIntrinsic(cpptype etsVal) \ 229 cpptype CompilerConvertLocalTo##type##Intrinsic(void *val) \
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
| D | ets_field_wrapper.cpp | 161 using PrimitiveType = typename Convertor::cpptype;
|