Lines Matching refs:real_path
744 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
746 return expand_filepath_ex(filepath, real_path, NULL, 0);
752 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
754 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
760 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
797 if (real_path) {
798 memcpy(real_path, filepath, copy_len);
799 real_path[copy_len] = '\0';
801 real_path = estrndup(filepath, copy_len);
804 return real_path;
821 if (real_path) {
823 memcpy(real_path, new_state.cwd, copy_len);
824 real_path[copy_len] = '\0';
826 real_path = estrndup(new_state.cwd, new_state.cwd_length);
830 return real_path;