Symbol: lt
bin/date/date.c
142
struct tm *lt, tm;
bin/date/date.c
153
lt = localtime(&tval);
bin/date/date.c
154
if (lt == NULL)
bin/date/date.c
157
lt->tm_isdst = -1; /* correct for DST */
bin/date/date.c
160
tm = *lt;
bin/date/date.c
165
lt = &tm;
bin/date/date.c
181
lt->tm_sec = ATOI2(dot);
bin/date/date.c
182
if (lt->tm_sec > 61)
bin/date/date.c
185
lt->tm_sec = 0;
bin/date/date.c
189
lt->tm_year = (ATOI2(p) * 100) - 1900;
bin/date/date.c
195
lt->tm_year = ((lt->tm_year / 100) * 100);
bin/date/date.c
197
lt->tm_year += ATOI2(p);
bin/date/date.c
200
lt->tm_mon = ATOI2(p);
bin/date/date.c
201
if ((lt->tm_mon > 12) || !lt->tm_mon)
bin/date/date.c
203
--lt->tm_mon; /* time struct is 0 - 11 */
bin/date/date.c
206
lt->tm_mday = ATOI2(p);
bin/date/date.c
207
if ((lt->tm_mday > 31) || !lt->tm_mday)
bin/date/date.c
211
lt->tm_hour = ATOI2(p);
bin/date/date.c
212
if (lt->tm_hour > 23)
bin/date/date.c
216
lt->tm_min = ATOI2(p);
bin/date/date.c
217
if (lt->tm_min > 59)
bin/date/date.c
227
tval = timegm(lt);
bin/date/date.c
229
tval = mktime(lt);
bin/pax/sel_subs.c
556
struct tm *lt;
bin/pax/sel_subs.c
575
if ((lt = localtime(tval)) == NULL)
bin/pax/sel_subs.c
581
lt->tm_sec = ATOI2(dot);
bin/pax/sel_subs.c
582
if (lt->tm_sec > 61)
bin/pax/sel_subs.c
586
lt->tm_sec = 0;
bin/pax/sel_subs.c
591
lt->tm_year = (bigyear * 100) - 1900;
bin/pax/sel_subs.c
596
lt->tm_year += ATOI2(p);
bin/pax/sel_subs.c
598
lt->tm_year = ATOI2(p);
bin/pax/sel_subs.c
599
if (lt->tm_year < 69) /* hack for 2000 ;-} */
bin/pax/sel_subs.c
600
lt->tm_year += (2000 - 1900);
bin/pax/sel_subs.c
604
lt->tm_mon = ATOI2(p);
bin/pax/sel_subs.c
605
if ((lt->tm_mon > 12) || !lt->tm_mon)
bin/pax/sel_subs.c
607
--lt->tm_mon; /* time struct is 0 - 11 */
bin/pax/sel_subs.c
610
lt->tm_mday = ATOI2(p);
bin/pax/sel_subs.c
611
if ((lt->tm_mday > 31) || !lt->tm_mday)
bin/pax/sel_subs.c
615
lt->tm_hour = ATOI2(p);
bin/pax/sel_subs.c
616
if (lt->tm_hour > 23)
bin/pax/sel_subs.c
620
lt->tm_min = ATOI2(p);
bin/pax/sel_subs.c
621
if (lt->tm_min > 59)
bin/pax/sel_subs.c
629
if ((*tval = mktime(lt)) == -1)
games/hack/hack.unix.c
115
struct tm *lt = getlt();
games/hack/hack.unix.c
118
lt->tm_year % 100, lt->tm_mon + 1, lt->tm_mday);
games/hack/hack.unix.c
130
struct tm *lt = getlt();
games/hack/hack.unix.c
133
diy = lt->tm_yday;
games/hack/hack.unix.c
134
golden = (lt->tm_year % 19) + 1;
games/pom/pom.c
199
struct tm *lt;
games/pom/pom.c
212
lt = localtime(&tval);
games/pom/pom.c
213
lt->tm_sec = 0;
games/pom/pom.c
214
lt->tm_min = 0;
games/pom/pom.c
219
lt->tm_year = (bigyear * 100) - 1900;
games/pom/pom.c
224
lt->tm_year += ATOI2(p);
games/pom/pom.c
226
lt->tm_year = ATOI2(p);
games/pom/pom.c
227
if (lt->tm_year < 69) /* hack for 2000 */
games/pom/pom.c
228
lt->tm_year += 100;
games/pom/pom.c
232
lt->tm_mon = ATOI2(p);
games/pom/pom.c
233
if ((lt->tm_mon > 12) || !lt->tm_mon)
games/pom/pom.c
235
--lt->tm_mon; /* time struct is 0 - 11 */
games/pom/pom.c
238
lt->tm_mday = ATOI2(p);
games/pom/pom.c
239
if ((lt->tm_mday > 31) || !lt->tm_mday)
games/pom/pom.c
243
lt->tm_hour = ATOI2(p);
games/pom/pom.c
244
if (lt->tm_hour > 23)
games/pom/pom.c
252
if ((tval = mktime(lt)) == -1)
lib/libc/string/timingsafe_memcmp.c
30
int lt = (p1[i] - p2[i]) >> CHAR_BIT;
lib/libc/string/timingsafe_memcmp.c
36
int cmp = lt - gt;
lib/libc/string/timingsafe_memcmp.c
42
done |= lt | gt;
regress/lib/libc/cephes/ieee.c
1412
long lt, lta, ltb;
regress/lib/libc/cephes/ieee.c
1436
lt = lta - ltb;
regress/lib/libc/cephes/ieee.c
1437
if( lt > 0L )
regress/lib/libc/cephes/ieee.c
1443
lt = -lt;
regress/lib/libc/cephes/ieee.c
1446
if( lt != 0L )
regress/lib/libc/cephes/ieee.c
1448
if( lt < (long )(-NBITS-1) )
regress/lib/libc/cephes/ieee.c
1450
k = (int )lt;
regress/lib/libc/cephes/ieee.c
1528
long lt, lta, ltb;
regress/lib/libc/cephes/ieee.c
1605
lt = ltb - lta + EXONE;
regress/lib/libc/cephes/ieee.c
1606
emdnorm( bi, i, 0, lt, 64 );
regress/lib/libc/cephes/ieee.c
1630
long lt, lta, ltb;
regress/lib/libc/cephes/ieee.c
1702
lt = lta + ltb - (EXONE - 1);
regress/lib/libc/cephes/ieee.c
1703
emdnorm( bi, j, 0, lt, 64 );
sbin/iked/parse.y
2717
uint32_t ikelifetime, struct iked_lifetime *lt,
sbin/iked/parse.y
2869
if (lt)
sbin/iked/parse.y
2870
pol.pol_lifetime = *lt;
sbin/iked/pfkey.c
474
struct iked_lifetime *lt;
sbin/iked/pfkey.c
493
lt = &pol->pol_lifetime;
sbin/iked/pfkey.c
601
!sa->csa_persistent && (lt->lt_bytes || lt->lt_seconds)) {
sbin/iked/pfkey.c
604
sa_ltime_hard.sadb_lifetime_bytes = lt->lt_bytes;
sbin/iked/pfkey.c
605
sa_ltime_hard.sadb_lifetime_addtime = lt->lt_seconds;
sbin/shutdown/shutdown.c
111
struct tm *lt;
sbin/shutdown/shutdown.c
225
lt = localtime(&shuttime);
sbin/shutdown/shutdown.c
226
if (lt != NULL) {
sbin/shutdown/shutdown.c
227
strftime(when, sizeof(when), "%a %b %e %T %Z %Y", lt);
sbin/shutdown/shutdown.c
306
struct tm *lt;
sbin/shutdown/shutdown.c
347
lt = localtime(&shuttime);
sbin/shutdown/shutdown.c
348
if (lt != NULL) {
sbin/shutdown/shutdown.c
349
strftime(when, sizeof(when), "%H:%M %Z", lt);
sbin/shutdown/shutdown.c
499
struct tm *lt;
sbin/shutdown/shutdown.c
531
lt = localtime(&now); /* current time val */
sbin/shutdown/shutdown.c
533
if (lt == NULL)
sbin/shutdown/shutdown.c
538
this_year = lt->tm_year;
sbin/shutdown/shutdown.c
539
lt->tm_year = ATOI2(timearg);
sbin/shutdown/shutdown.c
545
if (lt->tm_year < (this_year % 100) - 1)
sbin/shutdown/shutdown.c
546
lt->tm_year += 100;
sbin/shutdown/shutdown.c
548
lt->tm_year += (this_year - (this_year % 100));
sbin/shutdown/shutdown.c
551
lt->tm_mon = ATOI2(timearg);
sbin/shutdown/shutdown.c
552
if (--lt->tm_mon < 0 || lt->tm_mon > 11)
sbin/shutdown/shutdown.c
556
lt->tm_mday = ATOI2(timearg);
sbin/shutdown/shutdown.c
557
if (lt->tm_mday < 1 || lt->tm_mday > 31)
sbin/shutdown/shutdown.c
561
lt->tm_hour = ATOI2(timearg);
sbin/shutdown/shutdown.c
562
if (lt->tm_hour < 0 || lt->tm_hour > 23)
sbin/shutdown/shutdown.c
564
lt->tm_min = ATOI2(timearg);
sbin/shutdown/shutdown.c
565
if (lt->tm_min < 0 || lt->tm_min > 59)
sbin/shutdown/shutdown.c
567
lt->tm_sec = 0;
sbin/shutdown/shutdown.c
568
if ((shuttime = mktime(lt)) == -1)
sbin/shutdown/shutdown.c
571
strftime(when, sizeof(when), "%a %b %e %T %Z %Y", lt);
sbin/unwind/libunbound/sldns/rrdef.c
749
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/rrdef.c
761
lt = sldns_lookup_by_name(sldns_rr_classes, name);
sbin/unwind/libunbound/sldns/rrdef.c
762
if (lt) {
sbin/unwind/libunbound/sldns/rrdef.c
763
return lt->id;
sbin/unwind/libunbound/sldns/str2wire.c
1007
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/str2wire.c
1008
lt = sldns_lookup_by_id(sldns_wireparse_errors, LDNS_WIREPARSE_ERROR(e));
sbin/unwind/libunbound/sldns/str2wire.c
1009
return lt?lt->name:"unknown error";
sbin/unwind/libunbound/sldns/str2wire.c
2096
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_cert_algorithms,
sbin/unwind/libunbound/sldns/str2wire.c
2100
if(lt) {
sbin/unwind/libunbound/sldns/str2wire.c
2101
sldns_write_uint16(rd, (uint16_t)lt->id);
sbin/unwind/libunbound/sldns/str2wire.c
2116
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_algorithms, str);
sbin/unwind/libunbound/sldns/str2wire.c
2119
if(lt) {
sbin/unwind/libunbound/sldns/str2wire.c
2120
rd[0] = (uint8_t)lt->id;
sbin/unwind/libunbound/sldns/str2wire.c
2131
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_tsig_errors, str);
sbin/unwind/libunbound/sldns/str2wire.c
2134
if(lt) {
sbin/unwind/libunbound/sldns/str2wire.c
2135
sldns_write_uint16(rd, (uint16_t)lt->id);
sbin/unwind/libunbound/sldns/wire2str.c
1657
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/wire2str.c
1661
lt = sldns_lookup_by_id(sldns_cert_algorithms, data);
sbin/unwind/libunbound/sldns/wire2str.c
1662
if(lt && lt->name)
sbin/unwind/libunbound/sldns/wire2str.c
1663
w = sldns_str_print(s, sl, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
2106
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/wire2str.c
2110
lt = sldns_lookup_by_id(sldns_tsig_errors, data);
sbin/unwind/libunbound/sldns/wire2str.c
2111
if(lt && lt->name)
sbin/unwind/libunbound/sldns/wire2str.c
2112
w = sldns_str_print(s, sl, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
2201
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/wire2str.c
2205
lt = sldns_lookup_by_id(sldns_algorithms, (int)data[i]);
sbin/unwind/libunbound/sldns/wire2str.c
2206
if(lt && lt->name)
sbin/unwind/libunbound/sldns/wire2str.c
2207
w += sldns_str_print(s, sl, " %s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
2216
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/wire2str.c
2220
lt = sldns_lookup_by_id(sldns_hashes, (int)data[i]);
sbin/unwind/libunbound/sldns/wire2str.c
2221
if(lt && lt->name)
sbin/unwind/libunbound/sldns/wire2str.c
2222
w += sldns_str_print(s, sl, " %s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
2329
sldns_lookup_table *lt;
sbin/unwind/libunbound/sldns/wire2str.c
2340
lt = sldns_lookup_by_id(sldns_edns_ede_codes, (int)ede_code);
sbin/unwind/libunbound/sldns/wire2str.c
2341
if(lt && lt->name)
sbin/unwind/libunbound/sldns/wire2str.c
2342
w += sldns_str_print(s, sl, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
944
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_opcodes, opcode);
sbin/unwind/libunbound/sldns/wire2str.c
945
if (lt && lt->name) {
sbin/unwind/libunbound/sldns/wire2str.c
946
return sldns_str_print(s, slen, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
953
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_rcodes, rcode);
sbin/unwind/libunbound/sldns/wire2str.c
954
if (lt && lt->name) {
sbin/unwind/libunbound/sldns/wire2str.c
955
return sldns_str_print(s, slen, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
962
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_rr_classes,
sbin/unwind/libunbound/sldns/wire2str.c
964
if (lt && lt->name) {
sbin/unwind/libunbound/sldns/wire2str.c
965
return sldns_str_print(s, slen, "%s", lt->name);
sbin/unwind/libunbound/sldns/wire2str.c
982
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_edns_options,
sbin/unwind/libunbound/sldns/wire2str.c
984
if (lt && lt->name) {
sbin/unwind/libunbound/sldns/wire2str.c
985
return sldns_str_print(s, slen, "%s", lt->name);
sbin/unwind/libunbound/validator/val_utils.c
896
sldns_lookup_table *lt;
sbin/unwind/libunbound/validator/val_utils.c
898
lt = sldns_lookup_by_id(sldns_hashes,
sbin/unwind/libunbound/validator/val_utils.c
900
if(lt) snprintf(herr, sizeof(herr), "%s", lt->name);
sbin/unwind/libunbound/validator/val_utils.c
903
lt = sldns_lookup_by_id(sldns_algorithms,
sbin/unwind/libunbound/validator/val_utils.c
905
if(lt) snprintf(aerr, sizeof(aerr), "%s", lt->name);
sys/arch/mips64/mips64/fp_emulate.c
901
uint cc, lt, eq, uo;
sys/arch/mips64/mips64/fp_emulate.c
908
lt = eq = uo = 0;
sys/arch/mips64/mips64/fp_emulate.c
931
lt = 1 << 2;
sys/arch/mips64/mips64/fp_emulate.c
950
lt = 1 << 2;
sys/arch/mips64/mips64/fp_emulate.c
962
if ((uo | eq | lt) & op)
sys/arch/sparc64/dev/pci_machdep.c
261
int bus_frequency, lt, cl, cacheline;
sys/arch/sparc64/dev/pci_machdep.c
322
lt = min(PCI_MIN_GNT(ic) * bus_frequency / 4, 255);
sys/arch/sparc64/dev/pci_machdep.c
323
if (lt == 0 || lt < PCI_LATTIMER(bhlc))
sys/arch/sparc64/dev/pci_machdep.c
324
lt = PCI_LATTIMER(bhlc);
sys/arch/sparc64/dev/pci_machdep.c
332
bhlc |= (lt << PCI_LATTIMER_SHIFT) |
sys/netinet6/in6.c
551
struct in6_addrlifetime *lt;
sys/netinet6/in6.c
626
lt = &ifra->ifra_lifetime;
sys/netinet6/in6.c
627
if (lt->ia6t_pltime > lt->ia6t_vltime)
sys/netinet6/in6.c
629
if (lt->ia6t_vltime == 0 && ia6 == NULL)
usr.bin/at/at.c
759
struct tm *lt;
usr.bin/at/at.c
763
if (time(&now) == (time_t)-1 || (lt = localtime(&now)) == NULL)
usr.bin/at/at.c
774
lt->tm_sec = 0;
usr.bin/at/at.c
779
lt->tm_sec = ATOI2(dot);
usr.bin/at/at.c
780
if (lt->tm_sec > 61) /* could be leap second */
usr.bin/at/at.c
787
lt->tm_year = ATOI2(arg) * 100;
usr.bin/at/at.c
788
lt->tm_year -= 1900; /* Convert to Unix time */
usr.bin/at/at.c
794
lt->tm_year += yearset;
usr.bin/at/at.c
798
lt->tm_year = yearset;
usr.bin/at/at.c
800
lt->tm_year += 100;
usr.bin/at/at.c
804
lt->tm_mon = ATOI2(arg);
usr.bin/at/at.c
805
if (lt->tm_mon > 12 || lt->tm_mon == 0)
usr.bin/at/at.c
807
--lt->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/at/at.c
808
lt->tm_mday = ATOI2(arg);
usr.bin/at/at.c
809
if (lt->tm_mday > 31 || lt->tm_mday == 0)
usr.bin/at/at.c
811
lt->tm_hour = ATOI2(arg);
usr.bin/at/at.c
812
if (lt->tm_hour > 23)
usr.bin/at/at.c
814
lt->tm_min = ATOI2(arg);
usr.bin/at/at.c
815
if (lt->tm_min > 59)
usr.bin/at/at.c
822
lt->tm_isdst = -1; /* mktime will deduce DST. */
usr.bin/at/at.c
823
then = mktime(lt);
usr.bin/mandoc/mdoc_validate.c
1719
enum mdoc_list lt;
usr.bin/mandoc/mdoc_validate.c
1728
lt = nbl->norm->Bl.type;
usr.bin/mandoc/mdoc_validate.c
1730
switch (lt) {
usr.bin/mandoc/mdoc_validate.c
642
enum mdoc_list lt;
usr.bin/mandoc/mdoc_validate.c
657
lt = LIST__NONE;
usr.bin/mandoc/mdoc_validate.c
661
lt = LIST_bullet;
usr.bin/mandoc/mdoc_validate.c
664
lt = LIST_dash;
usr.bin/mandoc/mdoc_validate.c
667
lt = LIST_enum;
usr.bin/mandoc/mdoc_validate.c
670
lt = LIST_hyphen;
usr.bin/mandoc/mdoc_validate.c
673
lt = LIST_item;
usr.bin/mandoc/mdoc_validate.c
676
lt = LIST_tag;
usr.bin/mandoc/mdoc_validate.c
679
lt = LIST_diag;
usr.bin/mandoc/mdoc_validate.c
682
lt = LIST_hang;
usr.bin/mandoc/mdoc_validate.c
685
lt = LIST_ohang;
usr.bin/mandoc/mdoc_validate.c
688
lt = LIST_inset;
usr.bin/mandoc/mdoc_validate.c
691
lt = LIST_column;
usr.bin/mandoc/mdoc_validate.c
731
if (LIST__NONE == lt)
usr.bin/mandoc/mdoc_validate.c
752
n->norm->Bl.type = lt;
usr.bin/mandoc/mdoc_validate.c
753
if (LIST_column == lt) {
usr.bin/rwall/rwall.c
106
struct tm *lt;
usr.bin/rwall/rwall.c
123
lt = localtime(&now);
usr.bin/rwall/rwall.c
135
lt->tm_hour, lt->tm_min);
usr.bin/signify/sc25519.c
39
b = lt(r->v[i],pb);
usr.bin/signify/sc25519.c
87
b = lt(r1[i],pb);
usr.bin/ssh/ed25519.c
540
b = lt(r->v[i],pb);
usr.bin/ssh/ed25519.c
588
b = lt(r1[i],pb);
usr.bin/tmux/cmd-list-keys.c
100
struct key_binding **lt;
usr.bin/tmux/cmd-list-keys.c
107
lt = sort_get_key_bindings_table(t, &ltsz, sort_crit);
usr.bin/tmux/cmd-list-keys.c
113
memcpy(l + offset, lt, ltsz * sizeof *l);
usr.bin/touch/touch.c
162
struct tm *lt;
usr.bin/touch/touch.c
168
if ((lt = localtime(&tmptime)) == NULL)
usr.bin/touch/touch.c
178
lt->tm_sec = 0; /* Seconds defaults to 0. */
usr.bin/touch/touch.c
183
lt->tm_sec = ATOI2(dot);
usr.bin/touch/touch.c
184
if (lt->tm_sec > 61) /* Could be leap second. */
usr.bin/touch/touch.c
191
lt->tm_year = (ATOI2(arg) * 100) - 1900;
usr.bin/touch/touch.c
197
lt->tm_year += yearset;
usr.bin/touch/touch.c
201
lt->tm_year = yearset;
usr.bin/touch/touch.c
203
lt->tm_year += 100;
usr.bin/touch/touch.c
207
lt->tm_mon = ATOI2(arg);
usr.bin/touch/touch.c
208
if (lt->tm_mon > 12 || lt->tm_mon == 0)
usr.bin/touch/touch.c
210
--lt->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
211
lt->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
212
if (lt->tm_mday > 31 || lt->tm_mday == 0)
usr.bin/touch/touch.c
214
lt->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
215
if (lt->tm_hour > 23)
usr.bin/touch/touch.c
217
lt->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
218
if (lt->tm_min > 59)
usr.bin/touch/touch.c
225
lt->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
226
tsp[0].tv_sec = tsp[1].tv_sec = mktime(lt);
usr.bin/touch/touch.c
237
struct tm *lt;
usr.bin/touch/touch.c
241
if ((lt = localtime(&tmptime)) == NULL)
usr.bin/touch/touch.c
244
lt->tm_mon = ATOI2(arg); /* MMDDhhmm[YY] */
usr.bin/touch/touch.c
245
if (lt->tm_mon > 12 || lt->tm_mon == 0)
usr.bin/touch/touch.c
247
--lt->tm_mon; /* Convert from 01-12 to 00-11 */
usr.bin/touch/touch.c
248
lt->tm_mday = ATOI2(arg);
usr.bin/touch/touch.c
249
if (lt->tm_mday > 31 || lt->tm_mday == 0)
usr.bin/touch/touch.c
251
lt->tm_hour = ATOI2(arg);
usr.bin/touch/touch.c
252
if (lt->tm_hour > 23)
usr.bin/touch/touch.c
254
lt->tm_min = ATOI2(arg);
usr.bin/touch/touch.c
255
if (lt->tm_min > 59)
usr.bin/touch/touch.c
260
lt->tm_year = year;
usr.bin/touch/touch.c
262
lt->tm_year += 100;
usr.bin/touch/touch.c
264
lt->tm_sec = 0;
usr.bin/touch/touch.c
266
lt->tm_isdst = -1; /* Figure out DST. */
usr.bin/touch/touch.c
267
tsp[0].tv_sec = tsp[1].tv_sec = mktime(lt);
usr.bin/unifdef/unifdef.c
1016
lt = LT_IF;
usr.bin/unifdef/unifdef.c
1020
lt = *valp ? LT_TRUE : LT_FALSE;
usr.bin/unifdef/unifdef.c
1027
lt = LT_IF;
usr.bin/unifdef/unifdef.c
1031
lt = LT_FALSE;
usr.bin/unifdef/unifdef.c
1036
lt = *valp ? LT_TRUE : LT_FALSE;
usr.bin/unifdef/unifdef.c
1047
return (lt);
usr.bin/unifdef/unifdef.c
1059
Linetype lt, rt;
usr.bin/unifdef/unifdef.c
1063
lt = ops->inner(ops+1, valp, &cp);
usr.bin/unifdef/unifdef.c
1064
if (lt == LT_ERROR)
usr.bin/unifdef/unifdef.c
1078
lt = op->fn(valp, lt, *valp, rt, val);
usr.bin/unifdef/unifdef.c
1083
debug("eval%d lt = %s", prec(ops), linetype_name[lt]);
usr.bin/unifdef/unifdef.c
1084
return (lt);
usr.bin/unifdef/unifdef.c
93
#define linetype_if2elif(lt) ((Linetype)(lt - LT_IF + LT_ELIF))
usr.bin/unifdef/unifdef.c
94
#define linetype_2dodgy(lt) ((Linetype)(lt + LT_DODGY))
usr.bin/unifdef/unifdef.c
971
Linetype lt;
usr.bin/unifdef/unifdef.c
977
lt = eval_unary(ops, valp, &cp);
usr.bin/unifdef/unifdef.c
978
if (lt == LT_ERROR)
usr.bin/unifdef/unifdef.c
980
if (lt != LT_IF) {
usr.bin/unifdef/unifdef.c
982
lt = *valp ? LT_TRUE : LT_FALSE;
usr.bin/unifdef/unifdef.c
987
lt = eval_table(eval_ops, valp, &cp);
usr.bin/unifdef/unifdef.c
988
if (lt == LT_ERROR)
usr.bin/unifdef/unifdef.c
998
lt = *valp ? LT_TRUE : LT_FALSE;
usr.bin/wall/wall.c
178
struct tm *lt;
usr.bin/wall/wall.c
201
lt = localtime(&now);
usr.bin/wall/wall.c
218
lt->tm_hour, lt->tm_min);
usr.sbin/dhcpd/dhcp.c
707
struct lease lt;
usr.sbin/dhcpd/dhcp.c
847
memset(&lt, 0, sizeof lt);
usr.sbin/dhcpd/dhcp.c
853
lt.ip_addr = lease->ip_addr;
usr.sbin/dhcpd/dhcp.c
856
lt.starts = cur_time;
usr.sbin/dhcpd/dhcp.c
894
lt.ends = when;
usr.sbin/dhcpd/dhcp.c
896
lt.ends = state->offered_expiry;
usr.sbin/dhcpd/dhcp.c
900
lt.ends = (cur_time +
usr.sbin/dhcpd/dhcp.c
903
lt.ends = (cur_time +
usr.sbin/dhcpd/dhcp.c
907
lt.ends = lease->host->group->bootp_lease_cutoff;
usr.sbin/dhcpd/dhcp.c
909
lt.ends = lease->subnet->group->bootp_lease_cutoff;
usr.sbin/dhcpd/dhcp.c
910
state->offered_expiry = lt.ends;
usr.sbin/dhcpd/dhcp.c
911
lt.flags = BOOTP_LEASE;
usr.sbin/dhcpd/dhcp.c
917
if (packet->options[i].len <= sizeof lt.uid_buf) {
usr.sbin/dhcpd/dhcp.c
918
memcpy(lt.uid_buf, packet->options[i].data,
usr.sbin/dhcpd/dhcp.c
920
lt.uid = lt.uid_buf;
usr.sbin/dhcpd/dhcp.c
921
lt.uid_max = sizeof lt.uid_buf;
usr.sbin/dhcpd/dhcp.c
922
lt.uid_len = packet->options[i].len;
usr.sbin/dhcpd/dhcp.c
924
lt.uid_max = lt.uid_len = packet->options[i].len;
usr.sbin/dhcpd/dhcp.c
925
lt.uid = malloc(lt.uid_max);
usr.sbin/dhcpd/dhcp.c
926
if (!lt.uid)
usr.sbin/dhcpd/dhcp.c
928
memcpy(lt.uid, packet->options[i].data, lt.uid_len);
usr.sbin/dhcpd/dhcp.c
932
lt.host = lease->host;
usr.sbin/dhcpd/dhcp.c
933
lt.subnet = lease->subnet;
usr.sbin/dhcpd/dhcp.c
934
lt.shared_network = lease->shared_network;
usr.sbin/dhcpd/dhcp.c
946
lt.hardware_addr.hlen = packet->raw->hlen;
usr.sbin/dhcpd/dhcp.c
947
lt.hardware_addr.htype = packet->raw->htype;
usr.sbin/dhcpd/dhcp.c
948
memcpy(lt.hardware_addr.haddr, packet->raw->chaddr,
usr.sbin/dhcpd/dhcp.c
956
if (!(supersede_lease(lease, &lt, !offer ||
usr.sbin/dhcpd/memory.c
642
struct lease lt;
usr.sbin/dhcpd/memory.c
644
lt = *lease;
usr.sbin/dhcpd/memory.c
645
if (lt.ends > cur_time) {
usr.sbin/dhcpd/memory.c
646
lt.ends = cur_time;
usr.sbin/dhcpd/memory.c
647
supersede_lease(lease, &lt, 1);
usr.sbin/dhcpd/memory.c
663
struct lease lt;
usr.sbin/dhcpd/memory.c
668
lt = *lease;
usr.sbin/dhcpd/memory.c
669
lt.ends = cur_time + abtime;
usr.sbin/dhcpd/memory.c
672
lt.hardware_addr.htype = 0;
usr.sbin/dhcpd/memory.c
673
lt.hardware_addr.hlen = 0;
usr.sbin/dhcpd/memory.c
674
lt.uid = NULL;
usr.sbin/dhcpd/memory.c
675
lt.uid_len = 0;
usr.sbin/dhcpd/memory.c
676
supersede_lease(lease, &lt, 1);
usr.sbin/ldpd/labelmapping.c
445
struct label_tlv lt;
usr.sbin/ldpd/labelmapping.c
447
lt.type = htons(TLV_TYPE_GENERICLABEL);
usr.sbin/ldpd/labelmapping.c
448
lt.length = htons(LABEL_TLV_LEN);
usr.sbin/ldpd/labelmapping.c
449
lt.label = htonl(label);
usr.sbin/ldpd/labelmapping.c
451
return (ibuf_add(buf, &lt, sizeof(lt)));
usr.sbin/ldpd/labelmapping.c
458
struct label_tlv lt;
usr.sbin/ldpd/labelmapping.c
460
if (len < sizeof(lt)) {
usr.sbin/ldpd/labelmapping.c
464
memcpy(&lt, buf, sizeof(lt));
usr.sbin/ldpd/labelmapping.c
466
if (!(ntohs(lt.type) & TLV_TYPE_GENERICLABEL)) {
usr.sbin/ldpd/labelmapping.c
471
switch (htons(lt.type)) {
usr.sbin/ldpd/labelmapping.c
473
if (ntohs(lt.length) != sizeof(lt) - TLV_HDR_SIZE) {
usr.sbin/ldpd/labelmapping.c
479
*label = ntohl(lt.label);
usr.sbin/ldpd/labelmapping.c
498
return (sizeof(lt));
usr.sbin/npppd/common/debugutil.c
128
struct tm *lt;
usr.sbin/npppd/common/debugutil.c
154
lt = localtime(&now);
usr.sbin/npppd/common/debugutil.c
210
, lt->tm_year + 1900
usr.sbin/npppd/common/debugutil.c
211
, lt->tm_mon + 1
usr.sbin/npppd/common/debugutil.c
212
, lt->tm_mday
usr.sbin/npppd/common/debugutil.c
213
, lt->tm_hour
usr.sbin/npppd/common/debugutil.c
214
, lt->tm_min
usr.sbin/npppd/common/debugutil.c
215
, lt->tm_sec
usr.sbin/smtpd/to.c
142
struct tm *lt;
usr.sbin/smtpd/to.c
150
lt = localtime(&when);
usr.sbin/smtpd/to.c
151
if (lt == NULL || when == 0)
usr.sbin/smtpd/to.c
154
offset = lt->tm_gmtoff;
usr.sbin/smtpd/to.c
155
tz = lt->tm_zone;
usr.sbin/smtpd/to.c
160
day[lt->tm_wday], lt->tm_mday, month[lt->tm_mon],
usr.sbin/smtpd/to.c
161
lt->tm_year + 1900,
usr.sbin/smtpd/to.c
162
lt->tm_hour, lt->tm_min, lt->tm_sec,
usr.sbin/tcpdump/privsep.c
586
struct tm *lt, *gt;
usr.sbin/tcpdump/privsep.c
595
if ((lt = localtime(&t)) == NULL)
usr.sbin/tcpdump/privsep.c
597
must_write(fd, lt, sizeof(*lt));
usr.sbin/tcpdump/privsep.c
603
if (lt->tm_zone == NULL)
usr.sbin/tcpdump/privsep.c
606
write_string(fd, lt->tm_zone);
usr.sbin/tcpdump/privsep.c
739
static struct tm lt, gt0;
usr.sbin/tcpdump/privsep.c
749
lt.tm_sec = gt0.tm_sec;
usr.sbin/tcpdump/privsep.c
750
return &lt;
usr.sbin/tcpdump/privsep.c
756
must_read(priv_fd, &lt, sizeof(lt));
usr.sbin/tcpdump/privsep.c
760
lt.tm_zone = zone;
usr.sbin/tcpdump/privsep.c
762
lt.tm_zone = NULL;
usr.sbin/tcpdump/privsep.c
767
return &lt;
usr.sbin/unbound/daemon/remote.c
1028
const sldns_lookup_table* lt;
usr.sbin/unbound/daemon/remote.c
1060
lt = sldns_lookup_by_id(sldns_rr_classes, i);
usr.sbin/unbound/daemon/remote.c
1061
if(lt && lt->name) {
usr.sbin/unbound/daemon/remote.c
1062
snprintf(nm, sizeof(nm), "%s", lt->name);
usr.sbin/unbound/daemon/remote.c
1077
lt = sldns_lookup_by_id(sldns_opcodes, i);
usr.sbin/unbound/daemon/remote.c
1078
if(lt && lt->name) {
usr.sbin/unbound/daemon/remote.c
1079
snprintf(nm, sizeof(nm), "%s", lt->name);
usr.sbin/unbound/daemon/remote.c
1132
lt = sldns_lookup_by_id(sldns_rcodes, i);
usr.sbin/unbound/daemon/remote.c
1133
if(lt && lt->name) {
usr.sbin/unbound/daemon/remote.c
1134
snprintf(nm, sizeof(nm), "%s", lt->name);
usr.sbin/unbound/sldns/rrdef.c
749
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/rrdef.c
761
lt = sldns_lookup_by_name(sldns_rr_classes, name);
usr.sbin/unbound/sldns/rrdef.c
762
if (lt) {
usr.sbin/unbound/sldns/rrdef.c
763
return lt->id;
usr.sbin/unbound/sldns/str2wire.c
1007
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/str2wire.c
1008
lt = sldns_lookup_by_id(sldns_wireparse_errors, LDNS_WIREPARSE_ERROR(e));
usr.sbin/unbound/sldns/str2wire.c
1009
return lt?lt->name:"unknown error";
usr.sbin/unbound/sldns/str2wire.c
2096
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_cert_algorithms,
usr.sbin/unbound/sldns/str2wire.c
2100
if(lt) {
usr.sbin/unbound/sldns/str2wire.c
2101
sldns_write_uint16(rd, (uint16_t)lt->id);
usr.sbin/unbound/sldns/str2wire.c
2116
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_algorithms, str);
usr.sbin/unbound/sldns/str2wire.c
2119
if(lt) {
usr.sbin/unbound/sldns/str2wire.c
2120
rd[0] = (uint8_t)lt->id;
usr.sbin/unbound/sldns/str2wire.c
2131
sldns_lookup_table *lt = sldns_lookup_by_name(sldns_tsig_errors, str);
usr.sbin/unbound/sldns/str2wire.c
2134
if(lt) {
usr.sbin/unbound/sldns/str2wire.c
2135
sldns_write_uint16(rd, (uint16_t)lt->id);
usr.sbin/unbound/sldns/wire2str.c
1657
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/wire2str.c
1661
lt = sldns_lookup_by_id(sldns_cert_algorithms, data);
usr.sbin/unbound/sldns/wire2str.c
1662
if(lt && lt->name)
usr.sbin/unbound/sldns/wire2str.c
1663
w = sldns_str_print(s, sl, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
2106
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/wire2str.c
2110
lt = sldns_lookup_by_id(sldns_tsig_errors, data);
usr.sbin/unbound/sldns/wire2str.c
2111
if(lt && lt->name)
usr.sbin/unbound/sldns/wire2str.c
2112
w = sldns_str_print(s, sl, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
2201
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/wire2str.c
2205
lt = sldns_lookup_by_id(sldns_algorithms, (int)data[i]);
usr.sbin/unbound/sldns/wire2str.c
2206
if(lt && lt->name)
usr.sbin/unbound/sldns/wire2str.c
2207
w += sldns_str_print(s, sl, " %s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
2216
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/wire2str.c
2220
lt = sldns_lookup_by_id(sldns_hashes, (int)data[i]);
usr.sbin/unbound/sldns/wire2str.c
2221
if(lt && lt->name)
usr.sbin/unbound/sldns/wire2str.c
2222
w += sldns_str_print(s, sl, " %s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
2329
sldns_lookup_table *lt;
usr.sbin/unbound/sldns/wire2str.c
2340
lt = sldns_lookup_by_id(sldns_edns_ede_codes, (int)ede_code);
usr.sbin/unbound/sldns/wire2str.c
2341
if(lt && lt->name)
usr.sbin/unbound/sldns/wire2str.c
2342
w += sldns_str_print(s, sl, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
944
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_opcodes, opcode);
usr.sbin/unbound/sldns/wire2str.c
945
if (lt && lt->name) {
usr.sbin/unbound/sldns/wire2str.c
946
return sldns_str_print(s, slen, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
953
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_rcodes, rcode);
usr.sbin/unbound/sldns/wire2str.c
954
if (lt && lt->name) {
usr.sbin/unbound/sldns/wire2str.c
955
return sldns_str_print(s, slen, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
962
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_rr_classes,
usr.sbin/unbound/sldns/wire2str.c
964
if (lt && lt->name) {
usr.sbin/unbound/sldns/wire2str.c
965
return sldns_str_print(s, slen, "%s", lt->name);
usr.sbin/unbound/sldns/wire2str.c
982
sldns_lookup_table *lt = sldns_lookup_by_id(sldns_edns_options,
usr.sbin/unbound/sldns/wire2str.c
984
if (lt && lt->name) {
usr.sbin/unbound/sldns/wire2str.c
985
return sldns_str_print(s, slen, "%s", lt->name);
usr.sbin/unbound/validator/val_utils.c
896
sldns_lookup_table *lt;
usr.sbin/unbound/validator/val_utils.c
898
lt = sldns_lookup_by_id(sldns_hashes,
usr.sbin/unbound/validator/val_utils.c
900
if(lt) snprintf(herr, sizeof(herr), "%s", lt->name);
usr.sbin/unbound/validator/val_utils.c
903
lt = sldns_lookup_by_id(sldns_algorithms,
usr.sbin/unbound/validator/val_utils.c
905
if(lt) snprintf(aerr, sizeof(aerr), "%s", lt->name);