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

/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/sapi/fpm/fpm/
H A Dfpm_main.c688 char * real_path; local
697 real_path = tsrm_realpath(path, NULL);
698 if (real_path == NULL) {
701 real_path_len = strlen(real_path);
702 path = real_path;
1105 char *real_path = NULL; local
1153 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1344 efree(real_path);
/PHP_TRUNK/main/
H A Dfopen_wrappers.c740 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
742 return expand_filepath_ex(filepath, real_path, NULL, 0);
748 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len) argument
750 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
756 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
793 if (real_path) {
794 memcpy(real_path, filepath, copy_len);
795 real_path[copy_len] = '\0';
797 real_path = estrndup(filepath, copy_len);
800 return real_path;
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c752 char *real_path = NULL; local
761 real_path = tsrm_realpath(path, NULL);
762 if (real_path == NULL) {
765 real_path_len = strlen(real_path);
766 path = real_path;
800 if (real_path) {
801 efree(real_path);
1174 char *real_path = NULL; local
1219 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1383 efree(real_path);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c914 char real_path[MAXPATHLEN]; local
915 if (VCWD_REALPATH(script_file, real_path)) {
916 translated_path = strdup(real_path);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1418 CWD_API char *virtual_realpath(const char *path, char *real_path) /* {{{ */ argument
1451 memcpy(real_path, new_state.cwd, len);
1452 real_path[len] = '\0';
1453 retval = real_path;
1896 CWD_API char *tsrm_realpath(const char *path, char *real_path) /* {{{ */ argument
1930 if (real_path) {
1932 memcpy(real_path, new_state.cwd, copy_len);
1933 real_path[copy_len] = '\0';
1935 return real_path;

Completed in 28 milliseconds