| /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/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/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/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...] |
| /src/tests/dev/clock_subr/ |
| t_clock_subr.c | 46 { .time = (ti), .clock = { .dt_year = (ye), .dt_mon = (mo), .dt_day = (da), \ 50 time_t time; member in struct:clock_test 267 ATF_CHECK_EQ_MSG(clock_tests[i].time, secs, "%jd != %jd", 268 (intmax_t)clock_tests[i].time, (intmax_t)secs); 287 (intmax_t)clock_tests[i].time) 290 clock_secs_to_ymdhms(clock_tests[i].time, &ymdhms);
|
| /src/external/apache2/llvm/dist/clang/utils/analyzer/ |
| SumTimerInfo.py | 18 time = 0.0 variable 32 if "Analyzer total time" in line: 34 time = time + float(s[6]) variable 69 print(f"Time {time}") 77 print(f"Max time {max_time}") 78 print(f"Total time {total_time}")
|
| /src/external/bsd/libbind/dist/nameser/ |
| ns_date.c | 34 #include <time.h> 58 struct tm time; local 70 memset(&time, 0, sizeof time); 71 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; 72 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; 73 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); 74 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); 75 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); 76 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp) [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| eventhistory.cpp | 67 void EventListModel::addEvent(QString time, QString msg) 70 timeList << time; local
|
| /src/external/bsd/zstd/dist/programs/ |
| timefn.c | 16 #include <time.h> /* CLOCK_MONOTONIC, TIME_UTC */ 19 * Time functions 74 /* time must be initialized, othersize it may fail msan test. 76 struct timespec time = { 0, 0 }; local 77 if (clock_gettime(CLOCK_MONOTONIC, &time) != 0) { 82 r.t = (PTime)time.tv_sec * 1000000000ULL + (PTime)time.tv_nsec; 101 /* time must be initialized, othersize it may fail msan test. 103 struct timespec time = { 0, 0 }; local 104 if (timespec_get(&time, TIME_UTC) != TIME_UTC) [all...] |