• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching +defs:doc +defs:directory

97     const char *out;  /* output directory */
125 char directory[500];
130 strncpy(directory, pattern, 499);
131 for (len = strlen(directory);len >= 0;len--) {
132 if (directory[len] == '/') {
134 directory[len] = 0;
154 strncpy(directory + len, FindFileData.cFileName, 499 - len);
155 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
169 strncpy(directory + len, FindFileData.cFileName, 499 - len);
170 ret->gl_pathv[ret->gl_pathc] = strdup(directory);
1738 xmlDocPtr doc;
1747 doc = xmlParseFile(filename);
1749 doc = xmlReadFile(filename, NULL, 0);
1751 if (doc == NULL)
1758 xmlSaveFile(temp, doc);
1762 xmlFreeDoc(doc);
1768 doc = xmlParseFile(temp);
1770 doc = xmlReadFile(temp, NULL, 0);
1772 if (doc == NULL)
1774 xmlSaveFile(temp, doc);
1778 xmlFreeDoc(doc);
1804 xmlDocPtr doc;
1846 doc = ctxt->myDoc;
1856 xmlFreeDoc(doc);
1862 htmlDocDumpMemory(doc, (xmlChar **) &base, &size);
1865 xmlDocDumpMemory(doc, (xmlChar **) &base, &size);
1866 xmlFreeDoc(doc);
1902 xmlDocPtr doc;
1915 doc = xmlReadMemory(base, size, filename, NULL, 0);
1917 if (doc == NULL) {
1920 xmlDocDumpMemory(doc, (xmlChar **) &base, &size);
1921 xmlFreeDoc(doc);
1949 xmlDocPtr doc;
1957 doc = xmlReadFile(filename, NULL, options);
1958 if (doc == NULL)
1965 xmlSaveFile(temp, doc);
1969 xmlFreeDoc(doc);
1974 doc = xmlReadFile(filename, NULL, options);
1975 if (doc == NULL)
1977 xmlSaveFile(temp, doc);
1981 xmlFreeDoc(doc);
2003 xmlDocPtr doc;
2010 doc = htmlReadFile(filename, NULL, options);
2015 doc = xmlReadFile(filename, NULL, options);
2016 xmlXIncludeProcessFlags(doc, options);
2021 doc = xmlReadFile(filename, NULL, options);
2025 if (doc == NULL) {
2031 htmlDocDumpMemory(doc, (xmlChar **) &base, &size);
2034 xmlDocDumpMemory(doc, (xmlChar **) &base, &size);
2038 if (doc != NULL) {
2041 xmlFreeDoc(doc);
2210 xmlDocPtr doc;
2214 doc = xmlReadFile(filename, NULL, options);
2215 if (doc == NULL) {
2219 reader = xmlReaderWalker(doc);
2222 xmlFreeDoc(doc);
2834 xmlDocPtr doc;
2836 doc = xmlReadFile(URL, NULL, 0);
2837 if (doc == NULL)
2839 xmlFreeDoc(doc);
2903 xmlDocPtr doc;
2910 doc = xmlReadFile(filename, NULL, options);
2911 if (doc == NULL) {
2924 xmlFreeDoc(doc);
2934 validResult = xmlSchemaValidateDoc(ctxt, doc);
2963 xmlFreeDoc(doc);
3079 xmlDocPtr doc;
3085 doc = xmlReadFile(filename, NULL, options);
3086 if (doc == NULL) {
3099 xmlFreeDoc(doc);
3109 ret = xmlRelaxNGValidateDoc(ctxt, doc);
3141 xmlFreeDoc(doc);
3420 xmlDocPtr doc;
3472 doc = xmlReadFile(xml, NULL, options);
3473 if (doc == NULL) {
3482 root = xmlDocGetRootElement(doc);
3490 patternc = xmlPatterncompile((const xmlChar *) str, doc->dict,
3495 xmlFreeDoc(doc);
3510 reader = xmlReaderWalker(doc);
3520 xmlFreeDoc(doc);
3553 xmlDocPtr doc;
3565 doc = xmlReadFile(filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
3566 if (doc == NULL) {
3574 if(xmlDocGetRootElement(doc) == NULL) {
3576 xmlFreeDoc(doc);
3580 node = doc->children;
3587 xmlFreeDoc(doc);
3594 xmlFreeDoc(doc);
3602 xmlFreeDoc(doc);
3615 xmlFreeDoc(doc);
3629 xmlFreeDoc(doc);
3637 xmlFreeDoc(doc);
3700 xmlDocPtr doc;
3716 doc = xmlReadFile(xml_filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
3717 if (doc == NULL) {
3725 if(xmlDocGetRootElement(doc) == NULL) {
3727 xmlFreeDoc(doc);
3735 xpath = load_xpath_expr(doc, xpath_filename);
3738 xmlFreeDoc(doc);
3747 xmlFreeDoc(doc);
3757 ret = xmlC14NDocDumpMemory(doc,
3781 xmlFreeDoc(doc);