Searched refs:real_path (Results 1 – 8 of 8) sorted by relevance
/PHP-5.3/main/ |
H A D | fopen_wrappers.h | 29 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC); 30 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz…
|
H A D | fopen_wrappers.c | 837 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC) 839 return expand_filepath_ex(filepath, real_path, NULL, 0 TSRMLS_CC); 845 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument 877 real_path = estrndup(filepath, copy_len); 879 return real_path; 896 if (real_path) { 898 memcpy(real_path, new_state.cwd, copy_len); 899 real_path[copy_len] = '\0'; 901 real_path = estrndup(new_state.cwd, new_state.cwd_length); 905 return real_path;
|
/PHP-5.3/TSRM/ |
H A D | tsrm_win32.c | 209 char * real_path = NULL; in tsrm_win32_access() local 218 real_path = (char *)malloc(MAX_PATH); in tsrm_win32_access() 222 pathname = real_path; in tsrm_win32_access() 226 free(real_path); in tsrm_win32_access() 232 free(real_path); in tsrm_win32_access() 285 if(bucket == NULL && real_path == NULL) { in tsrm_win32_access() 288 real_path = (char *)malloc(MAX_PATH); in tsrm_win32_access() 290 pathname = real_path; in tsrm_win32_access() 371 if(real_path != NULL) { in tsrm_win32_access() 372 free(real_path); in tsrm_win32_access() [all …]
|
H A D | tsrm_virtual_cwd.h | 160 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC); 206 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC); 267 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC) argument 318 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC) argument
|
H A D | tsrm_virtual_cwd.c | 1413 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */ in virtual_realpath() 1446 memcpy(real_path, new_state.cwd, len); in virtual_realpath() 1447 real_path[len] = '\0'; in virtual_realpath() 1448 retval = real_path; in virtual_realpath() 1939 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */ in tsrm_realpath() 1973 if (real_path) { in tsrm_realpath() 1975 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath() 1976 real_path[copy_len] = '\0'; in tsrm_realpath() 1978 return real_path; in tsrm_realpath()
|
/PHP-5.3/sapi/cgi/ |
H A D | cgi_main.c | 733 char *real_path = NULL; local 742 real_path = tsrm_realpath(path, NULL TSRMLS_CC); 744 if (real_path == NULL) { 747 real_path_len = strlen(real_path); 748 path = real_path; 782 if (real_path) { 783 free(real_path); 1131 char *real_path = NULL; local 1176 (real_path = tsrm_realpath(script_path_translated, NULL TSRMLS_CC)) == NULL) 1340 free(real_path);
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 714 char * real_path; local 723 real_path = tsrm_realpath(path, NULL TSRMLS_CC); 724 if (real_path == NULL) { 727 real_path_len = strlen(real_path); 728 path = real_path; 1131 char *real_path = NULL; local 1176 (real_path = tsrm_realpath(script_path_translated, NULL TSRMLS_CC)) == NULL) 1354 free(real_path);
|
/PHP-5.3/sapi/cli/ |
H A D | php_cli.c | 1057 char real_path[MAXPATHLEN]; in WinMain() local 1058 if (VCWD_REALPATH(script_file, real_path)) { in WinMain() 1059 translated_path = strdup(real_path); in WinMain()
|
Completed in 47 milliseconds