Lines Matching defs:ndata

137 	name->ndata = NULL; \
145 * name->ndata and name->length may be changed.
233 name->ndata = NULL;
294 unsigned char *ndata, ch;
308 ndata = name->ndata;
309 n = *ndata++;
312 ch = *ndata++;
317 if (ndata == name->ndata + name->length)
323 while (ndata < (name->ndata + name->length)) {
324 n = *ndata++;
328 ch = *ndata++;
344 unsigned char *ndata, ch;
361 ndata = name->ndata;
362 if (wildcard && ndata[0] == 1 && ndata[1] == '*')
363 ndata += 2;
368 while (ndata < (name->ndata + name->length)) {
369 n = *ndata++;
373 ch = *ndata++;
389 unsigned char *ndata;
399 ndata = name->ndata;
400 if (ndata[0] == 1 && ndata[1] == '*')
409 unsigned char *ndata;
423 ndata = name->ndata;
424 count = *ndata++;
426 ndata += count;
432 count = *ndata++;
434 if (count == 1 && *ndata == '*')
436 ndata += count;
457 s = name->ndata;
499 return (isc_hash_calc((const unsigned char *)name->ndata,
538 tname.ndata = name->ndata + offsets[i];
604 label1 = &name1->ndata[offsets1[l1]];
605 label2 = &name2->ndata[offsets2[l2]];
710 label1 = name1->ndata;
711 label2 = name2->ndata;
754 if (memcmp(name1->ndata, name2->ndata, name1->length) != 0)
782 label1 = name1->ndata;
783 label2 = name2->ndata;
895 label->base = &name->ndata[offsets[n]];
934 target->ndata = &source->ndata[firstoffset];
966 target->ndata = source->ndata;
1005 name->ndata = r2.base;
1008 name->ndata = r->base;
1041 unsigned char *ndata, *label = NULL;
1091 ndata = isc_buffer_used(target);
1114 *ndata++ = 0;
1127 label = ndata;
1128 ndata++;
1150 *ndata++ = 0;
1165 *ndata++ = c;
1189 *ndata++ = c;
1213 *ndata++ = value;
1242 label = origin->ndata;
1249 *ndata++ = n2;
1256 *ndata++ = c;
1271 name->ndata = (unsigned char *)target->base + target->used;
1349 unsigned char *ndata;
1377 ndata = name->ndata;
1408 } else if (nlen == 1 && labels == 1 && *ndata == '\0') {
1428 count = *ndata++;
1437 c = *ndata;
1456 ndata++;
1467 ndata++;
1480 ndata++;
1527 unsigned char *ndata;
1542 ndata = name->ndata;
1550 if (nlen == 1 && labels == 1 && *ndata == '\0') {
1569 count = *ndata++;
1576 c = *ndata;
1590 ndata++;
1599 ndata++;
1635 unsigned char *sndata, *ndata;
1647 isc_buffer_init(&buffer, source->ndata, source->length);
1649 ndata = source->ndata;
1658 ndata = (unsigned char *)target->base + target->used;
1659 name->ndata = ndata;
1662 sndata = source->ndata;
1674 *ndata++ = count;
1679 *ndata++ = maptolower[(*sndata++)];
1711 unsigned char *ndata;
1714 ndata = name->ndata;
1722 count = *ndata++;
1726 ndata += count;
1752 unsigned char *cdata, *ndata;
1803 ndata = isc_buffer_used(target);
1842 *ndata++ = c;
1872 *ndata++ = c;
1901 name->ndata = (unsigned char *)target->base + target->used;
1989 gp.ndata, (size_t)gp.length);
2001 name->ndata, (size_t)name->length);
2012 unsigned char *ndata, *offsets;
2054 ndata = (unsigned char *)target->base + target->used;
2081 memmove(ndata + prefix_length, suffix->ndata, suffix->length);
2090 memmove(ndata, prefix->ndata, prefix_length);
2092 name->ndata = ndata;
2160 target->ndata = isc_mem_get(mctx, source->length);
2161 if (target->ndata == NULL)
2164 memmove(target->ndata, source->ndata, source->length);
2202 target->ndata = isc_mem_get(mctx, source->length + source->labels);
2203 if (target->ndata == NULL)
2206 memmove(target->ndata, source->ndata, source->length);
2214 target->offsets = target->ndata + source->length;
2237 isc_mem_put(mctx, name->ndata, size);
2418 unsigned char *ndata;
2441 ndata = (unsigned char *)target->base + target->used;
2442 dest->ndata = target->base;
2444 memmove(ndata, source->ndata, source->length);
2446 dest->ndata = ndata;