Searched refs:unix_open (Results 1 - 10 of 10) sorted by relevance

/system/core/adb/
H A Dsysdeps_win32_test.cpp107 int conin_fd = unix_open("CONIN$", O_RDONLY);
108 int conout_fd = unix_open("CONOUT$", O_RDWR);
117 int nul_fd = unix_open("nul", flags);
128 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY);
H A Dadb_trace.cpp66 int fd = unix_open(get_log_file_name().c_str(),
H A Dremount_service.cpp78 int fd = unix_open(dev.c_str(), O_RDONLY | O_CLOEXEC);
H A Dadb_utils.cpp55 int fd = unix_open(kNullFileName, O_RDONLY);
H A Dusb_linux.cpp152 int fd = unix_open(dev_name.c_str(), O_RDONLY | O_CLOEXEC);
531 usb->fd = unix_open(usb->path.c_str(), O_RDWR | O_CLOEXEC);
534 usb->fd = unix_open(usb->path.c_str(), O_RDONLY | O_CLOEXEC);
H A Dusb_linux_client.cpp261 fd = unix_open("/dev/android_adb", O_RDWR);
264 fd = unix_open("/dev/android", O_RDWR);
369 int fd = unix_open("/dev/android_adb_enable", O_RDWR);
H A Dsysdeps.h256 // See the comments for the !defined(_WIN32) version of unix_open().
257 extern int unix_open(const char* path, int options, ...);
264 // |fd| must be a real file descriptor, meaning STDxx_FILENO or unix_open() FDs
502 static __inline__ int unix_open(const char* path, int options,...) function
557 // not designed to take a file descriptor from unix_open(). See the comments
674 // Operate on a file descriptor returned from unix_open() or a well-known file
H A Dservices.cpp313 ret = unix_open(name + 4, O_RDWR | O_CLOEXEC);
H A Dsysdeps_win32.cpp2284 int unix_open(const char* path, int options, ...) { function
/system/core/adb/client/
H A Dmain.cpp66 int fd = unix_open(log_file_path.c_str(), O_WRONLY | O_CREAT | O_APPEND, 0640);

Completed in 330 milliseconds