Lines Matching defs:ref
2866 * Deallocate the memory used by a ref definition
2870 xmlRefPtr ref = (xmlRefPtr)xmlLinkGetData(lk);
2871 if (ref == NULL) return;
2872 if (ref->value != NULL)
2873 xmlFree((xmlChar *)ref->value);
2874 if (ref->name != NULL)
2875 xmlFree((xmlChar *)ref->name);
2876 xmlFree(ref);
2933 * Register a new ref declaration
2993 * Return the ref
3018 * @table: An ref table
6340 * @ref: A reference to be validated
6346 xmlValidateRef(xmlRefPtr ref, xmlValidCtxtPtr ctxt,
6351 if (ref == NULL)
6353 if ((ref->attr == NULL) && (ref->name == NULL))
6355 attr = ref->attr;
6374 ref->name, ref->lineno, str);