Lines Matching refs:path

69 #define COPY_WHEN_ABSOLUTE(path) 2  argument
70 #define IS_UNC_PATH(path, len) \ argument
71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
72 #define IS_ABSOLUTE_PATH(path, len) \ argument
73 …(len >= 2 && (/* is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) &&…
85 #define IS_ABSOLUTE_PATH(path, len) \ argument
86 ((strchr(path, ':') != NULL) || ((len >= 1) && ((path[0] == '/') || (path[0] == '\\'))))
108 #define COPY_WHEN_ABSOLUTE(path) 0 argument
112 #define IS_ABSOLUTE_PATH(path, len) \ argument
113 (IS_SLASH(path[0]))
133 CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat);
134 # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0) argument
135 # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1) argument
158 CWD_API int virtual_chdir(const char *path);
159 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path));
160 CWD_API int virtual_filepath(const char *path, char **filepath);
161 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path);
162 CWD_API char *virtual_realpath(const char *path, char *real_path);
163 CWD_API FILE *virtual_fopen(const char *path, const char *mode);
164 CWD_API int virtual_open(const char *path, int flags, ...);
165 CWD_API int virtual_creat(const char *path, mode_t mode);
167 CWD_API int virtual_stat(const char *path, zend_stat_t *buf);
168 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf);
169 CWD_API int virtual_unlink(const char *path);
206 CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int u…
208 CWD_API char *tsrm_realpath(const char *path, char *real_path);
215 char *path; member
247 CWD_API void realpath_cache_del(const char *path, int path_len);
248 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t);
261 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
263 #define VCWD_OPEN(path, flags) virtual_open(path, flags) argument
264 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path, flags, mode) argument
265 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
266 #define VCWD_CHDIR(path) virtual_chdir(path) argument
267 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir) argument
269 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path) argument
271 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument
272 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument
273 #define VCWD_UNLINK(path) virtual_unlink(path) argument
280 #define VCWD_UTIME(path, time) virtual_utime(path, time) argument
282 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
284 #define VCWD_CHOWN(path, owner, group) virtual_chown(path, owner, group, 0) argument
286 #define VCWD_LCHOWN(path, owner, group) virtual_chown(path, owner, group, 1) argument
293 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
294 #define VCWD_OPEN(path, flags) open(path, flags) argument
295 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
296 #define VCWD_CREAT(path, mode) creat(path, mode) argument
304 #define VCWD_CHDIR(path) chdir(path) argument
305 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir) argument
307 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
308 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
309 #define VCWD_UNLINK(path) unlink(path) 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
330 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
332 #define VCWD_CHOWN(path, owner, group) chown(path, owner, group) argument
334 #define VCWD_LCHOWN(path, owner, group) lchown(path, owner, group) argument