Lines Matching refs:prefix
169 * @prefix: the prefix of the userdata
178 xmlDictAddQString(xmlDictPtr dict, const xmlChar *prefix,
186 if (prefix == NULL) return(xmlDictAddString(dict, name, namelen));
187 plen = xmlStrlen(prefix);
216 memcpy(pool->free, prefix, plen);
261 xmlDictComputeQKey(const xmlChar *prefix, const xmlChar *name, int len)
266 if (prefix == NULL)
269 plen = xmlStrlen(prefix);
273 value += 30 * (*prefix);
282 case 10: value += prefix[9];
283 case 9: value += prefix[8];
284 case 8: value += prefix[7];
285 case 7: value += prefix[6];
286 case 6: value += prefix[5];
287 case 5: value += prefix[4];
288 case 4: value += prefix[3];
289 case 3: value += prefix[2];
290 case 2: value += prefix[1];
291 case 1: value += prefix[0];
766 * @prefix: the prefix
769 * Add the QName @prefix:@name to the hash @dict if not present.
774 xmlDictQLookup(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name) {
785 if (prefix != NULL)
786 len += 1 + xmlStrlen(prefix);
791 okey = xmlDictComputeQKey(prefix, name, len);
799 (xmlStrQEqual(prefix, name, insert->name)))
804 (xmlStrQEqual(prefix, name, insert->name)))
815 (xmlStrQEqual(prefix, name, tmp->name)))
820 (xmlStrQEqual(prefix, name, tmp->name)))
826 ret = xmlDictAddQString(dict, prefix, name, len);