Searched defs:fd_ (Results 1 - 7 of 7) sorted by relevance

/external/chromium/base/
H A Drand_util_posix.cc25 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:__anon1588::URandomFd
H A Ddir_reader_linux.h33 : 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/
H A Dmulti_process_lock_linux.cc18 : 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/
H A Dsm_connection.h66 int fd() const { return fd_; }
128 int fd_; member in class:net::SMConnection
H A Depoll_server.h824 fd_(fd), mask_(mask), function_(function) {}
827 << "\tfd: " << fd_;
832 int fd_; member in class:net::EpollServer::EventRecorder::FDMaskOutput
/external/v8/src/
H A Dd8-posix.cc176 explicit OpenFDCloser(int fd): fd_(fd) { }
177 ~OpenFDCloser() { close(fd_); }
179 int fd_; member in class:v8::OpenFDCloser
/external/chromium/chrome/browser/
H A Dprocess_singleton_linux.cc373 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:__anon2210::ScopedSocket
467 fd_(fd),
477 CloseSocket(fd_);
507 const int fd_; member in class:ProcessSingleton::LinuxWatcher::SocketReader
[all...]

Completed in 181 milliseconds