Home
last modified time | relevance | path

Searched refs:time (Results 551 - 575 of 9010) sorted by relevance

1...<<21222324252627282930>>...361

/kernel/linux/linux-5.10/drivers/watchdog/
H A Dixp4xx_wdt.c106 int time; in ixp4xx_wdt_ioctl() local
128 ret = get_user(time, (int *)arg); in ixp4xx_wdt_ioctl()
132 if (time <= 0 || time > 60) { in ixp4xx_wdt_ioctl()
137 heartbeat = time; in ixp4xx_wdt_ioctl()
H A Dm54xx_wdt.c125 int time; in m54xx_wdt_ioctl() local
147 ret = get_user(time, (int *)arg); in m54xx_wdt_ioctl()
151 if (time <= 0 || time > 30) { in m54xx_wdt_ioctl()
156 heartbeat = time; in m54xx_wdt_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dselftest_gt_pm.c107 u64 time; in live_gt_clocks() local
115 time = i915_cs_timestamp_ticks_to_ns(engine->i915, cycles); in live_gt_clocks()
119 engine->name, cycles, time, dt, expected, in live_gt_clocks()
122 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
H A Dengine.c115 s64 time; in nvkm_engine_init() local
123 nvkm_trace(subdev, "one-time init running...\n"); in nvkm_engine_init()
124 time = ktime_to_us(ktime_get()); in nvkm_engine_init()
127 nvkm_trace(subdev, "one-time init failed, %d\n", ret); in nvkm_engine_init()
132 time = ktime_to_us(ktime_get()) - time; in nvkm_engine_init()
133 nvkm_trace(subdev, "one-time init completed in %lldus\n", time); in nvkm_engine_init()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c37 * Group 56 contains the time (group 4A).
49 unsigned time; in vivid_rds_generate() local
98 time = (tm.tm_hour << 12) | in vivid_rds_generate()
106 data[2].lsb |= (time >> 16) & 1; in vivid_rds_generate()
109 data[3].lsb = time & 0xff; in vivid_rds_generate()
110 data[3].msb = (time >> 8) & 0xff; in vivid_rds_generate()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c37 * Group 56 contains the time (group 4A).
49 unsigned time; in vivid_rds_generate() local
98 time = (tm.tm_hour << 12) | in vivid_rds_generate()
106 data[2].lsb |= (time >> 16) & 1; in vivid_rds_generate()
109 data[3].lsb = time & 0xff; in vivid_rds_generate()
110 data[3].msb = (time >> 8) & 0xff; in vivid_rds_generate()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dm54xx_wdt.c123 int time; in m54xx_wdt_ioctl() local
145 ret = get_user(time, (int *)arg); in m54xx_wdt_ioctl()
149 if (time <= 0 || time > 30) { in m54xx_wdt_ioctl()
154 heartbeat = time; in m54xx_wdt_ioctl()
H A Drn5t618_wdt.c39 unsigned int time; member
54 if (rn5t618_wdt_map[i].time + 1 >= t) in rn5t618_wdt_set_timeout()
65 wdt_dev->timeout = rn5t618_wdt_map[i].time; in rn5t618_wdt_set_timeout()
154 min_timeout = rn5t618_wdt_map[0].time; in rn5t618_wdt_probe()
155 max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; in rn5t618_wdt_probe()
H A Dsb_wdog.c17 * first time the timer expires. The second time it expires, the chip
173 unsigned long time; in sbwdog_ioctl() local
193 ret = get_user(time, p); in sbwdog_ioctl()
197 time *= 1000000; in sbwdog_ioctl()
198 if (time > 0x7fffffUL) { in sbwdog_ioctl()
202 timeout = time; in sbwdog_ioctl()
H A Dsbc_fitpc2_wdt.c122 int time; in fitpc2_wdt_ioctl() local
144 ret = get_user(time, (int __user *)arg); in fitpc2_wdt_ioctl()
148 if (time < 31 || time > 255) { in fitpc2_wdt_ioctl()
153 margin = time; in fitpc2_wdt_ioctl()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dselftest_gt_pm.c100 u64 time; in live_gt_clocks() local
108 time = intel_gt_clock_interval_to_ns(engine->gt, cycles); in live_gt_clocks()
112 engine->name, cycles, time, dt, expected, in live_gt_clocks()
115 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_time.c6 * This is a module which is used for time matching
43 * Since time progresses forward, it is best to organize this array in reverse,
44 * to minimize lookup time.
80 static inline unsigned int localtime_1(struct xtm *r, time64_t time) in localtime_1() argument
85 div_u64_rem(time, SECONDS_PER_DAY, &v); in localtime_1()
93 static inline void localtime_2(struct xtm *r, time64_t time) in localtime_2() argument
99 r->dse = div_u64(time, SECONDS_PER_DAY); in localtime_2()
108 static void localtime_3(struct xtm *r, time64_t time) in localtime_3() argument
166 * We need real time here, but we can neither use skb->tstamp in time_mt()
176 * If you match against processing time (ktime_get_real_second in time_mt()
[all...]
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dhandler.py21 import time namespace
50 """update devices, start time, end time, etc. to the result file"""
97 ReportConstant.start_time: time.strftime(ReportConstant.time_format, time.localtime()),
98 ReportConstant.end_time: time.strftime(ReportConstant.time_format, time.localtime()),
/test/testfwk/developer_test/libs/fuzzlib/tools/
H A Dcolored.py19 import time namespace
57 self.log_date = time.strftime("%Y%m%d%H%M%S", time.localtime())
67 Colored.LOG_DATE = time.strftime("%Y%m%d%H%M%S", time.localtime())
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DTestCase.java25 * particular instant in time. The applyFields and applyTime
39 protected long time; field in TestCase
55 time = d.getTime(); in setTime()
59 return new Date(time); in getTime()
63 * Return a String representation of this test case's time.
169 * Apply this test case's time in milliseconds to another calendar
176 c.setTime(new Date(time)); in applyTime()
222 * Determine whether time in milliseconds of this calendar
238 return time == ((Calendar)obj).getTime().getTime(); in equals()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DTestCase.java23 * particular instant in time. The applyFields and applyTime
36 protected long time; field in TestCase
52 time = d.getTime(); in setTime()
56 return new Date(time); in getTime()
60 * Return a String representation of this test case's time.
166 * Apply this test case's time in milliseconds to another calendar
173 c.setTime(new Date(time)); in applyTime()
219 * Determine whether time in milliseconds of this calendar
235 return time == ((Calendar)obj).getTime().getTime(); in equals()
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/
H A Dclock_adjtime.h13 #include <time.h>
23 __kernel_long_t offset; /* time offset (usec) */
28 __kernel_long_t constant;/* pll time constant */
33 struct __kernel_old_timeval time; /* (read only, except for ADJ_SETOFFSET) */ member
60 long long offset; /* time offset (usec) */
66 long long constant;/* pll time constant */
71 struct __kernel_timex_timeval time; /* (read only, except for ADJ_SETOFFSET) */ member
140 " raw time: "fmt"(s) "fmt"(us)", \
153 tx.time.tv_sec, \
154 tx.time
[all...]
/third_party/lwip/test/unit/core/
H A Dtest_timers.c63 fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + test_cyclic.interval_ms - HANDLER_EXECUTION_TIME)); in do_test_cyclic_timers()
80 fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + test_cyclic.interval_ms)); in do_test_cyclic_timers()
142 fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + 5)); in do_test_timers()
143 fail_unless((*list_head)->next->time == (u32_t)(lwip_sys_now + 10)); in do_test_timers()
144 fail_unless((*list_head)->next->next->time == (u32_t)(lwip_sys_now + 20)); in do_test_timers()
/third_party/python/Tools/peg_generator/pegen/
H A D__main__.py10 import time namespace
131 t0 = time.time()
133 t1 = time.time()
172 print(f"Total time: {dt:.3f} sec; {nlines} lines", end="")
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
H A DNVCtrlLib.h590 Time time; member
614 Time time; member
639 Time time; member
665 Time time; member
689 Time time; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_time.h27 #include <linux/time.h>
202 static inline hi_void oal_rtc_time_to_tm(unsigned long time, oal_rtctime_stru *tm) in oal_rtc_time_to_tm() argument
204 rtc_time_to_tm(time, tm); in oal_rtc_time_to_tm()
270 oal_time_t_stru time; in oal_ktime_get() local
271 time.tv64 = (hi_s64)LOS_TickCountGet(); in oal_ktime_get()
272 return time; in oal_ktime_get()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_timer.c158 void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time_t *tm) in osal_rtc_time_to_tm() argument
163 rtc_time64_to_tm(time, &_tm); in osal_rtc_time_to_tm()
165 rtc_time_to_tm(time, &_tm); in osal_rtc_time_to_tm()
179 void osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time) in osal_rtc_tm_to_time() argument
193 *time = rtc_tm_to_time64(&_tm); in osal_rtc_tm_to_time()
195 rtc_tm_to_time(&_tm, time); in osal_rtc_tm_to_time()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_timer.c204 void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time *tm) in osal_rtc_time_to_tm() argument
209 rtc_time64_to_tm(time, &_tm); in osal_rtc_time_to_tm()
211 rtc_time_to_tm(time, &_tm); in osal_rtc_time_to_tm()
226 void osal_rtc_tm_to_time(osal_rtc_time *tm, unsigned long *time) in osal_rtc_tm_to_time() argument
239 *time = rtc_tm_to_time64(&_tm); in osal_rtc_tm_to_time()
241 rtc_tm_to_time(&_tm, time); in osal_rtc_tm_to_time()
/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.cpp119 SetupTestButton(totleTimeButton_, "time"); in InitTestButtons()
272 int64_t time = 0; in OnClick1() local
273 if (video_->GetCurrentTime(time)) { in OnClick1()
274 if (video_->Rewind(time + 3000)) { // 3000:rewind add ms in OnClick1()
283 int64_t time = 0; in OnClick1() local
284 if (video_->GetCurrentTime(time)) { in OnClick1()
285 if (video_->Rewind(time - 3000)) { // 3000:rewind sub ms in OnClick1()
/foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/
H A Dverify_task.cpp89 staHandlerMap[STATE_SUCCESS] = [this](std::string time, int cnt)->bool { in VerifyTask()
90 return HandleStateSuccess(time, cnt); in VerifyTask()
92 staHandlerMap[FAILURE_CLIENT_ERROR] = [this](std::string time, int cnt)->bool { in VerifyTask()
93 return HandleFailureClientError(time, cnt); in VerifyTask()
95 staHandlerMap[FORBIDDEN_FOREVER] = [this](std::string time, int cnt)->bool { in VerifyTask()
96 return HandleForbiddenForever(time, cnt); in VerifyTask()
151 "last time:%{public}s, curr time:%{public}s, " in HandleFailureClientError()

Completed in 12 milliseconds

1...<<21222324252627282930>>...361