Home
last modified time | relevance | path

Searched refs:is_pointer_v (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/utils/
H A Dmeta.h82 constexpr bool is_pointer_v = is_pointer<T...>::value; member
99 template <typename T, typename U, typename = std::enable_if_t<is_pointer_v<T, U>>>
103 template <typename T, typename U, typename = std::enable_if_t<is_pointer_v<T, U>>>
106 template <typename T, typename U, typename = std::enable_if_t<is_pointer_v<T, U>>>
110 template <typename T, typename U, typename = std::enable_if_t<is_pointer_v<T, U>>>
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
H A Darray-inl.h163 constexpr bool IS_REF = std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>; in Set()
184 constexpr bool IS_REF = std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>; in Get()
200 constexpr bool IS_REF = std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>; in GetElementSize()
215 constexpr bool IS_REF = std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>; in Set()
234 constexpr bool IS_REF = std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>; in Get()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dtype_helpers.h64 using type = typename std::conditional_t<std::is_pointer_v<T>, RemoveAllPointers<std::remove_pointer_t<T>>,
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dvalue.h51 } else if constexpr (std::is_pointer_v<T> && std::is_base_of_v<ObjectHeader, std::remove_pointer_t<T>>) { in Value()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_convert_base.h62 static constexpr bool IS_REFTYPE = std::is_pointer_v<cpptype>;
H A Dintrinsics_api_impl.h195 if constexpr (!std::is_pointer_v<typename CONVERTOR::cpptype>) { in ConvertFromLocal()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/
H A Darg_convertors.h32 if constexpr (std::is_pointer_v<cpptype>) { in UnwrapVal()
151 constexpr bool IS_VAL_PTR = std::is_pointer_v<decltype(val)> || std::is_null_pointer_v<decltype(val)>; in DoPackRestParameters()
H A Dcall_ets.cpp95 if constexpr (std::is_pointer_v<decltype(val)> || std::is_null_pointer_v<decltype(val)>) { in ConvertArgs()
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_context.cpp29 auto DerefPtrRef(T &&v) -> std::conditional_t<std::is_pointer_v<T>, std::remove_pointer_t<T>, T> &
31 static_assert(std::is_pointer_v<T> || std::is_reference_v<T>);
32 if constexpr (std::is_pointer_v<T>) { in onstexpr()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dscope.h48 std::enable_if_t<std::is_pointer_v<ScopeT> && std::is_base_of_v<Scope, std::remove_pointer_t<ScopeT>>, bool> =
315 std::enable_if_t<std::is_pointer_v<ScopeT> && std::is_base_of_v<Scope, std::remove_pointer_t<ScopeT>>, bool> =

Completed in 9 milliseconds