Lines Matching +defs:val +defs:list

1195      * Do this before freeing the children list to avoid ID lookups
1233 * Parse the value string and build the node list associated. Should
1241 xmlChar *val;
1341 val = xmlStrndup(q, cur - q);
1342 ent = xmlGetDocEntity(doc, val);
1358 node = xmlNewReference(doc, val);
1360 if (val != NULL) xmlFree(val);
1382 xmlFree(val);
1430 * Parse the value string and build the node list associated. Should
1438 xmlChar *val;
1526 val = xmlStrndup(q, cur - q);
1527 ent = xmlGetDocEntity(doc, val);
1543 node = xmlNewReference(doc, val);
1545 if (val != NULL) xmlFree(val);
1566 xmlFree(val);
1613 * @list: a Node list
1616 * Build the string equivalent to the text contained in the Node list
1622 xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine)
1624 xmlNodePtr node = list;
1628 if (list == NULL)
1694 * @list: a Node list
1697 * Builds the string equivalent to the text contained in the Node list
1704 xmlNodeListGetRawString(xmlDocPtr doc, xmlNodePtr list, int inLine)
1706 xmlNodePtr node = list;
1710 if (list == NULL)
1992 * @cur: the first property in the list
2396 * Creation of a new child element, added at the end of @parent children list.
2451 * add the new element at the end of the children list.
2751 * @list: the first element
2754 * update all nodes in the list to point to the right document
2757 xmlSetListDoc(xmlNodePtr list, xmlDocPtr doc) {
2760 if (list == NULL)
2762 cur = list;
2778 * Creation of a new child element, added at the end of @parent children list.
2781 * a child list containing the TEXTs and ENTITY_REFs node will be created.
2831 * add the new element at the end of the children list.
3060 * Add a new element @elem to the list of siblings of @cur
3128 * @cur: the first node in the list
3130 * Add a list of node at the end of the child list of the parent
3164 * add the first element at the end of the children list.
3211 * Add a new node to @parent, at the end of the child (or property) list
3267 * add the new element at the end of the children list.
3353 * @cur: the first node in the list
3426 * This doesn't unlink the child from the list, use xmlUnlinkNode() first.
3640 * Do a copy of an namespace list.
3780 * Do a copy of an attribute list.
4054 * @node: the first node in the list.
4056 * Do a recursive copy of the node list.
4067 * @node: the first node in the list.
4069 * Do a recursive copy of the node list.
4514 * Get the root element of the document (doc->children is a list
4540 * Set the root element of the document (doc->children is a list
4651 * @val: the xml:space value ("0": default, 1: "preserve")
4657 xmlNodeSetSpacePreserve(xmlNodePtr cur, int val) {
4691 switch (val) {
5499 xmlTreeErrMemory("getting namespace list");
5517 xmlTreeErrMemory("getting namespace list");
7484 * @nsList: a list of ns-structs
7613 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,
7616 if (*list == NULL) {
7617 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr));
7618 if (*list == NULL) {
7626 *list = (xmlNsPtr *) xmlRealloc(*list,
7628 if (*list == NULL) {
7633 (*list)[2 * (*number)] = oldNs;
7634 (*list)[2 * (*number) +1] = newNs;
7660 xmlNsPtr *list = NULL;
7695 if (xmlDOMWrapNSNormAddNsMapItem2(&list, &sizeList,
7707 if (list != NULL) {
7709 if (node->ns == list[j]) {
7710 node->ns = list[++j];
7733 if (xmlDOMWrapNSNormAddNsMapItem2(&list, &sizeList,
7765 if (list != NULL)
7766 xmlFree(list);
7770 if (list != NULL)
7771 xmlFree(list);
8236 * Add it to the list of redundant ns-decls.