Home
last modified time | relevance | path

Searched refs:lt (Results 1 – 25 of 82) sorted by relevance

1234

/original-bsd/bin/date/
H A Ddate.c119 register struct tm *lt; local
133 lt = localtime(&tval);
140 if (lt->tm_sec > 61)
143 lt->tm_sec = 0;
149 lt->tm_year += 100;
152 lt->tm_mon = ATOI2(p);
153 if (lt->tm_mon > 12)
159 if (lt->tm_mday > 31)
164 if (lt->tm_hour > 23)
168 lt->tm_min = ATOI2(p);
[all …]
/original-bsd/usr.sbin/sendmail/src/
H A Darpadate.c60 register struct tm *lt; local
121 lt = localtime(&t);
123 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;
126 if (lt->tm_year < gmt.tm_year)
128 else if (lt->tm_year > gmt.tm_year)
130 else if (lt->tm_yday < gmt.tm_yday)
132 else if (lt->tm_yday > gmt.tm_yday)
146 tz = lt->tm_name;
149 tz = lt->tm_zone;
155 tz = tzname[lt->tm_isdst];
[all …]
/original-bsd/sbin/shutdown/
H A Dshutdown.c343 register struct tm *lt; local
377 lt->tm_year = ATOI2(timearg);
380 lt->tm_mon = ATOI2(timearg);
381 if (--lt->tm_mon < 0 || lt->tm_mon > 11)
385 lt->tm_mday = ATOI2(timearg);
386 if (lt->tm_mday < 1 || lt->tm_mday > 31)
390 lt->tm_hour = ATOI2(timearg);
391 if (lt->tm_hour < 0 || lt->tm_hour > 23)
393 lt->tm_min = ATOI2(timearg);
394 if (lt->tm_min < 0 || lt->tm_min > 59)
[all …]
/original-bsd/usr.bin/f77/libU77/
H A Dalarm_.c32 register long lt; local
34 lt = alarm(1000); /* time to maneuver */
40 return(lt);
/original-bsd/usr.bin/tip/aculib/
H A Ddn11.c27 int lt, nw, connected = 1; local
55 nw = write(dn, num, lt = strlen(num));
56 exit(nw != lt);
74 while ((nw = wait(&lt)) != child && nw != -1)
78 if (lt != 0) {
/original-bsd/usr.bin/uucp/libacu/
H A Ddf2.c31 int nw, lt, pid, st, status; local
85 nw = write(dnf, phone, lt = strlen(phone));
86 if (nw != lt) {
115 while ((nw = wait(&lt)) != pid && nw != -1)
127 DEBUG(4, "Fork Stat %o\n", lt);
128 if (lt != 0) {
H A Ddn.c32 int nw, lt, pid, status; local
83 nw = write(dnf, phone, lt = strlen(phone));
84 if (nw != lt) {
113 while ((nw = wait(&lt)) != pid && nw != -1)
125 DEBUG(4, "Fork Stat %o\n", lt);
126 if (lt != 0) {
H A Dva820.c32 int nw, lt; local
161 while ((nw = wait(&lt)) != child && nw != -1)
/original-bsd/bin/pax/
H A Dsel_subs.c563 register struct tm *lt; local
566 lt = localtime(tval);
574 if ((lt->tm_sec = ATOI2(dot)) > 61)
577 lt->tm_sec = 0;
585 if ((lt->tm_year = ATOI2(str)) < 69)
586 lt->tm_year += 100;
594 if ((lt->tm_mon = ATOI2(str)) > 12)
596 --lt->tm_mon;
603 if ((lt->tm_mday = ATOI2(str)) > 31)
619 if ((lt->tm_min = ATOI2(str)) > 59)
[all …]
/original-bsd/usr.bin/chpass/
H A Dutil.c55 static struct tm *lt; local
64 if (!lt) {
67 lt = localtime(&tval);
99 tval -= lt->tm_gmtoff;
/original-bsd/old/refer/inv/
H A Dinv2.c24 int ll = 0, lt = 0; local
42 lt = strlen(bkeys);
45 lt += strlen(bkeys);
86 lp += (strlen(line)+lt+1);
/original-bsd/usr.bin/wall/
H A Dwall.c102 struct tm *lt; local
124 lt = localtime(&now);
138 lt->tm_hour, lt->tm_min);
/original-bsd/games/hack/
H A Dhack.unix.c54 register struct tm *lt = getlt(); in getdate() local
57 lt->tm_year, lt->tm_mon + 1, lt->tm_mday); in getdate()
66 register struct tm *lt = getlt(); in phase_of_the_moon() local
69 diy = lt->tm_yday; in phase_of_the_moon()
70 golden = (lt->tm_year % 19) + 1; in phase_of_the_moon()
/original-bsd/old/ms/
H A Dtmac.skeep18 .lt \\n(LTu
20 .if \\n(NX>1 .lt \\n(CWu
40 .lt \\n(LTu
42 .if \\n(NX>1 .lt \\n(CWu
/original-bsd/contrib/groff-1.08/pic/
H A Dobject.cc239 line_type slt = lt; in draw_arrow()
556 line_type lt; member in graphic_object
576 lt.type = line_type::dotted; in set_dotted()
577 lt.dash_width = wid; in set_dotted()
582 lt.type = line_type::dashed; in set_dashed()
583 lt.dash_width = wid; in set_dashed()
588 lt.thickness = th; in set_thickness()
1233 out->line(strt, v, n, lt); in print()
1300 out->spline(strt, v, n, lt); in print()
1518 aht, lt); in print()
[all …]
/original-bsd/old/yacc/
H A Dy3.c232 int lp,lt, action; in precftn() local
235 lt = toklev[t]; in precftn()
236 if( PLEVEL(lt) == 0 || PLEVEL(lp) == 0 ) { in precftn()
243 if( PLEVEL(lt) == PLEVEL(lp) ) action = ASSOC(lt); in precftn()
244 else if( PLEVEL(lt) > PLEVEL(lp) ) action = RASC; /* shift */ in precftn()
/original-bsd/usr.bin/pascal/eyacc/
H A Dey4.c295 int lp,lt; in precftn() local
297 lt = trmlev[t]; in precftn()
298 if ((lt==0)||((lp&03)==0))return(0); in precftn()
299 if((lt>>3) == (lp>>3)){ in precftn()
300 return(lt&03); in precftn()
302 if((lt>>3) > (lp>>3)) return(3); in precftn()
/original-bsd/usr.bin/f77/pass1.vax/
H A Dexpr.c2206 if(lt==TYUNKNOWN)
2227 return(lt);
2249 if(lt==TYCHAR || rt==TYCHAR || lt==TYLOGICAL || rt==TYLOGICAL)
2251 if(lt != rt)
2277 return(lt);
2286 return(lt);
2297 return(lt);
2305 return(lt);
2316 return(lt);
2531 int lt, rt; in consconv()
[all …]
/original-bsd/usr.bin/f77/pass1.tahoe/
H A Dexpr.c2098 if(lt==TYUNKNOWN)
2119 return(lt);
2141 if(lt==TYCHAR || rt==TYCHAR || lt==TYLOGICAL || rt==TYLOGICAL)
2143 if(lt != rt)
2164 return(lt);
2173 return(lt);
2184 return(lt);
2192 return(lt);
2203 return(lt);
2370 int lt, rt; in consconv()
[all …]
/original-bsd/games/fortune/tools/
H A DTroff.mac10 .lt \n(.l
/original-bsd/bin/test/
H A Dbinary_op27 LT -lt 4 OP_INT
/original-bsd/usr.bin/sed/
H A Dcompile.c523 char *lt, *op, *np; local
546 lt = xmalloc(UCHAR_MAX);
548 lt[i] = (char)i;
550 lt[(u_char)*op] = *np;
551 *transtab = lt;
/original-bsd/local/ditroff/ditroff.okeeffe/devver/vfont.desc/
H A DtS12 lt 65 3 020
H A Dts26 lt 48 3 024
H A DS28 lt 25 3 024

1234