Searched refs:real_path (Results 1 - 8 of 8) sorted by relevance

/PHP_5_3/TSRM/
H A Dtsrm_virtual_cwd.c1413 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */
1446 memcpy(real_path, new_state.cwd, len);
1447 real_path[len] = '\0';
1448 retval = real_path;
1939 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */
1973 if (real_path) {
1975 memcpy(real_path, new_state.cwd, copy_len);
1976 real_path[copy_len] = '\0';
1978 return real_path;
H A Dtsrm_virtual_cwd.h160 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)
318 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC)
H A Dtsrm_win32.c209 char * real_path = NULL; local
218 real_path = (char *)malloc(MAX_PATH);
219 if(tsrm_realpath(pathname, real_path TSRMLS_CC) == NULL) {
222 pathname = real_path;
226 free(real_path);
232 free(real_path);
285 if(bucket == NULL && real_path == NULL) {
288 real_path = (char *)malloc(MAX_PATH);
289 if(tsrm_realpath(pathname, real_path TSRMLS_CC) != NULL) {
290 pathname = real_path;
[all...]
/PHP_5_3/main/
H A Dfopen_wrappers.c837 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, size_t relative_to_len TSRMLS_DC) 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;
[all...]
H A Dfopen_wrappers.h29 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, size_t relative_to_len TSRMLS_DC);
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c733 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);
[all...]
/PHP_5_3/sapi/cli/
H A Dphp_cli.c1057 char real_path[MAXPATHLEN]; local
1058 if (VCWD_REALPATH(script_file, real_path)) {
1059 translated_path = strdup(real_path);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c714 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);

Completed in 30 milliseconds