Home
last modified time | relevance | path

Searched refs:count1 (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-gesture-events-combined-gestures.md112 @State count1: number = 0;
117 …Text('Parallel gesture\n' + 'tapGesture count is 1:' + this.count1 + '\ntapGesture count is 2:' + …
127 this.count1++;
165 @State count1: number = 0;
170 …Text('Exclusive gesture\n' + 'tapGesture count is 1:' + this.count1 + '\ntapGesture count is 2:' +…
180 this.count1++;
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dadc_test.c163 const int32_t *count1, const int32_t *count2) in AdcTestStartThread() argument
192 while (*count1 == 0 || *count2 == 0) { in AdcTestStartThread()
208 int32_t count1 = 0; in AdcTestMultiThread() local
211 ret = OsalThreadCreate(&thread1, (OsalThreadEntry)AdcTestThreadFunc, (void *)&count1); in AdcTestMultiThread()
224 ret = AdcTestStartThread(&thread1, &thread2, &count1, &count2); in AdcTestMultiThread()
H A Ddac_test.c150 const int32_t *count1, const int32_t *count2) in DacTestStartThread() argument
179 while (*count1 == 0 || *count2 == 0) { in DacTestStartThread()
195 int32_t count1 = 0; in DacTestMultiThread() local
198 ret = OsalThreadCreate(&thread1, (OsalThreadEntry)DacTestThreadFunc, (void *)&count1); in DacTestMultiThread()
211 ret = DacTestStartThread(&thread1, &thread2, &count1, &count2); in DacTestMultiThread()
H A Dclock_test.c149 …ClockTestStartThread(struct OsalThread *thread1, struct OsalThread *thread2, const int32_t *count1, in ClockTestStartThread() argument
179 while (*count1 == 0 || *count2 == 0) { in ClockTestStartThread()
285 int32_t count1 = 0; in ClockTestMultiThread() local
288 ret = OsalThreadCreate(&thread1, (OsalThreadEntry)ClockTestThreadFunc, (void *)&count1); in ClockTestMultiThread()
301 ret = ClockTestStartThread(&thread1, &thread2, &count1, &count2); in ClockTestMultiThread()
H A Di2c_test.c248 const int32_t *count1, const int32_t *count2) in I2cTestStartThread() argument
276 while (*count1 == 0 || *count2 == 0) { in I2cTestStartThread()
292 int32_t count1 = 0; in I2cTestMultiThread() local
295 ret = OsalThreadCreate(&thread1, (OsalThreadEntry)I2cTestThreadFunc, (void *)&count1); in I2cTestMultiThread()
308 ret = I2cTestStartThread(&thread1, &thread2, &count1, &count2); in I2cTestMultiThread()
H A Dregulator_test.c190 const int32_t *count1, const int32_t *count2) in RegulatorTestStartThread() argument
218 while (*count1 == 0 || *count2 == 0) { in RegulatorTestStartThread()
234 int32_t count1 = 0; in RegulatorTestMultiThread() local
238 ret = OsalThreadCreate(&thread1, (OsalThreadEntry)RegulatorTestThreadFunc, (void *)&count1); in RegulatorTestMultiThread()
251 ret = RegulatorTestStartThread(&thread1, &thread2, &count1, &count2); in RegulatorTestMultiThread()
H A Dplatform_dumper_test.c338 const int32_t *count1, const int32_t *count2) in PlatformDumperTestStartThread() argument
366 while (*count1 == 0 || *count2 == 0) { in PlatformDumperTestStartThread()
382 int32_t count1 = 0; in PlatformDumperTestMultiThread() local
385 … ret = OsalThreadCreate(&thread1, (OsalThreadEntry)PlatformDumperTestThreadFunc, (void *)&count1); in PlatformDumperTestMultiThread()
398 ret = PlatformDumperTestStartThread(&thread1, &thread2, &count1, &count2); in PlatformDumperTestMultiThread()
H A Di3c_test.c367 const int32_t *count1, const int32_t *count2) in I3cTestStartThread() argument
395 while (*count1 == 0 || *count2 == 0) { in I3cTestStartThread()
411 int32_t count1 = 0; in I3cTestThreadFunc() local
414 ret = OsalThreadCreate(&thread1, func, (void *)&count1); in I3cTestThreadFunc()
427 ret = I3cTestStartThread(&thread1, &thread2, &count1, &count2); in I3cTestThreadFunc()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_state_machine.cpp85 count1++; in UpdateAnimationTaskCount()
86 WLOGFD("after add UpdateAnimationTaskCount1: %{public}u id:%{public}u", count1, windowId_); in UpdateAnimationTaskCount()
162 << ", animationTask: " << count1 << ", callbackTaskCount: " << count2++ in GenStateMachineInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h122 constexpr int compare(size_type pos1, size_type count1, basic_string_view v) const;
124 … size_type pos1, size_type count1, basic_string_view v, size_type pos2, size_type count2) const;
126 constexpr int compare(size_type pos1, size_type count1, CharT const* const s) const;
127 …constexpr int compare(size_type pos1, size_type count1, CharT const* const s, size_type count2) co…
369 constexpr int basic_string_view<CharT>::compare(size_type pos1, size_type count1, basic_string_view… in compare() argument
371 return substr(pos1, count1).compare(v); in compare()
376 size_type pos1, size_type count1, basic_string_view v, size_type pos2, size_type count2) const in compare() argument
378 return substr(pos1, count1).compare(v.substr(pos2, count2)); in compare()
405 return substr(pos1, count1).compare(s); in compare()
410 size_type pos1, size_type count1, CharT const* const s, size_type count2) const in compare() argument
[all …]
H A Dstring.h666 int compare(size_type pos1, size_type count1, string_view v) const in compare() argument
668 return substr(pos1, count1).compare(v); in compare()
671 …int compare(size_type pos1, size_type count1, string_view v, size_type pos2, size_type count2) con… in compare() argument
673 return substr(pos1, count1).compare(v.substr(pos2, count2)); in compare()
681 int compare(size_type pos1, size_type count1, CharT const* const s) const in compare() argument
683 return substr(pos1, count1).compare(s); in compare()
686 int compare(size_type pos1, size_type count1, CharT const* const s, size_type count2) const in compare() argument
688 return substr(pos1, count1).compare(basic_string_view(s, count2)); in compare()
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_timer_handler_test.cpp156 int count1 = 1; variable
158 count1++; in __anon9f4458ee0402()
167 EXPECT_NE(COUNT_RESULT, count1);
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-gesture-events-combined-gestures.md112 @State count1: number = 0;
117 …Text('Parallel gesture\n' + 'tapGesture count is 1:' + this.count1 + '\ntapGesture count is 2:' + …
127 this.count1++;
165 @State count1: number = 0;
170 …Text('Exclusive gesture\n' + 'tapGesture count is 1:' + this.count1 + '\ntapGesture count is 2:' +…
180 this.count1++;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_common_test.cpp560 int count1 = 0; variable
563 std::thread t1([&count1] { in __anon3e9af7850302()
565 count1++; in __anon3e9af7850302()
576 EXPECT_EQ(count1, count1);
577 EXPECT_EQ(count1, threadCount);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_surface_test.cpp282 int count1 = 0; variable
284 drawingFlushInfo.finishedContext = &count1;
296 ASSERT_EQ(count1, 1); // finishedProc excute 1 time
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp305 unsigned int count1 = 0; variable
306 char **types1 = OH_UdmfData_GetTypes(nullptr, &count1);
310 char **types2 = OH_UdmfData_GetTypes(&data, &count1);
337 unsigned int count1 = 0; variable
338 char **types1 = OH_UdmfData_GetTypes(unifiedData, &count1);
340 EXPECT_EQ(count1, 2);
342 char **types2 = OH_UdmfData_GetTypes(unifiedData, &count1);
409 unsigned int count1 = 0; variable
414 OH_UdmfRecord **records2 = OH_UdmfData_GetRecords(&data, &count1);
706 unsigned int count1 = sizeof(entry1); variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_bus_center.c119 uint32_t count1; member
132 uint32_t count1; member
1072 g_devOnlineDurRecord.count1 = 0; in CleanDevOnlineDurRecord()
1099 msg->paramArray[SOFTBUS_EVT_PARAM_TWO].paramValue.u32v = record->count1; in SetOnlineDurMsgParamValve()
1156 g_busCenterRecord[linkType].count1 = 0; in CleanBusCenterRecord()
1184 msg->paramArray[SOFTBUS_EVT_PARAM_THREE].paramValue.u32v = record->count1; in SetBusCenterDurMsgParamValve()
1236 …if ((record->count1 == 0) && (record->count2 == 0) && (record->count3 == 0) && (record->count4 == … in IsNeedReportOnlineDurRecordEvt()
1282 …if ((record->totalTime == 0) && (record->totalCount == 0) && (record->count1 == 0) && (record->cou… in IsNeedReportLnnDurRecordItem()
1424 reCord->count1++; in SoftBusRecordDevOnlineDurResult()
1457 reCord->count1++; in SoftBusRecordBusCenterResult()
H A Dsoftbus_hisysevt_transreporter.c150 int32_t count1; member
414 g_openSessionKpi.count1++; in SoftbusRecordOpenSessionKpi()
603 param->paramValue.i32v = g_openSessionKpi.count1; in CreateOpenSessionKpiMsg()
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_node_state_machine.h98 uint32_t count1 = 0; variable
/ohos5.0/base/startup/init/test/unittest/param/
H A Dparam_stub.cpp676 static int count1 = 0; in PrctlStub() local
677 count1++; in PrctlStub()
678 return (count1 % g_testRandom == 1) ? 0 : -1; in PrctlStub()
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_notify.cpp1638 int count1 = 0; variable
1639 …d_ptr<DeviceStateCallback> deviceStateCallback = std::make_shared<DeviceStateCallbackTest>(count1);
1706 int count1 = 0; variable
1707 …d_ptr<DeviceStateCallback> deviceStateCallback = std::make_shared<DeviceStateCallbackTest>(count1);
1896 int count1 = 0; variable
1897 …d_ptr<DeviceStateCallback> deviceStateCallback = std::make_shared<DeviceStateCallbackTest>(count1);
1958 int count1 = 0; variable
1959 …d_ptr<DeviceStateCallback> deviceStateCallback = std::make_shared<DeviceStateCallbackTest>(count1);
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_payload_statistics_impl_unittest.cpp298 int32_t count1 = instance.GetDescriptorCodeCount(PID_1, u"string1", DESC_CODE_1); variable
301 EXPECT_EQ(count1, DEFAULT_COUNT);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md1594 private count1 = 0;
1605 this.count1 += 1;
1606 const message1 = "Update 1_" + this.count1.toString();
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-tabcontent.md1282 private count1 = 0;
1293 this.count1 += 1;
1294 const message1 = "Update 1_" + this.count1.toString();