Home
last modified time | relevance | path

Searched refs:m_fd (Results 1 – 14 of 14) sorted by relevance

/external/lldb/tools/debugserver/source/
DRNBSocket.cpp160 m_fd = ::accept (listen_fd, (struct sockaddr *)&accept_addr, &accept_addr_len); in Listen()
162 if (m_fd == -1) in Listen()
182 ::close (m_fd); in Listen()
183 m_fd = -1; in Listen()
206 SetSocketOption (m_fd, IPPROTO_TCP, TCP_NODELAY, 1); in Listen()
218 m_fd = ::socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); in Connect()
219 if (m_fd == -1) in Connect()
223 SetSocketOption (m_fd, SOL_SOCKET, SO_REUSEADDR, 1); in Connect()
237 if (-1 == ::connect (m_fd, (const struct sockaddr *)&sa, sizeof(sa))) in Connect()
244 SetSocketOption (m_fd, IPPROTO_TCP, TCP_NODELAY, 1); in Connect()
[all …]
DTTYState.cpp20 m_fd(-1), in TTYState()
36 m_fd = fd; in GetTTYState()
46 m_fd = -1; in GetTTYState()
61 result = fcntl (m_fd, F_SETFL, m_tflags); in SetTTYState()
64 result = tcsetattr (m_fd, TCSANOW, &m_ttystate); in SetTTYState()
72 result = tcsetpgrp (m_fd, m_processGroup); in SetTTYState()
DRNBSocket.h33 m_fd (-1), in RNBSocket()
62 bool IsConnected () const { return m_fd != -1; } in IsConnected()
74 int m_fd; // Socket we use to communicate once conn established variable
DTTYState.h30 bool FileDescriptorValid() const { return m_fd >= 0; } in FileDescriptorValid()
36 int m_fd; // File descriptor
/external/lldb/include/lldb/Host/
DTerminal.h25 m_fd (fd) in m_fd() function
39 return m_fd; in GetFileDescriptor()
45 m_fd = fd; in SetFileDescriptor()
51 return m_fd != -1; in FileDescriptorIsValid()
57 m_fd = -1; in Clear()
67 int m_fd; // This may or may not be a terminal file descriptor
/external/lldb/source/Core/
DConnectionSharedMemory.cpp34 m_fd (-1), in ConnectionSharedMemory()
47 return m_fd >= 0; in IsConnected()
109 if (m_fd != -1) in Open()
120 m_fd = ::shm_open (m_name.c_str(), oflag, S_IRUSR|S_IWUSR); in Open()
123 ::ftruncate (m_fd, size); in Open()
125 if (m_mmap.MemoryMapFromFileDescriptor(m_fd, 0, size, true, false) == size) in Open()
/external/lldb/source/Host/common/
DTerminal.cpp27 return m_fd >= 0 && ::isatty (m_fd); in IsATerminal()
40 if (::tcgetattr(m_fd, &fd_termios) == 0) in SetEcho()
60 return ::tcsetattr (m_fd, TCSANOW, &fd_termios) == 0; in SetEcho()
77 if (::tcgetattr(m_fd, &fd_termios) == 0) in SetCanonical()
97 return ::tcsetattr (m_fd, TCSANOW, &fd_termios) == 0; in SetCanonical()
/external/lldb/source/Utility/
DKQueue.cpp24 m_fd = kqueue(); in GetFD()
25 return m_fd; in GetFD()
31 const int fd = m_fd; in Close()
34 m_fd = -1; in Close()
DKQueue.h31 m_fd(-1) in KQueue()
43 return m_fd >= 0; in IsValid()
65 int m_fd; // The kqueue fd
/external/lldb/include/lldb/Core/
DConnectionSharedMemory.h62 int m_fd; // One buffer that contains all we need variable
/external/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp189 m_fd (fd), in FDEvent()
223 return m_fd; in GetFD()
251 int m_fd; member in fd_interposing::FDEvent
540 log_to_fd (log_fd, "\nfd=%i was created with this event:\n", m_fd); in Dump()
/external/svox/pico/compat/jni/
Dcom_android_tts_compat_SynthProxy.cpp56 static double m_fa, m_fb, m_fc, m_fd, m_fe; variable
88 m_fd = a1/a0; in initializeEQ()
107 out0 = (m_fa*x0) + (m_fb*x1) + (m_fc*x2) + (m_fd*out1) + (m_fe*out2); in applyFilter()
/external/lldb/source/Target/
DProcess.cpp621 m_fd = fd; in Open()
645 m_fd = fd; in Close()
647 return m_fd >= 0; in Close()
658 m_fd = fd; in Duplicate()
661 return m_fd >= 0; in Duplicate()
682 if (info->m_fd == -1) in AddPosixSpawnFileAction()
686 error.SetError (::posix_spawn_file_actions_addclose (file_actions, info->m_fd), in AddPosixSpawnFileAction()
690 file_actions, info->m_fd); in AddPosixSpawnFileAction()
695 if (info->m_fd == -1) in AddPosixSpawnFileAction()
701 … error.SetError (::posix_spawn_file_actions_adddup2 (file_actions, info->m_fd, info->m_arg), in AddPosixSpawnFileAction()
[all …]
/external/lldb/include/lldb/Target/
DProcess.h454 m_fd (-1), in FileAction()
464 m_fd = -1; in Clear()
487 return m_fd; in GetFD()
512 int m_fd; // An existing file descriptor variable