Lines Matching refs:path
70 #define COPY_WHEN_ABSOLUTE(path) 2 argument
71 #define IS_UNC_PATH(path, len) \ argument
72 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
73 #define IS_ABSOLUTE_PATH(path, len) \ argument
74 …(len >= 2 && (/* is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) &&…
96 #define COPY_WHEN_ABSOLUTE(path) 0 argument
100 #define IS_ABSOLUTE_PATH(path, len) \ argument
101 (IS_SLASH(path[0]))
121 CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat);
122 # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0) argument
123 # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1) argument
146 CWD_API int virtual_chdir(const char *path);
147 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path));
148 CWD_API int virtual_filepath(const char *path, char **filepath);
149 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path);
150 CWD_API char *virtual_realpath(const char *path, char *real_path);
151 CWD_API FILE *virtual_fopen(const char *path, const char *mode);
152 CWD_API int virtual_open(const char *path, int flags, ...);
153 CWD_API int virtual_creat(const char *path, mode_t mode);
155 CWD_API int virtual_stat(const char *path, zend_stat_t *buf);
156 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf);
157 CWD_API int virtual_unlink(const char *path);
194 CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int u…
196 CWD_API char *tsrm_realpath(const char *path, char *real_path);
203 char *path; member
235 CWD_API void realpath_cache_del(const char *path, size_t path_len);
236 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, size_t path_len, time_t t);
253 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
255 #define VCWD_OPEN(path, flags) virtual_open(path, flags) argument
256 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path, flags, mode) argument
257 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
258 #define VCWD_CHDIR(path) virtual_chdir(path) argument
259 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir) argument
261 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path) argument
263 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument
264 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument
265 #define VCWD_UNLINK(path) virtual_unlink(path) argument
272 #define VCWD_UTIME(path, time) virtual_utime(path, time) argument
274 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
276 #define VCWD_CHOWN(path, owner, group) virtual_chown(path, owner, group, 0) argument
278 #define VCWD_LCHOWN(path, owner, group) virtual_chown(path, owner, group, 1) argument
284 #define VCWD_CREAT(path, mode) creat(path, mode) argument
288 #define VCWD_FOPEN(path, mode) php_win32_ioutil_fopen(path, mode) argument
289 #define VCWD_OPEN(path, flags) php_win32_ioutil_open(path, flags) argument
290 #define VCWD_OPEN_MODE(path, flags, mode) php_win32_ioutil_open(path, flags, mode) argument
294 #define VCWD_UNLINK(path) php_win32_ioutil_unlink(path) argument
295 #define VCWD_CHDIR(path) php_win32_ioutil_chdir(path) argument
298 #define VCWD_CHMOD(path, mode) php_win32_ioutil_chmod(path, mode) argument
300 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
301 #define VCWD_OPEN(path, flags) open(path, flags) argument
302 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
306 #define VCWD_UNLINK(path) unlink(path) argument
307 #define VCWD_CHDIR(path) chdir(path) argument
310 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
313 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir) argument
315 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
316 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
320 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path) argument
324 # define VCWD_UTIME(path, time) win32_utime(path, time) argument
326 # define VCWD_UTIME(path, time) utime(path, time) argument
331 #define VCWD_CHOWN(path, owner, group) chown(path, owner, group) argument
333 #define VCWD_LCHOWN(path, owner, group) lchown(path, owner, group) argument