Home
last modified time | relevance | path

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

12345678910>>...25

/netbsd/src/sys/compat/linux/common/
Dlinux_termios.h190 linux32_termio_to_bsd_termios(struct linux32_termio *lt, struct termios *bts) in linux32_termio_to_bsd_termios() argument
192 linux_termio_to_bsd_termios(struct linux_termio *lt, struct termios *bts) in linux32_termio_to_bsd_termios()
198 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_IGNBRK, IGNBRK); in linux32_termio_to_bsd_termios()
199 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_BRKINT, BRKINT); in linux32_termio_to_bsd_termios()
200 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_IGNPAR, IGNPAR); in linux32_termio_to_bsd_termios()
201 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_INPCK, INPCK); in linux32_termio_to_bsd_termios()
202 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_ISTRIP, ISTRIP); in linux32_termio_to_bsd_termios()
203 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_INLCR, INLCR); in linux32_termio_to_bsd_termios()
204 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_IGNCR, IGNCR); in linux32_termio_to_bsd_termios()
205 bts->c_iflag |= cvtto_bsd_mask(lt->c_iflag, LINUX_ICRNL, ICRNL); in linux32_termio_to_bsd_termios()
[all …]
/netbsd/src/sys/kern/
Dsys_ptrace_common.c529 ptrace_set_siginfo(struct proc *t, struct lwp **lt, struct ptrace_methods *ptm, in ptrace_set_siginfo() argument
701 ptrace_lwpinfo(struct proc *t, struct lwp **lt, void *addr, size_t data) in ptrace_lwpinfo() argument
714 lwp_delref(*lt); in ptrace_lwpinfo()
717 *lt = lwp_find_first(t); in ptrace_lwpinfo()
719 *lt = lwp_find(t, tmp); in ptrace_lwpinfo()
720 if (*lt == NULL) { in ptrace_lwpinfo()
724 *lt = LIST_NEXT(*lt, l_sibling); in ptrace_lwpinfo()
727 while (*lt != NULL && (!lwp_alive(*lt) || in ptrace_lwpinfo()
728 ((*lt)->l_flag & LW_SYSTEM) != 0)) in ptrace_lwpinfo()
729 *lt = LIST_NEXT(*lt, l_sibling); in ptrace_lwpinfo()
[all …]
Dsys_process_lwpstatus.c85 ptrace_update_lwp(struct proc *t, struct lwp **lt, lwpid_t lid) in ptrace_update_lwp() argument
87 if (lid == 0 || lid == (*lt)->l_lid || t->p_nlwps == 1) in ptrace_update_lwp()
91 lwp_delref2(*lt); in ptrace_update_lwp()
93 *lt = lwp_find(t, lid); in ptrace_update_lwp()
94 if (*lt == NULL) { in ptrace_update_lwp()
99 if ((*lt)->l_flag & LW_SYSTEM) { in ptrace_update_lwp()
101 *lt = NULL; in ptrace_update_lwp()
105 lwp_addref(*lt); in ptrace_update_lwp()
/netbsd/src/bin/date/
Ddate.c354 struct tm *lt; in setthetime() local
359 if ((lt = localtime(&tval)) == NULL) in setthetime()
362 lt->tm_isdst = -1; /* Divine correct DST */ in setthetime()
366 t = strptime(p, fmt, lt); in setthetime()
380 t = strptime(p, "%m%d%H%M", lt); in setthetime()
387 t = strptime(t, yrdigs == 2 ? "%y" : "%Y", lt); in setthetime()
417 lt->tm_sec = ATOI2(dot); in setthetime()
418 if (lt->tm_sec > 61) in setthetime()
422 lt->tm_sec = 0; in setthetime()
429 lt->tm_year = ATOI2(p) * 100 - TM_YEAR_BASE; in setthetime()
[all …]
/netbsd/src/games/pom/
Dpom.c213 struct tm *lt; in parsetime() local
226 lt = localtime(&tval); in parsetime()
227 lt->tm_sec = 0; in parsetime()
228 lt->tm_min = 0; in parsetime()
233 lt->tm_year = bigyear * 100 - 1900; in parsetime()
238 lt->tm_year += ATOI2(p); in parsetime()
240 lt->tm_year = ATOI2(p); in parsetime()
241 if (lt->tm_year < 69) /* hack for 2000 */ in parsetime()
242 lt->tm_year += 100; in parsetime()
246 lt->tm_mon = ATOI2(p); in parsetime()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Dmail_date.c59 struct tm *lt; in mail_date() local
84 lt = localtime(&when); in mail_date()
85 gmtoff = (lt->tm_hour - gmt.tm_hour) * HOUR_MIN + lt->tm_min - gmt.tm_min; in mail_date()
86 if (lt->tm_year < gmt.tm_year) in mail_date()
88 else if (lt->tm_year > gmt.tm_year) in mail_date()
90 else if (lt->tm_yday < gmt.tm_yday) in mail_date()
92 else if (lt->tm_yday > gmt.tm_yday) in mail_date()
94 if (lt->tm_sec <= gmt.tm_sec - MIN_SEC) in mail_date()
96 else if (lt->tm_sec >= gmt.tm_sec + MIN_SEC) in mail_date()
115 while (strftime(vstring_end(vp), vstring_avail(vp), STRFTIME_FMT, lt) == 0) in mail_date()
[all …]
/netbsd/src/usr.bin/xlint/lint1/
Dckbool.c61 const tnode_t *ln, tspec_t lt, in is_typeok_strict_bool_binary() argument
64 if ((lt == BOOL) == (rt == BOOL)) in is_typeok_strict_bool_binary()
71 (is_int_constant_zero(ln, lt) || is_int_constant_zero(rn, rt))) in is_typeok_strict_bool_binary()
76 return lt != BOOL && (ln->tn_sys || rn->tn_sys); in is_typeok_strict_bool_binary()
96 const tnode_t *ln, tspec_t lt, in typeok_strict_bool_binary_compatible() argument
99 if (is_typeok_strict_bool_binary(op, ln, lt, rn, rt)) in typeok_strict_bool_binary_compatible()
104 error(334, arg, tspec_name(lt), tspec_name(rt)); in typeok_strict_bool_binary_compatible()
107 error(211, tspec_name(lt), tspec_name(rt)); in typeok_strict_bool_binary_compatible()
110 error(107, op_name(op), tspec_name(lt), tspec_name(rt)); in typeok_strict_bool_binary_compatible()
125 tspec_t lt = ln->tn_type->t_tspec; in typeok_scalar_strict_bool() local
[all …]
Dtree.c851 const tnode_t *ln, tspec_t lt, in check_nonportable_char_comparison() argument
857 if (lt == CHAR && is_out_of_char_range(rn)) { in check_nonportable_char_comparison()
880 tspec_t lt = ln->tn_type->t_tspec; in check_integer_comparison() local
886 if (!is_integer(lt) || !is_integer(rt)) in check_integer_comparison()
890 if (lt == CHAR && rn->tn_op == CON && in check_integer_comparison()
904 if (!check_nonportable_char_comparison(op, ln, lt, rn, rt)) in check_integer_comparison()
907 if (is_uinteger(lt) && !is_uinteger(rt) && in check_integer_comparison()
918 if (is_uinteger(rt) && !is_uinteger(lt) && in check_integer_comparison()
943 usual_arithmetic_conversion_trad(tspec_t lt, tspec_t rt) in usual_arithmetic_conversion_trad() argument
948 if (lt == arith_rank[i] || rt == arith_rank[i]) in usual_arithmetic_conversion_trad()
[all …]
/netbsd/src/external/gpl2/xcvs/dist/m4/
Dmktime.m487 struct tm *lt;
88 if ((lt = localtime (&now)) && mktime (lt) != now)
128 struct tm *lt = localtime (&now);
129 if (! (lt
130 && lt->tm_year == tm.tm_year
131 && lt->tm_mon == tm.tm_mon
132 && lt->tm_mday == tm.tm_mday
133 && lt->tm_hour == tm.tm_hour
134 && lt->tm_min == tm.tm_min
135 && lt->tm_sec == tm.tm_sec
[all …]
/netbsd/src/external/ibm-public/postfix/dist/examples/chroot-setup/
DLINUX270 lt=/etc/localtime
71 if test ! -f $lt ; then lt=/usr/lib/zoneinfo/localtime ; fi
72 if test ! -f $lt ; then lt=/usr/share/zoneinfo/localtime ; fi
73 if test ! -f $lt ; then echo "cannot find localtime" ; exit 1 ; fi
77 $CP -f $lt /etc/services /etc/resolv.conf /etc/nsswitch.conf etc
/netbsd/src/bin/pax/
Dsel_subs.c550 struct tm *lt; in str_sec() local
564 lt = localtime(tval); in str_sec()
571 lt->tm_sec = ATOI2(dot); in str_sec()
574 lt->tm_sec = 0; in str_sec()
580 lt->tm_year = ATOI2(p) * 100 - TM_YEAR_BASE; in str_sec()
585 lt->tm_year += ATOI2(p); in str_sec()
589 lt->tm_year = yearset + 2000 - TM_YEAR_BASE; in str_sec()
591 lt->tm_year = yearset + 1900 - TM_YEAR_BASE; in str_sec()
595 lt->tm_mon = ATOI2(p); in str_sec()
596 --lt->tm_mon; in str_sec()
[all …]
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dmktime.c557 check_result (time_t tk, struct tm tmk, time_t tl, const struct tm *lt) in check_result() argument
559 if (tk != tl || !lt || not_equal_tm (&tmk, lt)) in check_result()
562 print_tm (lt); in check_result()
577 struct tm *lt; in main() local
594 lt = localtime (&tl); in main()
595 if (lt) in main()
597 tml = *lt; in main()
598 lt = &tml; in main()
603 status = check_result (tl, tmk, tl, lt); in main()
614 lt = localtime (&tl); in main()
[all …]
/netbsd/src/sbin/shutdown/
Dshutdown.c441 struct tm *lt; in getoffset() local
474 lt = localtime(&now); /* current time val */ in getoffset()
476 lt->tm_sec = 0; in getoffset()
481 lt->tm_year = ATOI2(timearg) * 100 - TM_YEAR_BASE; in getoffset()
486 lt->tm_year += ATOI2(timearg); in getoffset()
490 lt->tm_year = yearset + 2100 - TM_YEAR_BASE; in getoffset()
492 lt->tm_year = yearset + 2000 - TM_YEAR_BASE; in getoffset()
496 lt->tm_mon = ATOI2(timearg); in getoffset()
497 --lt->tm_mon; in getoffset()
500 lt->tm_mday = ATOI2(timearg); in getoffset()
[all …]
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/doc/docbook/
Dwpa_cli.sgml74 with "CTRL-REQ-&lt;type&gt;-&lt;id&gt;:&lt;text&gt;"
75 prefix. &lt;type&gt; is IDENTITY, PASSWORD, or OTP
76 (one-time-password). &lt;id&gt; is a unique identifier for the
77 current network. &lt;text&gt; is description of the request. In
83 <emphasis>otp</emphasis> commands. &lt;id&gt; needs to be copied from
227 <term>level &lt;debug level&gt;</term>
280 <term>preauthenticate &lt;BSSID&gt;</term>
287 <term>identity &lt;network id&gt; &lt;identity&gt;</term>
294 <term>password &lt;network id&gt; &lt;password&gt;</term>
301 <term>pin &lt;network id&gt; &lt;pin&gt;</term>
[all …]
/netbsd/src/usr.bin/tip/aculib/
Ddn11.c53 int lt, nw; in dn_dialer() local
82 nw = write(dn, num, (size_t)(lt = strlen(num))); in dn_dialer()
83 exit(nw != lt); in dn_dialer()
103 while ((nw = wait(&lt)) != child && nw != -1) in dn_dialer()
107 if (lt != 0) { in dn_dialer()
/netbsd/src/sys/arch/i386/i386/
Dprocess_machdep.c278 struct lwp **lt, in ptrace_machdep_dorequest() argument
298 if ((error = ptrace_update_lwp((*lt)->l_proc, lt, data)) != 0) in ptrace_machdep_dorequest()
300 if (!process_machdep_validxmmregs((*lt)->l_proc)) in ptrace_machdep_dorequest()
314 error = process_machdep_doxmmregs(l, *lt, &uio); in ptrace_machdep_dorequest()
324 if ((error = ptrace_update_lwp((*lt)->l_proc, lt, data)) != 0) in ptrace_machdep_dorequest()
326 if (!process_machdep_validxstate((*lt)->l_proc)) in ptrace_machdep_dorequest()
344 error = process_machdep_doxstate(l, *lt, &uio); in ptrace_machdep_dorequest()
/netbsd/src/sys/compat/linux/arch/powerpc/
Dlinux_ptrace.c109 struct lwp *lt; in linux_sys_ptrace_arch() local
192 lt = LIST_FIRST(&t->p_lwps); in linux_sys_ptrace_arch()
197 error = process_read_regs(lt, regs); in linux_sys_ptrace_arch()
234 error = process_write_regs(lt, regs); in linux_sys_ptrace_arch()
239 error = process_read_fpregs(lt, fpregs, NULL); in linux_sys_ptrace_arch()
258 error = process_write_fpregs(lt, fpregs, sizeof fpregs); in linux_sys_ptrace_arch()
264 error = process_read_regs(lt, regs); in linux_sys_ptrace_arch()
318 error = process_read_regs(lt, regs); in linux_sys_ptrace_arch()
363 error = process_write_regs(lt,regs); in linux_sys_ptrace_arch()
/netbsd/src/external/bsd/ntp/dist/
Dbootstrap76 lt=
81 lt="$lt $fb"
84 touch $lt
85 echo "Touching <$lt>"
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.fortran/
Ddot-ops.exp39 set lt ".LT."
54 set lt ".lt."
106 gdb_test "p 5 $lt 4" " = .FALSE."
107 gdb_test "p 4 $lt 4" " = .FALSE."
108 gdb_test "p 3 $lt 4" " = .TRUE."
/netbsd/src/sys/compat/linux/arch/i386/
Dlinux_ptrace.c131 struct lwp *lt; in linux_sys_ptrace_arch() local
215 lt = LIST_FIRST(&t->p_lwps); in linux_sys_ptrace_arch()
220 error = process_read_regs(lt, regs); in linux_sys_ptrace_arch()
262 error = process_write_regs(lt, regs); in linux_sys_ptrace_arch()
268 error = process_read_fpregs(lt, fpregs, &fp_size); in linux_sys_ptrace_arch()
287 error = process_write_regs(lt, regs); in linux_sys_ptrace_arch()
321 led = lt->l_emuldata; in linux_sys_ptrace_arch()
353 led = lt->l_emuldata; in linux_sys_ptrace_arch()
/netbsd/src/games/hack/
Dhack.unix.c127 struct tm *lt = getlt(); in getdatestr() local
130 lt->tm_year % 100, lt->tm_mon + 1, lt->tm_mday); in getdatestr()
139 struct tm *lt = getlt(); in phase_of_the_moon() local
142 diy = lt->tm_yday; in phase_of_the_moon()
143 golden = (lt->tm_year % 19) + 1; in phase_of_the_moon()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgenflags.cc148 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()
/netbsd/src/sys/arch/amd64/amd64/
Dprocess_machdep.c313 struct lwp **lt, in ptrace_machdep_dorequest() argument
332 if ((error = ptrace_update_lwp((*lt)->l_proc, lt, data)) != 0) in ptrace_machdep_dorequest()
334 if (!process_machdep_validfpu((*lt)->l_proc)) in ptrace_machdep_dorequest()
365 error = process_machdep_doxstate(l, *lt, &uio); in ptrace_machdep_dorequest()
375 if ((error = ptrace_update_lwp((*lt)->l_proc, lt, data)) != 0) in ptrace_machdep_dorequest()
378 (l, *lt, addr, write), EINVAL, error); in ptrace_machdep_dorequest()
/netbsd/src/usr.bin/rwall/
Drwall.c152 struct tm *lt; in makemsg() local
174 lt = localtime(&now); in makemsg()
188 (void)fprintf(fp, " (%s) at %d:%02d ...\n", tty, lt->tm_hour, in makemsg()
189 lt->tm_min); in makemsg()
/netbsd/src/external/mit/xorg/share/nls/
DMakefile34 ${_F}.lt: ${_F}.pre
46 FILES+= ${_F}.lt
47 FILESNAME_${_F}.lt= ${_F}
48 CLEANFILES+= ${_F}.lt

12345678910>>...25