Home
last modified time | relevance | path

Searched refs:Types (Results 1 - 25 of 42) sorted by relevance

12

/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dtraits.h23 template<class Tp, class... Types>
26 template<class Tp, class... Types>
27 inline constexpr size_t index_of_v = index_of<Tp, Types...>::value;
33 // If there is one in the ...Types, that is equal to T. same_index_of_v is the index.
34 // If there is no one in the ...Types, that is equal to T. same_index_of_v is sizeof ...(Types)
35 template<class T, class... Types>
36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value;
38 // There is one in the ...Types, that is equal to T. If not, the same_in_v will be false.
39 template<class T, class... Types>
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
H A Dtraits.h23 template<typename Tp, typename... Types>
26 template<typename Tp, typename... Types>
27 inline constexpr size_t index_of_v = index_of<Tp, Types...>::value;
33 // If there is one in the ...Types, that is equal to T. same_index_of_v is the index.
34 // If there is no one in the ...Types, that is equal to T. same_index_of_v is sizeof ...(Types)
35 template<typename T, typename... Types>
36 inline constexpr size_t same_index_of_v = index_of<T, Types...>::value;
38 // There is one in the ...Types, that is equal to T. If not, the same_in_v will be false.
39 template<typename T, typename... Types>
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/cloud/
H A Dcloud_db_types.h67 template<typename Tp, typename... Types>
70 template<typename Tp, typename... Types>
71 inline static constexpr size_t index_of_v = index_of<Tp, Types...>::value;
77 template<typename... Types>
79 static constexpr size_t value = sizeof...(Types);
82 template<typename T, typename... Types>
84 static constexpr size_t value = index_of_v<T, Types...>;
87 template<typename... Types>
88 static variant_size_of<Types...> variant_size_test(const std::variant<Types
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dvalue_object.h48 template<typename Tp, typename... Types>
51 template<typename Tp, typename... Types>
52 inline static constexpr size_t index_of_v = index_of<Tp, Types...>::value;
58 template<typename... Types>
60 static constexpr size_t value = sizeof...(Types);
63 template<typename T, typename... Types>
65 static constexpr size_t value = index_of_v<T, Types...>;
68 template<typename... Types>
69 static variant_size_of<Types...> variant_size_test(const std::variant<Types
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/
H A Djs_sendable_utils.h51 template<typename... Types>
52 napi_value Convert2Sendable(napi_env env, const std::variant<Types...> &value);
60 template<typename T, typename First, typename... Types>
67 return GetSendableValue<T, Types...>(env, value); in GetSendableValue()
91 template<typename... Types>
92 napi_value JSUtils::Convert2Sendable(napi_env env, const std::variant<Types...> &value) in Convert2Sendable()
94 return GetSendableValue<decltype(value), Types...>(env, value); in Convert2Sendable()
H A Djs_utils.h94 template<typename... Types>
95 int32_t Convert2Value(napi_env env, napi_value jsValue, std::variant<Types...> &value);
132 template<typename... Types>
133 napi_value Convert2JSValue(napi_env env, const std::variant<Types...> &value);
156 template<typename T, typename First, typename... Types>
165 return GetCPPValue<T, Types...>(env, jsValue, value); in GetCPPValue()
174 template<typename T, typename First, typename... Types>
181 return GetJSValue<T, Types...>(env, value); in GetJSValue()
326 template<typename... Types>
327 int32_t JSUtils::Convert2Value(napi_env env, napi_value jsValue, std::variant<Types
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Djs_common_utils.h66 template<typename... Types>
67 int32_t Convert2NativeValue(napi_env env, napi_value jsValue, std::variant<Types...> &value);
92 template<typename... Types> napi_value Convert2JSValue(napi_env env, const std::variant<Types...> &value);
102 template<typename T, typename First, typename... Types> int32_t GetCPPValue(napi_env env, napi_value jsValue, T &value) in GetCPPValue()
110 return GetCPPValue<T, Types...>(env, jsValue, value); in GetCPPValue()
118 template<typename T, typename First, typename... Types> napi_value GetJSValue(napi_env env, const T &value) in GetJSValue()
124 return GetJSValue<T, Types...>(env, value); in GetJSValue()
155 template<typename... Types>
156 int32_t JSUtils::Convert2NativeValue(napi_env env, napi_value jsValue, std::variant<Types
[all...]
H A Djs_sendable_utils.h53 template<typename... Types>
54 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::variant<Types...> &value);
75 template<typename... Types>
76 napi_value ConvertToSendable(napi_env env, const std::variant<Types...> &value);
87 template<typename T, typename First, typename... Types>
96 return GetCPPValue<T, Types...>(env, jsValue, value); in GetCPPValue()
105 template<typename T, typename First, typename... Types>
112 return GetSendableValue<T, Types...>(env, value); in GetSendableValue()
144 template<typename... Types>
145 int32_t Utils::ConvertFromSendable(napi_env env, napi_value jsValue, std::variant<Types
[all...]
/foundation/multimedia/av_session/utils/include/
H A Davsession_sysevent.h65 template<typename... Types>
66 static int HiSysWriteFault(const std::string& eventName, Types... keyValues) in HiSysWriteFault()
72 template<typename... Types>
73 static int HiSysWriteStatistic(const std::string& eventName, Types... keyValues) in HiSysWriteStatistic()
79 template<typename... Types>
80 static int HiSysWriteSecurity(const std::string& eventName, Types... keyValues) in HiSysWriteSecurity()
86 template<typename... Types>
87 static int HiSysWriteBehavior(const std::string& eventName, Types... keyValues) in HiSysWriteBehavior()
/foundation/ai/ai_engine/services/common/utils/encdec/include/
H A Dencdec_facade.h53 template<typename Type, typename... Types>
54 static int ProcessEncode(DataInfo &dataInfo, const Type &arg, const Types &...args) in ProcessEncode()
90 template<typename Type, typename... Types>
91 static int ProcessDecode(const DataInfo &dataInfo, Type &arg, Types &...args) in ProcessDecode()
H A Ddata_encoder.h71 template<typename Type, typename... Types>
72 int RecursiveEncode(const Type &arg, const Types &...args) in RecursiveEncode()
H A Ddata_decoder.h53 template<typename Type, typename... Types>
54 int RecursiveDecode(Type &arg, Types &...args) in RecursiveDecode()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dfunction_traits.h43 template<typename C, typename R, typename Tuple, typename... Types>
44 auto CallMemberFunction(C* instance, R (C::*func)(Types...), Tuple&& tup) in CallMemberFunction()
46 return CallMemberFunction(instance, func, std::forward<Tuple>(tup), std::make_index_sequence<sizeof...(Types)> {}); in CallMemberFunction()
55 template<typename R, typename Tuple, typename... Types>
56 auto CallStaticMemberFunction(R (*func)(Types...), Tuple&& tup) in CallStaticMemberFunction()
58 return CallStaticMemberFunction(func, std::forward<Tuple>(tup), std::make_index_sequence<sizeof...(Types)> {}); in CallStaticMemberFunction()
/foundation/arkui/napi/interfaces/inner_api/cjffi/native/
H A Dcj_lambda.h56 template <typename... Types>
57 static inline void* GetElementAddr(std::tuple<Types...> const& tup, size_t idx) in GetElementAddr()
59 return TupleRuntimeHelper<sizeof...(Types)>::GetElementAddr(tup, idx); in GetElementAddr()
62 template <typename... Types>
63 static inline void* GetElementAddr(std::tuple<Types...>& tup, size_t idx) in GetElementAddr()
65 return TupleRuntimeHelper<sizeof...(Types)>::GetElementAddr(tup, idx); in GetElementAddr()
/foundation/multimedia/av_codec/services/services/codec/server/post_processing/
H A Dutils.h38 template<typename... Types>
40 using Array = std::tuple<Types...>;
45 static constexpr size_t size = sizeof...(Types);
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dspirv_cross_helper_structs_gles.h56 enum class Types { INVALID = 0, BOOL, UINT32, INT32, FLOAT }; class
57 Types constantType = Types::INVALID;
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Ddatashare_valuebucket_convert.h46 template<typename T, typename... Types>
47 static bool Convert(T&& input, std::variant<Types...>& output) in Convert()
49 return GetItem<T, decltype(output), Types...>(std::move(input), output); in Convert()
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Djs_util.h105 template<typename T, typename First, typename... Types>
114 return GetValues<T, Types...>(env, jsValue, value); in GetValues()
117 template<typename... Types>
118 static napi_status GetValue(napi_env env, napi_value jsValue, std::variant<Types...> &value) in GetValue()
129 return GetValues<decltype(value), Types...>(env, jsValue, value); in GetValue()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_event_report.h64 template<typename... Types>
66 HiSysEventType type, Types... keyValues);
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtest_data_helpers.h43 using Types = ::testing::Types<T...>;
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/
H A Ddataobs_utils.h144 template<typename T, typename... Types>
145 bool Marshal(MessageParcel &parcel, const T &first, const Types &...others);
147 template<typename T, typename... Types>
148 bool Unmarshal(MessageParcel &parcel, T &first, Types &...others);
307 template<typename T, typename... Types>
308 bool DataObsUtils::Marshal(MessageParcel &parcel, const T &first, const Types &...others) in Marshal()
316 template<typename T, typename... Types>
317 bool DataObsUtils::Unmarshal(MessageParcel &parcel, T &first, Types &...others) in Unmarshal()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dspirv_cross_helpers_gles.cpp294 if ((type == SpecConstantInfo::Types::BOOL) || (type == SpecConstantInfo::Types::UINT32)) { in DefineForSpec()
298 } else if (type == SpecConstantInfo::Types::INT32) { in DefineForSpec()
302 } else if (type == SpecConstantInfo::Types::FLOAT) { in DefineForSpec()
377 t.constantType = SpecConstantInfo::Types::BOOL; in CreateSpecInfos()
379 t.constantType = SpecConstantInfo::Types::UINT32; in CreateSpecInfos()
381 t.constantType = SpecConstantInfo::Types::INT32; in CreateSpecInfos()
383 t.constantType = SpecConstantInfo::Types::FLOAT; in CreateSpecInfos()
H A Dspirv_cross_helper_structs_gles.h174 enum class Types { INVALID = 0, BOOL, UINT32, INT32, FLOAT }; class
175 Types constantType = Types::INVALID;
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_impl.cpp268 template<typename T, typename First, typename... Types>
277 return GetPrefValue<T, Types...>(element, value); in GetPrefValue()
280 template<typename... Types>
281 bool Convert2PrefValue(const Element &element, std::variant<Types...> &value) in Convert2PrefValue()
283 return GetPrefValue<decltype(value), Types...>(element, value); in Convert2PrefValue()
367 template<typename T, typename First, typename... Types> void GetElement(Element &elem, const T &value) in GetElement()
373 return GetElement<T, Types...>(elem, value); in GetElement()
376 template<typename... Types> void Convert2Element(Element &elem, const std::variant<Types...> &value) in Convert2Element()
378 return GetElement<decltype(value), Types in Convert2Element()
[all...]
/foundation/multimodalinput/input/intention/dfx/include/
H A Dcooperate_hisysevent.h69 template<typename... Types>
71 OHOS::HiviewDFX::HiSysEvent::EventType eventType, Types... paras);

Completed in 10 milliseconds

12