Lines Matching refs:filepath
748 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
750 return expand_filepath_ex(filepath, real_path, NULL, 0);
756 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
758 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
764 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
771 if (!filepath[0]) {
775 path_len = (int)strlen(filepath);
777 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
792 if (!result && (iam != filepath)) {
795 fdtest = VCWD_OPEN(filepath, O_RDONLY);
802 memcpy(real_path, filepath, copy_len);
805 real_path = estrndup(filepath, copy_len);
820 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode)) {