Home
last modified time | relevance | path

Searched refs:unix_open (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dsysdeps_win32_test.cpp77 int conin_fd = unix_open("CONIN$", O_RDONLY); in TEST()
78 int conout_fd = unix_open("CONOUT$", O_RDWR); in TEST()
87 int nul_fd = unix_open("nul", flags); in TEST()
98 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY); in TEST()
Dremount_service.cpp74 int fd = unix_open(dev.c_str(), O_RDONLY | O_CLOEXEC); in make_block_device_writable()
Dadb_trace.cpp66 int fd = unix_open(get_log_file_name().c_str(), in start_device_log()
Dadb_utils.cpp58 int fd = unix_open(kNullFileName, O_RDONLY); in close_stdin()
Dsysdeps.h236 extern int unix_open(const char* path, int options, ...);
464 static __inline__ int unix_open(const char* path, int options,...) in unix_open() function
Dservices.cpp285 ret = unix_open(name + 4, O_RDWR | O_CLOEXEC); in service_to_fd()
Dsysdeps_win32.cpp2179 int unix_open(const char* path, int options, ...) { in unix_open() function
/system/core/adb/client/
Dusb_linux.cpp156 int fd = unix_open(dev_name.c_str(), O_RDONLY | O_CLOEXEC); in find_usb_device()
534 usb->fd = unix_open(usb->path.c_str(), O_RDWR | O_CLOEXEC); in register_device()
537 usb->fd = unix_open(usb->path.c_str(), O_RDONLY | O_CLOEXEC); in register_device()
Dmain.cpp70 int fd = unix_open(log_file_path.c_str(), O_WRONLY | O_CREAT | O_APPEND, 0640); in setup_daemon_logging()