Lines Matching defs:ref
2875 * Deallocate the memory used by a ref definition
2879 xmlRefPtr ref = (xmlRefPtr)xmlLinkGetData(lk);
2880 if (ref == NULL) return;
2881 if (ref->value != NULL)
2882 xmlFree((xmlChar *)ref->value);
2883 if (ref->name != NULL)
2884 xmlFree((xmlChar *)ref->name);
2885 xmlFree(ref);
2942 * Register a new ref declaration
3002 * Return the ref
3040 * @table: An ref table
6466 * @ref: A reference to be validated
6472 xmlValidateRef(xmlRefPtr ref, xmlValidCtxtPtr ctxt,
6477 if (ref == NULL)
6479 if ((ref->attr == NULL) && (ref->name == NULL))
6481 attr = ref->attr;
6500 ref->name, ref->lineno, str);