Home
last modified time | relevance | path

Searched refs:time (Results 1251 - 1275 of 8858) sorted by relevance

1...<<51525354555657585960>>...355

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D1-1.c24 #include <time.h>
52 ts.tv_sec = time(NULL) + 1; in main()
H A D10-1.c23 #include <time.h>
52 ts.tv_sec = time(NULL) + 1; in main()
H A D4-3.c25 #include <time.h>
53 ts.tv_sec = time(NULL) + 1; in main()
H A D2-1.c20 #include <time.h>
47 ts.tv_sec = time(NULL) + 1; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
H A D7-1.c24 #include <time.h>
53 ts.tv_sec = time(NULL) + 1; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/
H A D9-1.c22 #include <time.h>
68 ts.tv_sec = time(NULL) + 3; in main()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dgettimeofday.c16 #include <sys/time.h>
18 #include <time.h>
28 * @tc.desc : Each parameter is valid, and the current system time can be obtained.
35 system("date +%s > ./time.txt"); in gettimeofday_0100()
36 FILE *fptr = fopen("time.txt", "r"); in gettimeofday_0100()
43 remove("time.txt"); in gettimeofday_0100()
50 * @tc.desc : Each parameter is invalid, and the current system time can be obtained.
61 * @tc.desc : Each parameter is valid, and the current system time can be obtained.
68 system("date +%s > ./time.txt"); in gettimeofday_time64_0100()
69 FILE *fptr = fopen("time in gettimeofday_time64_0100()
[all...]
H A Dwcsftime_l.c19 #include <time.h>
26 * @tc.desc : Format system time
34 time(&rtime); in wcsftime_l_0100()
49 * @tc.desc : Format the given tm time
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dztrans.h35 * Constructs a time zone transition with the time and the rules before/after
38 * @param time The time of transition in milliseconds since the base time.
39 * @param from The time zone rule used before the transition.
40 * @param to The time zone rule used after the transition.
43 ztrans_open(UDate time, const void* from, const void* to);
78 * Returns the time of transition in milliseconds.
80 * @return The time o
[all...]
/third_party/skia/modules/audioplayer/
H A DSkAudioPlayer.h21 double time() const { return this->onGetTime(); } // 0...duration() in time() function in SkAudioPlayer
22 double setTime(double); // returns actual time
24 double normalizedTime() const { return this->time() / this->duration(); } in normalizedTime()
H A DSkAudioPlayer.cpp17 t = this->time(); in setTime()
19 if (t != this->time()) { in setTime()
/third_party/rust/crates/once_cell/examples/
H A Dbench_vs_lazy_static.rs15 let start = std::time::Instant::now(); in main()
25 let start = std::time::Instant::now(); in main()
/third_party/rust/crates/rustix/src/thread/
H A Dclock.rs3 pub use backend::time::types::Timespec;
15 pub use backend::time::types::ClockId;
46 /// absolute time on a given clock.
94 /// The sleep was interrupted, the remaining time is returned.
96 /// An invalid time value was provided.
/third_party/vk-gl-cts/scripts/
H A Dupdate-copyright-year.py26 import time namespace
31 COPYRIGHT_REPLACEMENT = r'Copyright (C) \1-' + time.strftime("%Y") + r' drawElements Ltd.'
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot/
H A Drobot_sg90_mid.c32 unsigned int time = 20000; in set_angle() local
37 hi_udelay(time - duty); in set_angle()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.h550 std::string time(str); in ConvertTimeStr()
551 StringUtils::TrimStr(time); in ConvertTimeStr()
553 if (EndWith(time, "ms")) { in ConvertTimeStr()
555 result = StringToDouble(std::string(time.begin(), time.end() - 2.0)); in ConvertTimeStr()
556 } else if (EndWith(time, "s")) { in ConvertTimeStr()
558 result = StringToDouble(std::string(time.begin(), time.end() - 1.0)) * 1000.0; in ConvertTimeStr()
559 } else if (EndWith(time, "m")) { in ConvertTimeStr()
561 result = StringToDouble(std::string(time in ConvertTimeStr()
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-rv3028.c382 alrm->time.tm_sec = 0; in rv3028_get_alarm()
383 alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); in rv3028_get_alarm()
384 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv3028_get_alarm()
385 alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); in rv3028_get_alarm()
401 if (alrm->time.tm_sec) { in rv3028_set_alarm()
402 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv3028_set_alarm()
404 alarm_time += 60 - alrm->time.tm_sec; in rv3028_set_alarm()
405 rtc_time64_to_tm(alarm_time, &alrm->time); in rv3028_set_alarm()
413 alarmvals[0] = bin2bcd(alrm->time.tm_min); in rv3028_set_alarm()
414 alarmvals[1] = bin2bcd(alrm->time in rv3028_set_alarm()
[all...]
H A Drtc-abx80x.c286 t->time.tm_sec = bcd2bin(buf[0] & 0x7F); in abx80x_read_alarm()
287 t->time.tm_min = bcd2bin(buf[1] & 0x7F); in abx80x_read_alarm()
288 t->time.tm_hour = bcd2bin(buf[2] & 0x3F); in abx80x_read_alarm()
289 t->time.tm_mday = bcd2bin(buf[3] & 0x3F); in abx80x_read_alarm()
290 t->time.tm_mon = bcd2bin(buf[4] & 0x1F) - 1; in abx80x_read_alarm()
291 t->time.tm_wday = buf[5] & 0x7; in abx80x_read_alarm()
309 alarm[1] = bin2bcd(t->time.tm_sec); in abx80x_set_alarm()
310 alarm[2] = bin2bcd(t->time.tm_min); in abx80x_set_alarm()
311 alarm[3] = bin2bcd(t->time.tm_hour); in abx80x_set_alarm()
312 alarm[4] = bin2bcd(t->time in abx80x_set_alarm()
[all...]
H A Drtc-rv3032.c295 alrm->time.tm_sec = 0; in rv3032_get_alarm()
296 alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); in rv3032_get_alarm()
297 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv3032_get_alarm()
298 alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); in rv3032_get_alarm()
314 if (alrm->time.tm_sec) { in rv3032_set_alarm()
315 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv3032_set_alarm()
317 alarm_time += 60 - alrm->time.tm_sec; in rv3032_set_alarm()
318 rtc_time64_to_tm(alarm_time, &alrm->time); in rv3032_set_alarm()
326 alarmvals[0] = bin2bcd(alrm->time.tm_min); in rv3032_set_alarm()
327 alarmvals[1] = bin2bcd(alrm->time in rv3032_set_alarm()
[all...]
/kernel/linux/linux-5.10/sound/drivers/
H A Dmts64.c60 u8 time[4]; /* [0]=hh, [1]=mm, [2]=ss, [3]=ff */ member
459 mts->time[0], mts->time[1], in snd_mts64_ctl_smpte_switch_put()
460 mts->time[2], mts->time[3], in snd_mts64_ctl_smpte_switch_put()
519 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
530 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put() local
534 if (mts->time[idx] != time) { in snd_mts64_ctl_smpte_time_put()
536 mts->time[id in snd_mts64_ctl_smpte_time_put()
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-abx80x.c304 t->time.tm_sec = bcd2bin(buf[0] & 0x7F); in abx80x_read_alarm()
305 t->time.tm_min = bcd2bin(buf[1] & 0x7F); in abx80x_read_alarm()
306 t->time.tm_hour = bcd2bin(buf[2] & 0x3F); in abx80x_read_alarm()
307 t->time.tm_mday = bcd2bin(buf[3] & 0x3F); in abx80x_read_alarm()
308 t->time.tm_mon = bcd2bin(buf[4] & 0x1F) - 1; in abx80x_read_alarm()
309 t->time.tm_wday = buf[5] & 0x7; in abx80x_read_alarm()
327 alarm[1] = bin2bcd(t->time.tm_sec); in abx80x_set_alarm()
328 alarm[2] = bin2bcd(t->time.tm_min); in abx80x_set_alarm()
329 alarm[3] = bin2bcd(t->time.tm_hour); in abx80x_set_alarm()
330 alarm[4] = bin2bcd(t->time in abx80x_set_alarm()
[all...]
H A Drtc-rv3028.c384 alrm->time.tm_sec = 0; in rv3028_get_alarm()
385 alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); in rv3028_get_alarm()
386 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv3028_get_alarm()
387 alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); in rv3028_get_alarm()
403 if (alrm->time.tm_sec) { in rv3028_set_alarm()
404 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv3028_set_alarm()
406 alarm_time += 60 - alrm->time.tm_sec; in rv3028_set_alarm()
407 rtc_time64_to_tm(alarm_time, &alrm->time); in rv3028_set_alarm()
415 alarmvals[0] = bin2bcd(alrm->time.tm_min); in rv3028_set_alarm()
416 alarmvals[1] = bin2bcd(alrm->time in rv3028_set_alarm()
[all...]
/kernel/linux/linux-6.6/sound/drivers/
H A Dmts64.c59 u8 time[4]; /* [0]=hh, [1]=mm, [2]=ss, [3]=ff */ member
458 mts->time[0], mts->time[1], in snd_mts64_ctl_smpte_switch_put()
459 mts->time[2], mts->time[3], in snd_mts64_ctl_smpte_switch_put()
518 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
529 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put() local
533 if (mts->time[idx] != time) { in snd_mts64_ctl_smpte_time_put()
535 mts->time[id in snd_mts64_ctl_smpte_time_put()
[all...]
/third_party/node/lib/internal/fs/
H A Dutils.js135 // allocation for small files and consumes CPU time and memory that should be
649 function toUnixTimestamp(time, name = 'time') {
651 if (typeof time === 'string' && +time == time) {
652 return +time;
654 if (NumberIsFinite(time)) {
655 if (time < 0) {
658 return time;
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-console-message.cc613 void V8ConsoleMessageStorage::time(int contextId, const String16& id) { in time() function in v8_inspector::V8ConsoleMessageStorage
626 std::map<String16, double>& time = m_data[contextId].m_time; in timeLog() local
627 auto it = time.find(id); in timeLog()
628 if (it == time.end()) return 0.0; in timeLog()
633 std::map<String16, double>& time = m_data[contextId].m_time; in timeEnd() local
634 auto it = time.find(id); in timeEnd()
635 if (it == time.end()) return 0.0; in timeEnd()
637 time.erase(it); in timeEnd()
642 const std::map<String16, double>& time = m_data[contextId].m_time; in hasTimer() local
643 return time in hasTimer()
[all...]

Completed in 15 milliseconds

1...<<51525354555657585960>>...355