Lines Matching full:key2
40 xmlChar *key2; /* TODO: Don't allocate possibly empty keys */ member
61 xmlHashValue(unsigned seed, const xmlChar *key, const xmlChar *key2, in xmlHashValue() argument
76 if (key2 != NULL) { in xmlHashValue()
77 for (i = 0; key2[i] != 0; i++) { in xmlHashValue()
78 HASH_UPDATE(h1, h2, key2[i]); in xmlHashValue()
245 if (entry->key2) in xmlHashFree()
246 xmlFree(entry->key2); in xmlHashFree()
281 * @key2: second string key
293 const xmlChar *key2, const xmlChar *key3, in xmlHashFindEntry() argument
316 (entry->key2 == key2) && in xmlHashFindEntry()
324 (xmlFastStrEqual(entry->key2, key2)) && in xmlHashFindEntry()
415 * @key2: second string key
426 const xmlChar *key2, const xmlChar *key3, in xmlHashUpdateInternal() argument
440 hashValue = xmlHashValue(hash->randomSeed, key, key2, key3, lengths); in xmlHashUpdateInternal()
442 entry = xmlHashFindEntry(hash, key, key2, key3, hashValue, &found); in xmlHashUpdateInternal()
502 if ((key2 == NULL) || (xmlDictOwns(hash->dict, key2))) { in xmlHashUpdateInternal()
503 copy2 = (xmlChar *) key2; in xmlHashUpdateInternal()
505 copy2 = (xmlChar *) xmlDictLookup(hash->dict, key2, -1); in xmlHashUpdateInternal()
522 if (key2 != NULL) { in xmlHashUpdateInternal()
528 memcpy(copy2, key2, lengths[1] + 1); in xmlHashUpdateInternal()
577 entry->key2 = copy2; in xmlHashUpdateInternal()
624 * @key2: second string key
637 const xmlChar *key2, void *payload) { in xmlHashAdd2() argument
638 return(xmlHashUpdateInternal(hash, key, key2, NULL, payload, NULL, 0)); in xmlHashAdd2()
645 * @key2: second string key
659 const xmlChar *key2, const xmlChar *key3, in xmlHashAdd3() argument
661 return(xmlHashUpdateInternal(hash, key, key2, key3, payload, NULL, 0)); in xmlHashAdd3()
696 * @key2: second string key
707 const xmlChar *key2, void *payload) { in xmlHashAddEntry2() argument
708 int res = xmlHashUpdateInternal(hash, key, key2, NULL, payload, NULL, 0); in xmlHashAddEntry2()
722 * @key2: second string key
734 const xmlChar *key2, const xmlChar *key3, in xmlHashAddEntry3() argument
736 int res = xmlHashUpdateInternal(hash, key, key2, key3, payload, NULL, 0); in xmlHashAddEntry3()
774 * @key2: second string key
786 const xmlChar *key2, void *payload, in xmlHashUpdateEntry2() argument
788 int res = xmlHashUpdateInternal(hash, key, key2, NULL, payload, in xmlHashUpdateEntry2()
801 * @key2: second string key
814 const xmlChar *key2, const xmlChar *key3, in xmlHashUpdateEntry3() argument
816 int res = xmlHashUpdateInternal(hash, key, key2, key3, payload, in xmlHashUpdateEntry3()
843 * @key2: second string key
845 * Find the payload specified by the (@key, @key2) tuple.
851 const xmlChar *key2) { in xmlHashLookup2() argument
852 return(xmlHashLookup3(hash, key, key2, NULL)); in xmlHashLookup2()
894 * @key2: second string key
897 * Find the payload specified by the (@key, @key2, @key3) tuple.
903 const xmlChar *key2, const xmlChar *key3) { in xmlHashLookup3() argument
910 hashValue = xmlHashValue(hash->randomSeed, key, key2, key3, NULL); in xmlHashLookup3()
911 entry = xmlHashFindEntry(hash, key, key2, key3, hashValue, &found); in xmlHashLookup3()
956 (xmlStrQEqual(prefix2, name2, entry->key2)) && in xmlHashQLookup3()
979 const xmlChar *key2 ATTRIBUTE_UNUSED, in stubHashScannerFull()
1039 scan(entry->payload, data, entry->key, entry->key2, entry->key3); in xmlHashScanFull()
1043 (entry->key2 != old.key2) || in xmlHashScanFull()
1055 * @key2: second string key or NULL
1061 * (@key, @key2, @key3) tuple. If one of the keys is null,
1066 const xmlChar *key2, const xmlChar *key3, in xmlHashScan3() argument
1071 xmlHashScanFull3(hash, key, key2, key3, stubHashScannerFull, &sdata); in xmlHashScan3()
1078 * @key2: second string key or NULL
1084 * (@key, @key2, @key3) tuple. If one of the keys is null,
1089 const xmlChar *key2, const xmlChar *key3, in xmlHashScanFull3() argument
1120 ((key2 != NULL) && (!xmlFastStrEqual(key2, entry->key2))) || in xmlHashScanFull3()
1124 scan(entry->payload, data, entry->key, entry->key2, entry->key3); in xmlHashScanFull3()
1128 (entry->key2 != old.key2) || in xmlHashScanFull3()
1173 if (xmlHashAdd3(ret, entry->key, entry->key2, entry->key3, in xmlHashCopySafe()
1241 * @key2: second string key
1252 const xmlChar *key2, xmlHashDeallocator dealloc) { in xmlHashRemoveEntry2() argument
1253 return(xmlHashRemoveEntry3(hash, key, key2, NULL, dealloc)); in xmlHashRemoveEntry2()
1260 * @key2: second string key
1273 const xmlChar *key2, const xmlChar *key3, in xmlHashRemoveEntry3() argument
1282 hashValue = xmlHashValue(hash->randomSeed, key, key2, key3, NULL); in xmlHashRemoveEntry3()
1283 entry = xmlHashFindEntry(hash, key, key2, key3, hashValue, &found); in xmlHashRemoveEntry3()
1292 if (entry->key2) in xmlHashRemoveEntry3()
1293 xmlFree(entry->key2); in xmlHashRemoveEntry3()