Lines Matching refs:filepath
757 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument
759 return expand_filepath_ex(filepath, real_path, NULL, 0);
765 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
767 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH);
773 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
780 if (!filepath[0]) {
784 path_len = strlen(filepath);
786 if (IS_ABSOLUTE_PATH(filepath, path_len)) {
801 if (!result && (iam != filepath)) {
804 fdtest = VCWD_OPEN(filepath, O_RDONLY);
811 memcpy(real_path, filepath, copy_len);
814 real_path = estrndup(filepath, copy_len);
829 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode)) {