/external/webkit/Source/WebCore/editing/ |
H A D | MarkupAccumulator.cpp | 96 void MarkupAccumulator::serializeNodesWithNamespaces(Node* node, Node* nodeToSkip, EChildrenOnly childrenOnly, const Namespaces* namespaces) argument 102 if (namespaces) 103 namespaceHash = *namespaces; 122 void MarkupAccumulator::appendStartTag(Node* node, Namespaces* namespaces) argument 125 appendStartMarkup(markup, node, namespaces); 213 bool MarkupAccumulator::shouldAddNamespaceAttribute(const Attribute& attribute, Namespaces& namespaces) argument 215 namespaces.checkConsistency(); 219 namespaces.set(emptyAtom.impl(), attribute.value().impl()); 225 namespaces.set(attribute.localName().impl(), attribute.value().impl()); 232 void MarkupAccumulator::appendNamespace(Vector<UChar>& result, const AtomicString& prefix, const AtomicString& namespaceURI, Namespaces& namespaces) argument 321 appendElement(Vector<UChar>& out, Element* element, Namespaces* namespaces) argument 333 appendOpenTag(Vector<UChar>& out, Element* element, Namespaces* namespaces) argument 351 appendAttribute(Vector<UChar>& out, Element* element, const Attribute& attribute, Namespaces* namespaces) argument 389 appendStartMarkup(Vector<UChar>& result, const Node* node, Namespaces* namespaces) argument [all...] |
/external/markdown/markdown/ |
H A D | html4.py | 128 def _serialize_html(write, elem, encoding, qnames, namespaces): 145 if items or namespaces: 156 if namespaces: 157 items = namespaces.items() 190 qnames, namespaces = _namespaces( 194 write, root, encoding, qnames, namespaces 201 # identify namespaces used in this tree 207 namespaces = {} 209 namespaces[default_namespace] = "" 219 prefix = namespaces [all...] |
/external/libxml2/ |
H A D | schematron.c | 140 int nbNs; /* the number of namespaces */ 145 int nbNamespaces; /* number of namespaces in the array */ 147 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematron 194 int nbNamespaces; /* number of namespaces in the array */ 196 const xmlChar **namespaces; /* the array of namespaces */ member in struct:_xmlSchematronParserCtxt 404 ctxt->namespaces); 569 if (schema->namespaces != NULL) 570 xmlFree((char **) schema->namespaces); [all...] |
H A D | pattern.c | 182 const xmlChar **namespaces; /* the namespaces definitions */ member in struct:_xmlPatParserContext 183 int nb_namespaces; /* the number of namespaces */ 281 * @namespaces: the prefix definitions, array of [URI, prefix] terminated 290 const xmlChar **namespaces) { 306 if (namespaces != NULL) { 308 for (i = 0;namespaces[2 * i] != NULL;i++); 313 cur->namespaces = namespaces; 959 if (xmlStrEqual(ctxt->namespaces[ 289 xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict, const xmlChar **namespaces) argument 2354 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags, const xmlChar **namespaces) argument [all...] |
H A D | xmllint.c | 1524 const xmlChar **namespaces, 1545 if (namespaces != NULL) { 1548 if (namespaces[i] != NULL) 1549 fprintf(stdout, ":%s", namespaces[i]); 1551 fprintf(stdout, "='%s'", namespaces[i]); 1991 const xmlChar *namespaces[22]; local 1997 namespaces[i++] = ns->href; 1998 namespaces[i++] = ns->prefix; 2000 namespaces[i++] = NULL; 2001 namespaces[ 1519 startElementNsDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument [all...] |
H A D | xpath.c | 3873 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes 3982 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes 5101 if (ctxt->namespaces != NULL) { 5105 if ((ctxt->namespaces[i] != NULL) && 5106 (xmlStrEqual(ctxt->namespaces[i]->prefix, prefix))) 5107 return(ctxt->namespaces[i]->href); 12043 * Setup namespaces. 14563 const xmlChar **namespaces = NULL; local 14574 * Additionally, if there is no list of namespaces available and 14577 * to have a list of namespaces a [all...] |
H A D | SAX2.c | 1648 * Insert all the defaulted attributes from the DTD especially namespaces 1677 * processed, the local namespaces are available. 2140 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions 2156 const xmlChar **namespaces, 2253 pref = namespaces[i++]; 2254 uri = namespaces[i++]; 2151 xmlSAX2StartElementNs(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes) argument
|
/external/libxml2/include/libxml/ |
H A D | pattern.h | 56 const xmlChar **namespaces);
|
H A D | SAX2.h | 116 const xmlChar **namespaces,
|
H A D | xpath.h | 260 * check namespaces at compilation 308 xmlNsPtr *namespaces; /* Array of namespaces */ member in struct:_xmlXPathContext 322 xmlHashTablePtr nsHash; /* The namespaces hash table */ 338 xmlNsPtr *tmpNsList; /* Array of namespaces */ 339 int tmpNsNr; /* number of namespaces in scope */
|
H A D | xmlreader.h | 271 const xmlChar **namespaces);
|
H A D | parser.h | 279 int nsNr; /* the number of inherited namespaces */ 677 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions 694 const xmlChar **namespaces, 1100 XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | QName.java | 230 * @param namespaces Namespace stack to use to resolve namespace 232 public QName(String qname, Stack namespaces) argument 234 this(qname, namespaces, false); 243 * @param namespaces Namespace stack to use to resolve namespace 247 public QName(String qname, Stack namespaces, boolean validate) argument 269 int depth = namespaces.size(); 273 NameSpace ns = (NameSpace) namespaces.elementAt(i);
|
/external/libxslt/ |
H A D | Android.mk | 8 libxslt/namespaces.c \
|
/external/webkit/Source/WebCore/dom/ |
H A D | XMLDocumentParserLibxml2.cpp | 89 const xmlChar** namespaces, int nb_attributes, int nb_defaulted, const xmlChar** attributes) 97 callback->namespaces = static_cast<xmlChar**>(xmlMalloc(sizeof(xmlChar*) * nb_namespaces * 2)); 99 callback->namespaces[i] = xmlStrdup(namespaces[i]); 209 xmlFree(namespaces[i]); 210 xmlFree(namespaces); 220 nb_namespaces, const_cast<const xmlChar**>(namespaces), 228 xmlChar** namespaces; member in struct:WebCore::PendingCallbacks::PendingStartElementNSCallback 599 // Add namespaces based on the parent node 708 xmlSAX2Namespace* namespaces local 88 appendStartElementNSCallback(const xmlChar* xmlLocalName, const xmlChar* xmlPrefix, const xmlChar* xmlURI, int nb_namespaces, const xmlChar** namespaces, int nb_attributes, int nb_defaulted, const xmlChar** attributes) argument 1115 startElementNsHandler(void* closure, const xmlChar* localname, const xmlChar* prefix, const xmlChar* uri, int nb_namespaces, const xmlChar** namespaces, int nb_attributes, int nb_defaulted, const xmlChar** libxmlAttributes) argument [all...] |
H A D | XMLDocumentParserQt.cpp | 141 // Add namespaces based on the parent node 155 QXmlStreamNamespaceDeclarations namespaces; 163 namespaces.append(QXmlStreamNamespaceDeclaration(attr->localName(), attr->value())); 167 m_stream.addExtraNamespaceDeclarations(namespaces);
|
H A D | XMLDocumentParser.h | 264 const xmlChar** namespaces, int nb_attributes, int nb_defaulted, const xmlChar** libxmlAttributes);
|
/external/libxslt/libxslt/ |
H A D | templates.c | 30 #include "namespaces.h" 47 * @nsList: the namespaces in scope 48 * @nsNr: the number of namespaces in scope 68 oldNamespaces = ctxt->xpathCtxt->namespaces; 72 ctxt->xpathCtxt->namespaces = nsList; 94 ctxt->xpathCtxt->namespaces = oldNamespaces; 106 * @nsNr: the number of namespaces in the list 107 * @nsList: the list of in-scope namespaces to use 131 oldNamespaces = ctxt->xpathCtxt->namespaces; 134 /* TODO: do we need to propagate the namespaces her [all...] |
H A D | variables.c | 843 oldXPNamespaces = xpctxt->namespaces; 873 xpctxt->namespaces = comp->inScopeNs->list; 876 xpctxt->namespaces = NULL; 880 xpctxt->namespaces = comp->nsList; 884 xpctxt->namespaces = NULL; 910 xpctxt->namespaces = oldXPNamespaces; 1094 oldXPNamespaces = xpctxt->namespaces; 1106 xpctxt->namespaces = comp->inScopeNs->list; 1109 xpctxt->namespaces = NULL; 1113 xpctxt->namespaces [all...] |
H A D | transform.c | 44 #include "namespaces.h" 1092 * reconciliate namespaces. 1176 * Add namespaces as they are needed 1270 * new namespaces are added automatically. 1275 * and xsltCopyNamespaceList() in "namespaces.c"? 1288 * One can add namespaces only on element nodes 1416 * that it will again search the already declared namespaces 1536 * namespaces are copied over. For nodes deeper in the 1648 * For literal result element, some of the namespaces may not be copied 2325 * Create effective namespaces declaration [all...] |
H A D | xsltutils.c | 1004 oldNamespaces = ctxt->xpathCtxt->namespaces; 1013 ctxt->xpathCtxt->namespaces = comp->inScopeNs->list; 1016 ctxt->xpathCtxt->namespaces = NULL; 1020 ctxt->xpathCtxt->namespaces = comp->nsList; 1067 ctxt->xpathCtxt->namespaces = oldNamespaces;
|
H A D | pattern.c | 111 xmlNsPtr *nsList; /* the namespaces in scope */ 112 int nsNr; /* the number of namespaces in scope */ 512 * @nsList: the namespaces in scope 513 * @nsNr: the number of namespaces in scope 555 oldNamespaces = ctxt->xpathCtxt->namespaces; 558 ctxt->xpathCtxt->namespaces = nsList; 563 ctxt->xpathCtxt->namespaces = oldNamespaces;
|
/external/webkit/Tools/Scripts/ |
H A D | prepare-ChangeLog | 572 my @namespaces; 714 push @namespaces, $potential_namespace; 724 if (@namespaces && $name && (length($name) < 2 || substr($name,1,1) ne "[")) { 725 $name = join ('::', @namespaces, $name); 738 if (!$in_braces && @namespaces) { 739 pop @namespaces;
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
H A D | Parser.java | 58 private boolean namespaces = DEFAULT_NAMESPACES; field in class:Parser 73 "http://xml.org/sax/features/namespaces"; 334 if (name.equals(namespacesFeature)) namespaces = value; 735 if (!namespaces) namespace = localName = ""; 774 if (!namespaces) namespace = localName = "";
|
/external/bluetooth/glib/gio/ |
H A D | gfile.c | 2074 GFileAttributeInfoList *namespaces, 2101 if (namespaces) 2103 for (i = 0; i < namespaces->n_infos; i++) 2105 if (should_copy (&namespaces->infos[i], as_move, FALSE)) 2112 g_string_append (s, namespaces->infos[i].name); 2147 GFileAttributeInfoList *attributes, *namespaces; local 2161 namespaces = g_file_query_writable_namespaces (destination, cancellable, NULL); 2163 if (attributes == NULL && namespaces == NULL) 2166 attrs_to_read = build_attribute_list_for_copy (attributes, namespaces, as_move, skip_perms); 2190 g_file_attribute_info_list_unref (namespaces); 2073 build_attribute_list_for_copy(GFileAttributeInfoList *attributes, GFileAttributeInfoList *namespaces, gboolean as_move, gboolean skip_perms) argument [all...] |