HomeSort by relevance Sort by last modified time
    Searched refs:fd_ (Results 1 - 13 of 13) sorted by null

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

Completed in 288 milliseconds