Lines Matching refs:filepath
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
788 if (!filepath[0]) {
792 path_len = strlen(filepath);
794 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
809 if (!result && (iam != filepath)) {
812 fdtest = VCWD_OPEN(filepath, O_RDONLY);
819 memcpy(real_path, filepath, copy_len);
822 real_path = estrndup(filepath, copy_len);
837 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode)) {