Searched defs:namespaces (Results 1 - 13 of 13) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DQName.java230 * @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/webkit/Source/WebCore/editing/
H A DMarkupAccumulator.cpp96 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/libxml2/
H A DSAX2.c1632 * Insert all the defaulted attributes from the DTD especially namespaces
1661 * processed, the local namespaces are available.
2124 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
2140 const xmlChar **namespaces,
2216 pref = namespaces[i++];
2217 uri = namespaces[i++];
2135 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
H A Dschematron.c140 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 Dpattern.c182 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 Dxmllint.c1515 const xmlChar **namespaces,
1536 if (namespaces != NULL) {
1539 if (namespaces[i] != NULL)
1540 fprintf(stdout, ":%s", namespaces[i]);
1542 fprintf(stdout, "='%s'", namespaces[i]);
1973 const xmlChar *namespaces[22]; local
1979 namespaces[i++] = ns->href;
1980 namespaces[i++] = ns->prefix;
1982 namespaces[i++] = NULL;
1983 namespaces[
1510 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 Dxmlreader.c689 * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
703 const xmlChar **namespaces,
716 namespaces, nb_attributes, nb_defaulted,
3922 * @namespaces: the prefix definitions, array of [URI, prefix] or NULL
3932 const xmlChar **namespaces)
3939 comp = xmlPatterncompile(pattern, reader->dict, 0, namespaces);
698 xmlTextReaderStartElementNs(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
3931 xmlTextReaderPreservePattern(xmlTextReaderPtr reader, const xmlChar *pattern, const xmlChar **namespaces) argument
H A Dxpath.c3829 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
3938 * @hasSet2NsNodes: 1 if set2 contains namespaces nodes
5055 if (ctxt->namespaces != NULL) {
5059 if ((ctxt->namespaces[i] != NULL) &&
5060 (xmlStrEqual(ctxt->namespaces[i]->prefix, prefix)))
5061 return(ctxt->namespaces[i]->href);
11965 * Setup namespaces.
14475 const xmlChar **namespaces = NULL; local
14486 * Additionally, if there is no list of namespaces available and
14489 * to have a list of namespaces a
[all...]
H A Dxmlschemas.c118 * The XML Schemas namespaces
600 /* xmlHashTablePtr namespaces; */
6782 * Avoid dublicate namespaces.
8011 * TODO: We need the array of in-scope namespaces for compilation.
8020 * Build an array of prefixes and namespaces.
27165 const xmlChar ** namespaces,
27201 * Register namespaces on the elem info.
27238 ielem->nsBindings[ielem->nbNsBindings * 2] = namespaces[j];
27239 if (namespaces[j+1][0] == 0) {
27246 namespaces[
27160 xmlSchemaSAXHandleStartElementNs(void *ctx, const xmlChar * localname, const xmlChar * prefix ATTRIBUTE_UNUSED, const xmlChar * URI, int nb_namespaces, const xmlChar ** namespaces, int nb_attributes, int nb_defaulted ATTRIBUTE_UNUSED, const xmlChar ** attributes) argument
28342 startElementNsSplit(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
[all...]
/external/libxml2/include/libxml/
H A Dxpath.h259 * check namespaces at compilation
307 xmlNsPtr *namespaces; /* Array of namespaces */ member in struct:_xmlXPathContext
321 xmlHashTablePtr nsHash; /* The namespaces hash table */
337 xmlNsPtr *tmpNsList; /* Array of namespaces */
338 int tmpNsNr; /* number of namespaces in scope */
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DParser.java58 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/webkit/Source/WebCore/dom/
H A DXMLDocumentParserLibxml2.cpp89 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...]
/external/bluetooth/glib/gio/
H A Dgfile.c2074 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...]

Completed in 364 milliseconds