| /src/lib/libc/gen/ |
| times.c | 1 /* $NetBSD: times.c,v 1.15 2009/01/11 02:46:27 christos Exp $ */ 35 static char sccsid[] = "@(#)times.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: times.c,v 1.15 2009/01/11 02:46:27 christos Exp $"); 44 #include <sys/times.h> 66 times(struct tms *tp) function
|
| /src/tests/fs/vfs/ |
| t_unpriv.c | 123 times(const atf_tc_t *tc, const char *mp) function 221 ATF_TC_FSAPPLY(times, "time set checks"); 229 ATF_TP_FSAPPLY(times);
|
| /src/tests/lib/libutil/ |
| t_parsedate.c | 160 ATF_TC(times); variable 162 ATF_TC_HEAD(times, tc) 164 atf_tc_set_md_var(tc, "descr", "Test times" 168 ATF_TC_BODY(times, tc) 239 atf_tc_set_md_var(tc, "descr", "Test DST transition times" 317 * coverage of different times of day/week/month/year. 626 ATF_TP_ADD_TC(tp, times);
|
| /src/tests/usr.bin/xlint/lint1/ |
| init_braces.c | 75 struct times { struct 83 struct times times; member in struct:outer::__anon8027::__anon8028 91 .times = { 99 return var.times.t0.ns;
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| selftest_engine_heartbeat.c | 204 u32 times[5]; local 218 for (i = 0; i < ARRAY_SIZE(times); i++) { 246 times[i] = ktime_us_delta(t1, t0); 249 sort(times, ARRAY_SIZE(times), sizeof(times[0]), cmp_u32, NULL); 253 times[ARRAY_SIZE(times) / 2], 254 times[0], 255 times[ARRAY_SIZE(times) - 1]) [all...] |
| selftest_lrc.c | 2767 ktime_t times[2] = {}; local 2793 times[1] = ktime_get_raw(); 2848 times[1] = ktime_sub(ktime_get_raw(), times[1]); 2850 times[0] = times[1]; 2866 nctx, ve[0]->engine->name, ktime_to_ns(times[0]), 2867 prime, div64_u64(ktime_to_ns(times[1]), prime));
|
| /src/games/warp/ |
| term.c | 708 int times = 0; /* loop detector */ local 756 if (++times > 20) { /* loop? */
|
| /src/sys/dev/pci/qat/ |
| qat_hw17.c | 140 int times, received; local 154 for (times = 0; times < 50; times++) {
|
| qat_ae.c | 202 int times = TIMEOUT_AE_CSR; local 210 } while (times--); 221 int times = TIMEOUT_AE_CSR; local 231 } while (times--); 906 int pcnt, ccnt, elapsed, times; local 911 times = TIMEOUT_AE_CHECK; 918 times--; 920 "qat_ae_wait_num_cycles elapsed 0 times %d\n", 921 times); 923 if (times <= 0) 1041 uint32_t times, reset, clock, reg, mask; local 1119 int error, times, ae; local 1211 int times = TIMEOUT_AE_CHECK, rv; local [all...] |
| /src/usr.bin/mail/ |
| cmd2.c | 458 int times; local 462 times = 1; 464 times = (atoi(argv[0]) + 511) / 512; 465 clob1(times);
|
| /src/usr.bin/systat/ |
| syscall.c | 61 uint64_t times[SYS_NSYSENT]; member in struct:Info 122 if (sysctlnametomib("kern.syscalls.times", times_mib, ×_mib_len)) 213 v = s.times[i] - s1.times[i]; 217 v = v ? (s.times[i] - s1.times[i]) / v : 0; 253 mvprintw(l, c, FMT, "TIMES", "times"); 282 memcpy(s1.times, s.times, sizeof s1.times) [all...] |
| /src/games/tetris/ |
| scores.c | 178 * - All times must be after 1985 and are before 2038, 783 int times; member in struct:peruser 809 pu->times = 1; 818 if ((pu->times < MAXSCORES && 822 pu->times++; 868 * Set times to 0 except for high score on each level.
|
| /src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| i915_request.c | 544 ktime_t times[2] = {}; local 554 times[1] = ktime_get_raw(); 582 times[1] = ktime_sub(ktime_get_raw(), times[1]); 584 times[0] = times[1]; 597 ktime_to_ns(times[0]), 598 prime, div64_u64(ktime_to_ns(times[1]), prime)); 698 ktime_t times[2] = {}; local 716 times[1] = ktime_get_raw() [all...] |
| /src/usr.bin/make/ |
| arch.c | 287 * they are (non-)substituted three times, but we need to do 778 struct utimbuf times; local 788 times.actime = times.modtime = now; 789 utime(gn->path, ×); /* TODO: handle errors */
|
| job.c | 1352 struct utimbuf times; local 1356 times.actime = now; 1357 times.modtime = now; 1358 if (utime(file, ×) >= 0)
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
| i915_gem_context.c | 84 ktime_t times[2] = {}; local 86 times[0] = ktime_get_raw(); 111 times[1] = ktime_get_raw(); 114 nctx, engine->name, ktime_to_ns(times[1] - times[0])); 122 times[1] = ktime_get_raw(); 166 times[1] = ktime_sub(ktime_get_raw(), times[1]); 168 times[0] = times[1] [all...] |
| /src/sys/dev/pci/ |
| pccbb.c | 1242 int on = 0, pwrcycle, times; local 1333 for (times = 5; --times >= 0; ) { 1352 (on && times < 0) ? " too long" : "", (long long)diff.tv_sec,
|
| /src/usr.bin/gzip/ |
| gzip.c | 1103 struct timeval times[2]; local 1132 TIMESPEC_TO_TIMEVAL(×[0], &sb.st_atimespec); 1133 TIMESPEC_TO_TIMEVAL(×[1], &sb.st_mtimespec); 1134 if (futimes(fd, times) < 0)
|
| /src/usr.bin/make/unit-tests/ |
| directive-include-guard.mk | 311 CASES+= variable-two-times 312 LINES.variable-two-times= \ 319 # expect: Parse_PushInput: variable-two-times.tmp:1 320 # expect: Parse_PushInput: variable-two-times.tmp:1
|
| /src/sys/compat/linux/arch/aarch64/ |
| linux_syscallargs.h | 434 syscallarg(struct linux_timespec *) times; member in struct:linux_sys_utimensat_args 724 syscallarg(struct times *) tms;
|
| /src/sys/compat/linux32/arch/aarch64/ |
| linux32_syscallargs.h | 124 syscallarg(linux32_utimbufp_t) times; member in struct:linux32_sys_utime_args 1028 syscallarg(linux32_timespecp_t) times; member in struct:linux32_sys_utimensat_args
|
| /src/sys/compat/linux32/arch/amd64/ |
| linux32_syscallargs.h | 129 syscallarg(linux32_utimbufp_t) times; member in struct:linux32_sys_utime_args 1037 syscallarg(linux32_timespecp_t) times; member in struct:linux32_sys_utimensat_args
|
| /src/sys/dev/ic/ |
| sl811hs.c | 41 * iMic on a 2GHz PC, however it would still be interrupted at times and 189 * For EOF, the spec says 42 bit times, plus (I think) a possible hub skew of 190 * 20 bit times. By default leave 66 bit times to start the transfer beyond 191 * the required time. Units are full-speed bit times (a bit over 5us per 64). 203 * the USB 1.1 spec translated to full speed bit times. 315 struct slhci_cc_time times[SLHCI_N_TIMES]; member in struct:slhci_cc_times 331 start_cc_time(struct slhci_cc_times *times, unsigned int misc) { 332 times->times[times->current].miscdata = misc 348 struct slhci_cc_times *times; local [all...] |
| /src/sys/compat/linux/arch/alpha/ |
| linux_syscallargs.h | 612 syscallarg(struct times *) tms; 1262 syscallarg(struct linux_timespec *) times; member in struct:linux_sys_utimensat_args
|
| /src/sys/compat/linux/arch/amd64/ |
| linux_syscallargs.h | 457 syscallarg(struct times *) tms; 559 syscallarg(struct linux_utimbuf *) times; member in struct:linux_sys_utime_args 1136 syscallarg(struct linux_timespec *) times; member in struct:linux_sys_utimensat_args
|