Lines Matching refs:bp
204 char *bp, **ap, **hap;
233 bp = hostbuf;
241 n = dn_expand(answer->buf, eom, cp, bp, buflen);
242 if ((n < 0) || !(*name_ok)(bp)) {
252 n = (int)strlen(bp) + 1; /* for the \0 */
257 host.h_name = bp;
258 bp += n;
273 n = dn_expand(answer->buf, eom, cp, bp, buflen);
274 if ((n < 0) || !(*name_ok)(bp)) {
310 *ap++ = bp;
311 n = (int)strlen(bp) + 1; /* for the \0 */
316 bp += n;
324 strcpy(bp, tbuf);
325 host.h_name = bp;
326 bp += n;
347 strcpy(bp, tbuf);
348 tname = bp;
349 bp += n;
365 if (strcasecmp(tname, bp) != 0) {
368 AskedForGot, qname, bp);
373 n = dn_expand(answer->buf, eom, cp, bp, buflen);
374 if ((n < 0) || !res_hnok(bp)) {
385 host.h_name = bp;
387 *ap++ = bp;
391 n = (int)strlen(bp) + 1; /* for the \0 */
396 bp += n;
401 host.h_name = bp;
403 n = strlen(bp) + 1; /* for the \0 */
408 bp += n;
410 _map_v4v6_hostent(&host, &bp, &buflen);
417 if (strcasecmp(host.h_name, bp) != 0) {
420 AskedForGot, host.h_name, bp);
432 host.h_name = bp;
433 nn = (int)strlen(bp) + 1; /* for the \0 */
434 bp += nn;
438 bp += sizeof(align) - ((size_t)bp % sizeof(align));
440 if (bp + n >= &hostbuf[sizeof hostbuf]) {
452 *hap++ = bp;
453 bcopy(cp, bp, n);
454 bp += n;
487 strcpy(bp, qname);
488 host.h_name = bp;
489 bp += n;
493 _map_v4v6_hostent(&host, &bp, &buflen);
525 char *bp;
579 bp = hostbuf + MAXDNAME;
588 _map_v4v6_hostent(&host, &bp, &len);
612 bp = hostbuf + MAXDNAME;