/art/compiler/utils/ |
swap_space.h | 97 int fd_; member in class:art::SwapSpace
|
/bionic/libc/bionic/ |
dirent.cpp | 52 int fd_; member in struct:DIR 67 d->fd_ = fd; 77 return d->fd_; 101 int rc = TEMP_FAILURE_RETRY(__getdents64(d->fd_, d->buff_, sizeof(d->buff_))); 160 int fd = d->fd_; 170 lseek(d->fd_, 0, SEEK_SET); 179 off_t ret = lseek(d->fd_, offset, SEEK_SET);
|
/bionic/libc/malloc_hooks/tests/ |
malloc_hooks_tests.cpp | 97 int fd_; member in class:MallocHooksTest
|
/bionic/linker/ |
linker_phdr.h | 73 int fd_; member in class:ElfReader
|
/device/google/cuttlefish_common/common/libs/auto_resources/ |
auto_resources.h | 86 explicit AutoCloseFileDescriptor(int fd) : fd_(fd) { } 88 if (fd_ != -1) { 89 (void)::close(fd_); 90 fd_ = -1; 95 return fd_; 99 return fd_ == -1; 107 if (fd_ != -1) { 108 rval = !::close(fd_); 109 fd_ = -1; 118 int fd_; member in class:AutoCloseFileDescriptor [all...] |
/hardware/libhardware/modules/camera/3_4/arc/ |
frame_buffer.h | 87 // Unmaps |data_| and closes |fd_|. 92 int GetFd() const { return fd_.get(); } 96 base::ScopedFD fd_; member in class:arc::V4L2FrameBuffer
|
/system/core/adb/ |
transport.h | 81 explicit FdConnection(unique_fd fd) : fd_(std::move(fd)) {} 89 unique_fd fd_; member in struct:FdConnection
|
/system/core/libmemunreachable/ |
LeakPipe.h | 78 LeakPipeBase() : fd_(-1) {} 82 void SetFd(int fd) { fd_ = fd; } 85 close(fd_); 86 fd_ = -1; 90 int fd_; member in class:android::LeakPipe::LeakPipeBase 102 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, &value, sizeof(T))); 121 ssize_t ret = TEMP_FAILURE_RETRY(write(fd_, vector.data(), size)); 140 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, reinterpret_cast<void*>(value), sizeof(T))); 163 ssize_t ret = TEMP_FAILURE_RETRY(read(fd_, ptr, size));
|
/system/core/libziparchive/ |
zip_archive_private.h | 96 : has_fd_(true), fd_(fd), base_ptr_(nullptr), data_length_(0) {} 99 : has_fd_(false), fd_(-1), base_ptr_(address), data_length_(static_cast<off64_t>(length)) {} 118 const int fd_; member in class:MappedZipFile
|
/system/extras/perfprofd/ |
perfprofd_io.cc | 46 explicit FileCopyingOutputStream(android::base::unique_fd&& fd_in) : fd_(std::move(fd_in)) { 49 return WriteFully(fd_.get(), buffer, size); 53 android::base::unique_fd fd_; member in class:android::perfprofd::__anon3002::FileCopyingOutputStream
|
/system/update_engine/common/ |
utils.h | 340 explicit ScopedFdCloser(int* fd) : fd_(fd) {} 342 if (should_close_ && fd_ && (*fd_ >= 0) && !IGNORE_EINTR(close(*fd_))) 343 *fd_ = -1; 347 int* fd_; member in class:chromeos_update_engine::ScopedFdCloser
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_ptrace_dumper_unittest.cc | 154 : fd_(-1), mapping_(NULL), size_(0) {} 158 if (fd_ >= 0) 159 close(fd_); 162 fd_ = fd; 171 int fd_; member in class:StackHelper
|
/external/libbrillo/brillo/streams/ |
file_stream.cc | 31 FileDescriptor(int fd, bool own) : fd_{fd}, own_{own} {} 39 bool IsOpen() const override { return fd_ >= 0; } 42 return HANDLE_EINTR(read(fd_, buf, nbyte)); 46 return HANDLE_EINTR(write(fd_, buf, nbyte)); 50 return lseek64(fd_, offset, whence); 55 if (fstat(fd_, &file_stat) < 0) 62 if (fstat(fd_, &file_stat) < 0) 68 return HANDLE_EINTR(ftruncate(fd_, length)); 73 // The stream may or may not own the file descriptor stored in |fd_|. 74 // Despite that, we will need to set |fd_| to -1 when Close() finished 189 int fd_; member in class:brillo::FileDescriptor [all...] |
/external/tensorflow/tensorflow/core/platform/posix/ |
posix_file_system.cc | 47 int fd_; member in class:tensorflow::PosixRandomAccessFile 51 : filename_(fname), fd_(fd) {} 52 ~PosixRandomAccessFile() override { close(fd_); } variable 59 ssize_t r = pread(fd_, dst, n, static_cast<off_t>(offset));
|
/system/extras/memtrack/ |
memtrack.h | 44 int fd_; member in class:FileData
|
/system/extras/simpleperf/ |
UnixSocket.h | 139 : fd_(fd), 154 return fd_ == -1; 221 int fd_; member in class:UnixSocketConnection
|
/bionic/libc/async_safe/ |
async_safe_log.cpp | 98 explicit FdOutputStream(int fd) : total(0), fd_(fd) {} 107 ssize_t bytes = TEMP_FAILURE_RETRY(write(fd_, data, len)); 119 int fd_; member in struct:FdOutputStream
|
/device/google/cuttlefish_common/common/libs/fs/ |
shared_fd.h | 207 int rval = bind(fd_, addr, addrlen); 214 int rval = connect(fd_, addr, addrlen); 229 int rval = TEMP_FAILURE_RETRY(dup(fd_)); 236 int rval = TEMP_FAILURE_RETRY(epoll_ctl(fd_, op, new_fd->fd_, event)); 243 int rval = TEMP_FAILURE_RETRY(epoll_wait(fd_, events, maxevents, timeout)); 250 int rval = TEMP_FAILURE_RETRY(fchown(fd_, owner, group)); 257 int rval = TEMP_FAILURE_RETRY(fcntl(fd_, command, value)); 264 int rval = TEMP_FAILURE_RETRY(fstat(fd_, buf)); 273 int rval = getsockopt(fd_, level, optname, optval, optlen) 512 int fd_; member in class:cvd::FileInstance [all...] |
/external/google-breakpad/src/client/solaris/handler/ |
solaris_lwp.cc | 154 AutoCloser(int fd) : fd_(fd) {} 155 ~AutoCloser() { if (fd_) close(fd_); } 157 int fd_; member in class:__anon20757::AutoCloser
|
/external/perf_data_converter/src/quipper/ |
perf_parser.cc | 283 explicit FdCloser(int fd) : fd_(fd) {} 285 if (fd_ != -1) close(fd_); 292 int fd_; member in class:quipper::__anon31933::FdCloser
|
/art/adbconnection/ |
adbconnection.cc | 112 explicit ScopedEventFdLock(int fd) : fd_(fd), data_(0) { 113 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); 117 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); 121 int fd_; member in class:adbconnection::ScopedEventFdLock [all...] |
/art/dt_fd_forward/ |
dt_fd_forward.cc | 236 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { 237 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); 241 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); 245 const android::base::unique_fd& fd_; member in class:dt_fd_forward::ScopedEventFdLock
|
/art/runtime/jit/ |
profile_compilation_info.h | 664 : fd_(fd), mem_map_(std::move(mem_map)), mem_map_cur_(0) {} 666 bool IsMemMap() const { return fd_ == -1; } 668 int32_t fd_; // The fd is not owned by this class. member in class:art::ProfileCompilationInfo::ProfileSource [all...] |
/external/drm_hwcomposer/ |
hwcomposer.cpp | 90 : fd_(fd), description_(description), timeline_(timeline) { 94 std::swap(fd_, rhs.fd_); 100 if (fd_ == NULL) 103 if (*fd_ >= 0) 106 *fd_ = timeline_.CreateDummyFence().Release(); 108 if (*fd_ < 0) 110 description_.c_str(), fd_, *fd_); 114 int *fd_ = NULL member in struct:android::CheckedOutputFd [all...] |
/external/google-breakpad/src/common/solaris/ |
dump_symbols.cc | 582 fd_(fd) { 585 if (fd_ != -1) 586 close(fd_); 589 return fd_; 592 int fd = fd_; 593 fd_ = -1; 597 int fd_; member in class:__anon20803::FDWrapper
|