Home | History | Annotate | Download | only in nameser

Lines Matching full:srcp

426 	const u_char *srcp, *dstlim;
433 srcp = src;
435 if (srcp < msg || srcp >= eom) {
440 while ((n = *srcp++) != 0) {
446 if ((l = labellen(srcp - 1)) < 0) {
450 if (dstp + l + 1 >= dstlim || srcp + l >= eom) {
456 memcpy(dstp, srcp, (size_t)l);
458 srcp += l;
462 if (srcp >= eom) {
467 _DIAGASSERT(__type_fit(int, srcp - src + 1));
468 len = (int)(srcp - src + 1);
471 l = (((n & 0x3f) << 8) | (*srcp & 0xff));
476 srcp = msg + l;
499 _DIAGASSERT(__type_fit(int, srcp - src));
500 len = (int)(srcp - src);
530 const u_char *srcp;
533 srcp = src;
551 n = *srcp;
556 if ((l0 = labellen(srcp)) < 0) {
565 srcp += l0 + 1;
569 srcp = src;
572 n = *srcp;
574 l = dn_find(srcp, msg, (const u_char * const *)dnptrs,
598 n = labellen(srcp);
602 memcpy(dstp, srcp, (size_t)(n + 1));
603 srcp += n + 1;