Lines Matching refs:otp
634 tag_copy(SCR *sp, TAG *otp, TAG **tpp)
640 if (otp->fname != NULL)
641 len += otp->fnlen + 1;
642 if (otp->search != NULL)
643 len += otp->slen + 1;
644 if (otp->msg != NULL)
645 len += otp->mlen + 1;
647 memcpy(tp, otp, len);
649 if (otp->fname != NULL)
651 if (otp->search != NULL)
652 tp->search = tp->buf + (otp->search - otp->buf);
653 if (otp->msg != NULL)
654 tp->msg = tp->buf + (otp->msg - otp->buf);