Lines Matching defs:old
725 * @old: the list
732 xmlListDup(const xmlListPtr old)
736 if (old == NULL)
740 * the new list or the old list. Surely not both. I'll arbitrarily
741 * set it to be the old list for the time being whilst I work out
744 if (NULL ==(cur = xmlListCreate(NULL, old->linkCompare)))
746 if (0 != xmlListCopy(cur, old))
754 * @old: the old list
756 * Move all the element from the old list in the new list
761 xmlListCopy(xmlListPtr cur, const xmlListPtr old)
763 /* Walk the old tree and insert the data into the new one */
766 if ((old == NULL) || (cur == NULL))
768 for(lk = old->sentinel->next; lk != old->sentinel; lk = lk->next) {