/titanic_44/usr/src/ucbcmd/touch/ |
H A D | touch.c | 74 static struct tm newtime; in gtime() local 77 newtime.tm_mon = gpair() - 1; in gtime() 78 newtime.tm_mday = gpair(); in gtime() 79 newtime.tm_hour = gpair(); in gtime() 80 if (newtime.tm_hour == 24) { in gtime() 81 newtime.tm_hour = 0; in gtime() 82 newtime.tm_mday++; in gtime() 84 newtime.tm_min = gpair(); in gtime() 85 newtime.tm_sec = 0; in gtime() 86 newtime.tm_year = gpair(); in gtime() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | msacct.c | 399 hrtime_t newtime; in syscall_mstate() local 412 newtime = curtime - ms->ms_state_start; in syscall_mstate() 413 while (newtime < 0) { in syscall_mstate() 415 newtime = curtime - ms->ms_state_start; in syscall_mstate() 417 *mstimep += newtime; in syscall_mstate() 419 atomic_add_64(&z->zone_utime, newtime); in syscall_mstate() 421 atomic_add_64(&z->zone_stime, newtime); in syscall_mstate() 555 cpu_update_pct(kthread_t *t, hrtime_t newtime) in cpu_update_pct() argument 571 delta = newtime - hrlb; in cpu_update_pct() 573 newtime = gethrtime_unscaled(); in cpu_update_pct() [all …]
|
H A D | lgrp.c | 537 u_longlong_t newtime) in lgrp_latency_change() argument 551 lgrp->lgrp_latency = (int)newtime; in lgrp_latency_change()
|
/titanic_44/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 38 conv_time(struct timeval *oldtime, struct timeval *newtime, in conv_time() argument 45 sec = newtime->tv_sec - oldtime->tv_sec; in conv_time() 46 if (newtime->tv_usec >= oldtime->tv_usec) in conv_time() 47 usec = newtime->tv_usec - oldtime->tv_usec; in conv_time() 49 usec = (newtime->tv_usec + MICROSEC) - oldtime->tv_usec; in conv_time()
|
/titanic_44/usr/src/cmd/streams/log/ |
H A D | strerr.c | 78 time_t newtime; in logfile() local 81 newtime = lp->ttime - timezone; in logfile() 86 if (((newtime/NSECDAY) != (lasttime/NSECDAY)) || !log) { in logfile() 89 lasttime = newtime; in logfile() 93 lasttime = newtime; in logfile()
|
/titanic_44/usr/src/cmd/intrd/ |
H A D | intrd.pl | 1239 my $newtime; 1353 $newtime = $deltas_tottime - $olddeltatime; 1354 last if ($newtime < $statslen); 1357 $deltas_tottime = $newtime;
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 1052 hrtime_t newtime; in tenmicrosec() local 1054 newtime = xpv_gethrtime() + 10000; /* now + 10 us */ in tenmicrosec() 1055 while (xpv_gethrtime() < newtime) in tenmicrosec()
|
/titanic_44/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 184 time_t newtime; in _da_read_file() local 198 newtime = f_stat.st_mtime; in _da_read_file() 201 while (newtime > *ftime) { in _da_read_file() 244 newtime = f_stat.st_mtime; in _da_read_file() 247 *ftime = newtime; in _da_read_file()
|
/titanic_44/usr/src/cmd/ed/ |
H A D | ed.c | 296 static void newtime(void); 855 newtime(); in commands() 873 if (!n) newtime(); in commands() 2772 newtime(void) /* get new mod time and save */ in newtime() function
|
/titanic_44/usr/src/lib/libshell/common/edit/ |
H A D | vi.c | 236 clock_t oldtime, newtime; in ed_viread() local 277 newtime = times(&dummy); in ed_viread() 278 vp->typeahead = ((newtime-oldtime) < NTICKS); in ed_viread()
|
/titanic_44/usr/src/cmd/cron/ |
H A D | cron.c | 432 time_t newtime, lastmtime = 0L; in main() local 612 newtime = 30 - (last_time % 30); in main() 613 newtime += last_time; in main() 621 next_time(next_event, newtime); in main()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 3171 char newtime[9]; in convertDate() local 3178 (void) strftime(newtime, sizeof (newtime), "m%d", &tms); in convertDate() 3180 newtime[8] = 0; in convertDate() 3183 return ((char *)strdup(newtime)); in convertDate()
|