Home | History | Annotate | Download | only in libxml2

Lines Matching refs:dict

3 #include <libxml/dict.h>
151 xmlDictPtr dict;
157 dict = xmlDictCreateSub(parent);
158 if (dict == NULL) {
171 test2[i] = xmlDictLookup(dict, strings2[i], -1);
181 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j]));
191 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j]));
207 test2[i] = xmlDictLookup(dict, strings2[i], -1);
217 * the dict, and that none of them was actually allocated in the parent
220 if (!xmlDictOwns(dict, test2[i])) {
238 if (!xmlDictOwns(dict, test1[i])) {
250 if (xmlDictLookup(dict, strings2[i], -1) != test2[i]) {
262 if (xmlDictLookup(dict, strings1[i], -1) != test1[i]) {
279 tmp = xmlDictQLookup(dict, &prefix[0], cur);
296 tmp = xmlDictQLookup(dict, &prefix[0], cur);
297 if (xmlDictQLookup(dict, &prefix[0], cur) != test1[i]) {
305 xmlDictFree(dict);
314 xmlDictPtr dict;
320 dict = xmlDictCreate();
321 if (dict == NULL) {
332 test1[i] = xmlDictLookup(dict, strings1[i], -1);
342 test1[j] = xmlDictLookup(dict, strings1[j], xmlStrlen(strings1[j]));
352 test1[j] = xmlDictLookup(dict, strings1[j], xmlStrlen(strings1[j]));
368 test1[i] = xmlDictLookup(dict, strings1[i], -1);
378 * the dict
381 if (!xmlDictOwns(dict, test1[i])) {
393 if (xmlDictLookup(dict, strings1[i], -1) != test1[i]) {
410 tmp = xmlDictQLookup(dict, &prefix[0], cur);
419 run_test2(dict);
421 xmlDictFree(dict);