Lines Matching defs:namelen
128 xmlDictAddString(xmlDictPtr dict, const xmlChar *name, int namelen) {
135 if (pool->end - pool->free > namelen)
146 if (size < 4 * namelen)
147 size = 4 * namelen; /* just in case ! */
160 memcpy(pool->free, name, namelen);
161 pool->free += namelen;
179 const xmlChar *name, int namelen)
186 if (prefix == NULL) return(xmlDictAddString(dict, name, namelen));
191 if (pool->end - pool->free > namelen)
202 if (size < 4 * namelen)
203 size = 4 * namelen; /* just in case ! */
219 namelen -= plen + 1;
220 memcpy(pool->free, name, namelen);
221 pool->free += namelen;
231 xmlDictComputeKey(const xmlChar *name, int namelen) {
237 if (namelen > 10) {
238 value += name[namelen - 1];
239 namelen = 10;
241 switch (namelen) {