| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | perf_counters.cc | 99 if (ioctl(counter_ids[0], PERF_EVENT_IOC_ENABLE) != 0) { in Create() 111 ioctl(counter_ids_[0], PERF_EVENT_IOC_DISABLE); in ~PerfCounters()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | random.cpp | 33 # if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>) 203 if (::ioctl(__f_, RNDGETENTCNT, &ent) < 0) in entropy()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | PerfHelper.cpp | 116 void Counter::start() { ioctl(FileDescriptor, PERF_EVENT_IOC_RESET, 0); } in start() 118 void Counter::stop() { ioctl(FileDescriptor, PERF_EVENT_IOC_DISABLE, 0); } in stop()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | ioctl.cpp | 21 int res = ioctl(fd, FIONBIO, &nonblock + 1); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | ioctl.cpp | 14 int res = ioctl(fd, FIOGETOWN, &z); in main()
|
| H A D | ioctl_custom.cpp | 28 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/Linux/ |
| H A D | ioctl_sound.cpp | 24 assert(ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, info) >= 0); in main()
|
| /llvm-project-15.0.7/lldb/tools/driver/ |
| H A D | Platform.cpp | 19 int ioctl(int d, int request, ...) { in ioctl() function
|
| H A D | Platform.h | 69 extern int ioctl(int d, int request, ...);
|
| H A D | Driver.cpp | 451 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) { in MainLoop() 651 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) { in sigwinch_handler()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/X86/ |
| H A D | X86Counter.cpp | 156 ioctl(FileDescriptor, PERF_EVENT_IOC_REFRESH, 1024 /* kMaxPollsPerFd */); in start() 199 ioctl(FileDescriptor, PERF_EVENT_IOC_DISABLE, 0); in readOrError()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | PseudoTerminal.cpp | 162 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) in Fork()
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | embedded_interpreter.py | 37 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | Perf.cpp | 298 if (ioctl(*m_fd, PERF_EVENT_IOC_DISABLE, PERF_IOC_FLAG_GROUP) < 0) in DisableWithIoctl() 313 if (ioctl(*m_fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP) < 0) in EnableWithIoctl()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | PseudoTerminal.cpp | 165 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) { in Fork()
|
| H A D | File.cpp | 180 if (::ioctl(fd, TIOCGWINSZ, &window_size) == 0) { in CalculateInteractiveAndTerminal()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/ |
| H A D | global_symbols.txt | 88 ioctl U
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
| H A D | ptyprocess.py | 126 fcntl.ioctl(fd, TIOCSWINSZ, s) 779 x = fcntl.ioctl(self.fd, TIOCGWINSZ, s)
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/ |
| H A D | test_result.py | 44 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Process.inc | 43 # include <sys/ioctl.h> 300 // We used to call ioctl TIOCGWINSZ to determine the width. It is considered
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors_ioctl.inc | 455 // The following ioctl requests are shared between AX25, IPX, netrom and 490 Printf("Duplicate or unsorted ioctl request id %x >= %x (%s vs %s)\n",
|
| H A D | sanitizer_flags.inc | 51 COMMON_FLAG(bool, handle_ioctl, false, "Intercept and handle ioctl requests.")
|
| H A D | sanitizer_mac.cpp | 290 res = ioctl(primary_fd, TIOCPTYGNAME, secondary_pty_name); in internal_spawn_impl()
|
| /llvm-project-15.0.7/utils/bazel/llvm_configs/ |
| H A D | config.h.cmake | 191 /* Define to 1 if you have the <sys/ioctl.h> header file. */
|
| /llvm-project-15.0.7/llvm/include/llvm/Config/ |
| H A D | config.h.cmake | 191 /* Define to 1 if you have the <sys/ioctl.h> header file. */
|