Searched refs:boottime (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/PowerManagement-420.90.1/swd/
H A Dswd.c58 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 Drstat.x81 rstat_timeval boottime;
100 rstat_timeval boottime;
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DScrollElasticityController.mm41 // 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 Dw.c104 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 Dcheck.c473 struct timeval boottime, mtime; local
653 } else if (get_boottime(&boottime) &&
654 timevalcmp(&mtime, &boottime, <)) {
H A DMakefile.in124 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 Ddirhelper.c325 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 Ddirhelper.c325 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 Dstatschannel.c745 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 Dsmb-configuration.c93 boottime(void) function
845 time_boot = boottime() + SMB_STARTUP_DELAY;
/macosx-10.9.5/dyld-239.4/launch-cache/
H A Dupdate_dyld_shared_cache.cpp3251 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 Dkern_sysctl.c2520 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime,

Completed in 402 milliseconds