Lines Matching refs:path
81 #define COPY_WHEN_ABSOLUTE(path) 2 argument
82 #define IS_UNC_PATH(path, len) \ argument
83 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
84 #define IS_ABSOLUTE_PATH(path, len) \ argument
85 …(len >= 2 && (/* is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) &&…
107 #define COPY_WHEN_ABSOLUTE(path) 0 argument
111 #define IS_ABSOLUTE_PATH(path, len) \ argument
112 (IS_SLASH(path[0]))
163 CWD_API int virtual_chdir(const char *path);
164 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path));
165 CWD_API int virtual_filepath(const char *path, char **filepath);
166 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path);
167 CWD_API char *virtual_realpath(const char *path, char *real_path);
168 CWD_API FILE *virtual_fopen(const char *path, const char *mode);
169 CWD_API int virtual_open(const char *path, int flags, ...);
170 CWD_API int virtual_creat(const char *path, mode_t mode);
172 CWD_API int virtual_stat(const char *path, zend_stat_t *buf);
173 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf);
174 CWD_API int virtual_unlink(const char *path);
197 CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int u…
199 CWD_API char *tsrm_realpath(const char *path, char *real_path);
206 char *path; member
239 CWD_API void realpath_cache_del(const char *path, size_t path_len);
240 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, size_t path_len, time_t t);
257 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
259 #define VCWD_OPEN(path, flags) virtual_open(path, flags) argument
260 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path, flags, mode) argument
261 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
262 #define VCWD_CHDIR(path) virtual_chdir(path) argument
263 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir) argument
265 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path) argument
267 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument
268 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument
269 #define VCWD_UNLINK(path) virtual_unlink(path) argument
276 #define VCWD_UTIME(path, time) virtual_utime(path, time) argument
278 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
280 #define VCWD_CHOWN(path, owner, group) virtual_chown(path, owner, group, 0) argument
282 #define VCWD_LCHOWN(path, owner, group) virtual_chown(path, owner, group, 1) argument
288 #define VCWD_CREAT(path, mode) creat(path, mode) argument
292 #define VCWD_FOPEN(path, mode) php_win32_ioutil_fopen(path, mode) argument
293 #define VCWD_OPEN(path, flags) php_win32_ioutil_open(path, flags) argument
294 #define VCWD_OPEN_MODE(path, flags, mode) php_win32_ioutil_open(path, flags, mode) argument
298 #define VCWD_UNLINK(path) php_win32_ioutil_unlink(path) argument
299 #define VCWD_CHDIR(path) php_win32_ioutil_chdir(path) argument
302 #define VCWD_CHMOD(path, mode) php_win32_ioutil_chmod(path, mode) argument
304 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
305 #define VCWD_OPEN(path, flags) open(path, flags) argument
306 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
310 #define VCWD_UNLINK(path) unlink(path) argument
311 #define VCWD_CHDIR(path) chdir(path) argument
314 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
317 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir) argument
319 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
320 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
324 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path) argument
328 # define VCWD_UTIME(path, time) win32_utime(path, time) argument
330 # define VCWD_UTIME(path, time) utime(path, time) argument
335 #define VCWD_CHOWN(path, owner, group) chown(path, owner, group) argument
337 #define VCWD_LCHOWN(path, owner, group) lchown(path, owner, group) argument