/external/chromium/chrome/common/ |
D | multi_process_lock_linux.cc | 18 : name_(name), fd_(-1) { } in MultiProcessLockLinux() 21 if (fd_ != -1) { in ~MultiProcessLockLinux() 27 if (fd_ != -1) { in TryLock() 77 fd_ = socket_fd; in TryLock() 91 if (fd_ == -1) { in Unlock() 95 if (HANDLE_EINTR(close(fd_)) < 0) { in Unlock() 98 fd_ = -1; in Unlock() 103 int fd_; member in MultiProcessLockLinux
|
/external/chromium/base/ |
D | dir_reader_linux.h | 33 : fd_(open(directory_path, O_RDONLY | O_DIRECTORY)), in DirReaderLinux() 39 if (fd_ >= 0) { in ~DirReaderLinux() 40 if (HANDLE_EINTR(close(fd_))) in ~DirReaderLinux() 46 return fd_ >= 0; in IsValid() 59 const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_)); in Next() 81 return fd_; in fd() 89 const int fd_;
|
D | rand_util_posix.cc | 25 fd_ = open("/dev/urandom", O_RDONLY); in URandomFd() 26 CHECK_GE(fd_, 0) << "Cannot open /dev/urandom: " << errno; in URandomFd() 30 close(fd_); in ~URandomFd() 33 int fd() const { return fd_; } in fd() 36 int fd_; member in __anona44fb59c0111::URandomFd
|
/external/chromium/net/tools/flip_server/ |
D | sm_connection.cc | 32 fd_(-1), in SMConnection() 65 epoll_server_->SetFDReady(fd_, EPOLLIN | EPOLLOUT); in ReadyToSend() 100 int ret = CreateConnectedSocket(&fd_, in InitSMConnection() 110 DCHECK_NE(-1, fd_); in InitSMConnection() 123 if (epoll_server_ && registered_in_epoll_server_ && fd_ != -1) { in InitSMConnection() 124 epoll_server_->UnregisterFD(fd_); in InitSMConnection() 126 if (fd_ != -1) { in InitSMConnection() 129 close(fd_); in InitSMConnection() 130 fd_ = -1; in InitSMConnection() 133 fd_ = fd; in InitSMConnection() [all …]
|
D | sm_connection.h | 66 int fd() const { return fd_; } in fd() 128 int fd_; variable
|
D | epoll_server.h | 824 fd_(fd), mask_(mask), function_(function) {} in FDMaskOutput() 827 << "\tfd: " << fd_; in OutputToStream() 832 int fd_; member
|
/external/chromium/chrome/browser/ |
D | process_singleton_linux.cc | 373 ScopedSocket() : fd_(-1) { Reset(); } in ScopedSocket() 375 int fd() { return fd_; } in fd() 378 fd_ = SetupSocketOnly(); in Reset() 381 if (fd_ >= 0) in Close() 382 CloseSocket(fd_); in Close() 383 fd_ = -1; in Close() 386 int fd_; member in __anone930bbde0111::ScopedSocket 467 fd_(fd), in SocketReader() 477 CloseSocket(fd_); in ~SocketReader() 507 const int fd_; member in ProcessSingleton::LinuxWatcher::SocketReader [all …]
|
/external/llvm/utils/unittest/googletest/ |
D | gtest-port.cc | 491 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream() 521 dup2(captured_fd, fd_); in CapturedStream() 533 dup2(uncaptured_fd_, fd_); in GetCapturedString() 551 const int fd_; // A stream to capture. member in testing::internal::CapturedStream
|
/external/chromium/testing/gtest/src/ |
D | gtest-port.cc | 491 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream() 517 dup2(captured_fd, fd_); in CapturedStream() 529 dup2(uncaptured_fd_, fd_); in GetCapturedString() 547 const int fd_; // A stream to capture. member in testing::internal::CapturedStream
|
/external/valgrind/unittest/ |
D | posix_tests.cc | 1014 ShmMutex() : fd_(-1) { } in ShmMutex() 1016 CHECK(fd_ == -1); in set_fd() 1017 fd_ = fd; in set_fd() 1027 CHECK(fd_ >= 0); in LockOrUnlockInternal() 1028 while (lockf(fd_, lock ? F_LOCK : F_ULOCK, 0) < 0) { in LockOrUnlockInternal() 1040 int fd_; member in NegativeTests_LockfTest::ShmMutex
|
/external/gtest/src/ |
D | gtest-port.cc | 491 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream() 534 dup2(captured_fd, fd_); in CapturedStream() 546 dup2(uncaptured_fd_, fd_); in GetCapturedString() 564 const int fd_; // A stream to capture. member in testing::internal::CapturedStream
|
/external/v8/src/ |
D | d8-posix.cc | 176 explicit OpenFDCloser(int fd): fd_(fd) { } in OpenFDCloser() 177 ~OpenFDCloser() { close(fd_); } in ~OpenFDCloser() 179 int fd_; member in v8::OpenFDCloser
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | physicalsocketserver.cc | 881 FileDispatcher(int fd, PhysicalSocketServer *ss) : ss_(ss), fd_(fd) { in FileDispatcher() 886 fcntl(fd_, F_SETFL, fcntl(fd_, F_GETFL, 0) | O_NONBLOCK); in FileDispatcher() 896 return fd_; in GetDescriptor() 937 int fd_; member in talk_base::FileDispatcher
|