Searched defs:real_path (Results 1 - 6 of 6) 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/sapi/cgi/
H A Dcgi_main.c767 char *real_path = NULL; local
776 real_path = tsrm_realpath(path, NULL TSRMLS_CC);
777 if (real_path == NULL) {
780 real_path_len = strlen(real_path);
781 path = real_path;
815 if (real_path) {
816 efree(real_path);
1188 char *real_path = NULL; local
1233 (real_path = tsrm_realpath(script_path_translated, NULL TSRMLS_CC)) == NULL)
1397 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/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)
1353 efree(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...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c740 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC)
742 return expand_filepath_ex(filepath, real_path, NULL, 0 TSRMLS_CC);
748 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len TSRMLS_DC) argument
750 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH TSRMLS_CC);
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 TSRMLS_DC) argument
788 if (real_path) {
789 memcpy(real_path, filepath, copy_len);
790 real_path[copy_len] = '\0';
792 real_path = estrndup(filepath, copy_len);
795 return real_path;
[all...]

Completed in 13 milliseconds