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

  /libnativehelper/include/nativehelper/
ScopedFd.h 26 class ScopedFd {
28 explicit ScopedFd(int fd) : fd(fd) {
31 ~ScopedFd() {
56 ScopedFd(const ScopedFd&);
57 void operator=(const ScopedFd&);
  /bionic/libc/private/
ScopedFd.h 26 class ScopedFd {
28 explicit ScopedFd(int fd) : fd(fd) {
31 ~ScopedFd() {
56 DISALLOW_COPY_AND_ASSIGN(ScopedFd);
  /external/qemu/android/base/files/
ScopedFd.h 26 class ScopedFd {
29 ScopedFd() : fd_(-1) {}
32 explicit ScopedFd(int fd) : fd_(fd) {}
35 ~ScopedFd() { close(); }
60 // Swap two ScopedFd instances.
61 void swap(ScopedFd* other) {
68 DISALLOW_COPY_AND_ASSIGN(ScopedFd);
ScopedFd_unittest.cpp 12 #include "android/base/files/ScopedFd.h"
37 TEST(ScopedFd, DefaultConstructor) {
38 ScopedFd f;
43 TEST(ScopedFd, Constructor) {
44 ScopedFd f(OpenNull());
48 TEST(ScopedFd, Release) {
49 ScopedFd f(OpenNull());
57 TEST(ScopedFd, Close) {
58 ScopedFd f(OpenNull());
64 TEST(ScopedFd, Swap)
    [all...]
  /external/qemu/android/emulation/
CpuAccelerator.cpp 30 #include "android/base/files/ScopedFd.h"
55 using base::ScopedFd;
97 ScopedFd fd(TEMP_FAILURE_RETRY(open("/dev/kvm", O_RDWR)));
250 ScopedFd fd(open("/dev/HAX", O_RDWR));
  /art/runtime/
mem_map.cc 30 #include "ScopedFd.h"
247 ScopedFd fd(-1);
526 ScopedFd fd(ashmem_create_region(debug_friendly_name.c_str(), tail_base_size));
534 ScopedFd fd(-1);
dex_file.cc 40 #include "ScopedFd.h"
55 ScopedFd fd(open(filename, O_RDONLY, 0));
89 ScopedFd fd(OpenAndReadMagic(file_part, &magic, error_msg));
124 ScopedFd fd(OpenAndReadMagic(filename, &magic, error_msg));
181 ScopedFd delayed_close(fd);
    [all...]
  /art/runtime/native/
dalvik_system_DexFile.cc 46 #include "ScopedFd.h"
248 ScopedFd src(open(oldfile, O_RDONLY));
263 ScopedFd dst(open(newfile, O_WRONLY|O_CREAT|O_TRUNC, 0600));
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp 23 #include "ScopedFd.h"
    [all...]
  /bionic/linker/
linker.cpp 45 #include "private/ScopedFd.h"
743 ScopedFd file_guard(-1);
    [all...]

Completed in 1527 milliseconds