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
254 memset(real_path, 0, sizeof(real_path));
290 expand_filepath_ex(path_dup, real_path, blacklist_path, blacklist_path_length);
292 expand_filepath(path_dup, real_path);
294 path_length = strlen(real_path);
307 memcpy(blacklist->entries[blacklist->pos].path, real_path, path_length + 1);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1429 CWD_API char *virtual_realpath(const char *path, char *real_path) /* {{{ */ argument
1462 memcpy(real_path, new_state.cwd, len);
1463 real_path[len] = '\0';
1464 retval = real_path;
1907 CWD_API char *tsrm_realpath(const char *path, char *real_path) /* {{{ */ argument
1941 if (real_path) {
1943 memcpy(real_path, new_state.cwd, copy_len);
1944 real_path[copy_len] = '\0';
1946 return real_path;
H A Dzend_virtual_cwd.h162 CWD_API char *virtual_realpath(const char *path, char *real_path);
208 CWD_API char *tsrm_realpath(const char *path, char *real_path);
269 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path)
320 #define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path)
/PHP_TRUNK/main/
H A Dfopen_wrappers.h29 PHPAPI char *expand_filepath(const char *filepath, char *real_path);
30 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len);
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);
H A Dfopen_wrappers.c744 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
746 return expand_filepath_ex(filepath, real_path, NULL, 0);
752 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len) argument
754 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
760 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, int realpath_mode) argument
797 if (real_path) {
798 memcpy(real_path, filepath, copy_len);
799 real_path[copy_len] = '\0';
801 real_path = estrndup(filepath, copy_len);
804 return real_path;
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c657 char * real_path; local
666 real_path = tsrm_realpath(path, NULL);
667 if (real_path == NULL) {
670 real_path_len = strlen(real_path);
671 path = real_path;
1069 char *real_path = NULL; local
1117 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1308 efree(real_path);
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c212 char * real_path = NULL; local
219 real_path = (char *)malloc(MAX_PATH);
220 if(tsrm_realpath(pathname, real_path) == NULL) {
223 pathname = real_path;
227 free(real_path);
233 free(real_path);
285 if(bucket == NULL && real_path == NULL) {
288 real_path = (char *)malloc(MAX_PATH);
289 if(tsrm_realpath(pathname, real_path) != NULL) {
290 pathname = real_path;
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c740 char *real_path = NULL; local
749 real_path = tsrm_realpath(path, NULL);
750 if (real_path == NULL) {
753 real_path_len = strlen(real_path);
754 path = real_path;
788 if (real_path) {
789 efree(real_path);
1161 char *real_path = NULL; local
1206 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1370 efree(real_path);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c922 char real_path[MAXPATHLEN]; local
923 if (VCWD_REALPATH(script_file, real_path)) {
924 translated_path = strdup(real_path);

Completed in 28 milliseconds