/vbox/src/libs/libxml2-2.6.31/doc/examples/ |
H A D | reader4.c | 22 const xmlChar *URL; local 31 * information about the document like the URL, but one must also 40 URL = docPtr->URL; 41 if (NULL == URL) { 42 fprintf(stderr, "Failed to obtain URL\n"); 46 fprintf(stderr, "%s: Failed to parse\n", URL); 50 printf("%s: Processed ok\n", (const char *)URL);
|
/vbox/src/libs/libxml2-2.6.31/ |
H A D | runsuite.c | 139 testExternalEntityLoader(const char *URL, const char *ID, argument 145 if (!strcmp(testEntitiesName[i], URL)) { 155 if (checkTestFile(URL)) { 156 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt); 159 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt); 164 fprintf(stderr, "Failed to find resource %s\n", URL);
|
H A D | nanoftp.c | 125 char *path; /* the path within the URL */ 293 * @URL: The URL used to initialize the context 295 * (Re)Initialize an FTP context by parsing the URL and finding 300 xmlNanoFTPScanURL(void *ctx, const char *URL) { argument 319 if (URL == NULL) return; 321 uri = xmlParseURIRaw(URL, 1); 357 * @URL: The URL used to update the context 359 * Update an FTP context by parsing the URL an 369 xmlNanoFTPUpdateURL(void *ctx, const char *URL) argument 426 xmlNanoFTPScanProxy(const char *URL) argument 471 xmlNanoFTPNewCtxt(const char *URL) argument 1991 xmlNanoFTPOpen(const char *URL) argument [all...] |
H A D | nanohttp.c | 136 char *path; /* the path within the URL */ 151 char *location; /* the new URL in case of redirect */ 270 * @URL: The URL used to initialize the context 272 * (Re)Initialize an HTTP context by parsing the URL and finding 277 xmlNanoHTTPScanURL(xmlNanoHTTPCtxtPtr ctxt, const char *URL) { argument 298 if (URL == NULL) return; 300 uri = xmlParseURIRaw(URL, 1); 325 * @URL: The proxy URL use 334 xmlNanoHTTPScanProxy(const char *URL) argument 379 xmlNanoHTTPNewCtxt(const char *URL) argument 1149 xmlNanoHTTPOpen(const char *URL, char **contentType) argument 1169 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) argument 1270 xmlNanoHTTPMethodRedir(const char *URL, const char *method, const char *input, char **contentType, char **redir, const char *headers, int ilen ) argument 1527 xmlNanoHTTPMethod(const char *URL, const char *method, const char *input, char **contentType, const char *headers, int ilen) argument 1547 xmlNanoHTTPFetch(const char *URL, const char *filename, char **contentType) argument [all...] |
H A D | schematron.c | 175 const xmlChar *URL; member in struct:_xmlSchematronParserCtxt 575 * @URL: the location of the schema 583 xmlSchematronNewParserCtxt(const char *URL) argument 587 if (URL == NULL) 601 ret->URL = xmlDictLookup(ret->dict, (const xmlChar *) URL, -1); 1085 if (ctxt->URL != NULL) { 1086 doc = xmlReadFile((const char *) ctxt->URL, NULL, 1092 ctxt->URL, NULL); 1106 doc->URL [all...] |
H A D | xinclude.c | 53 xmlChar *URI; /* the fully resolved resource URL */ 76 xmlChar * url; /* the current URL processed */ 78 int urlMax; /* size of URL stack */ 79 xmlChar * *urlTab; /* URL stack */ 327 xmlXIncludeErrMemory(ctxt, NULL, "adding URL"); 338 xmlXIncludeErrMemory(ctxt, NULL, "adding URL"); 350 * Pops the top URL from the URL stack 414 * @URL: the URL o 419 xmlXIncludeParseFile(xmlXIncludeCtxtPtr ctxt, const char *URL) argument 493 xmlChar *URL; local 1386 xmlChar *URL; local 1778 xmlChar *URL; local [all...] |
H A D | catalog.c | 137 xmlChar *URL; /* The expanded URL using the base */ member in struct:_xmlCatalogEntry 271 const xmlChar *value, const xmlChar *URL, xmlCatalogPrefer prefer, 300 if (URL == NULL) 301 URL = value; 302 if (URL != NULL) 303 ret->URL = xmlStrdup(URL); 305 ret->URL = NULL; 349 if (ret->URL ! 270 xmlNewCatalogEntry(xmlCatalogEntryType type, const xmlChar *name, const xmlChar *value, const xmlChar *URL, xmlCatalogPrefer prefer, xmlCatalogEntryPtr group) argument 1148 xmlChar *URL = NULL; local 3618 xmlCatalogAddLocal(void *catalogs, const xmlChar *URL) argument [all...] |
H A D | pattern.c | 920 xmlChar *URL = NULL; local 956 XML_PAT_COPY_NSNAME(ctxt, URL, XML_XML_NAMESPACE); 960 XML_PAT_COPY_NSNAME(ctxt, URL, ctxt->namespaces[2 * i]) 976 PUSH(XML_OP_ATTR, NULL, URL); 984 PUSH(XML_OP_ATTR, token, URL); 991 if (URL != NULL) 992 XML_PAT_FREE_STRING(ctxt, URL) 1012 xmlChar *URL = NULL; local 1077 XML_PAT_COPY_NSNAME(ctxt, URL, XML_XML_NAMESPACE) 1081 XML_PAT_COPY_NSNAME(ctxt, URL, ctx [all...] |
H A D | xmllint.c | 250 xmllintExternalEntityLoader(const char *URL, const char *ID, argument 257 const char *lastsegment = URL; 258 const char *iter = URL; 276 ret = defaultEntityLoader(URL, ID, ctxt); 285 "Loaded URL=\"%s\" ID=\"%s\"\n", 286 URL ? URL : "(null)", 308 "Loaded URL=\"%s\" ID=\"%s\"\n", 322 if (URL != NULL) 323 warning(ctxt, "failed to load external entity \"%s\"\n", URL); [all...] |
H A D | runtest.c | 226 testExternalEntityLoader(const char *URL, const char *ID, argument 230 if (checkTestFile(URL)) { 231 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt); 234 ret = xmlNoNetExternalEntityLoader(URL, ID, ctxt); 2752 /* Verify we received the escaped URL */ 2771 /* Verify we received the escaped URL */ 2819 urip_checkURL(const char *URL) { argument 2822 doc = xmlReadFile(URL, NULL, 0); 2861 fprintf(stderr, "failed the URL passing test for %s",
|
H A D | xmlIO.c | 3545 * case it will handle encoding and update of the base URL in case of 3613 static int xmlNoNetExists(const char *URL) { argument 3616 if (URL == NULL) 3619 if (!xmlStrncasecmp(BAD_CAST URL, BAD_CAST "file://localhost/", 17)) 3621 path = &URL[17]; 3623 path = &URL[16]; 3625 else if (!xmlStrncasecmp(BAD_CAST URL, BAD_CAST "file:///", 8)) { 3627 path = &URL[8]; 3629 path = &URL[7]; 3632 path = URL; 3652 xmlResolveResourceFromCatalog(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) argument 3726 xmlDefaultExternalEntityLoader(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) argument 3801 xmlLoadExternalEntity(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) argument 3838 xmlNoNetExternalEntityLoader(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) argument [all...] |
H A D | xmlreader.c | 514 if (cur->URL != NULL) xmlFree((char *) cur->URL); 4862 * @URL: the base URL to use for the document 4872 xmlParserInputBufferPtr input, const char *URL, 4949 (const char *) reader->input->buffer->content, 4, URL); 4954 xmlCreatePushParserCtxt(reader->sax, NULL, NULL, 0, URL); 4972 if (URL == NULL) 4976 xmlCanonicPath((const xmlChar *) URL); 5053 if ((URL ! 4871 xmlTextReaderSetup(xmlTextReaderPtr reader, xmlParserInputBufferPtr input, const char *URL, const char *encoding, int options) argument 5134 xmlReaderForDoc(const xmlChar * cur, const char *URL, const char *encoding, int options) argument 5184 xmlReaderForMemory(const char *buffer, int size, const char *URL, const char *encoding, int options) argument 5220 xmlReaderForFd(int fd, const char *URL, const char *encoding, int options) argument 5257 xmlReaderForIO(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument 5340 xmlReaderNewDoc(xmlTextReaderPtr reader, const xmlChar * cur, const char *URL, const char *encoding, int options) argument 5404 xmlReaderNewMemory(xmlTextReaderPtr reader, const char *buffer, int size, const char *URL, const char *encoding, int options) argument 5439 xmlReaderNewFd(xmlTextReaderPtr reader, int fd, const char *URL, const char *encoding, int options) argument 5474 xmlReaderNewIO(xmlTextReaderPtr reader, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument [all...] |
H A D | HTMLparser.c | 5939 * @URL: the base URL to use for the document 5949 htmlDoRead(htmlParserCtxtPtr ctxt, const char *URL, const char *encoding, argument 5963 if ((URL != NULL) && (ctxt->input != NULL) && 5965 ctxt->input->filename = (char *) xmlStrdup((const xmlChar *) URL); 5982 * @URL: the base URL to use for the document 5991 htmlReadDoc(const xmlChar * cur, const char *URL, const char *encoding, int options) argument 6002 return (htmlDoRead(ctxt, URL, encoding, options, 0)); 6007 * @filename: a file or URL 6040 htmlReadMemory(const char *buffer, int size, const char *URL, const char *encoding, int options) argument 6066 htmlReadFd(int fd, const char *URL, const char *encoding, int options) argument 6108 htmlReadIO(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument 6152 htmlCtxtReadDoc(htmlParserCtxtPtr ctxt, const xmlChar * cur, const char *URL, const char *encoding, int options) argument 6220 htmlCtxtReadMemory(htmlParserCtxtPtr ctxt, const char *buffer, int size, const char *URL, const char *encoding, int options) argument 6262 htmlCtxtReadFd(htmlParserCtxtPtr ctxt, int fd, const char *URL, const char *encoding, int options) argument 6304 htmlCtxtReadIO(htmlParserCtxtPtr ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument [all...] |
H A D | parser.c | 222 void *user_data, int depth, const xmlChar *URL, 1217 * @URL: the namespace name 1225 nsPush(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URL) argument 1232 if (ctxt->nsTab[i + 1] == URL) 1261 ctxt->nsTab[ctxt->nsNr++] = URL; 1454 * Pushes a new element name/prefix/URL on top of the name stack 4296 xmlChar *URL = NULL; local 4319 URL = xmlStrndup(base, tmp - base); 4325 if (URL != NULL) { 4326 ctxt->catalogs = xmlCatalogAddLocal(ctxt->catalogs, URL); 8222 const xmlChar *URL = xmlDictLookup(ctxt->dict, attvalue, len); local 8255 const xmlChar *URL = xmlDictLookup(ctxt->dict, attvalue, len); local 11415 xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, const xmlChar *URL, const xmlChar *ID, xmlNodePtr *lst) argument 11618 xmlParseExternalEntityPrivate(xmlDocPtr doc, xmlParserCtxtPtr oldctxt, xmlSAXHandlerPtr sax, void *user_data, int depth, const xmlChar *URL, const xmlChar *ID, xmlNodePtr *list) argument 11826 xmlParseExternalEntity(xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data, int depth, const xmlChar *URL, const xmlChar *ID, xmlNodePtr *lst) argument 12487 xmlCreateEntityParserCtxt(const xmlChar *URL, const xmlChar *ID, const xmlChar *base) argument 13580 xmlDoRead(xmlParserCtxtPtr ctxt, const char *URL, const char *encoding, int options, int reuse) argument 13625 xmlReadDoc(const xmlChar * cur, const char *URL, const char *encoding, int options) argument 13672 xmlReadMemory(const char *buffer, int size, const char *URL, const char *encoding, int options) argument 13696 xmlReadFd(int fd, const char *URL, const char *encoding, int options) argument 13738 xmlReadIO(xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument 13781 xmlCtxtReadDoc(xmlParserCtxtPtr ctxt, const xmlChar * cur, const char *URL, const char *encoding, int options) argument 13849 xmlCtxtReadMemory(xmlParserCtxtPtr ctxt, const char *buffer, int size, const char *URL, const char *encoding, int options) argument 13893 xmlCtxtReadFd(xmlParserCtxtPtr ctxt, int fd, const char *URL, const char *encoding, int options) argument 13936 xmlCtxtReadIO(xmlParserCtxtPtr ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument [all...] |
H A D | relaxng.c | 224 xmlChar *URL; member in struct:_xmlRelaxNGParserCtxt 1505 * @URL: the normalized URL 1515 const xmlChar * URL ATTRIBUTE_UNUSED, 1525 "Elimination of <include> start from %s\n", URL); 1529 name, URL); 1581 * @URL: the normalized URL 1592 xmlRelaxNGLoadInclude(xmlRelaxNGParserCtxtPtr ctxt, const xmlChar * URL, argument 1602 "xmlRelaxNGLoadInclude(%s)\n", URL); 1929 xmlRelaxNGLoadExternalRef(xmlRelaxNGParserCtxtPtr ctxt, const xmlChar * URL, const xmlChar * ns) argument 6597 xmlRelaxNGNewParserCtxt(const char *URL) argument 6901 xmlChar *href, *ns, *base, *URL; local 6987 xmlChar *href, *ns, *base, *URL; local [all...] |
H A D | xmlschemas.c | 605 const xmlChar *URL; member in struct:_xmlSchemaParserCtxt 2076 file = (const char *) vctxt->doc->URL; 9945 * @URL: the location of the schema 9954 xmlSchemaNewParserCtxtUseDict(const char *URL, xmlDictPtr dict) argument 9963 if (URL != NULL) 9964 ret->URL = xmlDictLookup(dict, (const xmlChar *) URL, -1); 10235 URI = xmlBuildURI(location, ctxtNode->doc->URL); 10493 if (schemaDoc->URL != NULL) 10495 schemaDoc->URL, 12416 xmlSchemaNewParserCtxt(const char *URL) argument [all...] |
H A D | testapi.c | 1574 const char * URL; /* the base URL to use for the document */ local 1589 URL = gen_filepath(n_URL, 2); 1593 ret_val = htmlCtxtReadDoc(ctxt, (const xmlChar *)cur, URL, (const char *)encoding, options); 1598 des_filepath(n_URL, URL, 2); 1633 const char * filename; /* a file or URL */ 1681 const char * URL; /* the base URL to use for the document */ local 1698 URL = gen_filepath(n_URL, 3); 1702 ret_val = htmlCtxtReadMemory(ctxt, (const char *)buffer, size, URL, (cons 2478 const char * URL; /* the base URL to use for the document */ local 2583 const char * URL; /* the base URL to use for the document */ local 11704 const char * URL; /* The URL used to initialize the context */ local 11738 const char * URL; /* the URL to the resource */ local 11899 const char * URL; /* The proxy URL used to initialize the proxy context */ local 11926 const char * URL; /* The URL used to update the context */ local 12127 const char * URL; /* The URL to load */ local 12234 const char * URL; /* The URL to load */ local 12275 const char * URL; /* The URL to load */ local 12454 const char * URL; /* The proxy URL used to initialize the proxy context */ local 12692 const char * URL; /* the base URL to use for the document */ local 12807 const char * URL; /* the base URL to use for the document */ local 13339 const char * URL; /* the URL for the entity to load */ local 13681 xmlChar * URL; /* the URL for the entity to load */ local 13923 xmlChar * URL; /* the URL for the entity to load */ local 14392 const char * URL; /* the base URL to use for the document */ local 14493 const char * URL; /* the base URL to use for the document */ local 15793 xmlChar * URL; /* the entity URL */ local 17545 char * URL; /* the location of the schema */ local 27824 const char * URL; /* the URL for the entity to load */ local 29536 const char * URL; /* the base URL to use for the document */ local 29641 const char * URL; /* the base URL to use for the document */ local 29703 const char * URL; /* the base URL to use for the document */ local 29822 const char * URL; /* the base URL to use for the document */ local 32249 const char * URL; /* the base URL to use for the document */ local 33881 char * URL; /* the location of the schema */ local [all...] |
/vbox/src/libs/libxml2-2.6.31/include/libxml/ |
H A D | tree.h | 351 const xmlChar *href; /* URL for the namespace */ 519 const xmlChar *URL; /* The URI for that document */ member in struct:_xmlDoc
|
/vbox/src/libs/libxml2-2.6.31/python/ |
H A D | libxml.c | 651 pythonExternalEntityLoader(const char *URL, const char *ID, argument 664 (char *) "(ssO)", URL, ID, ctxtobj); 686 if (URL != NULL) 688 URL); 693 } else if (URL != NULL) { 694 result->filename = (char *) xmlStrdup((const xmlChar *)URL); 695 result->directory = xmlParserGetDirectory((const char *) URL); 700 result = defaultExternalEntityLoader(URL, ID, ctxt); 2261 res = doc->URL; 3018 xmlChar *URL; local [all...] |
H A D | libxml2-py.c | 1890 char * URL; local 1894 if (!PyArg_ParseTuple(args, (char *)"t#izzi:htmlReadMemory", &buffer, &py_buffsize0, &size, &URL, &encoding, &options)) 1897 c_retval = htmlReadMemory(buffer, size, URL, encoding, options); 3497 char * URL; local 3499 if (!PyArg_ParseTuple(args, (char *)"z:xmlNanoHTTPScanProxy", &URL)) 3502 xmlNanoHTTPScanProxy(URL); 5352 char * URL; local 5356 if (!PyArg_ParseTuple(args, (char *)"izzi:xmlReadFd", &fd, &URL, &encoding, &options)) 5359 c_retval = xmlReadFd(fd, URL, encoding, options); 5707 char * URL; local 6170 char * URL; local 6518 char * URL; local 6975 char * URL; local 7217 char * URL; local 7372 char * URL; local 7739 char * URL; local 8306 char * URL; local 8832 char * URL; local 9221 char * URL; local 9277 char * URL; local 9478 char * URL; local 9746 char * URL; local 10030 char * URL; local 10587 char * URL; local 11134 char * URL; local 11212 char * URL; local 11636 char * URL; local 12032 char * URL; local 12249 char * URL; local 14205 xmlChar * URL; local [all...] |