/src/games/adventure/ |
wizard.c | 61 struct tm *tptr; local in function:datime 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:typename:const 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 in function:warning 232 for (tptr = curline; tptr < cptr; ++tptr) 350 char *tptr; local in function:getmsg 365 tptr = msg; 374 *tptr++ = *cptr++; 382 *tptr++ = *cptr++; 401 i = tptr - msg; 403 tptr = msg + i [all...] |
/src/lib/libc/time/ |
strftime.c | 236 _TimeLocale *tptr = _TIME_LOCALE(loc); local in function:_fmt 257 "?" : tptr->day[t->tm_wday], 263 "?" : tptr->abday[t->tm_wday], 271 (Oalternative ? tptr->mon/*alt_month*/: 272 tptr->mon)[t->tm_mon], 279 "?" : tptr->abmon[t->tm_mon], 297 pt = _fmt(sp, tptr->c_fmt, t, pt, 411 tptr->am_pm[1] : 412 tptr->am_pm[0], 420 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; 1117 syscallarg(netbsd32_timeval50p_t) tptr; 1482 syscallarg(netbsd32_timeval50p_t) tptr; 2231 syscallarg(const netbsd32_timevalp_t) tptr; 2243 syscallarg(const netbsd32_timevalp_t) tptr; 2249 syscallarg(const netbsd32_timevalp_t) tptr; 2551 syscallarg(const netbsd32_timespecp_t) tptr; 2588 syscallarg(const netbsd32_timespecp_t) tptr;
|
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 | 3949 syscallarg(const struct timeval *) tptr; 3953 SCARG(uap, tptr), UIO_USERSPACE); 3966 syscallarg(const struct timeval *) tptr; 3974 error = do_sys_utimes(l, fp->f_vnode, NULL, 0, SCARG(uap, tptr), 3986 syscallarg(const struct timespec *) tptr; 3995 SCARG(uap, tptr), UIO_USERSPACE); 4010 syscallarg(const struct timeval *) tptr; 4014 SCARG(uap, tptr), UIO_USERSPACE); 4024 syscallarg(const struct timespec *) tptr; 4028 const struct timespec *tptr; local in function:sys_utimensat [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 | 1041 /* tptr(I) - */ 1050 ipf_iphmfindgroup(ipf_main_softc_t *softc, void *tptr, void *aptr) 1058 iph = tptr; 1075 /* tptr(I) - pointer to the pool to search */ 1083 ipf_iphmfindip(ipf_main_softc_t *softc, void *tptr, int ipversion, void *aptr, 1091 if (tptr == NULL || aptr == NULL) 1094 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 | 1119 ukfs_utimes(struct ukfs *ukfs, const char *filename, const struct timeval *tptr) 1122 STDCALL(ukfs, rump_sys_utimes(filename, tptr)); 1127 const struct timeval *tptr) 1130 STDCALL(ukfs, rump_sys_lutimes(filename, tptr));
|
/src/sys/arch/amiga/dev/ |
grf_cl.c | 874 unsigned long long *tptr, *iptr, *mptr, line; local in function:writeshifted 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 | 1970 rump___sysimpl_utimes(const char * path, const struct timeval * tptr) 1979 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 2474 rump___sysimpl_futimes(int fd, const struct timeval * tptr) 2483 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 3110 rump___sysimpl_lutimes(const char * path, const struct timeval * tptr) 3119 SPARG(&callarg, tptr) = (const struct timeval50 *)tptr; 5029 rump___sysimpl_utimes50(const char * path, const struct timeval * tptr) [all...] |
/src/usr.bin/rpcinfo/ |
rpcinfo.c | 1513 const char *tptr = arg; local in function:getprognum 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; 1347 syscallarg(const struct timeval50 *) tptr; 1795 syscallarg(const struct timeval50 *) tptr; 2731 syscallarg(const struct timeval *) tptr; 2751 syscallarg(const struct timeval *) tptr; 2757 syscallarg(const struct timeval *) tptr; 3088 syscallarg(const struct timespec *) tptr; 3125 syscallarg(const struct timespec *) tptr;
|