Home
last modified time | relevance | path

Searched refs:T1 (Results 1 – 25 of 103) sorted by relevance

12345

/ohos5.0/foundation/window/window_manager/utils/include/
H A Dclient_agent_container.h29 template <typename T1, typename T2>
69 template<typename T1, typename T2>
73 template<typename T1, typename T2>
74 bool ClientAgentContainer<T1, T2>::RegisterAgent(const sptr<T1>& agent, T2 type) in RegisterAgent()
89 template<typename T1, typename T2>
90 bool ClientAgentContainer<T1, T2>::UnregisterAgent(const sptr<T1>& agent, T2 type) in UnregisterAgent()
107 template<typename T1, typename T2>
108 std::set<sptr<T1>> ClientAgentContainer<T1, T2>::GetAgentsByType(T2 type) in GetAgentsByType()
118 template<typename T1, typename T2>
119 bool ClientAgentContainer<T1, T2>::UnregisterAgentLocked(std::set<sptr<T1>>& agents, in UnregisterAgentLocked()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/
H A Dbenchmark_assert.h21 template <typename T1, typename T2>
22 void AssertEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertEqual()
29 template <typename T1, typename T2>
30 void AssertUnequal(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertUnequal()
53 template <typename T1, typename T2>
54 void AssertLessThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertLessThan()
61 template <typename T1, typename T2>
62 void AssertLessThanOrEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& sta… in AssertLessThanOrEqual()
69 template <typename T1, typename T2>
70 void AssertGreaterThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertGreaterThan()
[all …]
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/
H A Dlog_ioctl.h37 template<typename T1, typename T2>
38 int Request(const T1& rqst, std::function<int(const T2& rsp)> handle);
52 template<typename T1, typename T2>
53 int RequestMsgHead(const T1& rqst);
66 template<typename T1, typename T2>
67 int LogIoctl::RequestMsgHead(const T1& rqst) in RequestMsgHead()
70 int ret = SendMsgHeader(rqstCmd, sizeof(T1)); in RequestMsgHead()
74 ret = socket.WriteAll(reinterpret_cast<const char*>(&rqst), sizeof(T1)); in RequestMsgHead()
96 template<typename T1, typename T2>
97 int LogIoctl::Request(const T1& rqst, std::function<int(const T2& rsp)> handle) in Request()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_round_corner_display_test.cpp456 T1 mA;
461 void TestFunc1(T1 a) in TestFunc1()
467 void TestFunc2(T1 a, T2 b) in TestFunc2()
503 msgBus.RemoveTopic<T1>(topic); in TestMsgBusFunc()
517 template<typename T1, typename T2>
524 TestMsgBusFunc<T1, T2, int>(); in TestMsgBusFunc3()
529 template<typename T1>
532 TestMsgBusFunc3<T1, uint8_t>(); in TestMsgBusFunc2()
536 TestMsgBusFunc3<T1, int>(); in TestMsgBusFunc2()
537 TestMsgBusFunc3<T1, float>(); in TestMsgBusFunc2()
[all …]
/ohos5.0/base/telephony/cellular_call/services/control/include/
H A Dcontrol_base.h219 template<typename T1, typename T2>
220 T2 FindConnectionByState(const T1 &&t1, TelCallState state) const in FindConnectionByState()
238 template<typename T1, typename T2>
239 T2 FindConnectionByIndex(const T1 &&t1, int32_t index) const in FindConnectionByIndex()
258 template<typename T1, typename T2>
259 bool SetConnectionData(T1 &&t1, const int32_t &key, const T2 &con) in SetConnectionData()
275 template<typename T1>
276 bool IsInState(T1 &&t, TelCallState state) in IsInState()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunique_ptr.h360 template<class T1, class D1, class T2, class D2>
361 bool operator==(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y)
365 template<class T1, class D1>
366 bool operator==(const unique_ptr<T1, D1>& x, nullptr_t)
370 template<class T1, class D1>
371 bool operator==(nullptr_t, const unique_ptr<T1, D1>& x)
377 template<class T1, class D1, class T2, class D2>
382 template<class T1, class D1>
383 bool operator!=(const unique_ptr<T1, D1>& x, nullptr_t)
387 template<class T1, class D1>
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/include/
H A Dark_web_types.h199 template<typename T1, typename T2, typename R>
200 R ArkWebBasicMapClassToStruct(const std::map<T1, T2>& class_value) in ArkWebBasicMapClassToStruct() argument
204 struct_value.key = (T1*)ArkWebMemMalloc(sizeof(T1) * struct_value.size); in ArkWebBasicMapClassToStruct()
224 template<typename T1, typename T2, typename P>
225 std::map<T1, T2> ArkWebBasicMapStructToClass(const P& struct_value) in ArkWebBasicMapStructToClass()
227 std::map<T1, T2> class_value; in ArkWebBasicMapStructToClass()
230 …class_value.insert(std::map<T1, T2>::value_type(struct_value.key[count], struct_value.value[count]… in ArkWebBasicMapStructToClass()
/ohos5.0/foundation/ai/ai_engine/services/common/utils/
H A Dinf_cast_impl.h75 template<class T1, class T2>
76 static I* Create(T1& t1, T2& t2) in Create()
92 template<class T1, class T2, class T3>
93 static I* Create(T1& t1, T2& t2, T3& t3) in Create()
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/config/include/
H A Ddaily_config.h25 template<class T1, class T2>
26 std::size_t operator()(const std::pair<T1, T2>& p) const in operator()
28 auto h1 = std::hash<T1>{}(p.first); in operator()
/ohos5.0/base/print/print_fwk/frameworks/ohprint/include/
H A Dprint_converter.h72 template <typename T1, typename T2>
73 T2 *CopyArray(const std::vector<T1> &list, uint32_t &count, bool (*ConvertFunction)(const T1 &src, … in CopyArray()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_helper.h32 template<typename T1, typename T2>
33 static T2 CastTo(T1 type) { return reinterpret_cast<T2>(type); } in CastTo()
H A Ddrawing_font_collection.cpp39 template<typename T1, typename T2>
40 inline T1* ConvertToFontCollection(T2* ptr) in ConvertToFontCollection()
42 return reinterpret_cast<T1*>(ptr); in ConvertToFontCollection()
H A Ddrawing_register_font.cpp61 template<typename T1, typename T2>
62 inline T1* ConvertToOriginalText(T2* ptr) in ConvertToOriginalText()
64 return reinterpret_cast<T1*>(ptr); in ConvertToOriginalText()
H A Ddrawing_text_font_descriptor.cpp48 template<typename T1, typename T2>
49 inline T1* ConvertToOriginalText(T2* ptr) in ConvertToOriginalText()
51 return reinterpret_cast<T1*>(ptr); in ConvertToOriginalText()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dparcel.h724 template <typename T1, typename T2>
725 bool WriteVector(const std::vector<T1> &val, bool (Parcel::*Write)(T2));
726 template <typename Type, typename T1, typename T2>
727 bool WriteFixedAlignVector(const std::vector<T1> &originVal, bool (Parcel::*SpecialWrite)(T2));
754 template <typename Type, typename T1, typename T2>
755 bool ReadFixedAlignVector(std::vector<T1> *val, bool (Parcel::*SpecialRead)(T2 &));
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_errors.h95 template <typename T1, typename T2>
96 inline void SetAddrAndCode([[maybe_unused]] T1 addr, [[maybe_unused]] T2 code)
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dast.h373 template <typename T1, typename T2>
374 …static bool WalkRound(const std::shared_ptr<AstObject> &startObject, T1 forwardCallback, T2 backwa… in WalkRound()
425 template <typename T1, typename T2>
426 bool WalkRound(T1 forwardCallback, T2 backwardCallback) in WalkRound()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_marshalling_helper.h390 template<class T1, class T2>
391 static bool Marshalling(Parcel& parcel, const std::pair<T1, T2>& val) in Marshalling() argument
395 template<class T1, class T2>
396 static bool Unmarshalling(Parcel& parcel, std::pair<T1, T2>& val) in Unmarshalling() argument
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dparcel.cpp1318 template <typename T1, typename T2>
1319 bool Parcel::WriteVector(const std::vector<T1> &val, bool (Parcel::*Write)(T2)) in WriteVector()
1335 size_t padSize = this->GetPadSize(val.size() * sizeof(T1)); in WriteVector()
1343 template <typename Type, typename T1, typename T2>
1344 bool Parcel::WriteFixedAlignVector(const std::vector<T1> &originVal, bool (Parcel::*SpecialWrite)(T… in WriteFixedAlignVector()
1468 template <typename Type, typename T1, typename T2>
1469 bool Parcel::ReadFixedAlignVector(std::vector<T1> *val, bool (Parcel::*SpecialRead)(T2 &)) in ReadFixedAlignVector()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_container.h310 template<class T1, class T2>
311 bool Replace(const T1& child, const T2& replaceWith, bool addAlways = false)
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp387 template <typename T1, typename F>
392 std::vector<T1> vec; in WriteSignalDataToVector002()
465 template <typename T1, typename F>
469 std::vector<T1> vec; in WriteSignalDataToVector003()
542 template <typename T1, typename F>
543 void WriteDataToVector(T1 &value, benchmark::State& state, const F executeFunc) in WriteDataToVector()
545 std::vector<T1> vec; in WriteDataToVector()
546 for (unsigned int idx = 0; idx < DEFAULT_CPACITY / sizeof(T1); idx++) { in WriteDataToVector()
684 template <typename T1, typename F>
1445 template <typename T1>
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dintf_entity_manager.h28 template<class T1, class T2>
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Dentity_manager.h31 template<class T1, class T2>
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/
H A Dengine.h39 template<class T1, class T2>
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.h675 template <typename T1, typename T2>
676 bool WriteVector(const std::vector<T1> &val, bool (Parcel::*Write)(T2));

12345