Lines Matching full:path
490 * @path: the input file path
495 * Returns a canonicalized version of the path
498 xmlNormalizeWindowsPath(const xmlChar *path)
500 return xmlCanonicPath(path);
591 * @path: the path in utf-8 encoding
594 * function opens the file specified by @path
598 xmlWrapOpenUtf8(const char *path,int mode)
603 wPath = __xmlIOWin32UTF8ToWChar(path);
609 /* maybe path in native encoding */
611 fd = fopen(path, mode ? "wb" : "rb");
618 * @path: the path in utf-8 encoding
625 xmlWrapStatUtf8(const char *path,struct stat *info)
631 wPath = __xmlIOWin32UTF8ToWChar(path);
637 /* maybe path in native encoding */
639 retval = stat(path,info);
648 * @path: the path
651 * function opens the file specified by @path
655 xmlWrapOpenNative(const char *path,int mode)
657 return fopen(path,mode ? "wb" : "rb");
662 * @path: the path
669 xmlWrapStatNative(const char *path,struct stat *info)
672 return stat(path,info);
715 * @path: the path to check
717 * function checks to see if @path is a valid source
728 xmlCheckFilename (const char *path)
733 if (path == NULL)
738 if (xmlWrapStat(path, &stat_buffer) == -1)
741 if (stat(path, &stat_buffer) == -1)
839 const char *path = NULL;
852 path = &filename[17];
854 path = &filename[16];
858 path = &filename[8];
860 path = &filename[7];
865 path = &filename[6];
867 path = &filename[5];
870 path = filename;
872 if (path == NULL)
874 if (!xmlCheckFilename(path))
878 fd = xmlWrapOpen(path, 0);
880 fd = fopen(path, "r");
882 if (fd == NULL) xmlIOErr(0, path);
924 const char *path = NULL;
934 path = &filename[17];
936 path = &filename[16];
940 path = &filename[8];
942 path = &filename[7];
945 path = filename;
947 if (path == NULL)
951 fd = xmlWrapOpen(path, 1);
953 fd = fopen(path, "wb");
956 if (fd == NULL) xmlIOErr(0, path);
1107 const char *path = NULL;
1117 path = &filename[17];
1119 path = &filename[16];
1123 path = &filename[8];
1125 path = &filename[7];
1128 path = filename;
1130 if (path == NULL)
1132 if (!xmlCheckFilename(path))
1135 fd = gzopen(path, "rb");
1175 const char *path = NULL;
1187 path = &filename[17];
1189 path = &filename[16];
1193 path = &filename[8];
1195 path = &filename[7];
1198 path = filename;
1200 if (path == NULL)
1203 fd = gzopen(path, mode);
3560 * @filename: the path to a file
3689 const char *path;
3696 path = &URL[17];
3698 path = &URL[16];
3702 path = &URL[8];
3704 path = &URL[7];
3707 path = URL;
3709 return xmlCheckFilename(path);
3884 xmlIOErrMemory("building canonical path\n");