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 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len)))
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, struct stat *buf, int lstat);
134 CWD_API int php_sys_stat(const char *path, struct stat *buf);
135 CWD_API int php_sys_lstat(const char *path, struct stat *buf);
156 CWD_API int virtual_chdir(const char *path TSRMLS_DC);
157 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path TSRMLS_DC) TSRMLS_…
158 CWD_API int virtual_filepath(const char *path, char **filepath TSRMLS_DC);
159 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path TSR…
160 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC);
161 CWD_API FILE *virtual_fopen(const char *path, const char *mode TSRMLS_DC);
162 CWD_API int virtual_open(const char *path TSRMLS_DC, int flags, ...);
163 CWD_API int virtual_creat(const char *path, mode_t mode TSRMLS_DC);
165 CWD_API int virtual_stat(const char *path, struct stat *buf TSRMLS_DC);
166 CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC);
167 CWD_API int virtual_unlink(const char *path TSRMLS_DC);
204 CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int u…
206 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);
213 char *path; member
245 CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
246 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRML…
259 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode TSRMLS_CC) argument
261 #define VCWD_OPEN(path, flags) virtual_open(path TSRMLS_CC, flags) argument
262 #define VCWD_OPEN_MODE(path, flags, mode) virtual_open(path TSRMLS_CC, flags, mode) argument
263 #define VCWD_CREAT(path, mode) virtual_creat(path, mode TSRMLS_CC) argument
264 #define VCWD_CHDIR(path) virtual_chdir(path TSRMLS_CC) argument
265 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir TSRMLS_CC) argument
267 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC) argument
269 #define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC) argument
270 #define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC) argument
271 #define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC) argument
278 #define VCWD_UTIME(path, time) virtual_utime(path, time TSRMLS_CC) argument
280 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode TSRMLS_CC) argument
282 #define VCWD_CHOWN(path, owner, group) virtual_chown(path, owner, group, 0 TSRMLS_CC) argument
284 #define VCWD_LCHOWN(path, owner, group) virtual_chown(path, owner, group, 1 TSRMLS_CC) argument
291 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
292 #define VCWD_OPEN(path, flags) open(path, flags) argument
293 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
294 #define VCWD_CREAT(path, mode) creat(path, mode) argument
302 #define VCWD_CHDIR(path) chdir(path) argument
303 #define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir) argument
305 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
306 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
307 #define VCWD_UNLINK(path) unlink(path) argument
318 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC) argument
322 # define VCWD_UTIME(path, time) win32_utime(path, time) argument
324 # define VCWD_UTIME(path, time) utime(path, time) argument
328 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
330 #define VCWD_CHOWN(path, owner, group) chown(path, owner, group) argument
332 #define VCWD_LCHOWN(path, owner, group) lchown(path, owner, group) argument