/third_party/python/Lib/test/ |
H A D | test_ssl.py | 16 import time namespace 221 # check compile time flags like ssl.HAS_TLSv1_2 272 # local time = utc time + utc offset 273 if time.daylight and time.localtime().tm_isdst > 0: 274 return -time.altzone # seconds 275 return -time.timezone 1060 'local time needs to be different from UTC') 1094 # allow 2nd leap second for compatibility with time [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mxfenc.c | 41 #include <time.h> 410 int timecode_base; ///< rounded time code base (25 or 30) 2451 struct tm *time = gmtime_r(×tamp, &tmbuf); in mxf_parse_timestamp() local 2452 if (!time) in mxf_parse_timestamp() 2454 return (uint64_t)(time->tm_year+1900) << 48 | in mxf_parse_timestamp() 2455 (uint64_t)(time->tm_mon+1) << 40 | in mxf_parse_timestamp() 2456 (uint64_t) time->tm_mday << 32 | in mxf_parse_timestamp() 2457 time->tm_hour << 24 | in mxf_parse_timestamp() 2458 time->tm_min << 16 | in mxf_parse_timestamp() 2459 time in mxf_parse_timestamp() [all...] |
/device/soc/rockchip/common/vendor/drivers/power/ |
H A D | rk817_battery.c | 1481 * cccv and finish switch all the time will cause dsoc freeze,
1564 /* over 10%: system halt last time */
in is_rk817_bat_last_halt() 1685 BAT_INFO("system halt last time... cap: pre=%d, now=%d\n", pre_cap, now_cap);
in rk817_bat_not_first_pwron() 2395 static u64 time;
in rk817_bat_lowpwr_check() local 2399 if (!time) {
in rk817_bat_lowpwr_check() 2400 time = get_boot_sec();
in rk817_bat_lowpwr_check() 2403 if ((base2sec(time) > MINUTE(1)) || (battery->voltage_avg <= pwr_off_thresd - 0x32)) {
in rk817_bat_lowpwr_check() 2411 time = 0;
in rk817_bat_lowpwr_check() 2415 DBG("<%s>. t=%lu, dsoc=%d, current=%d, fake_offline=%d\n", __func__, base2sec(time), battery->dsoc,
in rk817_bat_lowpwr_check() 3107 dev_err(rtc->dev.parent, "invalid date time\ in rk817_get_rtc_sec() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/ |
H A D | rk817_battery.c | 1417 * cccv and finish switch all the time will cause dsoc freeze, 1502 /* over 10%: system halt last time */ in is_rk817_bat_last_halt() 1625 BAT_INFO("system halt last time... cap: pre=%d, now=%d\n", in rk817_bat_not_first_pwron() 2348 static u64 time; in rk817_bat_lowpwr_check() local 2352 if (!time) in rk817_bat_lowpwr_check() 2353 time = get_boot_sec(); in rk817_bat_lowpwr_check() 2355 if ((base2sec(time) > MINUTE(1)) || in rk817_bat_lowpwr_check() 2364 time = 0; in rk817_bat_lowpwr_check() 2369 __func__, base2sec(time), battery->dsoc, in rk817_bat_lowpwr_check() 3096 dev_err(rtc->dev.parent, "invalid date time\ in rk817_get_rtc_sec() [all...] |
H A D | cw2017_battery.c | 20 #include <linux/time.h>
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 2633 int entries, entries_old = 0, time; in wait_cmds_complete_timeout_v3_hw() local 2635 for (time = 0; time < timeout_ms; time += delay_ms) { in wait_cmds_complete_timeout_v3_hw() 2644 if (time >= timeout_ms) { in wait_cmds_complete_timeout_v3_hw() 2649 dev_dbg(dev, "wait commands complete %dms\n", time); in wait_cmds_complete_timeout_v3_hw()
|
H A D | hisi_sas_v2_hw.c | 3513 int entries, entries_old = 0, time; in wait_cmds_complete_timeout_v2_hw() local 3515 for (time = 0; time < timeout_ms; time += delay_ms) { in wait_cmds_complete_timeout_v2_hw() 3524 if (time >= timeout_ms) { in wait_cmds_complete_timeout_v2_hw() 3529 dev_dbg(dev, "wait commands complete %dms\n", time); in wait_cmds_complete_timeout_v2_hw()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | intel8x0.c | 496 int time; in snd_intel8x0_codec_semaphore() local 516 time = 100; in snd_intel8x0_codec_semaphore() 521 } while (time--); in snd_intel8x0_codec_semaphore() 611 int time = 100; in snd_intel8x0_ali_codec_semaphore() local 614 while (--time && (igetdword(chip, ICHREG(ALI_CAS)) & ALI_CAS_SEM_BUSY)) in snd_intel8x0_ali_codec_semaphore() 616 if (! time && ! chip->in_ac97_init) in snd_intel8x0_ali_codec_semaphore()
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | lockdep.c | 235 static void lock_time_inc(struct lock_time *lt, u64 time) in lock_time_inc() argument 237 if (time > lt->max) in lock_time_inc() 238 lt->max = time; in lock_time_inc() 240 if (time < lt->min || !lt->nr) in lock_time_inc() 241 lt->min = time; in lock_time_inc() 243 lt->total += time; in lock_time_inc() 356 * accessed by RCU readers at the time these were freed. 2398 * time we can figure out where L1 is held from the call trace of L2. 2964 * and to have the class name most of the time instead of not in check_prev_add()
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 3520 int entries, entries_old = 0, time; in wait_cmds_complete_timeout_v2_hw() local 3522 for (time = 0; time < timeout_ms; time += delay_ms) { in wait_cmds_complete_timeout_v2_hw() 3531 if (time >= timeout_ms) { in wait_cmds_complete_timeout_v2_hw() 3536 dev_dbg(dev, "wait commands complete %dms\n", time); in wait_cmds_complete_timeout_v2_hw()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | ring_buffer.c | 192 * the length of the time extend if the event is a 193 * time extend. 221 * Return total length of time extend and data, 230 /* time extends include the data event after it */ in rb_event_ts_length() 315 u64 time_stamp; /* page time stamp */ 437 * EXTEND - wants a time extend 438 * ABSOLUTE - the buffer requests all events to have absolute time stamps 439 * FORCE - force a full time stamp. 484 local64_t time; member 583 * For the ring buffer, 64 bit required operations for the time i 1170 u64 time; ring_buffer_time_stamp() local [all...] |
/applications/sample/camera/media/ |
H A D | camera_sample.cpp | 26 #include <sys/time.h>
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/ |
H A D | sample_comm_sys.c | 23 #include <sys/time.h>
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_common.h | 19 #include <linux/time.h> 438 /* record context running start time */
|
/device/soc/rockchip/common/sdk_linux/drivers/pwm/ |
H A D | pwm-rockchip.c | 17 #include <linux/time.h>
172 * Unlock and set polarity at the same time,
in rockchip_pwm_config()
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_common.h | 19 #include <linux/time.h> 414 /* record context running start time */
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cppc_cpufreq.c | 19 #include <linux/time.h>
|
H A D | pmac64-cpufreq.c | 30 #include <asm/time.h> 48 #define PCR_TARGET_TIME_MASK 0x00006000U /* target time */
|
H A D | pmac32-cpufreq.c | 34 #include <asm/time.h> 76 * are in kHz for the time being. 274 * will cause PLL_CFG[0..3] to be changed next time CPU goes to sleep in pmu_set_cpu_speed()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | x_snan.S | 7 | an SNAN) is a non-maskable run-time exception.
|
/kernel/linux/linux-5.10/arch/arm/common/ |
H A D | bL_switcher.c | 21 #include <linux/time.h> 202 * tasks to be scheduled in the mean time. in bL_switch_to()
|
/kernel/linux/linux-5.10/block/ |
H A D | bfq-iosched.h | 31 * Soft real-time applications are extremely more latency sensitive 58 /* scheduler virtual time */ 100 /* last time CLASS_IDLE was served */ 139 * time to consume their budget and have true sequential behavior, and 162 * minimum start time of the (active) subtree rooted at this 208 /* completion time of the last request */ 241 /* last total-service-time sample, see bfq_update_inject_limit() */ 245 /* last time the inject limit has been decreased, in jiffies */ 306 * time slice; used only if the queue's IO_bound flag has been 320 /* current maximum weight-raising time fo 827 struct bfq_stat time; global() member [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | pm.c | 52 #include <asm/mach/time.h> 666 /* Program new power ramp-up time in omap_pm_init()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | smp-cps.c | 23 #include <asm/time.h>
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
H A D | smp.c | 17 #include <asm/time.h>
|