| /freebsd-11-stable/usr.sbin/fifolog/lib/ |
| HD | getdate.y | 34 #define HOUR(x) ((time_t)(x) * 60) 44 time_t value; 71 static time_t yyDayOrdinal; 72 static time_t yyDayNumber; 78 static time_t yyTimezone; 79 static time_t yyDay; 80 static time_t yyHour; 81 static time_t yyMinutes; 82 static time_t yyMonth; 83 static time_t yySeconds; [all …]
|
| HD | fifolog_write.h | 56 time_t last; 65 time_t starttime; 66 time_t lastwrite; 67 time_t lastsync; 72 int fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_… 73 int fifolog_write_poll(struct fifolog_writer *f, time_t now); 74 int fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, s…
|
| /freebsd-11-stable/usr.bin/find/ |
| HD | getdate.y | 69 time_t get_date(char *); 72 #define HOUR(x) ((time_t)(x) * 60) 82 time_t value; 109 static time_t yyDayOrdinal; 110 static time_t yyDayNumber; 116 static time_t yyTimezone; 117 static time_t yyDay; 118 static time_t yyHour; 119 static time_t yyMinutes; 120 static time_t yyMonth; [all …]
|
| /freebsd-11-stable/lib/libc/stdtime/ |
| HD | time32.c | 24 time_t 27 return((time_t)t32); in _time32_to_time() 36 _time_to_time32(time_t t) in _time_to_time32() 46 time_t 49 return((time_t)t64); in _time64_to_time() 57 _time_to_time64(time_t t) in _time_to_time64() 67 _time_to_long(time_t t) in _time_to_long() 74 time_t 79 return((time_t)tlong); in _long_to_time() 87 _time_to_int(time_t t) in _time_to_int() [all …]
|
| /freebsd-11-stable/contrib/ntp/sntp/libopts/ |
| HD | parse-duration.c | 57 #define MAX_DURATION TYPE_MAXIMUM(time_t) 82 static time_t 83 scale_n_add (time_t base, time_t val, int scale) in scale_n_add() 109 static time_t 110 parse_hr_min_sec (time_t start, cch_t * pz) in parse_hr_min_sec() 146 static time_t 147 parse_scaled_value (time_t base, cch_t ** ppz, cch_t * endp, int scale) in parse_scaled_value() 150 time_t val; in parse_scaled_value() 173 static time_t 176 time_t res = 0; in parse_year_month_day() [all …]
|
| /freebsd-11-stable/contrib/tzcode/zic/ |
| HD | zdump.c | 149 static time_t absolute_min_time; 150 static time_t absolute_max_time; 160 static time_t hunt(char * name, time_t lot, time_t hit); 162 static void show(char * zone, time_t t, int v); 164 static time_t yeartot(long y); 171 time_t * tp; in my_localtime() 178 register time_t t; 244 register time_t cutlotime; 245 register time_t cuthitime; 247 time_t now; [all …]
|
| /freebsd-11-stable/include/ |
| HD | time.h | 65 typedef __time_t time_t; typedef 148 char *ctime(const time_t *); 150 double difftime(time_t, time_t); 153 struct tm *gmtime(const time_t *); 154 struct tm *localtime(const time_t *); 155 time_t mktime(struct tm *); 158 time_t time(time_t *); 186 char *ctime_r(const time_t *, char *); 187 struct tm *gmtime_r(const time_t *, struct tm *); 188 struct tm *localtime_r(const time_t *, struct tm *); [all …]
|
| HD | timeconv.h | 48 typedef __time_t time_t; typedef 52 time_t _time32_to_time(__int32_t t32); 53 __int32_t _time_to_time32(time_t t); 54 time_t _time64_to_time(__int64_t t64); 55 __int64_t _time_to_time64(time_t t); 56 long _time_to_long(time_t t); 57 time_t _long_to_time(long tlong); 58 int _time_to_int(time_t t); 59 time_t _int_to_time(int tint);
|
| /freebsd-11-stable/contrib/tzcode/stdtime/ |
| HD | localtime.c | 129 time_t ls_trans; /* transition time */ 149 time_t ats[TZ_MAX_TIMES]; 174 static time_t detzcode64(const char * codep); 175 static int differ_by_repeat(time_t t1, time_t t0); 185 static struct tm * gmtsub(const time_t * timep, long offset, 187 static struct tm * localsub(const time_t * timep, long offset, 197 static time_t time1(struct tm * tmp, 198 struct tm * (*funcp)(const time_t *, 201 static time_t time2(struct tm *tmp, 202 struct tm * (*funcp)(const time_t *, [all …]
|
| HD | difftime.c | 21 difftime(const time_t time1, const time_t time0) in difftime() 28 if (sizeof (double) > sizeof (time_t)) in difftime() 30 if (!TYPE_INTEGRAL(time_t)) { in difftime() 36 if (!TYPE_SIGNED(time_t)) { in difftime() 57 if (sizeof (unsigned long) < sizeof (time_t)) in difftime()
|
| /freebsd-11-stable/contrib/ldns/ldns/ |
| HD | duration.h | 53 time_t years; 54 time_t months; 55 time_t weeks; 56 time_t days; 57 time_t hours; 58 time_t minutes; 59 time_t seconds; 100 time_t ldns_duration2time(ldns_duration_type* duration);
|
| /freebsd-11-stable/contrib/libarchive/libarchive/ |
| HD | archive_getdate.c | 58 struct token { int token; time_t value; }; 76 time_t Timezone; /* Seconds offset from GMT */ 77 time_t Day; 78 time_t Hour; 79 time_t Minutes; 80 time_t Month; 81 time_t Seconds; 82 time_t Year; 86 time_t DayOrdinal; /* "3" in "3rd Tuesday" */ 87 time_t DayNumber; /* "Tuesday" in "3rd Tuesday" */ [all …]
|
| /freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
| HD | maketime.c | 50 static time_t maketime P((struct partime const*,time_t)); 89 time_t unixtime; in time2tm() 104 time_t 116 time_t difference_in_years = ay - by; 117 time_t difference_in_days = ( 192 time_t 198 static time_t t_cache[2]; 201 time_t d, gt; 255 static time_t 258 time_t default_time; [all …]
|
| HD | rcstime.c | 45 time_t unixtime; in time2date() 62 static time_t str2time_checked P((char const*,time_t,long)); 63 static time_t 66 time_t default_time; 69 time_t t = str2time(source, default_time, default_zone); 95 time_t 100 return str2time_checked(date2str(source, s), (time_t)0, 0); 156 time_t u = tm2time(&t, 0), d; 159 zone = (time_t)-1 < 0 || d < -d ? d : -(long)-d;
|
| /freebsd-11-stable/contrib/unbound/services/cache/ |
| HD | infra.h | 77 time_t ttl; 80 time_t probedelay; 184 time_t timestamp[RATE_WINDOW]; 252 time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to); 271 uint8_t* name, size_t namelen, time_t timenow, int dnsseclame, 291 int roundtrip, int orig_rtt, time_t timenow); 319 uint8_t* name, size_t namelen, int edns_version, time_t timenow); 342 int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow); 362 size_t namelen, struct rtt_info* rtt, int* delay, time_t timenow, 378 size_t namelen, time_t timenow, struct query_info* qinfo, [all …]
|
| HD | dns.h | 94 struct reply_info* rep, int is_referral, time_t leeway, int pside, 118 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, 136 struct regional* region, struct dns_msg** msg, time_t timenow); 152 struct reply_info* r, struct regional* region, time_t now, 211 struct ub_packed_rrset_key* rrset, time_t now); 223 struct ub_packed_rrset_key* rrset, time_t now); 236 time_t adjust, uint16_t flags); 242 uint16_t flags, time_t now, int wr);
|
| /freebsd-11-stable/contrib/llvm-project/libcxx/include/ |
| HD | ctime | 29 time_t 34 double difftime(time_t time1, time_t time0); 35 time_t mktime(tm* timeptr); 36 time_t time(time_t* timer); 38 char* ctime(const time_t* timer); 39 tm* gmtime(const time_t* timer); 40 tm* localtime(const time_t* timer); 59 using ::time_t;
|
| /freebsd-11-stable/contrib/amd/amd/ |
| HD | mapc.c | 139 static int root_init(mnt_map *, char *, time_t *); 142 static int error_init(mnt_map *, char *, time_t *); 144 static int error_search(mnt_map *, char *, char *, char **, time_t *); 145 static int error_mtime(mnt_map *, char *, time_t *); 149 extern int passwd_init(mnt_map *, char *, time_t *); 150 extern int passwd_search(mnt_map *, char *, char *, char **, time_t *); 155 extern int amu_hesiod_init(mnt_map *, char *map, time_t *tp); 157 extern int hesiod_search(mnt_map *, char *, char *, char **, time_t *); 162 extern int amu_ldap_init(mnt_map *, char *map, time_t *tp); 163 extern int amu_ldap_search(mnt_map *, char *, char *, char **, time_t *); [all …]
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
| HD | t_getenv_thread.c | 55 time_t endtime; in thread_getenv_r() 57 endtime = *(time_t *)arg; in thread_getenv_r() 77 time_t endtime; in thread_putenv() 86 endtime = *(time_t *)arg; in thread_putenv() 104 time_t endtime; in thread_setenv() 106 endtime = *(time_t *)arg; in thread_setenv() 124 time_t endtime; in thread_unsetenv() 126 endtime = *(time_t *)arg; in thread_unsetenv() 151 time_t endtime; in ATF_TC_BODY() 176 time_t endtime; in ATF_TC_BODY() [all …]
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/time/ |
| HD | t_mktime.c | 47 time_t x; in ATF_TC_BODY() 68 time_t t; in ATF_TC_BODY() 75 ATF_REQUIRE_ERRNO(0, t != (time_t)-1); in ATF_TC_BODY() 87 time_t t; in ATF_TC_BODY() 95 ATF_REQUIRE_ERRNO(0, t == (time_t)0); in ATF_TC_BODY() 104 ATF_REQUIRE_ERRNO(0, t == (time_t)1); in ATF_TC_BODY() 119 ATF_REQUIRE_ERRNO(0, t == (time_t)-1); in ATF_TC_BODY() 131 ATF_REQUIRE_ERRNO(0, t == (time_t)-1); in ATF_TC_BODY() 142 ATF_REQUIRE_ERRNO(0, t == (time_t)-2); in ATF_TC_BODY()
|
| /freebsd-11-stable/crypto/heimdal/lib/asn1/ |
| HD | der-protos.h | 52 const time_t */*from*/, 53 time_t */*to*/); 97 const time_t */*from*/, 98 time_t */*to*/); 120 der_free_generalized_time (time_t */*t*/); 147 der_free_utctime (time_t */*t*/); 193 time_t */*data*/, 291 time_t */*data*/, 359 der_length_generalized_time (const time_t */*t*/); 392 der_length_utctime (const time_t */*t*/); [all …]
|
| /freebsd-11-stable/stand/i386/libi386/ |
| HD | time.c | 35 time_t getsecs(void); 70 time_t 71 time(time_t *t) in time() 73 static time_t lasttime; in time() 74 time_t now, check; in time() 95 time_t 98 time_t n = 0; in getsecs()
|
| /freebsd-11-stable/sbin/dhclient/ |
| HD | dhcpd.h | 122 time_t expiry, renewal, rebind; 157 time_t timeout; 158 time_t initial_interval; 159 time_t retry_interval; 160 time_t select_interval; 161 time_t reboot_timeout; 162 time_t backoff_cutoff; 181 time_t first_sending; 182 time_t interval; 217 time_t when; [all …]
|
| /freebsd-11-stable/contrib/ntp/libntp/ |
| HD | mktime.c | 68 #error libntp supplied mktime()/timegm() do not support 64-bit time_t 181 static time_t 192 time_t t; in time2() 231 t = (t < 0) ? 0 : ((time_t) 1 << bits); in time2() 244 t -= (time_t) 1 << bits; in time2() 245 else t += (time_t) 1 << bits; in time2() 266 static time_t 271 register time_t t; in time1() 283 time_t 294 time_t [all …]
|
| /freebsd-11-stable/contrib/unbound/validator/ |
| HD | autotrust.h | 75 time_t last_change; 104 time_t last_queried; 106 time_t last_success; 108 time_t next_probe_time; 111 time_t query_interval; 113 time_t retry_time; 158 time_t autr_probe_timer(struct module_env* env);
|