Searched refs:real_path (Results 1 – 10 of 10) sorted by relevance
/PHP-7.3/main/ |
H A D | fopen_wrappers.h | 27 PHPAPI char *expand_filepath(const char *filepath, char *real_path); 28 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… 29 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_…
|
H A D | fopen_wrappers.c | 744 return expand_filepath_ex(filepath, real_path, NULL, 0); 795 if (real_path) { 796 memcpy(real_path, filepath, copy_len); 797 real_path[copy_len] = '\0'; 799 real_path = estrndup(filepath, copy_len); 802 return real_path; 819 if (real_path) { 821 memcpy(real_path, new_state.cwd, copy_len); 822 real_path[copy_len] = '\0'; 824 real_path = estrndup(new_state.cwd, new_state.cwd_length); [all …]
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 241 char buf[MAXPATHLEN + 1], real_path[MAXPATHLEN + 1], *blacklist_path = NULL; in zend_accel_blacklist_loadone() local 258 memset(real_path, 0, sizeof(real_path)); in zend_accel_blacklist_loadone() 294 expand_filepath_ex(path_dup, real_path, blacklist_path, blacklist_path_length); in zend_accel_blacklist_loadone() 296 expand_filepath(path_dup, real_path); in zend_accel_blacklist_loadone() 298 path_length = strlen(real_path); in zend_accel_blacklist_loadone() 311 memcpy(blacklist->entries[blacklist->pos].path, real_path, path_length + 1); in zend_accel_blacklist_loadone()
|
/PHP-7.3/Zend/ |
H A D | zend_virtual_cwd.h | 148 CWD_API char *virtual_realpath(const char *path, char *real_path); 179 CWD_API char *tsrm_realpath(const char *path, char *real_path); 244 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path) argument 303 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path) argument
|
H A D | zend_virtual_cwd.c | 1479 CWD_API char *virtual_realpath(const char *path, char *real_path) /* {{{ */ in virtual_realpath() argument 1504 memcpy(real_path, new_state.cwd, len); in virtual_realpath() 1505 real_path[len] = '\0'; in virtual_realpath() 1506 retval = real_path; in virtual_realpath() 1950 CWD_API char *tsrm_realpath(const char *path, char *real_path) /* {{{ */ in tsrm_realpath() argument 1978 if (real_path) { in tsrm_realpath() 1980 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath() 1981 real_path[copy_len] = '\0'; in tsrm_realpath() 1983 return real_path; in tsrm_realpath()
|
/PHP-7.3/TSRM/ |
H A D | tsrm_win32.c | 208 char real_path[MAXPATHLEN] = {0}; in tsrm_win32_access() local 211 if(tsrm_realpath(pathname, real_path) == NULL) { in tsrm_win32_access() 215 pathname = real_path; in tsrm_win32_access() 278 if(bucket == NULL && !real_path[0]) { in tsrm_win32_access() 281 if(tsrm_realpath(pathname, real_path) != NULL) { in tsrm_win32_access() 282 pathname = real_path; in tsrm_win32_access()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 647 char * real_path; in php_cgi_ini_activate_user_config() local 656 real_path = tsrm_realpath(path, NULL); in php_cgi_ini_activate_user_config() 657 if (real_path == NULL) { in php_cgi_ini_activate_user_config() 660 real_path_len = strlen(real_path); in php_cgi_ini_activate_user_config() 661 path = real_path; in php_cgi_ini_activate_user_config() 1073 char *real_path = NULL; in init_request_info() local 1116 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL) in init_request_info() 1306 efree(real_path); in init_request_info()
|
/PHP-7.3/sapi/litespeed/ |
H A D | lsapi_main.c | 987 char *real_path; in lsapi_activate_user_ini_mk_realpath() local 992 real_path = tsrm_realpath(ctx->path, NULL); in lsapi_activate_user_ini_mk_realpath() 993 if (!real_path) { in lsapi_activate_user_ini_mk_realpath() 996 ctx->path = real_path; in lsapi_activate_user_ini_mk_realpath() 999 real_path = NULL; in lsapi_activate_user_ini_mk_realpath() 1006 if (real_path) in lsapi_activate_user_ini_mk_realpath() 1007 efree(real_path); in lsapi_activate_user_ini_mk_realpath()
|
/PHP-7.3/sapi/cgi/ |
H A D | cgi_main.c | 808 char *real_path = NULL; local 817 real_path = tsrm_realpath(path, NULL); 818 if (real_path == NULL) { 821 real_path_len = strlen(real_path); 822 path = real_path; 860 if (real_path) { 861 efree(real_path); 1236 char *real_path = NULL; local 1281 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL) 1444 efree(real_path);
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli.c | 943 char real_path[MAXPATHLEN]; in do_cli() local 944 if (VCWD_REALPATH(script_file, real_path)) { in do_cli() 945 translated_path = strdup(real_path); in do_cli()
|
Completed in 40 milliseconds