Lines Matching refs:real_path
743 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
745 return expand_filepath_ex(filepath, real_path, NULL, 0);
750 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
752 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_… 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;
818 if (real_path) {
820 memcpy(real_path, new_state.cwd, copy_len);
821 real_path[copy_len] = '\0';
823 real_path = estrndup(new_state.cwd, new_state.cwd_length);
827 return real_path;