Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dperf_counters.cc99 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 Drandom.cpp33 # 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 DPerfHelper.cpp116 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 Dioctl.cpp21 int res = ioctl(fd, FIONBIO, &nonblock + 1); in main()
/llvm-project-15.0.7/compiler-rt/test/msan/
H A Dioctl.cpp14 int res = ioctl(fd, FIOGETOWN, &z); in main()
H A Dioctl_custom.cpp28 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc); in main()
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dioctl_sound.cpp24 assert(ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, info) >= 0); in main()
/llvm-project-15.0.7/lldb/tools/driver/
H A DPlatform.cpp19 int ioctl(int d, int request, ...) { in ioctl() function
H A DPlatform.h69 extern int ioctl(int d, int request, ...);
H A DDriver.cpp451 ::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 DX86Counter.cpp156 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 DPseudoTerminal.cpp162 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) in Fork()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A Dembedded_interpreter.py37 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DPerf.cpp298 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 DPseudoTerminal.cpp165 if (::ioctl(m_secondary_fd, TIOCSCTTY, (char *)0) < 0) { in Fork()
H A DFile.cpp180 if (::ioctl(fd, TIOCGWINSZ, &window_size) == 0) { in CalculateInteractiveAndTerminal()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt88 ioctl U
/llvm-project-15.0.7/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
H A Dptyprocess.py126 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 Dtest_result.py44 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DProcess.inc43 # 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 Dsanitizer_common_interceptors_ioctl.inc455 // 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 Dsanitizer_flags.inc51 COMMON_FLAG(bool, handle_ioctl, false, "Intercept and handle ioctl requests.")
H A Dsanitizer_mac.cpp290 res = ioctl(primary_fd, TIOCPTYGNAME, secondary_pty_name); in internal_spawn_impl()
/llvm-project-15.0.7/utils/bazel/llvm_configs/
H A Dconfig.h.cmake191 /* Define to 1 if you have the <sys/ioctl.h> header file. */
/llvm-project-15.0.7/llvm/include/llvm/Config/
H A Dconfig.h.cmake191 /* Define to 1 if you have the <sys/ioctl.h> header file. */

12