usr/src/cmd/mandoc/libmandoc.h
51
struct roff;
usr/src/cmd/mandoc/libmandoc.h
70
void roff_free(struct roff *);
usr/src/cmd/mandoc/libmandoc.h
71
struct roff *roff_alloc(int);
usr/src/cmd/mandoc/libmandoc.h
72
void roff_reset(struct roff *);
usr/src/cmd/mandoc/libmandoc.h
74
struct roff_man *roff_man_alloc(struct roff *, const char *, int);
usr/src/cmd/mandoc/libmandoc.h
76
int roff_parseln(struct roff *, int, struct buf *, int *, size_t);
usr/src/cmd/mandoc/libmandoc.h
77
void roff_userret(struct roff *);
usr/src/cmd/mandoc/libmandoc.h
78
void roff_endparse(struct roff *);
usr/src/cmd/mandoc/libmandoc.h
79
void roff_setreg(struct roff *, const char *, int, char);
usr/src/cmd/mandoc/libmandoc.h
80
int roff_getreg(struct roff *, const char *);
usr/src/cmd/mandoc/libmandoc.h
81
char *roff_strdup(const struct roff *, const char *);
usr/src/cmd/mandoc/libmandoc.h
82
char *roff_getarg(struct roff *, char **, int, int *);
usr/src/cmd/mandoc/libmandoc.h
83
int roff_getcontrol(const struct roff *,
usr/src/cmd/mandoc/libmandoc.h
85
int roff_getformat(const struct roff *);
usr/src/cmd/mandoc/man.c
50
return roff_getcontrol(man->roff, buf, &offs) ?
usr/src/cmd/mandoc/man_macro.c
269
roff_setreg(man->roff, "an-margin", nn->head->aux, '-');
usr/src/cmd/mandoc/man_macro.c
313
if (roff_getreg(man->roff, "an-margin") == 0)
usr/src/cmd/mandoc/man_macro.c
314
roff_setreg(man->roff, "an-margin",
usr/src/cmd/mandoc/man_macro.c
317
roff_setreg(man->roff, "an-margin",
usr/src/cmd/mandoc/man_macro.c
468
*v = roff_getarg(man->roff, v, line, pos);
usr/src/cmd/mandoc/mdoc.c
74
if (roff_getreg(mdoc->roff, "nS"))
usr/src/cmd/mandoc/mdoc.c
79
return roff_getcontrol(mdoc->roff, buf, &offs) ?
usr/src/cmd/mandoc/mdoc_argv.c
575
*v = roff_getarg(mdoc->roff, &p, line, pos);
usr/src/cmd/mandoc/mdoc_state.c
238
roff_setreg(mdoc->roff, "nS", 1, '=');
usr/src/cmd/mandoc/mdoc_state.c
241
roff_setreg(mdoc->roff, "nS", 0, '=');
usr/src/cmd/mandoc/mdoc_validate.c
2492
roff_setreg(mdoc->roff, "nS", 1, '=');
usr/src/cmd/mandoc/mdoc_validate.c
2495
roff_setreg(mdoc->roff, "nS", 0, '=');
usr/src/cmd/mandoc/read.c
109
if ((format = roff_getformat(curp->roff)) == 0) {
usr/src/cmd/mandoc/read.c
284
line_result = roff_parseln(curp->roff, curp->line,
usr/src/cmd/mandoc/read.c
368
roff_userret(curp->roff);
usr/src/cmd/mandoc/read.c
546
roff_endparse(curp->roff);
usr/src/cmd/mandoc/read.c
55
struct roff *roff; /* roff parser (!NULL) */
usr/src/cmd/mandoc/read.c
669
curp->roff = roff_alloc(options);
usr/src/cmd/mandoc/read.c
670
curp->man = roff_man_alloc(curp->roff, curp->os_s,
usr/src/cmd/mandoc/read.c
691
roff_reset(curp->roff);
usr/src/cmd/mandoc/read.c
706
roff_free(curp->roff);
usr/src/cmd/mandoc/roff.c
1237
roff_expand(struct roff *r, struct buf *buf, int ln, int pos, char newesc)
usr/src/cmd/mandoc/roff.c
152
#define ROFF_ARGS struct roff *r, /* parse ctx */ \
usr/src/cmd/mandoc/roff.c
1654
roff_getarg(struct roff *r, char **cpp, int ln, int *pos)
usr/src/cmd/mandoc/roff.c
1760
roff_parsetext(struct roff *r, struct buf *buf, int pos, int *offs)
usr/src/cmd/mandoc/roff.c
180
static int roffnode_cleanscope(struct roff *);
usr/src/cmd/mandoc/roff.c
181
static int roffnode_pop(struct roff *);
usr/src/cmd/mandoc/roff.c
182
static void roffnode_push(struct roff *, enum roff_tok,
usr/src/cmd/mandoc/roff.c
1826
roff_parseln(struct roff *r, int ln, struct buf *buf, int *offs, size_t len)
usr/src/cmd/mandoc/roff.c
192
static int roff_ccond(struct roff *, int, int);
usr/src/cmd/mandoc/roff.c
1967
roff_userret(struct roff *r)
usr/src/cmd/mandoc/roff.c
1981
roff_endparse(struct roff *r)
usr/src/cmd/mandoc/roff.c
2005
roff_parse(struct roff *r, char *buf, int *pos, int ln, int ppos)
usr/src/cmd/mandoc/roff.c
201
static int roff_eqndelim(struct roff *, struct buf *, int);
usr/src/cmd/mandoc/roff.c
202
static int roff_evalcond(struct roff *, int, char *, int *);
usr/src/cmd/mandoc/roff.c
203
static int roff_evalnum(struct roff *, int,
usr/src/cmd/mandoc/roff.c
205
static int roff_evalpar(struct roff *, int,
usr/src/cmd/mandoc/roff.c
208
static int roff_expand(struct roff *, struct buf *,
usr/src/cmd/mandoc/roff.c
210
static void roff_free1(struct roff *);
usr/src/cmd/mandoc/roff.c
2100
roffnode_cleanscope(struct roff *r)
usr/src/cmd/mandoc/roff.c
2119
roff_ccond(struct roff *r, int ln, int ppos)
usr/src/cmd/mandoc/roff.c
213
static size_t roff_getname(struct roff *, char **, int, int);
usr/src/cmd/mandoc/roff.c
216
static int roff_getregn(struct roff *,
usr/src/cmd/mandoc/roff.c
218
static int roff_getregro(const struct roff *,
usr/src/cmd/mandoc/roff.c
220
static const char *roff_getstrn(struct roff *,
usr/src/cmd/mandoc/roff.c
222
static int roff_hasregn(const struct roff *,
usr/src/cmd/mandoc/roff.c
234
static enum roff_tok roff_parse(struct roff *, char *, int *,
usr/src/cmd/mandoc/roff.c
236
static int roff_parsetext(struct roff *, struct buf *,
usr/src/cmd/mandoc/roff.c
243
static void roff_setregn(struct roff *, const char *,
usr/src/cmd/mandoc/roff.c
245
static void roff_setstr(struct roff *,
usr/src/cmd/mandoc/roff.c
2579
roff_evalcond(struct roff *r, int ln, char *v, int *pos)
usr/src/cmd/mandoc/roff.c
2895
roff_evalpar(struct roff *r, int ln,
usr/src/cmd/mandoc/roff.c
2925
roff_evalnum(struct roff *r, int ln, const char *v,
usr/src/cmd/mandoc/roff.c
3035
roff_setreg(struct roff *r, const char *name, int val, char sign)
usr/src/cmd/mandoc/roff.c
3041
roff_setregn(struct roff *r, const char *name, size_t len,
usr/src/cmd/mandoc/roff.c
3081
roff_getregro(const struct roff *r, const char *name)
usr/src/cmd/mandoc/roff.c
3105
roff_getreg(struct roff *r, const char *name)
usr/src/cmd/mandoc/roff.c
3111
roff_getregn(struct roff *r, const char *name, size_t len, char sign)
usr/src/cmd/mandoc/roff.c
3144
roff_hasregn(const struct roff *r, const char *name, size_t len)
usr/src/cmd/mandoc/roff.c
3354
roff_eqndelim(struct roff *r, struct buf *buf, int pos)
usr/src/cmd/mandoc/roff.c
4017
roff_getname(struct roff *r, char **cpp, int ln, int pos)
usr/src/cmd/mandoc/roff.c
4065
roff_setstr(struct roff *r, const char *name, const char *string,
usr/src/cmd/mandoc/roff.c
4149
roff_getstrn(struct roff *r, const char *name, size_t len,
usr/src/cmd/mandoc/roff.c
4263
roff_strdup(const struct roff *r, const char *p)
usr/src/cmd/mandoc/roff.c
4351
roff_getformat(const struct roff *r)
usr/src/cmd/mandoc/roff.c
4368
roff_getcontrol(const struct roff *r, const char *cp, int *ppos)
usr/src/cmd/mandoc/roff.c
698
roffnode_pop(struct roff *r)
usr/src/cmd/mandoc/roff.c
717
roffnode_push(struct roff *r, enum roff_tok tok, const char *name,
usr/src/cmd/mandoc/roff.c
737
roff_free1(struct roff *r)
usr/src/cmd/mandoc/roff.c
774
roff_reset(struct roff *r)
usr/src/cmd/mandoc/roff.c
788
roff_free(struct roff *r)
usr/src/cmd/mandoc/roff.c
800
struct roff *
usr/src/cmd/mandoc/roff.c
803
struct roff *r;
usr/src/cmd/mandoc/roff.c
805
r = mandoc_calloc(1, sizeof(struct roff));
usr/src/cmd/mandoc/roff.c
840
roff_setreg(man->roff, "nS", 0, '=');
usr/src/cmd/mandoc/roff.c
868
roff_man_alloc(struct roff *roff, const char *os_s, int quick)
usr/src/cmd/mandoc/roff.c
873
man->roff = roff;
usr/src/cmd/mandoc/roff.c
877
roff->man = man;
usr/src/cmd/mandoc/roff.c
971
n->string = roff_strdup(man->roff, word);
usr/src/cmd/mandoc/roff.c
984
addstr = roff_strdup(man->roff, word);
usr/src/cmd/mandoc/roff_int.h
24
struct roff;
usr/src/cmd/mandoc/roff_int.h
34
struct roff *roff; /* Roff parser state data. */
usr/src/cmd/troff/ext.h
66
extern filep roff;
usr/src/cmd/troff/n3.c
540
if ((woff & (~(BLK - 1))) == (roff & (~(BLK - 1))))
usr/src/cmd/troff/n3.c
541
roff = -1;
usr/src/cmd/troff/n3.c
563
if (j != roff) {
usr/src/cmd/troff/n3.c
564
roff = j;
usr/src/cmd/troff/n3.c
608
if ((i = p & ~(BLK - 1)) != roff) {
usr/src/cmd/troff/n3.c
609
roff = i;
usr/src/cmd/troff/n3.c
610
lseek(ibf, (long)roff * sizeof(tchar), 0);
usr/src/cmd/troff/nii.c
122
filep roff;
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
402
size_t roff = 0;
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
413
roff += vaq->vaq_otl->otl_hdrsize;
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
414
bcopy(v6hdr, resp + roff, sizeof (ip6_t));
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
415
v6hdr = (ip6_t *)(resp + roff);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
419
roff += sizeof (ip6_t);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
420
na = (nd_neighbor_advert_t *)(resp + roff);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
435
roff += sizeof (nd_neighbor_advert_t);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
437
opt = (nd_opt_hdr_t *)(resp + roff);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
440
roff += sizeof (nd_opt_hdr_t);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
441
bcopy(vaq->vaq_lookup, resp + roff, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
442
roff += ETHERADDRL;
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
448
v6hdr->ip6_plen = htons(roff - sizeof (ip6_t) -
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
454
resp, roff);
usr/src/uts/common/fs/bootfs/bootfs_vnops.c
214
offset_t coff, roff;
usr/src/uts/common/fs/bootfs/bootfs_vnops.c
234
roff = uiop->uio_loffset;
usr/src/uts/common/fs/bootfs/bootfs_vnops.c
246
if (roff == 0) {
usr/src/uts/common/fs/bootfs/bootfs_vnops.c
263
if (roff <= 1) {
usr/src/uts/common/fs/bootfs/bootfs_vnops.c
285
if (roff > coff) {
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4396
uint8_t *roff;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4487
roff = pwp->scratch;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4488
roff += rdoff;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4489
srf = (smp_response_frame_t *)roff;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4490
sdr = (smp_discover_resp_t *)(roff+4);
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4675
(roff[SAS_ATTACHED_NAME_OFFSET] >> 8) == NAA_IEEE_REG) {
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
4677
&roff[SAS_ATTACHED_NAME_OFFSET], 8);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1000
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1003
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1006
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1009
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1014
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1015
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1023
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1027
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1030
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1033
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1036
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1041
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
1042
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
834
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
838
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
841
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
844
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
847
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
852
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
853
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
861
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
865
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
868
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
871
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
874
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
879
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
880
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
888
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
892
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
895
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
898
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
901
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
906
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
907
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
915
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
919
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
922
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
925
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
928
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
933
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
934
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
942
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
946
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
949
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
952
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
955
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
960
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
961
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
969
uintptr_t addr, roff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
973
roff = xhcip->xhci_regs_capoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
976
roff = xhcip->xhci_regs_operoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
979
roff = xhcip->xhci_regs_runoff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
982
roff = xhcip->xhci_regs_dooroff;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
987
ASSERT(roff != PCI_EINVAL32);
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
988
addr = roff + off + (uintptr_t)xhcip->xhci_regs_base;
usr/src/uts/common/io/usb/hcd/xhci/xhci.c
996
uintptr_t addr, roff;
usr/src/uts/common/sys/sunddi.h
681
uint_t rnumber, offset_t roff, size_t len, uint_t maxprot,
usr/src/uts/common/sys/sunddi.h
692
uint_t rnumber, offset_t roff, size_t len, uint_t maxprot,
usr/src/uts/common/vm/seg_dev.c
3380
struct devmap_callback_ctl *callbackops, uint_t rnumber, offset_t roff,
usr/src/uts/common/vm/seg_dev.c
3392
(void *)dhp, roff, rnumber, (uint_t)len);
usr/src/uts/common/vm/seg_dev.c
3394
"rnum %d len %lx\n", (void *)dhp, roff, rnumber, len));
usr/src/uts/common/vm/seg_dev.c
3426
hp->ah_offset = roff;
usr/src/uts/common/vm/seg_dev.c
3444
err = ddi_map(dip, &mr, roff, len, (caddr_t *)&dhp->dh_pfn);
usr/src/uts/common/vm/seg_dev.c
3459
dhp->dh_roff = ptob(btop(roff));
usr/src/uts/common/vm/seg_dev.c
3487
uint_t rnumber, offset_t roff, size_t len, uint_t maxprot,
usr/src/uts/common/vm/seg_dev.c
3500
(void *)dhp, roff, rnumber, (uint_t)len);
usr/src/uts/common/vm/seg_dev.c
3502
"rnum %d len %lx\n", (void *)dhp, roff, rnumber, len));
usr/src/uts/common/vm/seg_dev.c
3545
hp->ah_offset = roff;
usr/src/uts/common/vm/seg_dev.c
3563
err = ddi_map(dip, &mr, roff, len, (caddr_t *)&pfn);
usr/src/uts/common/vm/seg_dev.c
3582
dhp->dh_roff = ptob(btop(roff));
usr/src/uts/sparc/krtld/kobj_reloc.c
111
long off, roff;
usr/src/uts/sparc/krtld/kobj_reloc.c
158
roff = off = ((Rela *)reladdr)->r_offset;
usr/src/uts/sparc/krtld/kobj_reloc.c
223
roff + ((uintptr_t)baseaddr -
usr/src/uts/sparc/krtld/kobj_reloc.c
260
value -= (baseaddr + roff);
usr/src/uts/sparc/krtld/kobj_reloc.c
54
sdt_reloc_resolve(struct module *mp, char *symname, uint32_t *instr, long roff)
usr/src/uts/sparc/krtld/kobj_reloc.c
74
if ((uint32_t *)roff == instr) {
usr/src/uts/sparc/krtld/kobj_reloc.c
80
roff -= (uintptr_t)mp->text;
usr/src/uts/sparc/krtld/kobj_reloc.c
83
sdp->sdpd_offset = roff;