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

Lines Matching +refs:generic +refs:mode +refs:list

1221      * Do this before freeing the children list to avoid ID lookups
1259 * Parse the value string and build the node list associated. Should
1467 * Parse the value string and build the node list associated. Should
1651 * @list: a Node list
1654 * Build the string equivalent to the text contained in the Node list
1660 xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine)
1662 xmlNodePtr node = list;
1667 if (list == NULL)
1669 if ((list->parent != NULL) && (list->parent->type == XML_ATTRIBUTE_NODE))
1740 * @list: a Node list
1743 * Builds the string equivalent to the text contained in the Node list
1750 xmlNodeListGetRawString(xmlDocPtr doc, xmlNodePtr list, int inLine)
1752 xmlNodePtr node = list;
1756 if (list == NULL)
2046 * @cur: the first property in the list
2455 * Creation of a new child element, added at the end of @parent children list.
2510 * add the new element at the end of the children list.
2810 * @list: the first element
2813 * update all nodes in the list to point to the right document
2816 xmlSetListDoc(xmlNodePtr list, xmlDocPtr doc) {
2819 if ((list == NULL) || (list->type == XML_NAMESPACE_DECL))
2821 cur = list;
2837 * Creation of a new child element, added at the end of @parent children list.
2840 * a child list containing the TEXTs and ENTITY_REFs node will be created.
2890 * add the new element at the end of the children list.
3121 * Add a new element @elem to the list of siblings of @cur
3197 * @cur: the first node in the list
3199 * Add a list of node at the end of the child list of the parent
3233 * add the first element at the end of the children list.
3283 * Add a new node to @parent, at the end of the child (or property) list
3339 * add the new element at the end of the children list.
3621 * @cur: the first node in the list
3694 * This doesn't unlink the child from the list, use xmlUnlinkNode() first.
3942 * Do a copy of an namespace list.
4084 * Do a copy of an attribute list.
4364 * @node: the first node in the list.
4366 * Do a recursive copy of the node list.
4377 * @node: the first node in the list.
4379 * Do a recursive copy of the node list.
4625 int occur = 0, generic;
4656 generic = 0;
4670 generic = 1;
4683 (generic ||
4695 (generic ||
4856 * Get the root element of the document (doc->children is a list
4882 * Set the root element of the document (doc->children is a list
5876 xmlTreeErrMemory("getting namespace list");
5894 xmlTreeErrMemory("getting namespace list");
7714 * @mode: the compression ratio
7720 xmlSetDocCompressMode (xmlDocPtr doc, int mode) {
7722 if (mode < 0) doc->compression = 0;
7723 else if (mode > 9) doc->compression = 9;
7724 else doc->compression = mode;
7730 * get the default compression mode used, ZLIB based.
7741 * @mode: the compression ratio
7743 * set the default compression mode used, ZLIB based
7747 xmlSetCompressMode(int mode) {
7748 if (mode < 0) xmlCompressMode = 0;
7749 else if (mode > 9) xmlCompressMode = 9;
7750 else xmlCompressMode = mode;
7995 * @nsList: a list of ns-structs
8126 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,
8129 if (*list == NULL) {
8130 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr));
8131 if (*list == NULL) {
8139 *list = (xmlNsPtr *) xmlRealloc(*list,
8141 if (*list == NULL) {
8146 (*list)[2 * (*number)] = oldNs;
8147 (*list)[2 * (*number) +1] = newNs;
8173 xmlNsPtr *list = NULL;
8208 if (xmlDOMWrapNSNormAddNsMapItem2(&list, &sizeList,
8220 if (list != NULL) {
8222 if (node->ns == list[j]) {
8223 node->ns = list[++j];
8246 if (xmlDOMWrapNSNormAddNsMapItem2(&list, &sizeList,
8278 if (list != NULL)
8279 xmlFree(list);
8283 if (list != NULL)
8284 xmlFree(list);
8754 * Add it to the list of redundant ns-decls.