/foundation/resourceschedule/ffrt/benchmarks/ |
H A D | plot.py | 50 t1 = pandas.read_csv(os.path.join(path, 'perf_thread1.csv')) 54 t1_fork_join = [(t1[' fork_join'][i] / t1['repeat'][i] * 56 t1_fork_join_worker_submit = [(t1['fork_join_worker_submit'][i] / t1['repeat'] 58 t1_airaw = [(t1['airaw'][i] / t1['repeat'][i] * 1 - stall[i] 60 t1_airaw_worker_submit = [(t1['airaw_worker_submit'][i] / t1['repeat'] 62 t1_fib_data_wait = [(t1['fib_data_wai [all...] |
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | type_cast_ext.h | 31 * @param t1 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) { 40 auto t1Length = strlen(t1.name()); 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 | 30 * @param t1 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) { 39 auto t1Length = strlen(t1.name()); 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/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/common/include/ |
H A D | cgroup_sched_common.h | 37 t1 = Clock::now(); in ChronoScope() 42 t1 = Clock::now(); in ChronoScope() 48 MilliSecondsType time_span = std::chrono::duration_cast<MilliSecondsType>(t2 - t1); in ~ChronoScope() 63 Clock::time_point t1; member in OHOS::ResourceSchedule::ChronoScope
|
/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/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 165 let t1 = q1[s1]; 166 u.writeString(t1.appId); 167 u.writeString(t1.bundleName); 168 u.writeInt(t1.cloudSwitch ? 1 : 0); 169 u.writeInt(t1.instanceId); 441 let t1 = k3[s1]; 442 if (t1 === undefined || t1 === null) { 446 if (typeof t1 === 'number') { 447 if (Number(t1) [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/curves/ |
H A D | bezier_curve.cpp | 95 float t1 = 1.f; variable 97 while (t0 < t1) { 104 t1 = tt; 106 tt = (t1 - t0) * .5f + t0;
|
/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/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/ |
H A D | sbc_encoder.cpp | 236 int32_t t1[VALUE_4] = {}; in AnalyzeFourFunction() local 239 t1[VALUE_0] = t1[VALUE_1] = t1[VALUE_2] = t1[VALUE_3] = in AnalyzeFourFunction() 242 AnalyzeFourForPolyphaseFilter(t1, inData, consts); in AnalyzeFourFunction() 243 AnalyzeFourForScaling(t1, t2); in AnalyzeFourFunction() 244 AnalyzeFourForCosTransform(t1, t2, consts); in AnalyzeFourFunction() 246 outData[VALUE_0] = t1[VALUE_0] >> (COS_TABLE_BAND4_SCALE - SCALE_OUT_BITS); in AnalyzeFourFunction() 247 outData[VALUE_1] = t1[VALUE_ in AnalyzeFourFunction() 328 int32_t t1[VALUE_8] = {}; AnalyzeEightFunction() local [all...] |
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_queue.cpp | 231 ffrt_task_handle_t t1 = in HWTEST_F() local 235 cancelFailedNum += ffrt_queue_cancel(t1); in HWTEST_F() 236 ffrt_task_handle_destroy(t1); // 销毁task_handle,必须 in HWTEST_F() 294 ffrt_task_handle_t t1 = 296 int cancel = ffrt_queue_cancel(t1); 298 cancel = ffrt_queue_cancel(t1); 300 ffrt_task_handle_destroy(t1); // 销毁task_handle,必须 355 ffrt_task_handle_t t1 = 358 ffrt_queue_wait(t1); 359 ffrt_task_handle_destroy(t1); [all...] |
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/ |
H A D | file_source.cpp | 72 std::thread t1(std::bind(&FileSource::ReadThread, this)); in Start() 73 readThread_ = std::move(t1); in Start()
|
H A D | audio_source.cpp | 82 std::thread t1(std::bind(&AudioSource::ReadThread, this)); in Start() 83 readThread_ = std::move(t1); in Start()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_transaction_data_test.cpp | 1095 Timestamp t1 = GetMaxTimestamp(); in HWTEST_F() local 1096 EXPECT_TRUE(t1 > 0); in HWTEST_F() 1102 PushOneEntry(OPERATION_ADD, t1 - 1, KEY_2, VALUE_4, entriesV4); in HWTEST_F() 1114 PushOneEntry(OPERATION_ADD, t1 + 1, KEY_2, VALUE_5, entriesV5); in HWTEST_F() 1126 PushOneEntry(OPERATION_DELETE, t1 - 1, KEY_3, VALUE_6, entriesV6); in HWTEST_F() 1138 PushOneEntry(OPERATION_DELETE, t1 + 1, KEY_3, VALUE_7, entriesV7); in HWTEST_F() 1152 PushOneEntry(OPERATION_ADD, t1 - 1, KEY_1, VALUE_6, entriesV8); in HWTEST_F() 1165 PushOneEntry(OPERATION_ADD, t1 + 1, KEY_1, VALUE_7, entriesV9); in HWTEST_F() 1239 Timestamp t1 = GetMaxTimestamp(); 1240 EXPECT_TRUE(t1 > [all...] |
H A D | distributeddb_relational_encrypted_db_test.cpp | 408 std::thread t1([db] { in HWTEST_F() 412 t1.join(); in HWTEST_F() 556 std::thread t1([db] { in HWTEST_F() 560 t1.join(); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
H A D | documentdb_insert_test.cpp | 686 const char *document2 = R"({"_id" : "38_1", "t1" : {"field2" : 1.79769313486232e308}})"; in HWTEST_F() 692 const char *document3 = R"({"_id" : "38_2", "t1" : [1, 2, 1.79769313486232e308]})"; in HWTEST_F() 698 const char *document4 = R"({"_id" : "38_3", "t1" : [1, 2, -1.7976931348623167E+308]})"; in HWTEST_F() 704 const char *document5 = R"({"_id" : "38_4", "t1" : [1, 2, -1.79769313486231570E+308]})"; in HWTEST_F() 710 const char *document6 = R"({"_id" : "38_5", "t1" : [1, 2, 1.79769313486231570E+308]})"; in HWTEST_F()
|
H A D | documentdb_delete_test.cpp | 313 std::vector<std::string> filterVec = { R"({"_id" : 1})", R"({"_id":[1, 2]})", R"({"_id" : {"t1" : 1}})", in HWTEST_F()
|
/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/ |
H A D | foldsplitcontainer.js | 446 let t1 = false; 460 t1 = true; 485 if (this.isHoverMode !== t1) { 486 this.dispatchHoverStatusChange(t1); 487 this.isHoverMode = t1; 489 if (t1 && !this.hoverModeLayoutOptions.showExtraRegion) {
|
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/ |
H A D | expire_lru_cache_test.cpp | 398 ExpireLruCache<int, int>::Timestamp t1; in HWTEST_F() local 401 int64_t diff = t2 - t1; in HWTEST_F() 407 ret = t1.IsExpired(1); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | cast_local_file_channel_server.cpp | 205 auto t1 = 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 | 255 std::thread t1(FuncCheckDeviceSecurityAbility); in CheckDeviceSecurityAbility002() 265 t1.join(); in CheckDeviceSecurityAbility002()
|
H A D | distributeddb_interfaces_database_rd_kernel_test.cpp | 700 std::thread t1(OpenCloseDatabase, storeId); in FreqOpenClose001() 704 t1.join(); in FreqOpenClose001() 714 std::thread t1(OpenCloseDatabase, storeId); in FreqOpenCloseDel001() 722 t1.join(); in FreqOpenCloseDel001()
|
H A D | distributeddb_interfaces_relational_test.cpp | 74 const std::string SIMPLE_CREATE_TABLE_SQL = "CREATE TABLE IF NOT EXISTS t1(a INT, b TEXT)"; 112 const std::string INVALID_TABLE_FIELD_SQL = "create table if not exists t1 ('1 = 1; --' int primary key, b blob)"; 448 EXPECT_EQ(delegate->CreateDistributedTable("t1", tableSyncType), NOT_SUPPORT); in CreateDistributedTableInvalidArgsTest() 976 std::string tableName1 = "t1"; in TableConstraintsCheck() 1235 AddDeviceSchema(g_deviceB, db, "t1"); in HWTEST_F() 1242 EXPECT_EQ(delegate->CreateDistributedTable("t1"), OK); in HWTEST_F() 1244 g_deviceB->PutDeviceData("t1", std::vector<TableT1>{ in HWTEST_F() 1251 Query query = Query::Select("t1").NotEqualTo("a", 0); in HWTEST_F() 1270 std::string deviceTable = g_mgr.GetDistributedTableName(DEVICE_B, "t1"); in HWTEST_F() 1296 AddDeviceSchema(g_deviceB, db, "t1"); in TestRemoveDeviceDataWithCallback() 1906 std::string t1 = "t1"; HWTEST_F() local 1956 std::string t1 = "t1"; HWTEST_F() local [all...] |
/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 36 struct FillpPcbItem *value1 = (struct FillpPcbItem *)t1; in FillpSkiplistCmp() 46 IGNORE_OVERFLOW static inline FILLP_INT FillpSkiplistRecvcmp(void *t1, void *t2) in FillpSkiplistRecvcmp() argument 48 struct FillpPcbItem *value1 = (struct FillpPcbItem *)t1; in FillpSkiplistRecvcmp()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 739 auto t1 = touchPointers_[0]; in OnMove() local 742 if (t1.pointerId_ == event.pointerId_) { in OnMove() 743 t1 = event; in OnMove() 748 auto offset = t1.x_ == std::min(t2.x_, t1.x_) ? t1 : t2; in OnMove() 750 newMidPoint.x_ = (abs(t2.x_ - t1.x_) / 2) + offset.x_; in OnMove() 751 newMidPoint.y_ = (abs(t2.y_ - t1.y_) / 2) + offset.y_; in OnMove()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/headset/ |
H A D | headset_wakeup_engine_impl.cpp | 294 std::thread t1(std::bind(&HeadsetWakeupEngineImpl::ReadThread, this)); in StartAudioSource() 295 readThread_ = std::move(t1); in StartAudioSource()
|