Lines Matching refs:filepath
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
764 if (!filepath[0]) {
768 path_len = strlen(filepath);
770 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
785 if (!result && (iam != filepath)) {
788 fdtest = VCWD_OPEN(filepath, O_RDONLY);
795 memcpy(real_path, filepath, copy_len);
798 real_path = estrndup(filepath, copy_len);
813 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode)) {