/php-src/Zend/ |
H A D | zend_virtual_cwd.h | 83 #define COPY_WHEN_ABSOLUTE(path) 2 argument 84 #define IS_UNC_PATH(path, len) \ argument 86 #define IS_ABSOLUTE_PATH(path, len) \ argument 119 #define COPY_WHEN_ABSOLUTE(path) 0 argument 123 #define IS_ABSOLUTE_PATH(path, len) \ argument 218 char *path; member 274 #define VCWD_CHDIR(path) virtual_chdir(path) argument 281 #define VCWD_UNLINK(path) virtual_unlink(path) argument 300 #define VCWD_CREAT(path, mode) creat(path, mode) argument 322 #define VCWD_UNLINK(path) unlink(path) argument [all …]
|
H A D | zend_virtual_cwd.c | 361 CWD_API void realpath_cache_del(const char *path, size_t path_len) /* {{{ */ in realpath_cache_del() 1203 CWD_API zend_result virtual_chdir(const char *path) /* {{{ */ in virtual_chdir() 1211 CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path)) /* {{{ */ in virtual_chdir_file() 1299 CWD_API int virtual_filepath(const char *path, char **filepath) /* {{{ */ in virtual_filepath() 1305 CWD_API FILE *virtual_fopen(const char *path, const char *mode) /* {{{ */ in virtual_fopen() 1441 CWD_API int virtual_open(const char *path, int flags, ...) /* {{{ */ in virtual_open() 1477 CWD_API int virtual_creat(const char *path, mode_t mode) /* {{{ */ in virtual_creat() 1532 CWD_API int virtual_stat(const char *path, zend_stat_t *buf) /* {{{ */ in virtual_stat() 1550 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf) /* {{{ */ in virtual_lstat() 1568 CWD_API int virtual_unlink(const char *path) /* {{{ */ in virtual_unlink() [all …]
|
/php-src/win32/ |
H A D | ioutil.c | 183 PW32IO int php_win32_ioutil_open_w(const wchar_t *path, int flags, ...) in php_win32_ioutil_open_w() 282 PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode) in php_win32_ioutil_mkdir_w() 385 PW32IO int php_win32_ioutil_unlink_w(const wchar_t *path) in php_win32_ioutil_unlink_w() 456 PW32IO int php_win32_ioutil_rmdir_w(const wchar_t *path) in php_win32_ioutil_rmdir_w() 471 PW32IO int php_win32_ioutil_chdir_w(const wchar_t *path) in php_win32_ioutil_chdir_w() 538 PW32IO size_t php_win32_ioutil_dirname(char *path, size_t len) in php_win32_ioutil_dirname() 663 PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode) in php_win32_ioutil_access_w() 691 PW32IO FILE *php_win32_ioutil_fopen_w(const wchar_t *path, const wchar_t *mode) in php_win32_ioutil_fopen_w() 766 PW32IO wchar_t *php_win32_ioutil_realpath_w(const wchar_t *path, wchar_t *resolved) in php_win32_ioutil_realpath_w() 811 PW32IO char *realpath(const char *path, char *resolved) in realpath() [all …]
|
H A D | ioutil.h | 143 #define PHP_WIN32_IOUTIL_INIT_W(path) \ argument 151 #define PHP_WIN32_IOUTIL_REINIT_W(path) do { \ argument 295 __forceinline static int php_win32_ioutil_access(const char *path, mode_t mode) in php_win32_ioutil_access() 320 __forceinline static int php_win32_ioutil_open(const char *path, int flags, ...) in php_win32_ioutil_open() 355 __forceinline static int php_win32_ioutil_unlink(const char *path) in php_win32_ioutil_unlink() 379 __forceinline static int php_win32_ioutil_rmdir(const char *path) in php_win32_ioutil_rmdir() 574 __forceinline static int php_win32_ioutil_mkdir(const char *path, mode_t mode) in php_win32_ioutil_mkdir() 697 __forceinline static char *php_win32_ioutil_realpath(const char *path, char *resolved) in php_win32_ioutil_realpath() 778 #define php_win32_ioutil_stat(path, buf) php_win32_ioutil_stat_ex(path, buf, 0) argument 779 #define php_win32_ioutil_lstat(path, buf) php_win32_ioutil_stat_ex(path, buf, 1) argument [all …]
|
H A D | registry.c | 76 static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_len, HashTable *par… in LoadDirectory() 180 void UpdateIniFromRegistry(char *path) in UpdateIniFromRegistry()
|
/php-src/main/ |
H A D | fopen_wrappers.c | 142 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path) 285 PHPAPI int php_check_open_basedir(const char *path) 291 PHPAPI int php_check_open_basedir_ex(const char *path, int warn) 339 static FILE *php_fopen_and_set_opened_path(const char *path, const char *mode, zend_string **opened… 487 static zend_string *tsrm_realpath_str(const char *path) { 500 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_length, const char *path) 647 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_str…
|
H A D | php_ini.c | 38 #define TRANSLATE_SLASHES_LOWER(path) \ argument 48 #define TRANSLATE_SLASHES_LOWER(path) argument 398 static void append_ini_path(char *php_ini_search_path, size_t search_path_size, const char *path) in append_ini_path() 822 PHPAPI void php_ini_activate_per_dir_config(char *path, size_t path_len)
|
H A D | php_streams.h | 66 #define php_stream_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_wit… argument 77 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path)… argument 78 #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapp… argument 367 #define php_stream_stat_path(path, ssb) _php_stream_stat_path((path), 0, (ssb), NULL) argument 368 #define php_stream_stat_path_ex(path, flags, ssb, context) _php_stream_stat_path((path), (flags), (… argument 371 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument 374 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context) argument 377 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument 597 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (m… argument 598 #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_e… argument
|
/php-src/main/streams/ |
H A D | glob_wrapper.c | 40 char *path; member 108 static void php_glob_stream_path_split(glob_s_t *pglob, const char *path, int get_path, const char … in php_glob_stream_path_split() 140 const char *path; in php_glob_stream_read() local 215 static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, const char *path, const char… in php_glob_stream_opener()
|
H A D | php_stream_plain_wrapper.h | 30 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument 51 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_… argument
|
/php-src/ext/session/ |
H A D | session.stub.php | 28 function session_save_path(?string $path = null): string|false {} 88 function session_set_cookie_params(array|int $lifetime_or_options, ?string $path = null, ?string $d… 95 public function open(string $path, string $name): bool; 131 public function open(string $path, string $name): bool {}
|
/php-src/ext/ftp/ |
H A D | ftp.c | 694 ftp_nlist(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_nlist() 702 ftp_list(ftpbuf_t *ftp, const char *path, const size_t path_len, int recursive) in ftp_list() 710 ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_mlsd() 886 ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t ty… in ftp_get() 1052 ftp_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t typ… in ftp_put() 1110 ftp_append(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t … in ftp_append() 1153 ftp_size(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_size() 1173 ftp_mdtm(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_mdtm() 1220 ftp_delete(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_delete() 1999 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *path, const size_t pa… in ftp_genlist() [all …]
|
/php-src/ext/standard/ |
H A D | head.c | 81 zend_string *path, zend_string *domain, bool secure, bool httponly, in php_setcookie() 194 …ult php_head_parse_cookie_options_array(HashTable *options, zend_long *expires, zend_string **path, in php_head_parse_cookie_options_array() 229 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local
|
H A D | dl.c | 83 PHPAPI void *php_load_shlib(const char *path, char **errp) in php_load_shlib() 264 PHPAPI void *php_load_shlib(const char *path, char **errp) in php_load_shlib()
|
H A D | filestat.c | 107 static zend_result php_disk_total_space(char *path, double *space) /* {{{ */ in php_disk_total_space() 170 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local 192 static zend_result php_disk_free_space(char *path, double *space) /* {{{ */ in php_disk_free_space() 252 char *path, fullpath[MAXPATHLEN]; in PHP_FUNCTION() local
|
H A D | dir.stub.php | 96 public readonly string $path; variable in Directory
|
/php-src/ext/dba/ |
H A D | dba.stub.php | 26 …function dba_popen(string $path, string $mode, ?string $handler = null, int $permission = 0o644, i… 28 …function dba_open(string $path, string $mode, ?string $handler = null, int $permission = 0o644, in…
|
/php-src/benchmark/ |
H A D | shared.php | 62 function cloneRepo(string $path, string $url) {
|
/php-src/ext/posix/ |
H A D | posix.c | 584 zend_string *path; in PHP_FUNCTION() local 612 zend_string *path; in PHP_FUNCTION() local 703 char *filename, *path; in PHP_FUNCTION() local 739 char *filename, *path; in PHP_FUNCTION() local 1279 char *path; in PHP_FUNCTION() local
|
/php-src/ext/phar/ |
H A D | util.c | 189 …nt_entry(phar_archive_data *phar, char *filename, size_t filename_len, char *path, size_t path_len… in phar_mount_entry() 268 char *path, *arch, *entry, *test; in phar_find_in_include_path() local 473 zend_result phar_get_entry_data(phar_entry_data **ret, char *fname, size_t fname_len, char *path, s… in phar_get_entry_data() 633 phar_entry_data *phar_get_or_create_entry_data(char *fname, size_t fname_len, char *path, size_t pa… in phar_get_or_create_entry_data() 1244 phar_entry_info *phar_get_entry_info(phar_archive_data *phar, char *path, size_t path_len, char **e… in phar_get_entry_info() 1254 phar_entry_info *phar_get_entry_info_dir(phar_archive_data *phar, char *path, size_t path_len, char… in phar_get_entry_info_dir()
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 238 zend_string *path; in spl_filesystem_object_get_file_name() local 287 static void spl_filesystem_dir_open(spl_filesystem_object* intern, zend_string *path) in spl_filesystem_dir_open() 624 zend_string *path = spl_filesystem_object_get_path(intern); in spl_filesystem_object_get_debug_info() local 687 zend_string *path; in spl_filesystem_object_construct() local 852 zend_string *path; in PHP_METHOD() local 871 zend_string *path; in PHP_METHOD() local 918 zend_string *path; in PHP_METHOD() local 993 zend_string *path; in PHP_METHOD() local 1045 zend_string *path; in PHP_METHOD() local 1125 zend_string *path; in PHP_METHOD() local [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local
|
/php-src/ext/zip/ |
H A D | zip_stream.c | 124 const char *path = stream->orig_path; in php_zip_ops_stat() local 276 const char *path, in php_stream_zip_opener()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_blacklist.h | 28 char *path; member
|
/php-src/ext/bz2/ |
H A D | php_bz2.h | 53 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper)… argument
|