/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | graphic_math.cpp | 105 float t2; in FastAtan2() local 109 t2 = t * t; in FastAtan2() 110 angle = static_cast<uint16_t>(t * (1 + t2 * (ATAN2_P3 + t2 * (ATAN2_P5 + t2 * ATAN2_P7))) * RADIAN_TO_ANGLE); in FastAtan2() 113 t2 = t * t; in FastAtan2() 115 static_cast<uint16_t>(t * (1 + t2 * (ATAN2_P3 + t2 * (ATAN2_P5 + t2 * ATAN2_P7))) * RADIAN_TO_ANGLE); in FastAtan2() 139 float t2; in FastAtan2F() local [all...] |
H A D | trans_affine.cpp | 38 float t2 = data_[1] * metrix.data_[0] + data_[4] * metrix.data_[1]; in Multiply() local 44 data_[1] = t2; in Multiply()
|
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | type_cast_ext.h | 32 * @param t2 type 33 * @return true if t1 and t2 are the same type. otherwise, false. 35 inline bool IsSameType(const std::type_info& t1, const std::type_info& t2) noexcept 37 if (t1 == t2) { 41 if (t1Length == strlen(t2.name()) && strncmp(t1.name(), t2.name(), t1Length) == 0) { 47 inline bool IsSameType(std::string_view t1, std::string_view t2) noexcept 49 return std::string(t1) == std::string(t2);
|
/foundation/multimedia/media_foundation/interface/inner_api/cpp_ext/ |
H A D | type_cast_ext.h | 31 * @param t2 type 32 * @return true if t1 and t2 are the same type. otherwise, false. 34 inline bool IsSameType(const std::type_info &t1, const std::type_info &t2) noexcept 36 if (t1 == t2) { 40 if (t1Length == strlen(t2.name()) && strncmp(t1.name(), t2.name(), t1Length) == 0) { 46 inline bool IsSameType(std::string_view t1, std::string_view t2) noexcept 48 return std::string(t1) == std::string(t2);
|
/foundation/arkui/ui_lite/frameworks/animator/ |
H A D | interpolation.cpp | 27 int64_t t2 = t * t; in GetBezierInterpolation() local 28 int64_t t3 = t2 * t; in GetBezierInterpolation() 32 ret += BEZIER_COEFFICIENT * invT * t2 * u2; in GetBezierInterpolation() 46 float t2 = t * t; in GetBezierInterpolation() local 47 float t3 = t2 * t; in GetBezierInterpolation() 51 ret += BEZIER_COEFFICIENT * invT * t2 * u2; in GetBezierInterpolation()
|
/foundation/ai/ai_engine/services/common/utils/ |
H A D | inf_cast_impl.h | 76 static I* Create(T1& t1, T2& t2) in Create() argument 79 AIE_NEW(p, C(t1, t2)); in Create() 93 static I* Create(T1& t1, T2& t2, T3& t3) in Create() argument 96 AIE_NEW(p, C(t1, t2, t3)); in Create()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | spline.h | 26 inline constexpr T Hermite(T const& v1, T const& t1, T const& v2, T const& t2, float s) in Hermite() argument 38 return v1 * f1 + v2 * f2 + t1 * f3 + t2 * f4; in Hermite()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/common/include/ |
H A D | cgroup_sched_common.h | 47 Clock::time_point t2 = Clock::now(); in ~ChronoScope() local 48 MilliSecondsType time_span = std::chrono::duration_cast<MilliSecondsType>(t2 - t1); in ~ChronoScope()
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 447 this.t2 = new SynchedPropertyObjectTwoWayPU(params.selectedIndexes, this, "selectedIndexes"); 469 this.t2.purgeDependencyOnElmtId(rmElmtId); 479 this.t2.aboutToBeDeleted(); 497 return this.t2.get(); 501 this.t2.set(newValue); 579 this.t2 = new SynchedPropertyObjectTwoWayPU(params.selectedIndexes, this, "selectedIndexes"); 607 this.t2.purgeDependencyOnElmtId(rmElmtId); 617 this.t2.aboutToBeDeleted(); 635 return this.t2.get(); 639 this.t2 [all...] |
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_csync.cpp | 163 }, {}, {}, ffrt::task_attr().name("t2")); in HWTEST_F() 211 }, {}, {}, ffrt::task_attr().name("t2")); in HWTEST_F() 1052 std::thread t2(f1, n + 1); in HWTEST_F() 1053 t2.detach(); // test detach in HWTEST_F() 1056 std::thread t2(f1, n + 1); // pass by value in HWTEST_F() 1062 EXPECT_EQ(t2.joinable(), true); in HWTEST_F() 1063 t2.join(); in HWTEST_F() 1064 EXPECT_EQ(t2.joinable(), false); in HWTEST_F() 1078 ffrt::thread t2(f1, n + 1); in HWTEST_F() 1079 t2 in HWTEST_F() [all...] |
H A D | ut_queue.cpp | 233 ffrt_task_handle_t t2 = in HWTEST_F() local 238 ffrt_queue_wait(t2); in HWTEST_F() 239 ffrt_task_handle_destroy(t2); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | rofs_filesystem.cpp | 182 const size_t t2 = tmp.find_first_of('/', t); in RoFileSystem() local 183 if (t2 == string::npos) { in RoFileSystem() 186 t = t2; in RoFileSystem()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | TimerTest.cpp | 92 Timer t2 = BASE_NS::move(t); in HWTEST_F() local 94 EXPECT_TRUE(t2.IsRunning()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsblurfilter_fuzzer/ |
H A D | rsblurfilter_fuzzer.cpp | 164 float t2 = GetData<float>();
in DoDrawImageRect() local 168 Rect dst(l2, t2, r2, b2);
in DoDrawImageRect()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | cast_local_file_channel_server.cpp | 213 auto t2 = std::chrono::steady_clock::now(); in GetFileLengthByFd() local 214 auto cost = std::chrono::duration_cast<std::chrono::milliseconds>(t2 - t1); in GetFileLengthByFd()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | runtime_context_process_system_api_adapter_impl_test.cpp | 256 std::thread t2([&]() { in CheckDeviceSecurityAbility002() 266 t2.join(); in CheckDeviceSecurityAbility002()
|
H A D | distributeddb_interfaces_database_rd_kernel_test.cpp | 701 std::thread t2(OpenCloseDatabase, storeId); in FreqOpenClose001() 705 t2.join(); in FreqOpenClose001() 715 std::thread t2([&]() { in FreqOpenCloseDel001() 723 t2.join(); in FreqOpenCloseDel001()
|
H A D | distributeddb_interfaces_database_test.cpp | 1313 std::thread t2(OpenCloseDatabase, storeId); in FreqOpenClose001() 1317 t2.join(); in FreqOpenClose001() 1327 std::thread t2([&]() { in FreqOpenCloseDel001() 1335 t2.join(); in FreqOpenCloseDel001()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/ |
H A D | sbc_encoder.cpp | 237 int16_t t2[VALUE_4] = {}; in AnalyzeFourFunction() local 243 AnalyzeFourForScaling(t1, t2); in AnalyzeFourFunction() 244 AnalyzeFourForCosTransform(t1, t2, consts); in AnalyzeFourFunction() 329 int16_t t2[VALUE_8] = {}; in AnalyzeEightFunction() local 334 AnalyzeEightForScaling(t1, t2); in AnalyzeEightFunction() 335 AnalyzeEightForCosTransform(t1, t2, consts); in AnalyzeEightFunction()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_pcb.c | 34 IGNORE_OVERFLOW static inline FILLP_INT FillpSkiplistCmp(void *t1, void *t2) in FillpSkiplistCmp() argument 37 struct FillpPcbItem *value2 = (struct FillpPcbItem *)t2; in FillpSkiplistCmp() 46 IGNORE_OVERFLOW static inline FILLP_INT FillpSkiplistRecvcmp(void *t1, void *t2) in FillpSkiplistRecvcmp() argument 49 struct FillpPcbItem *value2 = (struct FillpPcbItem *)t2; in FillpSkiplistRecvcmp()
|
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 938 purgeVariableDependenciesOnElmtId(t2) { 939 this.__isOnFocus.purgeDependencyOnElmtId(t2); 940 this.__isOnHover.purgeDependencyOnElmtId(t2); 941 this.__isOnClick.purgeDependencyOnElmtId(t2); 942 this.__fontSize.purgeDependencyOnElmtId(t2);
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 112 var t2; variable 118 })(t2 || (t2 = {})); 1418 this.listNodeDataSource.w9(this.listNodeDataSource.u9(), t2.COMMIT_NODE); 1498 this.listNodeDataSource.g10(t2.REMOVE_NODE, parentNodeId, o15); 1505 this.listNodeDataSource.w9(m15, t2.MODIFY_NODE); 1528 this.listNodeDataSource.g10(t2.ADD_NODE, h15, [j15]); 1530 this.listNodeDataSource.w9(this.listNodeDataSource.u9(), t2.COMMIT_NODE); 1573 this.listNodeDataSource.g10(t2.ADD_NODE, nodeParam.parentNodeId, [f15]); 2123 this.j13 = t2 [all...] |
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/ |
H A D | expire_lru_cache_test.cpp | 400 ExpireLruCache<int, int>::Timestamp t2; in HWTEST_F() local 401 int64_t diff = t2 - t1; in HWTEST_F()
|
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 415 this.t2 = new SynchedPropertyObjectOneWayPU( 564 this.t2.set({ src: '' }); 665 this.t2.reset(params.prefixIcon); 685 this.t2.purgeDependencyOnElmtId(rmElmtId); 722 this.t2.aboutToBeDeleted(); 781 return this.t2.get(); 784 this.t2.set(newValue);
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | main.cpp | 204 std::string t2 = "_"; local 205 t2 += gSizeName; 207 obj.symtab[0].N.Name.Long = add_string(t2.c_str() /*"SizeOfDataForReadOnlyFileSystem"*/);
|