Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestPty.py13 import termios
25 import termios
28 termios.ISTRIP | termios.INLCR |
29 termios.IGNCR | termios.ICRNL |
33 self.assertEqual(current_attr[2] & termios.CSIZE, termios.CS8)
34 self.assertEqual(current_attr[3] & (termios.ICANON | termios.ECHO |
35 termios.ISIG | termios.IEXTEN),
41 import termios
42 return attr[2] & (termios.PARENB | termios.PARODD)
45 import termios
[all …]
/llvm-project-15.0.7/lldb/source/Interpreter/
H A Dembedded_interpreter.py35 import termios
37 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
77 import termios
78 old = termios.tcgetattr(fd)
79 if old[3] & termios.ECHO:
81 new = termios.tcgetattr(fd)
82 new[3] = new[3] & ~termios.ECHO
84 termios.tcsetattr(fd, termios.TCSADRAIN, new)
91 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/llvm-project-15.0.7/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
H A Dptyprocess.py11 import termios
62 from termios import VEOF, VINTR
76 eof = ord(termios.tcgetattr(fd)[6][VEOF])
82 from termios import CEOF, CINTR
98 attr = termios.tcgetattr(fd)
99 except termios.error as err:
105 attr[3] = attr[3] | termios.ECHO
107 attr[3] = attr[3] & ~termios.ECHO
112 termios.tcsetattr(fd, termios.TCSANOW, attr)
457 attr = termios.tcgetattr(self.fd)
[all …]
/llvm-project-15.0.7/lldb/unittests/Host/posix/
H A DTerminalTest.cpp52 struct termios terminfo; in TEST_F()
64 struct termios terminfo; in TEST_F()
76 struct termios terminfo; in TEST_F()
92 struct termios terminfo; in TEST_F()
119 struct termios terminfo; in TEST_F()
140 struct termios terminfo; in TEST_F()
194 struct termios terminfo; in TEST_F()
225 struct termios terminfo; in TEST_F()
245 struct termios orig_terminfo; in TEST_F()
246 struct termios terminfo; in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/source/Host/common/
H A DTerminal.cpp26 struct termios m_termios; ///< Cached terminal state information.
81 struct termios &fd_termios = data->m_termios; in SetEcho()
97 struct termios &fd_termios = data->m_termios; in SetCanonical()
113 struct termios &fd_termios = data->m_termios; in SetRaw()
278 struct termios &fd_termios = data->m_termios; in SetBaudRate()
304 struct termios &fd_termios = data->m_termios; in SetStopBits()
329 struct termios &fd_termios = data->m_termios; in SetParity()
362 struct termios &fd_termios = data->m_termios; in SetParityCheck()
385 struct termios &fd_termios = data->m_termios; in SetHardwareFlowControl()
/llvm-project-15.0.7/lldb/tools/driver/
H A DPlatform.h47 struct termios { struct
72 const struct termios *termios_p); argument
73 extern int tcgetattr(int fildes, struct termios *termios_p);
H A DPlatform.cpp49 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr()
53 int tcgetattr(int fildes, struct termios *termios_p) { in tcgetattr()
H A DDriver.cpp87 static struct termios g_old_stdin_termios;
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2009-01-25-NoSSE.ll13 %termios = alloca %struct.ktermios, align 8
14 call void @llvm.memset.p0.i64(ptr align 8 %termios, i8 0, i64 44, i1 false)
15 call void @bar(ptr %termios) nounwind
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dtcgetattr.cpp14 struct termios t; in main()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DTTYState.h39 struct termios m_ttystate;
H A DRNBSocket.cpp252 struct termios stdin_termios; in OpenFile()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dtest_result.py42 import termios
44 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,
/llvm-project-15.0.7/lldb/cmake/modules/
H A DLLDBGenerateConfig.cmake14 check_include_file(termios.h HAVE_TERMIOS_H)
/llvm-project-15.0.7/compiler-rt/lib/asan/scripts/
H A Dasan_symbolize.py228 import termios
238 attr = termios.tcgetattr(fd)
239 attr[3] = attr[3] & ~termios.ECHO
240 termios.tcsetattr(fd, termios.TCSANOW, attr)
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp132 unsigned struct_termios_sz = sizeof(struct termios);
H A Dsanitizer_platform_limits_freebsd.cpp187 unsigned struct_termios_sz = sizeof(struct termios);
H A Dsanitizer_platform_limits_posix.cpp442 unsigned struct_termios_sz = sizeof(struct termios);
H A Dsanitizer_mac.cpp332 struct termios termflags; in internal_spawn_impl()
H A Dsanitizer_platform_limits_netbsd.cpp984 unsigned struct_termios_sz = sizeof(termios);
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp738 struct termios options; in ConnectFile()
/llvm-project-15.0.7/utils/bazel/llvm_configs/
H A Dconfig.h.cmake221 /* Define to 1 if you have the <termios.h> header file. */
/llvm-project-15.0.7/llvm/include/llvm/Config/
H A Dconfig.h.cmake221 /* Define to 1 if you have the <termios.h> header file. */
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DProcess.inc46 # include <termios.h>
/llvm-project-15.0.7/llvm/cmake/
H A Dconfig-ix.cmake60 check_include_file(termios.h HAVE_TERMIOS_H)