| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| scoped_fd.h | 31 explicit scoped_fd (int fd = -1) noexcept : m_fd (fd) {} function in class:scoped_fd 34 : m_fd (other.m_fd) function in class:scoped_fd 36 other.m_fd = -1; 41 if (m_fd >= 0) 42 close (m_fd); 47 if (m_fd != other.m_fd) 49 if (m_fd >= 0) 50 close (m_fd); 84 int m_fd; member in class:scoped_fd [all...] |
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| scoped_fd.h | 31 explicit scoped_fd (int fd = -1) noexcept : m_fd (fd) {} function in class:scoped_fd 34 : m_fd (other.m_fd) function in class:scoped_fd 36 other.m_fd = -1; 41 if (m_fd >= 0) 42 close (m_fd); 47 if (m_fd != other.m_fd) 49 if (m_fd >= 0) 50 close (m_fd); 84 int m_fd; member in class:scoped_fd [all...] |
| /src/external/bsd/elftosb/dist/common/ |
| Random.cpp | 45 m_fd = open("/dev/urandom",O_RDONLY); 46 if (m_fd == -1) 56 close(m_fd); 78 if (read(m_fd, output, count) != count)
|
| Random.h | 52 int m_fd; member in class:RandomNumberGenerator
|
| /src/external/gpl3/gcc/dist/libcc1/ |
| connection.cc | 33 if (write (m_fd, &c, 1) != 1) 41 if (write (m_fd, buf, len) != len) 51 if (read (m_fd, &result, 1) != 1 61 if (read (m_fd, buf, len) != len) 75 FD_SET (m_fd, &read_set); 106 if (FD_ISSET (m_fd, &read_set)) 108 int n = read (m_fd, &result, 1);
|
| connection.hh | 36 : m_fd (fd), 43 : m_fd (fd), 105 int m_fd; member in class:cc1_plugin::connection
|
| /src/external/gpl3/gcc.old/dist/libcc1/ |
| connection.cc | 33 if (write (m_fd, &c, 1) != 1) 41 if (write (m_fd, buf, len) != len) 51 if (read (m_fd, &result, 1) != 1 61 if (read (m_fd, buf, len) != len) 75 FD_SET (m_fd, &read_set); 106 if (FD_ISSET (m_fd, &read_set)) 108 int n = read (m_fd, &result, 1);
|
| connection.hh | 36 : m_fd (fd), 43 : m_fd (fd), 105 int m_fd; member in class:cc1_plugin::connection
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ui-file.c | 248 m_fd (-1), 262 m_fd = fileno (file); 301 FD_SET (m_fd, &readfds); 302 if (interruptible_select (m_fd + 1, &readfds, NULL, NULL, NULL) == -1) 306 return ::read (m_fd, buf, length_buf); 325 if (::write (m_fd, buf, length_buf)) 350 return ::isatty (m_fd);
|
| ui-file.h | 274 { return m_fd; } 278 descriptor in M_FD. */ 287 int m_fd; member in class:stdio_file
|
| solib-rocm.c | 307 int m_fd; 319 : m_inf (inf), m_fd (fd), m_offset (offset), m_size (size) 334 = target_fileio_pread (m_fd, static_cast<gdb_byte *> (buf) + nbytes, 362 if (target_fileio_fstat (m_fd, &stat, &target_errno) < 0) 386 if (info->fd_cache.close (m_fd, &target_errno) != 0)
|
| gdb_bfd.c | 370 m_fd (fd) 387 int m_fd; 430 bytes = target_fileio_pread (m_fd, (gdb_byte *) buf + pos, 468 target_fileio_close (m_fd, &target_errno); 486 result = target_fileio_fstat (m_fd, sb, &target_errno);
|
| linux-nat.c | 4035 : m_ptid (ptid), m_fd (fd) 4037 gdb_assert (m_fd != -1); 4043 m_fd, m_ptid.pid (), m_ptid.lwp ()); 4044 close (m_fd); 4051 return m_fd; 4060 int m_fd = -1; 4054 int m_fd = -1; variable
|
| target.c | 3423 : m_fd (fd) function 3429 if (m_fd >= 0) 3433 target_fileio_close (m_fd, &target_errno); 3441 return m_fd; 3445 int m_fd; variable
|
| /src/external/gpl3/gdb/dist/gdb/ |
| ui-file.c | 209 m_fd (-1), 223 m_fd = fileno (file); 262 FD_SET (m_fd, &readfds); 263 if (interruptible_select (m_fd + 1, &readfds, NULL, NULL, NULL) == -1) 267 return ::read (m_fd, buf, length_buf); 286 if (::write (m_fd, buf, length_buf)) 311 return ::isatty (m_fd);
|
| ui-file.h | 271 { return m_fd; } 275 descriptor in M_FD. */ 284 int m_fd; member in class:stdio_file
|
| solib-rocm.c | 377 int m_fd; 389 : m_inf (inf), m_fd (fd), m_offset (offset), m_size (size) 404 = target_fileio_pread (m_fd, static_cast<gdb_byte *> (buf) + nbytes, 432 if (target_fileio_fstat (m_fd, &stat, &target_errno) < 0) 456 if (info->fd_cache.close (m_fd, &target_errno) != 0)
|
| gdb_bfd.c | 377 m_fd (fd) 394 int m_fd; 437 bytes = target_fileio_pread (m_fd, (gdb_byte *) buf + pos, 475 target_fileio_close (m_fd, &target_errno); 493 result = target_fileio_fstat (m_fd, sb, &target_errno);
|
| linux-nat.c | 4042 : m_ptid (ptid), m_fd (std::move (fd)) 4044 gdb_assert (m_fd.get () != -1); 4050 m_fd.get (), m_ptid.pid (), m_ptid.lwp ()); 4055 return m_fd.get (); 4064 scoped_fd m_fd; 4058 scoped_fd m_fd; variable
|
| /src/external/bsd/atf/dist/atf-c/detail/ |
| process_test.c | 176 int m_fd; member in struct:connect_stream 194 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644); 198 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644); 204 ATF_REQUIRE(s->m_fd != -1); 207 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd)); 216 ATF_REQUIRE(close(s->m_fd) != -1); 225 int m_fd; member in struct:inherit_stream 247 s->m_fd = STDOUT_FILENO; 251 s->m_fd = STDERR_FILENO; 259 s->m_old_fd = dup(s->m_fd); 307 int m_fd; member in struct:redirect_fd_stream [all...] |
| process.h | 54 int m_fd; member in struct:atf_process_stream
|
| process.c | 156 sb->m_fd = fd; 350 err = safe_dup(sp->m_sb->m_fd, procfd);
|
| /src/external/bsd/atf/dist/atf-sh/ |
| atf-check.cpp | 112 int m_fd; member in class:__anon6384::temp_file 117 m_fd(-1) 122 m_fd = ::mkstemp(buf.get()); 123 if (m_fd == -1) 150 if (::write(m_fd, text.c_str(), text.size()) == -1) 157 if (m_fd != -1) { 159 ::close(m_fd); 160 m_fd = -1;
|
| /src/external/bsd/atf/dist/tools/ |
| process.cpp | 301 m_fd(fd) 319 safe_dup(m_fd, fd);
|
| process.hpp | 158 int m_fd; member in class:tools::process::stream_redirect_fd
|