Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dict

33 #include <libxml/dict.h>
80 if ((c)->comp->dict) \
81 r = (xmlChar *) xmlDictLookup((c)->comp->dict, BAD_CAST nsname, -1); \
84 #define XML_PAT_FREE_STRING(c, r) if ((c)->comp->dict == NULL) xmlFree(r);
98 xmlDict *dict; /* the dictionary if any */
163 xmlDictPtr dict; /* the optional dictionary */
179 xmlDictPtr dict; /* the dictionary if any */
241 if (comp->dict == NULL) {
252 if (comp->dict != NULL)
253 xmlDictFree(comp->dict);
280 * @dict: the inherited dictionary or NULL
289 xmlNewPatParserContext(const xmlChar *pattern, xmlDictPtr dict,
303 cur->dict = dict;
768 if (ctxt->dict)
769 ret = (xmlChar *) xmlDictLookup(ctxt->dict, q, cur - q);
787 if (ctxt->dict)
788 ret = (xmlChar *) xmlDictLookup(ctxt->dict, q, cur - q);
838 if (ctxt->dict)
839 ret = (xmlChar *) xmlDictLookup(ctxt->dict, q, cur - q);
876 if (ctxt->dict)
877 ret = (xmlChar *) xmlDictLookup(ctxt->dict, q, cur - q);
1523 if (comp->dict != NULL)
1524 xmlDictFree(comp->dict);
1599 if (comp->dict != NULL) {
1600 stream->dict = comp->dict;
1601 xmlDictReference(stream->dict);
2031 * values are in the same dict; especially if it's the namespace name,
2032 * normally coming from ns->href. We need a namespace dict mechanism !
2034 } else if (comp->dict) {
2345 * @dict: an optional dictionary for interned strings
2354 xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags,
2372 ctxt = xmlNewPatParserContext(start, dict, namespaces);
2376 ctxt = xmlNewPatParserContext(tmp, dict, namespaces);
2384 * Assign string dict.
2386 if (dict) {
2387 cur->dict = dict;
2388 xmlDictReference(dict);