| /src/lib/libc/gen/ |
| time.c | 1 /* $NetBSD: time.c,v 1.12 2012/03/13 21:13:37 christos Exp $ */ 35 static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: time.c,v 1.12 2012/03/13 21:13:37 christos Exp $"); 43 #include <sys/time.h> 45 #include <time.h> 48 time(time_t *t) function
|
| /src/sys/arch/evbmips/stand/sbmips/netboot/ |
| getsecs.c | 50 long long time; local 52 time = cfe_getticks(); 54 return (time / 10);
|
| /src/sys/arch/sbmips/stand/netboot/ |
| getsecs.c | 50 long long time; local 52 time = cfe_getticks(); 54 return (time / 10);
|
| /src/external/bsd/less/dist/ |
| mkhelp.py | 3 import time 6 time = time.gmtime() variable 9 (time.tm_hour, time.tm_min, time.tm_year, time.tm_mon, time.tm_mday))
|
| /src/external/mpl/bind/dist/bin/tests/system/expiredglue/ |
| tests_expiredglue.py | 12 import time namespace 31 time.sleep(3) 39 time.sleep(3) 43 time.sleep(3)
|
| /src/external/mpl/bind/dist/bin/tests/system/resolver/ |
| tests_resolver.py | 12 import time namespace 35 time.sleep(3)
|
| /src/external/mpl/bind/dist/bin/tests/system/xfer/ |
| tests_retransfer_with_transferstuck.py | 12 import time namespace 31 start_time = time.time() 33 ns6.rndc("retransfer -force axfr-max-idle-time.") 34 watcher.wait_for_line("maximum idle time exceeded: timed out") 35 end_time = time.time() 38 ), "max-transfer-idle-in did not wait for the expected time"
|
| /src/games/trek/ |
| impulse.c | 55 double dist, time; local 78 time = dist / 0.095; 79 percent = 100 * time / Now.time + 0.5; 81 printf("Spock: That would take %d%% of our remaining time.\n", 87 Move.time = move(0, course, time, 0.095); 88 Ship.energy -= 20 + 100 * Move.time * 0.095;
|
| warp.c | 61 ** case, there is code to handle time warps, etc. 82 double time; local 112 /* compute the speed we will move at, and the time it will take */ 114 time = dist / speed; 117 percent = 100 * time / Now.time + 0.5; 119 printf("Spock: That would take %d%% of our remaining time.\n", 129 time *= frac; 135 Move.time = move(fl, course, time, speed) [all...] |
| /src/sys/sys/ |
| timeb.h | 44 time_t time; /* seconds since the Epoch */ member in struct:timeb
|
| /src/external/mpl/bind/dist/bin/tests/system/rndc/ |
| tests_cve_2023_3341.py | 15 import time namespace 65 time.sleep(10)
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| clock.c | 100 * Set up the system's time, given a `reasonable' time value. 102 u_long time(void) function 107 cl->cl_csr |= CLK_READ; /* enable read (stop time) */ 114 cl->cl_csr &= ~CLK_READ; /* time wears on */
|
| /src/sys/compat/sys/ |
| timex.h | 24 #include <compat/sys/time.h> 28 * Note: The time member is in microseconds if STA_NANO is zero and 32 struct timespec50 time; /* current time (ns) (ro) */ member in struct:ntptimeval50 36 int time_state; /* time status */ 40 struct timeval50 time; /* current time (ro) */ member in struct:ntptimeval30
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
| nouveau_dispnv50_ovly827e.c | 61 s64 time = nvif_msec(device, 2000ULL, local 67 return time < 0 ? time : 0;
|
| nouveau_dispnv50_core507d.c | 55 s64 time = nvif_msec(device, 2000ULL, local 60 return time < 0 ? time : 0;
|
| nouveau_dispnv50_corec37d.c | 75 s64 time = nvif_msec(device, 2000ULL, local 81 return time < 0 ? time : 0;
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/ |
| priv.h | 16 void (*time)(struct nvkm_timer *, u64 time); member in struct:nvkm_timer_func 17 void (*alarm_init)(struct nvkm_timer *, u32 time);
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_syscall.h | 26 struct timeval time; /* current time (ro) */ member in struct:ntptimeval 43 ntv->time = tntx.time;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/ |
| time.h | 25 /** @file time.h 35 // Get rid of those macros defined in <time.h> in lieu of real functions. 39 #undef time macro 53 using std::time;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/ |
| time.h | 25 /** @file time.h 35 // Get rid of those macros defined in <time.h> in lieu of real functions. 39 #undef time macro 53 using std::time;
|
| /src/external/mpl/bind/dist/bin/tests/system/addzone/ |
| tests_rndc_deadlock.py | 15 import time namespace 82 time.sleep(1)
|
| /src/lib/libutil/ |
| parsedate.y | 23 #include <time.h> 136 time { param->yyHaveTime++; } 200 time: label 526 /* Time units table. */ 541 /* Assorted relative-time words. */ 636 { "ict", tZONE, -HOUR(7) }, /* Indo China Time (Thai) */ 820 tm.tm_isdst = 0; /* hence cannot be summer time */ 826 if (DSTmode == DSTon) /* if specified sumer time */ 929 * as long as we use the same one to reassemble the time that we 1161 (void)time(&nowt) [all...] |
| /src/sys/arch/ia64/stand/efi/libefi/ |
| time.c | 1 /* $NetBSD: time.c,v 1.6 2026/01/29 17:51:58 nia Exp $ */ 38 /* __FBSDID("$FreeBSD: src/sys/boot/efi/libefi/time.c,v 1.4 2003/04/03 21:36:29 obrien Exp $"); 43 #include <sys/time.h> 151 // EFI time is reported in local time. Adjust for any time zone offset to 175 // Get time from EFI 183 // Convert to UNIX time (ie seconds since the epoch 207 time(time_t *tloc) function 220 return time(0) [all...] |
| /src/sys/dev/wscons/ |
| wseventvar.h | 105 #include <compat/sys/time.h> 110 struct timespec50 time; member in struct:owscons_event
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| nouveau_nvkm_core_subdev.c | 121 s64 time; local 124 time = ktime_to_us(ktime_get()); 137 time = ktime_to_us(ktime_get()) - time; 138 nvkm_trace(subdev, "%s completed in %"PRId64"us\n", action, time); 145 s64 time; local 148 time = ktime_to_us(ktime_get()); 158 time = ktime_to_us(ktime_get()) - time; 159 nvkm_trace(subdev, "preinit completed in %"PRId64"us\n", time); 166 s64 time; local 173 s64 time; local 204 s64 time; local [all...] |