/dragonfly/bin/date/ |
H A D | date.c | 83 struct tm lt; in main() local 228 struct tm *lt; in setthetime() local 234 lt = localtime(&tval); in setthetime() 255 lt = localtime(&tval); in setthetime() 262 if (lt->tm_sec > 61) in setthetime() 265 lt->tm_sec = 0; in setthetime() 287 if (lt->tm_mon > 12) in setthetime() 293 if (lt->tm_mday > 31) in setthetime() 298 if (lt->tm_hour > 23) in setthetime() 303 if (lt->tm_min > 59) in setthetime() [all …]
|
/dragonfly/lib/libutil/ |
H A D | login_ok.c | 94 struct login_time *lt = NULL; in login_timelist() local 102 lt = *ltptr; in login_timelist() 105 *ltptr = lt; in login_timelist() 107 if (lt != NULL) { in login_timelist() 111 lt[i] = parse_lt(tl[i]); in login_timelist() 112 lt[i].lt_dow = LTM_NONE; in login_timelist() 115 return lt; in login_timelist() 229 struct login_time *lt; in auth_timeok() local 231 lt = login_timelist(lc, "times.allow", <imesno, <imes); in auth_timeok() 232 if (lt != NULL && in_ltms(lt, tptr, NULL) == -1) in auth_timeok() [all …]
|
/dragonfly/sbin/shutdown/ |
H A D | shutdown.c | 414 struct tm *lt; in getoffset() local 474 this_year = lt->tm_year; in getoffset() 482 lt->tm_year += 100; in getoffset() 487 lt->tm_mon = ATOI2(timearg); in getoffset() 488 if (--lt->tm_mon < 0 || lt->tm_mon > 11) in getoffset() 494 if (lt->tm_mday < 1 || lt->tm_mday > 31) in getoffset() 499 if (lt->tm_hour < 0 || lt->tm_hour > 23) in getoffset() 501 lt->tm_min = ATOI2(timearg); in getoffset() 502 if (lt->tm_min < 0 || lt->tm_min > 59) in getoffset() 504 lt->tm_sec = 0; in getoffset() [all …]
|
/dragonfly/usr.bin/chpass/ |
H A D | util.c | 76 static struct tm *lt; in atot() local 86 if (!lt) { in atot() 89 lt = localtime(&tval); in atot() 120 lt->tm_year = year - 1900; in atot() 121 lt->tm_mon = month - 1; in atot() 122 lt->tm_mday = day; in atot() 123 lt->tm_hour = 0; in atot() 124 lt->tm_min = 0; in atot() 125 lt->tm_sec = 0; in atot() 126 lt->tm_isdst = -1; in atot() [all …]
|
/dragonfly/bin/pax/ |
H A D | sel_subs.c | 526 struct tm *lt; in str_sec() local 529 lt = localtime(tval); in str_sec() 537 if ((lt->tm_sec = ATOI2(dot)) > 61) in str_sec() 540 lt->tm_sec = 0; in str_sec() 548 if ((lt->tm_year = ATOI2(str)) < 69) in str_sec() 549 lt->tm_year += 100; in str_sec() 557 if ((lt->tm_mon = ATOI2(str)) > 12) in str_sec() 559 --lt->tm_mon; in str_sec() 566 if ((lt->tm_mday = ATOI2(str)) > 31) in str_sec() 582 if ((lt->tm_min = ATOI2(str)) > 59) in str_sec() [all …]
|
/dragonfly/contrib/cvs-1.12/lib/ |
H A D | mktime.c | 556 if (tk != tl || !lt || not_equal_tm (&tmk, lt)) in check_result() 559 print_tm (lt); in check_result() 574 struct tm *lt; in main() local 592 if (lt) in main() 594 tml = *lt; in main() 595 lt = &tml; in main() 611 lt = localtime (&tl); in main() 612 if (lt) in main() 614 tmk = tml = *lt; in main() 632 if (lt) in main() [all …]
|
/dragonfly/usr.bin/unifdef/ |
H A D | unifdef.c | 84 #define linetype_if2elif(lt) ((Linetype)(lt - LT_IF + LT_ELIF)) argument 85 #define linetype_2dodgy(lt) ((Linetype)(lt + LT_DODGY)) argument 963 Linetype lt; in eval_unary() local 972 if (lt != LT_IF) { in eval_unary() 1008 lt = LT_IF; in eval_unary() 1019 lt = LT_IF; in eval_unary() 1023 lt = LT_FALSE; in eval_unary() 1039 return (lt); in eval_unary() 1051 Linetype lt, rt; in eval_table() local 1070 lt = op->fn(valp, lt, *valp, rt, val); in eval_table() [all …]
|
/dragonfly/contrib/ldns/ |
H A D | error.c | 193 ldns_lookup_table *lt; in ldns_get_errorstr_by_id() local 195 lt = ldns_lookup_by_id(ldns_error_str, err); in ldns_get_errorstr_by_id() 197 if (lt) { in ldns_get_errorstr_by_id() 198 return lt->name; in ldns_get_errorstr_by_id()
|
H A D | host2str.c | 203 if (lt && lt->name) { in ldns_pkt_opcode2buffer_str() 215 if (lt && lt->name) { in ldns_pkt_rcode2buffer_str() 229 if (lt && lt->name) { in ldns_algorithm2buffer_str() 243 if (lt && lt->name) { in ldns_cert_algorithm2buffer_str() 568 ldns_lookup_table *lt; in ldns_rdf2buffer_str_class() local 571 if (lt) { in ldns_rdf2buffer_str_class() 583 ldns_lookup_table *lt; in ldns_rdf2buffer_str_cert_alg() local 585 if (lt) { in ldns_rdf2buffer_str_cert_alg() 677 if (lt) { in ldns_rr_class2buffer_str() 2227 if (lt && lt->name) { in ldns_edns_dau2buffer_str() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | genflags.c | 148 const char *lt, *gt; in gen_insn() local 152 lt = strchr (name, '<'); in gen_insn() 153 if (lt && strchr (lt + 1, '>')) in gen_insn() 160 if (lt || gt) in gen_insn()
|
/dragonfly/games/hack/ |
H A D | hack.unix.c | 122 struct tm *lt = getlt(); in getdatestr() local 125 lt->tm_year % 100, lt->tm_mon + 1, lt->tm_mday); in getdatestr() 134 struct tm *lt = getlt(); in phase_of_the_moon() local 137 diy = lt->tm_yday; in phase_of_the_moon() 138 golden = (lt->tm_year % 19) + 1; in phase_of_the_moon()
|
/dragonfly/lib/libc/string/ |
H A D | timingsafe_memcmp.c | 30 int lt = (p1[i] - p2[i]) >> CHAR_BIT; in timingsafe_memcmp() local 36 int cmp = lt - gt; in timingsafe_memcmp() 42 done |= lt | gt; in timingsafe_memcmp()
|
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/ |
H A D | char_traits.h | 102 lt(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY() function 150 if (lt(__s1[__i], __s2[__i])) in _GLIBCXX_VISIBILITY() 152 else if (lt(__s2[__i], __s1[__i])) in _GLIBCXX_VISIBILITY() 252 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 323 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 402 lt(const char_type& __c1, const char_type& __c2) noexcept 409 if (lt(__s1[__i], __s2[__i])) 411 else if (lt(__s2[__i], __s1[__i])) 495 lt(const char_type& __c1, const char_type& __c2) noexcept 502 if (lt(__s1[__i], __s2[__i])) [all …]
|
/dragonfly/usr.bin/rwall/ |
H A D | rwall.c | 127 struct tm *lt; in makemsg() local 149 lt = localtime(&now); in makemsg() 163 lt->tm_hour, lt->tm_min); in makemsg()
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/ |
H A D | char_traits.h | 104 lt(const char_type& __c1, const char_type& __c2) in _GLIBCXX_VISIBILITY() function 152 if (lt(__s1[__i], __s2[__i])) in _GLIBCXX_VISIBILITY() 154 else if (lt(__s2[__i], __s1[__i])) in _GLIBCXX_VISIBILITY() 294 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 407 lt(const char_type& __c1, const char_type& __c2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 527 lt(const char_type& __c1, const char_type& __c2) noexcept 534 if (lt(__s1[__i], __s2[__i])) 536 else if (lt(__s2[__i], __s1[__i])) 624 lt(const char_type& __c1, const char_type& __c2) noexcept 631 if (lt(__s1[__i], __s2[__i])) [all …]
|
/dragonfly/usr.bin/wall/ |
H A D | wall.c | 168 struct tm *lt; in makemsg() local 193 lt = localtime(&now); in makemsg() 209 lt->tm_hour, lt->tm_min, lt->tm_zone); in makemsg()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | genflags.c | 195 const char *lt, *gt; in gen_insn() local 199 lt = strchr (name, '<'); in gen_insn() 200 if (lt && strchr (lt + 1, '>')) in gen_insn() 208 if (lt || gt) in gen_insn()
|
/dragonfly/usr.bin/calendar/ |
H A D | sun.c | 319 double lt = depression_moment(tapprox, loc->latitude, loc->longitude, in sunrise() local 321 if (isnan(lt)) in sunrise() 324 return lt - loc->longitude / 360.0 + loc->zone; in sunrise() 339 double lt = depression_moment(tapprox, loc->latitude, loc->longitude, in sunset() local 341 if (isnan(lt)) in sunset() 344 return lt - loc->longitude / 360.0 + loc->zone; in sunset()
|
/dragonfly/usr.sbin/makefs/msdos/ |
H A D | msdosfs_vnops.c | 116 struct tm lt = {0}; in unix2fattime() local 119 localtime_r(&t1, <); in unix2fattime() 121 unsigned long fat_time = ((lt.tm_year - 80) << 25) | in unix2fattime() 122 ((lt.tm_mon + 1) << 21) | in unix2fattime() 123 (lt.tm_mday << 16) | in unix2fattime() 124 (lt.tm_hour << 11) | in unix2fattime() 125 (lt.tm_min << 5) | in unix2fattime() 126 (lt.tm_sec >> 1); in unix2fattime()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_lha.c | 126 } lt, pt; member 1910 ds->lt.len_bits = 9; in lzh_decode_init() 2257 ds->lt.len_avail = lzh_br_bits(br, ds->lt.len_bits); in lzh_read_blocks() 2264 ds->lt.len_bits)) { in lzh_read_blocks() 2276 } else if (ds->lt.len_avail > ds->lt.len_size) in lzh_read_blocks() 2279 memset(ds->lt.freq, 0, sizeof(ds->lt.freq)); in lzh_read_blocks() 2302 ds->lt.freq[c]++; in lzh_read_blocks() 2303 ds->lt.bitlen[i++] = c; in lzh_read_blocks() 2306 ds->lt.bitlen[i++] = 0; in lzh_read_blocks() 2328 if (i > ds->lt.len_avail || in lzh_read_blocks() [all …]
|
/dragonfly/crypto/libressl/crypto/bn/ |
H A D | bn_lcl.h | 432 BN_ULONG m,m1,lt,ht; \ 434 lt=l; \ 436 m =(bh)*(lt); \ 437 lt=(bl)*(lt); \ 443 lt=(lt+m1)&BN_MASK2; if (lt < m1) ht++; \ 444 (l)=lt; \
|
/dragonfly/usr.bin/lt/ |
H A D | Makefile | 1 SCRIPTS=lt.sh 2 MAN=lt.1
|
/dragonfly/usr.bin/calendar/calendars/hu_HU.UTF-8/ |
H A D | calendar.unnepek | 37 /* Téli és nyári időszámítás közötti váltás */ 38 03/SundayLast Váltás a nyári időszámításra 39 10/SundayLast Váltás a téli időszámításra
|
/dragonfly/tools/regression/bin/sh/builtins/ |
H A D | cd2.0 | 5 [ "$L" -lt 100000 ] 2>/dev/null || L=4096 11 while [ ${#D} -lt $L ]; do
|
/dragonfly/usr.bin/at/ |
H A D | parsetime.c | 409 struct tm *lt; in assign_date() local 413 lt = localtime(&now); in assign_date() 416 year += rounddown(lt->tm_year, 100); in assign_date() 418 if (year == lt->tm_year - 1) year++; in assign_date() 419 else if (year < lt->tm_year) in assign_date()
|