Lines Matching refs:filepath
730 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC) argument
732 return expand_filepath_ex(filepath, real_path, NULL, 0 TSRMLS_CC);
738 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… argument
740 …return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH T…
746 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_… argument
752 if (!filepath[0]) {
754 } else if (IS_ABSOLUTE_PATH(filepath, strlen(filepath))) {
769 if (!result && (iam != filepath)) {
772 fdtest = VCWD_OPEN(filepath, O_RDONLY);
777 copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath);
779 memcpy(real_path, filepath, copy_len);
782 real_path = estrndup(filepath, copy_len);
797 if (virtual_file_ex(&new_state, filepath, NULL, realpath_mode TSRMLS_CC)) {