Lines Matching defs:ID
226 * @not: A id
228 * Deallocate the memory used by an id definition
231 xmlFreeID(xmlIDPtr id) {
234 if (id == NULL) return;
236 if (id->doc != NULL)
237 dict = id->doc->dict;
239 if (id->value != NULL)
240 DICT_FREE(id->value)
241 xmlFree(id);
249 * Remove the given attribute from the ID table maintained internally.
256 xmlIDPtr id;
257 xmlChar *ID;
265 ID = xmlNodeListGetString(doc, attr->children, 1);
266 if (ID == NULL)
268 id = xmlHashLookup(table, ID);
269 xmlFree(ID);
270 if (id == NULL || id->attr != attr) {
273 id->name = attr->name;
274 id->attr = NULL;
298 /* Check for ID removal -> leading to invalid references ! */
496 * @table: An id table
498 * Deallocate the memory used by an ID hash table.
522 * Do this before freeing the children list to avoid ID lookups