/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | mlock-random-test.c | 14 #include <time.h> 153 srand(time(NULL)); in test_mlock_within_limit() 230 srand(time(NULL)); in test_mlock_outof_limit()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | led.c | 28 /* Throughput OFF time(ms) ON time (ms) 64 * Need to compensate on the led on/off time per HW according to the deviation 72 u8 time, u16 compensation) in iwl_blink_compensation() 76 "use pre-defined blinking time\n"); in iwl_blink_compensation() 77 return time; in iwl_blink_compensation() 80 return (u8)((time * compensation) >> 6); in iwl_blink_compensation() 71 iwl_blink_compensation(struct iwl_priv *priv, u8 time, u16 compensation) iwl_blink_compensation() argument
|
/kernel/linux/linux-5.10/tools/power/cpupower/bench/ |
H A D | parse.c | 11 #include <time.h> 88 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output() 91 dirname, time(NULL)); in prepare_output()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | shrinker.c | 23 * The age of znodes is just the time-stamp when they were last looked at. 62 time64_t time = ktime_get_seconds(); in shrink_tnc() local 110 abs(time - znode->time) >= age) { in shrink_tnc() 221 * the second time and initiate background commit. in kick_a_thread()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | corec37d.c | 85 s64 time = nvif_msec(device, 2000ULL, in corec37d_ntfy_wait_done() local 90 return time < 0 ? time : 0; in corec37d_ntfy_wait_done()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-imx-sc.c | 29 u32 time; member 55 dev_err(dev, "read rtc time failed, ret %d\n", ret); in imx_sc_rtc_read_time() 59 rtc_time64_to_tm(msg.time, tm); in imx_sc_rtc_read_time() 68 /* pack 2 time parameters into 1 register, 16 bits for each */ in imx_sc_rtc_set_time() 98 struct rtc_time *alrm_tm = &alrm->time; in imx_sc_rtc_set_alarm()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | shrinker.c | 23 * The age of znodes is just the time-stamp when they were last looked at. 62 time64_t time = ktime_get_seconds(); in shrink_tnc() local 110 abs(time - znode->time) >= age) { in shrink_tnc() 221 * the second time and initiate background commit. in kick_a_thread()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-imx-sc.c | 29 u32 time; member 55 dev_err(dev, "read rtc time failed, ret %d\n", ret); in imx_sc_rtc_read_time() 59 rtc_time64_to_tm(msg.time, tm); in imx_sc_rtc_read_time() 68 /* pack 2 time parameters into 1 register, 16 bits for each */ in imx_sc_rtc_set_time() 88 struct rtc_time *alrm_tm = &alrm->time; in imx_sc_rtc_set_alarm()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | led.c | 23 /* Throughput OFF time(ms) ON time (ms) 59 * Need to compensate on the led on/off time per HW according to the deviation 67 u8 time, u16 compensation) in iwl_blink_compensation() 71 "use pre-defined blinking time\n"); in iwl_blink_compensation() 72 return time; in iwl_blink_compensation() 75 return (u8)((time * compensation) >> 6); in iwl_blink_compensation() 66 iwl_blink_compensation(struct iwl_priv *priv, u8 time, u16 compensation) iwl_blink_compensation() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | corec37d.c | 85 s64 time = nvif_msec(device, 2000ULL, in corec37d_ntfy_wait_done() local 90 return time < 0 ? time : 0; in corec37d_ntfy_wait_done()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mlock-random-test.c | 15 #include <time.h> 154 srand(time(NULL)); in test_mlock_within_limit() 231 srand(time(NULL)); in test_mlock_outof_limit()
|
/kernel/linux/linux-6.6/tools/power/cpupower/bench/ |
H A D | parse.c | 11 #include <time.h> 88 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output() 91 dirname, time(NULL)); in prepare_output()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 6 #include <time.h> 96 srandom(time(0)); in testcase() 122 srandom(time(0)); in testcase()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_adjust_tail_user.c | 20 #include <time.h> 54 time_t started_at = time(NULL); in poll_stats() 59 while (!kill_after_s || time(NULL) - started_at <= kill_after_s) { in poll_stats()
|
/third_party/ffmpeg/libavcodec/ |
H A D | jacosubdec.c | 27 #include <time.h> 35 #undef time macro 46 time_t now = time(0); in insert_datetime() 74 {"\\T", "%H:%M", insert_datetime}, // current time
|
/third_party/ffmpeg/libavformat/ |
H A D | movenc.h | 81 int64_t time; member 91 uint64_t time; member 196 int64_t time; member
|
/third_party/googletest/googletest/test/ |
H A D | gtest_xml_test_utils.py | 54 Exceptions are any attribute named "time", which needs only be 158 * The "time" attribute of <testsuites>, <testsuite> and <testcase> 182 time = element.getAttributeNode('time') 183 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value)
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuFunctions.java | 8 import java.time.LocalDate; 9 import java.time.LocalDateTime; 10 import java.time.ZoneOffset;
|
/third_party/lzma/CPP/7zip/Crypto/ |
H A D | RandGen.cpp | 48 #include <time.h>
50 #include <sys/time.h>
182 const time_t v2 = time(NULL);
in Init()
|
/third_party/node/deps/v8/tools/chrome/ |
H A D | linux_perf.py | 15 import time namespace 154 time.sleep(options.timeout) 163 time.sleep(1)
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 36 #include <sys/time.h> 58 time_t time (time_t *); 150 __REDIR(time, __time64);
|
/third_party/littlefs/scripts/ |
H A D | tailpipe.py | 19 import time namespace 118 time.sleep(sleep or 0.01) 132 time.sleep(sleep or 0.1)
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-aix.cc | 14 #include <sys/time.h> 54 const char* LocalTimezone(double time) override; 73 time_t utc = time(nullptr); in LocalTimeOffset()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | issue-1291.rs | 18 pub time: f32, 104 unsafe { ::std::ptr::addr_of!((*ptr).time) as usize - ptr as usize }, in bindgen_test_layout_RTCRay() 110 stringify!(time) in bindgen_test_layout_RTCRay()
|
/third_party/python/Lib/test/ |
H A D | bisect_cmd.py | 28 import time namespace 131 start_time = time.monotonic() 168 dt = math.ceil(time.monotonic() - start_time)
|