Lines Matching refs:filepath
755 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
757 return expand_filepath_ex(filepath, real_path, NULL, 0);
762 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
764 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
769 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
776 if (!filepath[0]) {
780 path_len = strlen(filepath);
782 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
797 if (!result && (iam != filepath)) {
800 fdtest = VCWD_OPEN(filepath, O_RDONLY);
807 memcpy(real_path, filepath, copy_len);
810 real_path = estrndup(filepath, copy_len);
825 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode)) {