/freebsd-10-stable/bin/cat/ |
H A D | cat.c | 293 int off, wfd; local 316 for (off = 0; nr; nr -= nw, off += nw) 317 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
|
/freebsd-10-stable/bin/ed/ |
H A D | sub.c | 170 int off = 0; local 188 REALLOC(rbuf, rbufsz, off + i, ERR); 191 memcpy(rbuf + off, txt, i); 192 off += i; 193 if ((off = apply_subst_template(txt, rm, off, 198 REALLOC(rbuf, rbufsz, off + i, ERR); 201 memcpy(rbuf + off, txt, i); 202 off += i; 209 REALLOC(rbuf, rbufsz, off 226 apply_subst_template(const char *boln, regmatch_t *rm, int off, int re_nsub) argument [all...] |
/freebsd-10-stable/bin/ps/ |
H A D | print.c | 787 return (printval((char *)((char *)k->ki_p + v->off), v)); 798 return (printval((char *)((char *)(&k->ki_p->ki_rusage) + v->off), v));
|
H A D | ps.h | 80 size_t off; /* offset in structure */ member in struct:var
|
/freebsd-10-stable/bin/stty/ |
H A D | key.c | 73 #define F_OFFOK 0x02 /* can turn off */ 113 ip->off = 1; 116 ip->off = 0; 122 if (!(kp->flags & F_OFFOK) && ip->off) { 144 if (ip->off) 196 if (ip->off) { 217 if (ip->off) { 239 if (ip->off)
|
H A D | stty.h | 39 int off; /* turn off */ member in struct:info
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
H A D | cswstat.d | 52 sched:::off-cpu
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Kernel/ |
H A D | cswstat.d | 52 sched:::off-cpu
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.cputime.ksh | 50 sched:::off-cpu
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.boolopt.d | 43 #pragma D option flowindent=off
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.oncpu.d | 38 sched:::off-cpu 41 self->off++; 44 sched:::off-cpu 45 /self->on > 50 && self->off > 50/
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 54 xdt:sched::off-cpu 57 self->off++; 60 xdt:sched::off-cpu 61 /self->on > 50 && self->off > 50/
|
H A D | tst.schedargs.ksh | 49 xdt:sched::off-cpu,
|
H A D | tst.schedenable.ksh | 55 xdt:sched::off-cpu, 57 xdt:sched::idle-off-cpu,
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | lockstat.c | 316 " -E watch error events [off by default]\n" 317 " -H watch hold events [off by default]\n" 318 " -I watch interrupt events [off by default]\n" 1083 size_t size, off; local 1182 off = offp ? strtoul(offp, NULL, 0) : 0; 1185 addr = strtoul(addrp, NULL, 16) + off; 1187 addr = sym_to_addr(addrp) + off; 1189 size = sym_size(addrp) - off; 1190 if (addr - off == 0)
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 1095 uint64_t resid, len, off = 0; local 1109 if ((error = spa_history_get(spa, &off, &len, buf)) != 0) { 1117 off -= resid;
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 786 * Before we kill off ztest, make sure that the config is updated. 3907 uint64_t off; local 3982 for (off = bigoff, j = 0; j < s; j++, off += chunksize) { 3985 bcopy((caddr_t)bigbuf + (off - bigoff), 3988 bcopy((caddr_t)bigbuf + (off - bigoff), 3991 bcopy((caddr_t)bigbuf + (off - bigoff) + 3998 VERIFY(dmu_buf_hold(os, bigobj, off, 4002 dmu_assign_arcbuf(bonus_db, off, 4005 dmu_assign_arcbuf(bonus_db, off, [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 1095 size_t off = lmd->dmd_offset; local 1101 off += linfo.cte_bits; 1103 off += lsize * NBBY; 1107 * next byte boundary, convert 'off' to bytes, and then round 1114 off = roundup(off, NBBY) / NBBY; 1115 off = roundup(off, MAX(malign, 1)); 1116 dmd->dmd_offset = off * NBBY; 1117 ssize = off [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_as.c | 138 dt_copystr(const char *s, size_t n, size_t off, dt_pcb_t *pcb) argument 140 bcopy(s, pcb->pcb_difo->dtdo_strtab + off, n);
|
H A D | dt_buf.c | 88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 89 size_t adj = roundup(off, align) - off; 111 bcopy(bp->dbu_buf, new_buf, off); 115 bp->dbu_ptr = new_buf + off; 141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 142 return (roundup(off, align));
|
H A D | dt_cc.c | 1902 off64_t off; local 1904 off_t off = 0; local 1919 if (isatty(fileno(ifp)) == 0 && (off = ftello64(ifp)) != -1) { 1921 for (off += 2; c != '\n'; off++) { 1926 off--; /* start cpp just prior to \n */ 1929 (void) fseeko64(ifp, off, SEEK_SET); 1987 lseek(fileno(ifp), off, SEEK_SET); local 2168 * Perform a topological sort of the graph that hangs off
|
H A D | dt_cg.c | 249 xyerror(D_UNKNOWN, "cg: bad field: off %lu type <%ld> " 354 xyerror(D_UNKNOWN, "cg: bad field: off %lu type <%ld> " 1400 dt_cg_xlate_member(const char *name, ctf_id_t type, ulong_t off, void *arg) argument 1435 dt_cg_setx(dlp, reg, off / NBBY);
|
H A D | dt_consume.c | 1568 dt_print_type_member(const char *name, ctf_id_t type, ulong_t off, void *arg) argument 1577 off /= 8; 1581 cbdata.addr += off; 1588 dt_print_type_width(const char *name, ctf_id_t type, ulong_t off, void *arg) argument 1813 /* Strip off the array dimension. */
|
H A D | dt_link.c | 505 Elf32_Off off; local 556 off = sizeof (elf_file) + nshdr * sizeof (Elf32_Shdr); 561 shp->sh_offset = off; 564 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 8); 570 shp->sh_offset = off; 573 off = shp->sh_offset + shp->sh_size; 579 shp->sh_offset = off; 582 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 4); 590 shp->sh_offset = off; 594 off 653 Elf64_Off off; local 811 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 820 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 829 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 848 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 933 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 1055 dt_modtext(dtrace_hdl_t *dtp, char *p, int isenabled, GElf_Rela *rela, uint32_t *off) argument 1203 uint32_t off, eclass, emachine1, emachine2; local 1697 uint64_t off, rc; local [all...] |
H A D | dt_pid.c | 121 uint64_t off; local 177 off = strtoull(pp->dpp_name, &end, 16); 183 if (off >= symp->st_size) { 186 (u_longlong_t)off, func)); 190 symp, off); 195 "'%s+0x%llx': %s", func, (u_longlong_t)off, 202 (u_longlong_t)off));
|