/macosx-10.9.5/PowerManagement-420.90.1/swd/ |
H A D | swd.c | 58 struct timeval sleeptime, boottime; local 119 size = sizeof(boottime); 120 if ((sysctlbyname("kern.boottime", &boottime, &size, NULL, 0) != 0) || (boottime.tv_sec > crtime))
|
/macosx-10.9.5/Librpcsvc-23/ |
H A D | rstat.x | 81 rstat_timeval boottime; 100 rstat_timeval boottime;
|
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/ |
H A D | ScrollElasticityController.mm | 41 // Get how long system has been up. Found by looking getting "boottime" from the kernel. 42 static struct timeval boottime = {0, 0}; 43 if (!boottime.tv_sec) { 45 size_t size = sizeof(boottime); 46 if (-1 == sysctl(mib, 2, &boottime, &size, 0, 0)) 47 boottime.tv_sec = 0; 50 if (boottime.tv_sec && -1 != gettimeofday(&now, 0)) { 52 timersub(&now, &boottime, &uptime);
|
/macosx-10.9.5/shell_cmds-175/w/ |
H A D | w.c | 104 struct timeval boottime; variable in typeref:struct:timeval 619 * (Found by looking getting "boottime" from the kernel) 623 size = sizeof(boottime); 624 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 && 625 boottime.tv_sec != 0) { 626 uptime = now - boottime.tv_sec;
|
/macosx-10.9.5/sudo-72/src/ |
H A D | check.c | 473 struct timeval boottime, mtime; local 653 } else if (get_boottime(&boottime) && 654 timevalcmp(&mtime, &boottime, <)) {
|
H A D | Makefile.in | 124 SRCS = aix.c alias.c alloc.c audit.c boottime.c bsm_audit.c check.c \ 155 SUDO_OBJS = $(AUTH_OBJS) @SUDO_OBJS@ audit.o boottime.o check.o env.o \ 317 boottime.o: $(srcdir)/boottime.c config.h 318 $(CC) -c $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/boottime.c
|
/macosx-10.9.5/system_cmds-597.90.1/dirhelper.tproj/ |
H A D | dirhelper.c | 325 struct timespec boottime; local 326 size_t len = sizeof(boottime); 327 if (sysctlbyname("kern.boottime", &boottime, &len, NULL, 0) == -1) { 328 asl_log(NULL, NULL, ASL_LEVEL_ERR, "%s: %s", "sysctl kern.boottime", strerror(errno));
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/dirhelper.tproj/ |
H A D | dirhelper.c | 325 struct timespec boottime; local 326 size_t len = sizeof(boottime); 327 if (sysctlbyname("kern.boottime", &boottime, &len, NULL, 0) == -1) { 328 asl_log(NULL, NULL, ASL_LEVEL_ERR, "%s: %s", "sysctl kern.boottime", strerror(errno));
|
/macosx-10.9.5/bind9-45.100/bind9/bin/named/ |
H A D | statschannel.c | 745 char boottime[sizeof "yyyy-mm-ddThh:mm:ssZ"]; local 761 isc_time_formatISO8601(&ns_g_boottime, boottime, sizeof boottime); 854 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR boottime));
|
/macosx-10.9.5/configd-596.15/Plugins/IPMonitor/ |
H A D | smb-configuration.c | 93 boottime(void) function 845 time_boot = boottime() + SMB_STARTUP_DELAY;
|
/macosx-10.9.5/dyld-239.4/launch-cache/ |
H A D | update_dyld_shared_cache.cpp | 3251 struct timeval boottime; local 3252 size_t size = sizeof(boottime); 3253 if ( (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1) && (boottime.tv_sec != 0) ) { 3255 if ( tmpFileStatInfo.st_mtime < boottime.tv_sec ) {
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | kern_sysctl.c | 2520 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime,
|