Home
last modified time | relevance | path

Searched refs:oldmode (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/external/gpl2/lvm2/dist/daemons/clvmd/
H A Dlvm-functions.c323 int oldmode; in do_activate_lv() local
330 oldmode = get_current_lock(resource); in do_activate_lv()
331 if (oldmode == mode) { in do_activate_lv()
382 int oldmode; in do_resume_lv() local
385 oldmode = get_current_lock(resource); in do_resume_lv()
386 if (oldmode == -1) { in do_resume_lv()
400 int oldmode; in do_suspend_lv() local
404 oldmode = get_current_lock(resource); in do_suspend_lv()
405 if (oldmode == -1) { in do_suspend_lv()
406 DEBUGLOG("do_suspend_lv, lock held at %d\n", oldmode); in do_suspend_lv()
[all …]
/netbsd-src/usr.bin/tset/
H A Dtset.c54 struct termios mode, oldmode; variable
75 oldmode = mode; in main()
179 if (memcmp(&mode, &oldmode, sizeof(mode))) in main()
227 old = oldmode.c_cc[which]; in report()
H A Dset.c211 if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { in set_init()
212 oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); in set_init()
213 tcsetattr(STDERR_FILENO, TCSADRAIN, &oldmode); in set_init()
H A Dextern.h34 extern struct termios mode, oldmode;
/netbsd-src/external/mit/lua/dist/src/
H A Dlbaselib.c188 static int pushmode (lua_State *L, int oldmode) { in pushmode() argument
189 if (oldmode == -1) in pushmode()
192 lua_pushstring(L, (oldmode == LUA_GCINC) ? "incremental" in pushmode()
/netbsd-src/sys/compat/linux/arch/i386/
H A Dlinux_machdep.c537 int oldmode) in linux_write_ldt() argument
544 DPRINTF(("linux_write_ldt %d\n", oldmode)); in linux_write_ldt()
552 if (oldmode) in linux_write_ldt()
559 (oldmode || (ldt_info.contents == 0 && in linux_write_ldt()
576 if (!oldmode) in linux_write_ldt()
/netbsd-src/external/gpl2/xcvs/dist/diff/
H A Dio.c102 int oldmode = setmode (current->desc, O_BINARY); local
109 if (oldmode != O_BINARY)
113 setmode (current->desc, oldmode);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dpretty-print.h414 pp_wrapping_mode_t oldmode = pp_wrapping_mode (pp); in pp_set_verbatim_wrapping_() local
417 return oldmode; in pp_set_verbatim_wrapping_()
H A Dregcprop.c474 machine_mode oldmode = vd->e[i].mode; in find_oldest_value_reg() local
480 new_rtx = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, regno); in find_oldest_value_reg()
H A Dpretty-print.c1533 pp_wrapping_mode_t oldmode = pp_set_verbatim_wrapping (pp); in pp_format_verbatim() local
1540 pp_wrapping_mode (pp) = oldmode; in pp_format_verbatim()
H A Dexpr.c676 convert_modes (machine_mode mode, machine_mode oldmode, rtx x, int unsignedp) in convert_modes() argument
693 oldmode = GET_MODE (x); in convert_modes()
695 if (mode == oldmode) in convert_modes()
704 if (GET_MODE_CLASS (oldmode) != MODE_INT) in convert_modes()
705 oldmode = MAX_MODE_INT; in convert_modes()
706 wide_int w = wide_int::from (rtx_mode_t (x, oldmode), in convert_modes()
717 && is_int_mode (oldmode, &int_oldmode) in convert_modes()
732 GET_MODE_BITSIZE (oldmode))); in convert_modes()
733 return simplify_gen_subreg (mode, x, oldmode, 0); in convert_modes()
H A Doptabs.c196 widen_operand (rtx op, machine_mode mode, machine_mode oldmode, in widen_operand() argument
213 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dpretty-print.h414 pp_wrapping_mode_t oldmode = pp_wrapping_mode (pp); in pp_set_verbatim_wrapping_() local
417 return oldmode; in pp_set_verbatim_wrapping_()
H A Dregcprop.cc476 machine_mode oldmode = vd->e[i].mode; in find_oldest_value_reg() local
482 new_rtx = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, regno); in find_oldest_value_reg()
H A Dpretty-print.cc1533 pp_wrapping_mode_t oldmode = pp_set_verbatim_wrapping (pp); in pp_format_verbatim() local
1540 pp_wrapping_mode (pp) = oldmode; in pp_format_verbatim()
H A Dexpr.cc696 convert_modes (machine_mode mode, machine_mode oldmode, rtx x, int unsignedp) in convert_modes() argument
733 oldmode = GET_MODE (x); in convert_modes()
735 if (mode == oldmode) in convert_modes()
744 if (!is_a <scalar_int_mode> (oldmode)) in convert_modes()
745 oldmode = MAX_MODE_INT; in convert_modes()
746 wide_int w = wide_int::from (rtx_mode_t (x, oldmode), in convert_modes()
757 && is_int_mode (oldmode, &int_oldmode) in convert_modes()
772 GET_MODE_BITSIZE (oldmode))); in convert_modes()
773 return simplify_gen_subreg (mode, x, oldmode, 0); in convert_modes()
H A Doptabs.cc200 widen_operand (rtx op, machine_mode mode, machine_mode oldmode, in widen_operand() argument
217 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
H A DChangeLog-200910256 * expr.c (convert_modes): Return when mode == oldmode after
10319 * expr.c (convert_modes): Return when mode == oldmode after
/netbsd-src/external/gpl3/gdb/dist/sim/arm/
H A Darmsupp.c210 ARMword oldmode; in ARMul_CPSRAltered() local
215 oldmode = state->Mode; in ARMul_CPSRAltered()
243 if (oldmode > SVC26MODE) in ARMul_CPSRAltered()
294 ARMul_SwitchMode (ARMul_State * state, ARMword oldmode, ARMword newmode) in ARMul_SwitchMode() argument
300 oldbank = ModeToBank (oldmode); in ARMul_SwitchMode()
/netbsd-src/sys/arch/sun3/dev/
H A Dxy.c1875 int oldmode, advance, i; in xyc_error() local
1878 oldmode = iorq->mode; in xyc_error()
1879 iorq->mode = XY_SUB_DONE | (~XY_SUB_MASK & oldmode); in xyc_error()
1882 iorq->mode = oldmode; in xyc_error()
H A Dxd.c1978 int oldmode, advance, i; in xdc_error() local
1981 oldmode = iorq->mode; in xdc_error()
1982 iorq->mode = XD_SUB_DONE | (~XD_SUB_MASK & oldmode); in xdc_error()
1986 iorq->mode = oldmode; in xdc_error()
/netbsd-src/sys/dev/vme/
H A Dxy.c2033 int oldmode, advance; in xyc_error() local
2039 oldmode = iorq->mode; in xyc_error()
2040 iorq->mode = XY_SUB_DONE | (~XY_SUB_MASK & oldmode); in xyc_error()
2043 iorq->mode = oldmode; in xyc_error()
H A Dxd.c2159 int oldmode, advance; in xdc_error() local
2165 oldmode = iorq->mode; in xdc_error()
2166 iorq->mode = XD_SUB_DONE | (~XD_SUB_MASK & oldmode); in xdc_error()
2170 iorq->mode = oldmode; in xdc_error()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dserver.c7765 int oldmode; in cvs_output_binary() local
7783 oldmode = _setmode (_fileno (stdout), OPEN_BINARY); in cvs_output_binary()
7784 if (oldmode < 0) in cvs_output_binary()
7798 if (_setmode (_fileno (stdout), oldmode) != OPEN_BINARY) in cvs_output_binary()