• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching refs:filename

453 __xmlLoaderErr(void *ctx, const char *msg, const char *filename)
478 filename, NULL, NULL, 0, 0,
479 msg, filename);
722 * stat on the filename fails, it can't be right).
817 * @filename: the URI for matching
824 xmlFileMatch (const char *filename ATTRIBUTE_UNUSED) {
830 * @filename: the URI for matching
833 * if @filename is " " then the standard input is used
838 xmlFileOpen_real (const char *filename) {
842 if (filename == NULL)
845 if (!strcmp(filename, "-")) {
850 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17)) {
852 path = &filename[17];
854 path = &filename[16];
856 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
858 path = &filename[8];
860 path = &filename[7];
862 } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:/", 6)) {
865 path = &filename[6];
867 path = &filename[5];
870 path = filename;
888 * @filename: the URI for matching
891 * version of @filename, if this fails fallback to @filename
896 xmlFileOpen (const char *filename) {
900 retval = xmlFileOpen_real(filename);
902 unescaped = xmlURIUnescapeString(filename, 0, NULL);
915 * @filename: the URI for matching
918 * if @filename is "-" then the standard output is used
923 xmlFileOpenW (const char *filename) {
927 if (!strcmp(filename, "-")) {
932 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17))
934 path = &filename[17];
936 path = &filename[16];
938 else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
940 path = &filename[8];
942 path = &filename[7];
945 path = filename;
1085 * @filename: the URI for matching
1092 xmlGzfileMatch (const char *filename ATTRIBUTE_UNUSED) {
1098 * @filename: the URI for matching
1101 * if @filename is " " then the standard input is used
1106 xmlGzfileOpen_real (const char *filename) {
1110 if (!strcmp(filename, "-")) {
1115 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17))
1117 path = &filename[17];
1119 path = &filename[16];
1121 else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
1123 path = &filename[8];
1125 path = &filename[7];
1128 path = filename;
1141 * @filename: the URI for matching
1144 * try to unescape @filename
1147 xmlGzfileOpen (const char *filename) {
1151 retval = xmlGzfileOpen_real(filename);
1153 unescaped = xmlURIUnescapeString(filename, 0, NULL);
1165 * @filename: the URI for matching
1169 * if @filename is " " then the standard input is used
1174 xmlGzfileOpenW (const char *filename, int compression) {
1180 if (!strcmp(filename, "-")) {
1185 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://localhost/", 17))
1187 path = &filename[17];
1189 path = &filename[16];
1191 else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:///", 8)) {
1193 path = &filename[8];
1195 path = &filename[7];
1198 path = filename;
1648 * @filename: the URI for matching
1655 xmlIOHTTPMatch (const char *filename) {
1656 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "http://", 7))
1663 * @filename: the URI for matching
1670 xmlIOHTTPOpen (const char *filename) {
1671 return(xmlNanoHTTPOpen(filename, NULL));
2008 * @filename: the URI for matching
2015 xmlIOFTPMatch (const char *filename) {
2016 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "ftp://", 6))
2023 * @filename: the URI for matching
2030 xmlIOFTPOpen (const char *filename) {
2031 return(xmlNanoFTPOpen(filename));
2494 * @URI: a C string containing the URI or filename
2498 * If filename is "-' then we use stdin as the input.
2588 * filename
2639 * @URI: a C string containing the URI or filename
2644 * If filename is "-' then we use stdout as the output.
3560 * @filename: the path to a file
3567 xmlParserGetDirectory(const char *filename) {
3579 if (filename == NULL) return(NULL);
3587 strncpy(dir, filename, 1023);
3640 if (ret->filename != NULL)
3642 (const char *) ret->filename);
3673 if (ret->filename != NULL)
3674 xmlFree((xmlChar *) ret->filename);
3679 ret->filename =