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/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/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/main/
H A Dfopen_wrappers.c741 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
743 return expand_filepath_ex(filepath, real_path, NULL, 0);
749 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len) argument
751 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
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) 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/cli/
H A Dphp_cli.c923 char real_path[MAXPATHLEN]; local
924 if (VCWD_REALPATH(script_file, real_path)) {
925 translated_path = strdup(real_path);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c737 char *real_path = NULL; local
746 real_path = tsrm_realpath(path, NULL);
747 if (real_path == NULL) {
750 real_path_len = strlen(real_path);
751 path = real_path;
785 if (real_path) {
786 efree(real_path);
1158 char *real_path = NULL; local
1203 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1367 efree(real_path);
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c653 char * real_path; local
662 real_path = tsrm_realpath(path, NULL);
663 if (real_path == NULL) {
666 real_path_len = strlen(real_path);
667 path = real_path;
1076 char *real_path = NULL; local
1124 (real_path = tsrm_realpath(script_path_translated, NULL)) == NULL)
1315 efree(real_path);

Completed in 22 milliseconds