Searched defs:real_path (Results 1 - 7 of 7) sorted by relevance

/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;
/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/ext/opcache/
H A Dzend_accelerator_blacklist.c230 char buf[MAXPATHLEN + 1], real_path[MAXPATHLEN + 1], *blacklist_path = NULL; local
247 memset(real_path, 0, sizeof(real_path));
283 expand_filepath_ex(path_dup, real_path, blacklist_path, blacklist_path_length);
285 expand_filepath(path_dup, real_path);
287 path_length = strlen(real_path);
300 memcpy(blacklist->entries[blacklist->pos].path, real_path, path_length + 1);
/PHP_TRUNK/main/
H A Dfopen_wrappers.c750 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
752 return expand_filepath_ex(filepath, real_path, NULL, 0);
758 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len) argument
760 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
766 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
803 if (real_path) {
804 memcpy(real_path, filepath, copy_len);
805 real_path[copy_len] = '\0';
807 real_path = estrndup(filepath, copy_len);
810 return real_path;
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c738 char *real_path = NULL; local
747 real_path = tsrm_realpath(path, NULL);
748 if (real_path == NULL) {
751 real_path_len = strlen(real_path);
752 path = real_path;
786 if (real_path) {
787 efree(real_path);
1159 char *real_path = NULL; local
1204 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1368 efree(real_path);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c910 char real_path[MAXPATHLEN]; local
911 if (VCWD_REALPATH(script_file, real_path)) {
912 translated_path = strdup(real_path);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c656 char * real_path; local
665 real_path = tsrm_realpath(path, NULL);
666 if (real_path == NULL) {
669 real_path_len = strlen(real_path);
670 path = real_path;
1068 char *real_path = NULL; local
1116 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1307 efree(real_path);

Completed in 21 milliseconds