| /src/games/adventure/ |
| wizard.c | 61 struct tm *tptr; local 64 tptr = localtime(&tvec); 66 *d = (tptr->tm_yday + 365 * (tptr->tm_year - 77) 67 + (tptr->tm_year - 77) / 4 - (tptr->tm_year - 1) / 100 68 + (tptr->tm_year + 299) / 400); 72 *t = tptr->tm_hour * 60 + tptr->tm_min;
|
| /src/tests/lib/libc/c063/ |
| t_utimensat.c | 58 static const struct timespec tptr[] = { variable in typeref:struct:timespec 68 ATF_CHECK_EQ_MSG(st->st_atimespec.tv_sec, tptr[0].tv_sec, 69 "st->st_atimespec.tv_sec=%lld tptr[0].tv_sec=%lld", 71 (long long)tptr[0].tv_sec); 72 ATF_CHECK_EQ_MSG(st->st_atimespec.tv_nsec, tptr[0].tv_nsec, 73 "st->st_atimespec.tv_nsec=%ld tptr[0].tv_nsec=%ld", 74 (long)st->st_atimespec.tv_nsec, (long)tptr[0].tv_nsec); 76 ATF_CHECK_EQ_MSG(st->st_mtimespec.tv_sec, tptr[1].tv_sec, 77 "st->st_mtimespec.tv_sec=%lld tptr[1].tv_sec=%lld", 78 (long long)st->st_mtimespec.tv_sec, (long long)tptr[1].tv_sec) [all...] |
| /src/usr.bin/gencat/ |
| gencat.c | 231 char *tptr; local 232 for (tptr = curline; tptr < cptr; ++tptr) 350 char *tptr; local 365 tptr = msg; 374 *tptr++ = *cptr++; 382 *tptr++ = *cptr++; 401 i = tptr - msg; 403 tptr = msg + i [all...] |
| /src/lib/libc/time/ |
| strftime.c | 235 _TimeLocale *tptr = _TIME_LOCALE(loc); local 256 "?" : tptr->day[t->tm_wday], 262 "?" : tptr->abday[t->tm_wday], 270 (Oalternative ? tptr->mon/*alt_month*/: 271 tptr->mon)[t->tm_mon], 278 "?" : tptr->abmon[t->tm_mon], 296 pt = _fmt(sp, tptr->c_fmt, t, pt, 410 tptr->am_pm[1] : 411 tptr->am_pm[0], 419 pt = _fmt(sp, tptr->t_fmt_ampm, t [all...] |
| /src/sys/compat/common/ |
| vfs_syscalls_50.c | 203 int flag, const struct timeval50 *tptr) 207 if (tptr) { 208 int error = copyin(tptr, tv50, sizeof(tv50)); 230 syscallarg(const struct timeval50 *) tptr; 234 SCARG(uap, tptr)); 247 syscallarg(const struct timeval50 *) tptr; 256 SCARG(uap, tptr)); 271 syscallarg(const struct timeval50 *) tptr; 275 SCARG(uap, tptr));
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_syscalls_netbsd.inc | 3041 struct __sanitizer_timespec **tptr = (struct __sanitizer_timespec **)tptr_; 3046 if (tptr) { 3047 PRE_READ(tptr[0], struct_timespec_sz); 3048 PRE_READ(tptr[1], struct_timespec_sz); 3063 struct __sanitizer_timespec **tptr = (struct __sanitizer_timespec **)tptr_; 3064 if (tptr) { 3065 PRE_READ(tptr[0], struct_timespec_sz); 3066 PRE_READ(tptr[1], struct_timespec_sz); 3071 struct __sanitizer_timespec **tptr = (struct __sanitizer_timespec **)tptr_; 3076 if (tptr) { [all...] |
| sanitizer_common_syscalls.inc | 211 PRE_SYSCALL(stime)(void *tptr) {} 213 POST_SYSCALL(stime)(long res, void *tptr) { 215 if (tptr) POST_WRITE(tptr, sizeof(long));
|
| /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| netbsd_syscall_hooks.h | 726 #define __sanitizer_syscall_pre_compat_50_utimes(path, tptr) \ 728 (long long)(tptr)) 729 #define __sanitizer_syscall_post_compat_50_utimes(res, path, tptr) \ 731 (long long)(tptr)) 1080 #define __sanitizer_syscall_pre_compat_50_futimes(fd, tptr) \ 1082 (long long)(tptr)) 1083 #define __sanitizer_syscall_post_compat_50_futimes(res, fd, tptr) \ 1085 (long long)(tptr)) 1433 #define __sanitizer_syscall_pre_compat_50_lutimes(path, tptr) \ 1435 (long long)(tptr)) [all...] |
| linux_syscall_hooks.h | 28 #define __sanitizer_syscall_pre_stime(tptr) \ 29 __sanitizer_syscall_pre_impl_stime((long)(tptr)) 30 #define __sanitizer_syscall_post_stime(res, tptr) \ 31 __sanitizer_syscall_post_impl_stime(res, (long)(tptr)) 2018 void __sanitizer_syscall_pre_impl_stime(long tptr); 2019 void __sanitizer_syscall_post_impl_stime(long res, long tptr);
|
| /src/sys/compat/netbsd32/ |
| netbsd32_fs.c | 332 get_utimes32(const netbsd32_timevalp_t *tptr, struct timeval *tv, 338 if (tptr == NULL) { 343 error = copyin(tptr, tv32, sizeof(tv32)); 354 get_utimens32(const netbsd32_timespecp_t *tptr, struct timespec *ts, 360 if (tptr == NULL) { 365 error = copyin(tptr, ts32, sizeof(ts32)); 380 syscallarg(const netbsd32_timevalp_t) tptr; 385 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp); 491 syscallarg(const netbsd32_timevalp_t) tptr; 497 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp) [all...] |
| netbsd32_compat_50.c | 85 get_utimes32(const netbsd32_timeval50p_t *tptr, struct timeval *tv, 91 if (tptr == NULL) { 96 error = copyin(tptr, tv32, sizeof(tv32)); 229 syscallarg(const netbsd32_timeval50p_t) tptr; 234 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp); 297 syscallarg(const netbsd32_timeval50p_t) tptr; 303 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp); 534 syscallarg(const netbsd32_timeval50p_t) tptr; 539 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp);
|
| netbsd32_syscallargs.h | 764 syscallarg(netbsd32_timeval50p_t) tptr; member in struct:compat_50_netbsd32_utimes_args 1117 syscallarg(netbsd32_timeval50p_t) tptr; member in struct:compat_50_netbsd32_futimes_args 1482 syscallarg(netbsd32_timeval50p_t) tptr; member in struct:compat_50_netbsd32_lutimes_args 2231 syscallarg(const netbsd32_timevalp_t) tptr; member in struct:netbsd32___utimes50_args 2243 syscallarg(const netbsd32_timevalp_t) tptr; member in struct:netbsd32___futimes50_args 2249 syscallarg(const netbsd32_timevalp_t) tptr; member in struct:netbsd32___lutimes50_args 2551 syscallarg(const netbsd32_timespecp_t) tptr; member in struct:netbsd32_utimensat_args 2588 syscallarg(const netbsd32_timespecp_t) tptr; member in struct:netbsd32_futimens_args
|
| netbsd32_systrace_args.c | 1044 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */ 1512 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */ 1996 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */ 2994 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */ 3010 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */ 3018 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */ 3402 uarg[2] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */ 3449 uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */
|
| /src/sys/kern/ |
| vfs_syscalls.c | 3950 syscallarg(const struct timeval *) tptr; 3954 SCARG(uap, tptr), UIO_USERSPACE); 3967 syscallarg(const struct timeval *) tptr; 3975 error = do_sys_utimes(l, fp->f_vnode, NULL, 0, SCARG(uap, tptr), 3987 syscallarg(const struct timespec *) tptr; 3996 SCARG(uap, tptr), UIO_USERSPACE); 4011 syscallarg(const struct timeval *) tptr; 4015 SCARG(uap, tptr), UIO_USERSPACE); 4025 syscallarg(const struct timespec *) tptr; 4029 const struct timespec *tptr; local [all...] |
| systrace_args.c | 1044 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */ 1560 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */ 2057 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */ 3160 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */ 3184 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */ 3192 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */ 3585 uarg[2] = (intptr_t) SCARG(p, tptr); /* const struct timespec * */ 3632 uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timespec * */
|
| /src/lib/librumpuser/ |
| rumpuser_pth_dummy.c | 71 int joinable, int pri, int cpuidx, void **tptr)
|
| rumpfiber.c | 641 int joinable, int pri, int cpuidx, void **tptr) 658 *tptr = thr;
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_htable.c | 1042 /* tptr(I) - */ 1051 ipf_iphmfindgroup(ipf_main_softc_t *softc, void *tptr, void *aptr) 1059 iph = tptr; 1076 /* tptr(I) - pointer to the pool to search */ 1084 ipf_iphmfindip(ipf_main_softc_t *softc, void *tptr, int ipversion, void *aptr, 1092 if (tptr == NULL || aptr == NULL) 1095 iph = tptr;
|
| ip_pool.c | 741 /* tptr(I) - pointer to the pool to search */ 749 ipf_pool_search(ipf_main_softc_t *softc, void *tptr, int ipversion, void *dptr, 759 ipo = tptr;
|
| /src/lib/libukfs/ |
| ukfs.c | 1120 ukfs_utimes(struct ukfs *ukfs, const char *filename, const struct timeval *tptr) 1123 STDCALL(ukfs, rump_sys_utimes(filename, tptr)); 1128 const struct timeval *tptr) 1131 STDCALL(ukfs, rump_sys_lutimes(filename, tptr));
|
| /src/sys/arch/amiga/dev/ |
| grf_cl.c | 874 unsigned long long *tptr, *iptr, *mptr, line; local 876 tptr = (unsigned long long *) __UNVOLATILE(to); 890 *tptr++ = line << shiftx; 894 *tptr++ = line << shiftx; 899 *tptr++ = 0; 900 *tptr++ = 0;
|
| /src/sys/rump/librump/rumpkern/ |
| rump_syscalls.c | 1972 rump___sysimpl_utimes(const char * path, const struct timeval * tptr) 1981 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 2476 rump___sysimpl_futimes(int fd, const struct timeval * tptr) 2485 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 3112 rump___sysimpl_lutimes(const char * path, const struct timeval * tptr) 3121 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 5031 rump___sysimpl_utimes50(const char * path, const struct timeval * tptr) [all...] |
| /src/usr.bin/rpcinfo/ |
| rpcinfo.c | 1513 const char *tptr = arg; local 1515 while (*tptr && isdigit((unsigned char)*tptr++)) 1517 if (*tptr || isalpha((unsigned char)*(tptr - 1))) {
|
| /src/sys/compat/linux/arch/alpha/ |
| linux_osf1.c | 499 if (SCARG(uap, tptr) == NULL) 503 error = copyin(SCARG(uap, tptr), &otv, sizeof otv);
|
| /src/sys/sys/ |
| syscallargs.h | 879 syscallarg(const struct timeval50 *) tptr; member in struct:compat_50_sys_utimes_args 1347 syscallarg(const struct timeval50 *) tptr; member in struct:compat_50_sys_futimes_args 1795 syscallarg(const struct timeval50 *) tptr; member in struct:compat_50_sys_lutimes_args 2731 syscallarg(const struct timeval *) tptr; member in struct:sys___utimes50_args 2751 syscallarg(const struct timeval *) tptr; member in struct:sys___futimes50_args 2757 syscallarg(const struct timeval *) tptr; member in struct:sys___lutimes50_args 3088 syscallarg(const struct timespec *) tptr; member in struct:sys_utimensat_args 3125 syscallarg(const struct timespec *) tptr; member in struct:sys_futimens_args
|