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

/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c237 char buf[MAXPATHLEN + 1], real_path[MAXPATHLEN + 1], *blacklist_path = NULL; local
255 memset(real_path, 0, sizeof(real_path));
291 expand_filepath_ex(path_dup, real_path, blacklist_path, blacklist_path_length TSRMLS_CC);
293 expand_filepath(path_dup, real_path TSRMLS_CC);
295 path_length = strlen(real_path);
308 memcpy(blacklist->entries[blacklist->pos].path, real_path, path_length + 1);
/PHP_TRUNK/main/
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);
31 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, int use_realpath TSRMLS_DC);
H A Dfopen_wrappers.c741 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC)
743 return expand_filepath_ex(filepath, real_path, NULL, 0 TSRMLS_CC);
749 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len TSRMLS_DC) argument
751 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH TSRMLS_CC);
757 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, int realpath_mode TSRMLS_DC) argument
794 if (real_path) {
795 memcpy(real_path, filepath, copy_len);
796 real_path[copy_len] = '\0';
798 real_path = estrndup(filepath, copy_len);
801 return real_path;
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c702 char * real_path; local
711 real_path = tsrm_realpath(path, NULL TSRMLS_CC);
712 if (real_path == NULL) {
715 real_path_len = strlen(real_path);
716 path = real_path;
1125 char *real_path = NULL; local
1173 (real_path = tsrm_realpath(script_path_translated, NULL TSRMLS_CC)) == NULL)
1364 efree(real_path);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.h162 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC);
208 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);
269 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC)
320 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC)
H A Dzend_virtual_cwd.c1429 CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */
1462 memcpy(real_path, new_state.cwd, len);
1463 real_path[len] = '\0';
1464 retval = real_path;
1956 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{ */
1990 if (real_path) {
1992 memcpy(real_path, new_state.cwd, copy_len);
1993 real_path[copy_len] = '\0';
1995 return real_path;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c772 char *real_path = NULL; local
781 real_path = tsrm_realpath(path, NULL TSRMLS_CC);
782 if (real_path == NULL) {
785 real_path_len = strlen(real_path);
786 path = real_path;
820 if (real_path) {
821 efree(real_path);
1193 char *real_path = NULL; local
1238 (real_path = tsrm_realpath(script_path_translated, NULL TSRMLS_CC)) == NULL)
1402 efree(real_path);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c919 char real_path[MAXPATHLEN]; local
920 if (VCWD_REALPATH(script_file, real_path)) {
921 translated_path = strdup(real_path);
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c209 char * real_path = NULL; local
216 real_path = (char *)malloc(MAX_PATH);
217 if(tsrm_realpath(pathname, real_path TSRMLS_CC) == NULL) {
220 pathname = real_path;
224 free(real_path);
230 free(real_path);
283 if(bucket == NULL && real_path == NULL) {
286 real_path = (char *)malloc(MAX_PATH);
287 if(tsrm_realpath(pathname, real_path TSRMLS_CC) != NULL) {
288 pathname = real_path;
[all...]

Completed in 18 milliseconds