Lines Matching refs:plen

75 #define xmlDictComputeQKey(dict, prefix, plen, name, len)               \  argument
79 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) : \
80 xmlDictComputeBigQKey(prefix, plen, name, len, (dict)->seed)))
85 #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ argument
86 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed)
305 xmlDictAddQString(xmlDictPtr dict, const xmlChar *prefix, unsigned int plen, in xmlDictAddQString() argument
320 if (pool->end - pool->free > namelen + plen + 1) in xmlDictAddQString()
336 if (size < 4 * (namelen + plen + 1)) in xmlDictAddQString()
337 size = 4 * (namelen + plen + 1); /* just in case ! */ in xmlDictAddQString()
353 memcpy(pool->free, prefix, plen); in xmlDictAddQString()
354 pool->free += plen; in xmlDictAddQString()
407 xmlDictComputeBigQKey(const xmlChar *prefix, int plen, in xmlDictComputeBigQKey() argument
415 for (i = 0;i < plen; i++) { in xmlDictComputeBigQKey()
478 xmlDictComputeFastQKey(const xmlChar *prefix, int plen, in xmlDictComputeFastQKey() argument
483 if (plen == 0) in xmlDictComputeFastQKey()
489 int offset = len - (plen + 1 + 1); in xmlDictComputeFastQKey()
494 if (plen > 10) in xmlDictComputeFastQKey()
495 plen = 10; in xmlDictComputeFastQKey()
497 switch (plen) { in xmlDictComputeFastQKey()
510 len -= plen; in xmlDictComputeFastQKey()
1082 unsigned int len, plen, l; in xmlDictQLookup() local
1090 plen = strlen((const char *) prefix); in xmlDictQLookup()
1091 len += 1 + plen; in xmlDictQLookup()
1096 okey = xmlDictComputeQKey(dict, prefix, plen, name, l); in xmlDictQLookup()
1121 skey = xmlDictComputeQKey(dict->subdict, prefix, plen, name, l); in xmlDictQLookup()
1142 ret = xmlDictAddQString(dict, prefix, plen, name, l); in xmlDictQLookup()