Lines Matching refs:path
68 #define COPY_WHEN_ABSOLUTE(path) 2 argument
69 #define IS_UNC_PATH(path, len) \ argument
70 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
71 #define IS_ABSOLUTE_PATH(path, len) \ argument
72 …(len >= 2 && (/* is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) &&…
94 #define COPY_WHEN_ABSOLUTE(path) 0 argument
98 #define IS_ABSOLUTE_PATH(path, len) \ argument
99 (IS_SLASH(path[0]))
119 CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat);
120 # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0) argument
121 # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1) argument
144 CWD_API int virtual_chdir(const char *path);
145 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path));
146 CWD_API int virtual_filepath(const char *path, char **filepath);
147 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path);
148 CWD_API char *virtual_realpath(const char *path, char *real_path);
149 CWD_API FILE *virtual_fopen(const char *path, const char *mode);
150 CWD_API int virtual_open(const char *path, int flags, ...);
151 CWD_API int virtual_creat(const char *path, mode_t mode);
153 CWD_API int virtual_stat(const char *path, zend_stat_t *buf);
154 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf);
155 CWD_API int virtual_unlink(const char *path);
177 CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int u…
179 CWD_API char *tsrm_realpath(const char *path, char *real_path);
186 char *path; member
218 CWD_API void realpath_cache_del(const char *path, size_t path_len);
219 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, size_t path_len, time_t t);
236 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
238 #define VCWD_OPEN(path, flags) virtual_open(path, flags) argument
239 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path, flags, mode) argument
240 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
241 #define VCWD_CHDIR(path) virtual_chdir(path) argument
242 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir) argument
244 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path) argument
246 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument
247 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument
248 #define VCWD_UNLINK(path) virtual_unlink(path) argument
255 #define VCWD_UTIME(path, time) virtual_utime(path, time) argument
257 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
259 #define VCWD_CHOWN(path, owner, group) virtual_chown(path, owner, group, 0) argument
261 #define VCWD_LCHOWN(path, owner, group) virtual_chown(path, owner, group, 1) argument
267 #define VCWD_CREAT(path, mode) creat(path, mode) argument
271 #define VCWD_FOPEN(path, mode) php_win32_ioutil_fopen(path, mode) argument
272 #define VCWD_OPEN(path, flags) php_win32_ioutil_open(path, flags) argument
273 #define VCWD_OPEN_MODE(path, flags, mode) php_win32_ioutil_open(path, flags, mode) argument
277 #define VCWD_UNLINK(path) php_win32_ioutil_unlink(path) argument
278 #define VCWD_CHDIR(path) php_win32_ioutil_chdir(path) argument
281 #define VCWD_CHMOD(path, mode) php_win32_ioutil_chmod(path, mode) argument
283 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
284 #define VCWD_OPEN(path, flags) open(path, flags) argument
285 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
289 #define VCWD_UNLINK(path) unlink(path) argument
290 #define VCWD_CHDIR(path) chdir(path) argument
293 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
296 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir) argument
298 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
299 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
303 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path) argument
307 # define VCWD_UTIME(path, time) win32_utime(path, time) argument
309 # define VCWD_UTIME(path, time) utime(path, time) argument
314 #define VCWD_CHOWN(path, owner, group) chown(path, owner, group) argument
316 #define VCWD_LCHOWN(path, owner, group) lchown(path, owner, group) argument