Lines Matching refs:elfbuf

554 	char	*elfbuf = elfrec->buf;
562 elfbuf[elfbufoffset] = '\0';
563 if ((rc = fputs(elfbuf, elfrec->fp)) < 0) {
623 char *elfbuf = elfrec->buf;
630 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
633 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
643 char *elfbuf = elfrec->buf;
648 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
652 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
656 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
660 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
664 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
669 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
688 char *elfbuf = elfrec->buf;
693 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
695 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
697 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
705 char *elfbuf = elfrec->buf;
710 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
712 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
714 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
724 char *elfbuf = elfrec->buf;
730 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
747 char *elfbuf = elfrec->buf;
752 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
754 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
776 char *elfbuf = elfrec->buf;
781 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " \"%s\"",
795 char *elfbuf = elfrec->buf;
800 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
802 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
806 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
809 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
821 char *elfbuf = elfrec->buf;
828 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
831 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
901 char *elfbuf = elfrec->buf;
904 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
906 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
908 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
932 char *elfbuf = elfrec->buf;
936 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
965 char *elfbuf = elfrec->buf;
970 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%llx",
972 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
974 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
1116 char *elfbuf = elfrec->buf;
1119 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%llx",
1121 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
1123 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
1125 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
1138 char *elfbuf = elfrec->buf;
1141 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%llx",
1143 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1233 char *elfbuf = elfrec->buf;
1238 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1240 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1245 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " ");
1262 elfbufoffset += sprintf(&elfbuf[elfbufoffset], "%02x",
1265 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1270 if (inet_ntop(sin_family, addrp, &elfbuf[elfbufoffset],
1274 elfbuf[elfrec->bufoffset] = '\0'; /* just in case */
1277 /* inet_ntop copied address into elfbuf, so update offset */
1278 elfbufoffset += strlen(&elfbuf[elfbufoffset]);
1282 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " \"%s\"",
1285 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1297 char *elfbuf = elfrec->buf;
1305 elfbufoffset += sprintf(&elfbuf[elfbufoffset], "%s",
1307 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%x",
1310 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " \"%s\"", tag);
1312 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1315 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s 0x%x %s",
1317 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1320 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " \"%s\"",
1323 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1326 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1330 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1332 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1335 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%lx", lhp->rh_uid);
1337 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " \"%s\"",
1340 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s",
1343 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " 0x%lx", lhp->rh_gid);
1353 char *elfbuf = elfrec->buf;
1357 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1360 elfbufoffset += sprintf(&elfbuf[elfbufoffset], "#Date %s\n",
1362 elfbufoffset += sprintf(&elfbuf[elfbufoffset], "#Remark %s\n",
1364 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1366 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1368 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1370 elfbufoffset += sprintf(&elfbuf[elfbufoffset],
1372 elfbufoffset += sprintf(&elfbuf[elfbufoffset],