Lines Matching refs:real_path
767 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
769 return expand_filepath_ex(filepath, real_path, NULL, 0);
774 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
776 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
781 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
818 if (real_path) {
819 memcpy(real_path, filepath, copy_len);
820 real_path[copy_len] = '\0';
822 real_path = estrndup(filepath, copy_len);
825 return real_path;
842 if (real_path) {
844 memcpy(real_path, new_state.cwd, copy_len);
845 real_path[copy_len] = '\0';
847 real_path = estrndup(new_state.cwd, new_state.cwd_length);
851 return real_path;