Lines Matching refs:path
50 FILE* android_fopen(const char* path, const char* mode) { in android_fopen() argument
53 auto normalized = PathUtils::recompose(PathUtils::decompose(path)); in android_fopen()
62 printf("Failed to open %s, err: %d\n", path, err); in android_fopen()
66 return WIDEN_CALL_2(fopen, path, mode); in android_fopen()
70 FILE* android_popen(const char* path, const char* mode) { in android_popen() argument
71 return WIDEN_CALL_2(popen, path, mode); in android_popen()
81 int android_open_without_mode(const char* path, int flags) { in android_open_without_mode() argument
82 int res = WIDEN_CALL_1(open, path, flags | O_CLOEXEC); in android_open_without_mode()
87 int android_open_with_mode(const char* path, int flags, mode_t mode) { in android_open_with_mode() argument
88 int res = WIDEN_CALL_1(open, path, flags | O_CLOEXEC, mode); in android_open_with_mode()
94 int android_stat(const char* path, struct _stati64* buf) { in android_stat() argument
95 return _wstati64(Win32UnicodeString(path).c_str(),buf); in android_stat()
98 int android_stat(const char* path, struct stat* buf) { in android_stat() argument
99 return stat(path, buf); in android_stat()
104 int android_lstat(const char* path, struct stat* buf) { in android_lstat() argument
105 return lstat(path, buf); in android_lstat()
109 int android_access(const char* path, int mode) { in android_access() argument
110 return WIDEN_CALL_1(access, path, mode); in android_access()
116 int android_mkdir(const char* path, mode_t) { in android_mkdir() argument
117 return _wmkdir(Win32UnicodeString(path).c_str()); in android_mkdir()
120 int android_mkdir(const char* path, mode_t mode) { in android_mkdir() argument
121 return mkdir(path, mode); in android_mkdir()
125 int android_creat(const char* path, mode_t mode) { in android_creat() argument
127 return android_open(path, O_CREAT | O_WRONLY | O_TRUNC, mode); in android_creat()
130 Win32UnicodeString unipath(path); in android_creat()
137 int android_unlink(const char* path) { in android_unlink() argument
138 return WIDEN_CALL_1(unlink, path); in android_unlink()
141 int android_chmod(const char* path, mode_t mode) { in android_chmod() argument
142 return WIDEN_CALL_1(chmod, path, mode); in android_chmod()
145 int android_rmdir(const char* path) { in android_rmdir() argument
148 return !RemoveDirectoryW(Win32UnicodeString(path).c_str()); in android_rmdir()
150 return WIDEN_CALL_1(rmdir, path); in android_rmdir()
188 int __cdecl remove(const char* path) { in remove() argument
189 return WIDEN_CALL_1(remove, path); in remove()
208 int __cdecl creat(const char* path, int mode) { in creat() argument
209 return WIDEN_CALL_1(creat, path, mode); in creat()
212 int __cdecl access(const char* path, int mode) { in access() argument
213 return WIDEN_CALL_1(access, path, mode); in access()
227 FILE* __cdecl fopen(const char* path, const char* mode) { in fopen() argument
228 return WIDEN_CALL_2(fopen, path, mode); in fopen()