Searched refs:tod (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/bsd/top/dist/
H A Ddisplay.h50 void i_uptime(time_t *bt, time_t *tod);
51 void u_uptime(time_t *bt, time_t *tod);
52 void i_timeofday(time_t *tod);
H A Ddisplay.c1013 i_uptime(time_t *bt, time_t *tod) argument
1020 uptime = *tod - *bt;
1040 u_uptime(time_t *bt, time_t *tod) argument
1043 i_uptime(bt, tod);
1048 i_timeofday(time_t *tod) argument
1074 display_fmt(x, 0, 0, 1, "%-8.8s", &(ctime(tod)[11]));
/netbsd-current/sys/arch/sparc64/dev/
H A Dvrtc.c74 u_int64_t tod; local
76 if (hv_tod_get(&tod) != H_EOK)
79 tv->tv_sec = tod;
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dmachines.c438 static int tod; local
447 if (rc && (SET_TOD_CLOCK_SETTIME == tod || !tod)) {
458 if (!tod && !rc)
459 tod = SET_TOD_CLOCK_SETTIME;
464 if (rc && (SET_TOD_SETTIMEOFDAY == tod || !tod)) {
477 if (!tod && !rc)
478 tod = SET_TOD_SETTIMEOFDAY;
482 if (rc && (SET_TOD_STIME == tod || !to
[all...]
/netbsd-current/external/cddl/osnet/dist/uts/common/os/
H A Dfm.c422 timespec_t tod; local
429 tod = panic_hrestime;
432 gethrestime(&tod);
442 fm_msgid, tod.tv_sec, tod.tv_nsec, (u_longlong_t)now);
475 timespec_t tod; local
481 tod = panic_hrestime;
486 gethrestime(&tod);
507 ed.ed_tod_base.sec = tod.tv_sec;
508 ed.ed_tod_base.nsec = tod
[all...]
/netbsd-current/usr.bin/at/
H A Dparsetime.c175 static void tod(struct tm *);
356 * tod() computes the time of day
360 tod(struct tm *tm) function
607 tod(&runtime);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Ddate.d116 tod = The time portion of $(LREF DateTime).
118 this(in Date date, in TimeOfDay tod = TimeOfDay.init) @safe pure nothrow @nogc
121 _tod = tod;
477 tod = The $(REF TimeOfDay,std,datetime,date) to set this
480 @property void timeOfDay(in TimeOfDay tod) @safe pure nothrow @nogc
482 _tod = tod;
743 foreach (tod; testTODs)
744 test(DateTime(Date(year, md.month, md.day), tod), md.day);
3044 immutable tod = TimeOfDay.fromISOString(str[t+1 .. $]);
3046 return DateTime(date, tod);
[all...]
H A Dsystime.d759 foreach (tod; testTODs)
761 auto dt = DateTime(Date(year, md.month, md.day), tod);
843 foreach (tod; testTODs)
845 test(SysTime(DateTime(Date(1999, 2, 28), tod), fs, tz), 2000,
846 SysTime(DateTime(Date(2000, 2, 28), tod), fs, tz));
847 test(SysTime(DateTime(Date(2000, 2, 28), tod), fs, tz), 1999,
848 SysTime(DateTime(Date(1999, 2, 28), tod), fs, tz));
851 foreach (tod; testTODsThrown)
853 auto st = SysTime(DateTime(Date(2000, 2, 29), tod), fs, tz);
979 foreach (tod; testTOD
[all...]
H A Dinterval.d8315 TimeOfDay todFunc(in TimeOfDay tod) { return tod; }
8758 TimeOfDay todFunc(in TimeOfDay tod) { return tod; }
9040 TimeOfDay todFunc(in TimeOfDay tod) { return tod; }
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Ddate.d164 tod = The time portion of $(LREF DateTime).
166 this(Date date, TimeOfDay tod = TimeOfDay.init) @safe pure nothrow @nogc
169 _tod = tod;
525 tod = The $(REF TimeOfDay,std,datetime,date) to set this
528 @property void timeOfDay(TimeOfDay tod) @safe pure nothrow @nogc
530 _tod = tod;
791 foreach (tod; testTODs)
792 test(DateTime(Date(year, md.month, md.day), tod), md.day);
3170 immutable tod = TimeOfDay.fromISOString(str[t+1 .. $]);
3172 return DateTime(date, tod);
[all...]
H A Dsystime.d978 foreach (tod; testTODs)
980 auto dt = DateTime(Date(year, md.month, md.day), tod);
1067 foreach (tod; testTODs)
1069 test(SysTime(DateTime(Date(1999, 2, 28), tod), fs, tz), 2000,
1070 SysTime(DateTime(Date(2000, 2, 28), tod), fs, tz));
1071 test(SysTime(DateTime(Date(2000, 2, 28), tod), fs, tz), 1999,
1072 SysTime(DateTime(Date(1999, 2, 28), tod), fs, tz));
1075 foreach (tod; testTODsThrown)
1077 auto st = SysTime(DateTime(Date(2000, 2, 29), tod), fs, tz);
1213 foreach (tod; testTOD
[all...]
H A Dinterval.d8340 TimeOfDay todFunc(scope const TimeOfDay tod) { return tod; }
8785 TimeOfDay todFunc(scope const TimeOfDay tod) { return tod; }
9067 TimeOfDay todFunc(scope const TimeOfDay tod) { return tod; }
/netbsd-current/sys/arch/sun2/sun2/
H A Dtod.c1 /* $NetBSD: tod.c,v 1.15 2016/07/07 06:55:39 msaitoh Exp $ */
88 __KERNEL_RCSID(0, "$NetBSD: tod.c,v 1.15 2016/07/07 06:55:39 msaitoh Exp $");
103 #include <sun2/sun2/tod.h>
/netbsd-current/sys/arch/sparc64/include/
H A Dhypervisor.h171 int64_t hv_tod_get(uint64_t *tod);
172 int64_t hv_tod_set(uint64_t tod);
/netbsd-current/external/bsd/wpa/dist/src/crypto/
H A Dtls.h60 int tod; member in struct:tls_cert_data
H A Dtls_openssl.c2174 int tod = 0; local
2189 tod = 1;
2192 return tod;
2288 ev.peer_cert.tod = openssl_cert_tod(err_cert);
/netbsd-current/lib/libutil/
H A Dparsedate.y1151 time_t tod, rm;
1318 tod = RelativeDate(Start, param.yyDayOrdinal, param.yyDayNumber);
1319 if (tod == -1 && errno != 0)
1321 Start += tod;
/netbsd-current/bin/sh/
H A Dvar.c125 struct var tod; variable in typeref:struct:var
176 { &tod, VSTRFIXED|VTEXTFIXED|VFUNCREF, "ToD=",
/netbsd-current/sys/arch/hppa/dev/
H A Dpdc.c539 struct pdc_tod *tod = (struct pdc_tod *)&pdcret1; local
546 tvp->tv_sec = tod->sec;
547 tvp->tv_usec = tod->usec;
/netbsd-current/lib/libc/time/
H A Dzic.c1995 zic_t dayoff, tod; local
2053 tod = gethms(fields[LP_TIME], _("invalid time of day"));
2054 t = tadd(t, tod);
2885 zic_t tod = rp->r_tod; local
2911 tod += wdayoff * SECSPERDAY;
2921 tod += wdayoff * SECSPERDAY;
2931 tod += stdoff;
2933 tod += save;
2934 if (tod != 2 * SECSPERMIN * MINSPERHOUR) {
2937 if (! stringoffset(result + len, resultlen - len, tod))
[all...]
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_getdate.c948 time_t tod; local
1069 tod = RelativeDate(Start, gds->Timezone,
1071 Start += tod;
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dnotify.c800 cert->tod ? " tod=1" : "");

Completed in 258 milliseconds