/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/ |
H A D | robot_control.c | 142 unsigned int time = 100;
in engine_go_where() local 146 hi_sleep(time);
in engine_go_where() 148 hi_sleep(time);
in engine_go_where() 152 hi_sleep(time);
in engine_go_where() 156 hi_sleep(time);
in engine_go_where() 158 hi_sleep(time);
in engine_go_where() 176 unsigned int time = 500;
in car_where_to_go() local 179 hi_sleep(time);
in car_where_to_go() 181 hi_sleep(time);
in car_where_to_go() 187 hi_sleep(time);
in car_where_to_go() 203 unsigned int time = 20; car_mode_control_func() local 223 unsigned int time = 20; RobotCarTestTask() local [all...] |
H A D | robot_hcsr04.c | 34 static unsigned long start_time = 0, time = 0;
in GetDistance() local 58 time = hi_get_us() - start_time;
in GetDistance() 63 distance = time * pi / l;
in GetDistance()
|
H A D | robot_sg90.c | 31 unsigned int time = 20000;
in set_angle() local 37 hi_udelay(time - duty);
in set_angle()
|
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot/ |
H A D | robot_sg90.c | 33 unsigned int time = 20000;
in set_angle() local 38 hi_udelay(time - duty);
in set_angle() 105 unsigned int time = 200;
in RobotTask() local 109 osDelay(time);
in RobotTask() 112 osDelay(time);
in RobotTask() 115 osDelay(time);
in RobotTask() 118 osDelay(time);
in RobotTask() 121 osDelay(time);
in RobotTask()
|
H A D | robot_l9110s.c | 87 unsigned int time = 500;
in RobotTask() local 89 osDelay(time);
in RobotTask() 91 osDelay(time);
in RobotTask() 93 osDelay(time);
in RobotTask() 95 osDelay(time);
in RobotTask() 97 osDelay(time);
in RobotTask()
|
H A D | robot_hcsr04.c | 33 static unsigned long start_time = 0, time = 0;
in GetDistance() local 57 time = hi_get_us() - start_time;
in GetDistance() 62 distance = time * pi / l;
in GetDistance() 70 unsigned int time = 200;
in RobotTask() local 74 osDelay(time);
in RobotTask()
|
H A D | robot_tcrt5000.c | 52 unsigned int time = 2000;
in RobotTask() local 54 hi_sleep(time);
in RobotTask()
|
H A D | robot_sg90_mid.c | 32 unsigned int time = 20000;
in set_angle() local 37 hi_udelay(time - duty);
in set_angle()
|
/applications/standard/contacts_data/test/unittest/src/ |
H A D | mergecontact_test.cpp | 18 #include <sys/time.h> 34 int time = Time::SLEEP_TIME_MERGE_DELETE; in DeleteRawContact() local 35 std::chrono::milliseconds dura(time); in DeleteRawContact() 184 int time = Time::SLEEP_TIME_MERGE; in HWTEST_F() local 185 std::chrono::milliseconds dura(time); in HWTEST_F() 218 int time = 2000; in HWTEST_F() local 219 std::chrono::milliseconds dura(time); in HWTEST_F() 252 int time = Time::SLEEP_TIME_MERGE; in HWTEST_F() local 253 std::chrono::milliseconds dura(time); in HWTEST_F() 295 int time in HWTEST_F() local 330 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 376 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 425 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 464 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 511 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 556 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 596 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 639 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 688 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 735 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 776 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 823 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 853 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 898 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 934 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 974 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1059 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1100 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1146 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1182 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1230 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local 1268 int time = Time::SLEEP_TIME_MERGE; HWTEST_F() local [all...] |
H A D | performance_test.cpp | 18 #include <sys/time.h> 35 struct timeval time; in GetCurrentTime() local 36 gettimeofday(&time, nullptr); in GetCurrentTime() 37 return (time.tv_sec * subtle + time.tv_usec); in GetCurrentTime() 58 int time = Time::SLEEP_TIME_MERGE_DELETE; in DeleteContact() local 59 std::chrono::milliseconds dura(time); in DeleteContact() 67 int time = Time::SLEEP_TIME_MERGE_DELETE; in DeleteContact() local 68 std::chrono::milliseconds dura(time); in DeleteContact() 104 HILOG_INFO("raw_contact_insert_performance_test_900 : time i in HWTEST_F() [all...] |
H A D | stability_test.cpp | 18 #include <sys/time.h> 45 int time = Time::SLEEP_TIME_MERGE_DELETE; in DeleteContact() local 46 std::chrono::milliseconds dura(time); in DeleteContact() 54 int time = Time::SLEEP_TIME_MERGE_DELETE; in DeleteContact() local 55 std::chrono::milliseconds dura(time); in DeleteContact()
|
H A D | recovery_test.cpp | 33 int time = 3000; in ClearData() local 34 std::chrono::milliseconds dura(time); in ClearData()
|
H A D | contactpinyin_test.cpp | 99 int time = 1000; in ClearData() local 100 std::chrono::milliseconds dura(time); in ClearData()
|
/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/js/pages/index/ |
H A D | index.js | 201 var time = 1000 / self.airData[self.swiperPage].detailData; 203 if (time == 0) { 204 time = 100; 214 }, time); 227 var time = 1000 / self.airData[self.swiperPage].detailData; 229 if (time == 0) { 230 time = 100; 240 }, time);
|
/applications/standard/app_samples/code/Project/HapBuild/test-tool/ |
H A D | InstallAndTestSpecial_ci.py | 24 import time namespace 96 time.sleep(2) 186 time.sleep(5) 201 time.sleep(5) 237 time = 0 242 while time <= repeat_time: 288 time += 1 416 time.sleep(40) # 等待重启
|
/applications/standard/calendardata/calendarmanager/native/src/ |
H A D | native_util.cpp | 163 const std::tm *time = std::localtime(&now); in GetUTCTime() local 170 if (time != nullptr) { in GetUTCTime() 171 rrule += GetWeeklyRule(event, *time); in GetUTCTime() 175 if (time != nullptr) { in GetUTCTime() 176 rrule += GetMonthlyRule(event, *time); in GetUTCTime() 180 if (time != nullptr) { in GetUTCTime() 181 rrule += GetYearlyRule(event, *time); in GetUTCTime() 204 std::string GetWeeklyRule(const Event &event, const std::tm &time) in GetUTCTime() argument 216 if (time.tm_wday < MAX_DAY_OF_WEEK) { in GetUTCTime() 217 rrule = weekList[time in GetUTCTime() 223 GetMonthlyRule(const Event &event, const std::tm &time) GetUTCTime() argument 247 GetYearlyRule(const Event &event, const std::tm &time) GetUTCTime() argument [all...] |
/applications/standard/calendardata/calendarmanager/native/include/ |
H A D | native_util.h | 44 std::string GetWeeklyRule(const Event &event, const std::tm &time); 45 std::string GetMonthlyRule(const Event &event, const std::tm &time); 46 std::string GetYearlyRule(const Event &event, const std::tm &time);
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
H A D | app_demo_iot.c | 56 hi_void IotPublishPersonTime(hi_u32 time) in IotPublishPersonTime() argument 65 property.iValue = time; in IotPublishPersonTime()
|
/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/panel/pages/index/ |
H A D | index.js | 124 module.exports = function (vm) { var _vm = vm || this; return _c('div', {'staticClass' : ["container"]} , [_c('div', {'staticClass' : ["header"]} , [_c('text', {'attrs' : {'value' : function () {return (_vm.time) + ' ' + (_vm.date) + ' ' + (_vm.week)}}} )] ),_c('div', {'staticClass' : ["body"]} , [_c('swiper', {'attrs' : {'index' : function () {return _vm.index}},'staticClass' : ["swiper"]} , [_c('div', {'staticClass' : ["swiper-item"]} , [_c('div', {'staticClass' : ["grid"]} , [_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene0Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image0}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "日常"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene1Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image1}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "周末"}} )] )] ),_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene2Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image2}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "聚会"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnScene3Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image3}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "烛光"}} )] )] )] )] ),_c('div', {'staticClass' : ["swiper-item"]} , [_c('div', {'staticClass' : ["grid"]} , [_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev0Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image4}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "空调"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev1Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image5}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "冰箱"}} )] )] ),_c('div', {'staticClass' : ["row2"]} , [_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev2Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image6}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "窗帘"}} )] ),_c('div', {'staticClass' : ["col","block-wrapper"],'on' : {'click' : _vm.OnDev3Clicked}} , [_c('image', {'attrs' : {'src' : function () {return _vm.image7}},'staticClass' : ["image"]} ),_c('text', {'attrs' : {'value' : "灯光"}} )] )] )] )] )] )] ),_c('div', {'staticClass' : ["footer"]} , [_c('text', {'attrs' : {'value' : "。。"}} )] )] ) } 157 time: "", 171 this.time = date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
|
/applications/sample/camera/gallery/src/ |
H A D | player_ability_slice.cpp | 280 char timer[6]; // 6: length of time label in SetUpAnimatorGroup() 421 char time[6]; // 6: length of time label in Callback() local 422 sprintf_s(time, sizeof(time), "%02lld:%02lld", currentSecond / 60, currentSecond % 60); // 60: 1minute = 60s in Callback() 423 timeLabel_->SetText(time); in Callback()
|
/applications/standard/app_samples/code/Project/HapBuild/compile-tool/resources/ |
H A D | echoHilog.bat | 2 set time0=%time: =0%
|
/vendor/hisilicon/hispark_pegasus/demo/sntp_demo/src/ |
H A D | sntp_port.c | 27 #include <time.h>
|
/applications/standard/contacts_data/ability/common/utils/src/ |
H A D | file_utils.cpp | 52 time_t backupTime = time(nullptr); in WriteStringToFileAppend()
|
/vendor/hisilicon/hispark_taurus_linux/hals/utils/sys_param/ |
H A D | hal_sys_param.c | 21 #include <sys/time.h>
|
/applications/standard/app_samples/code/SuperFeature/Widget/FormGame/entry/src/main/cpp/ |
H A D | napi_info_util.cpp | 47 auto current = time(nullptr); in NAPI_GetRandomNumber()
|