/freebsd-10-stable/sys/dev/syscons/plasma/ |
H A D | plasma_saver.c | 91 unsigned int org, off; /* origin and offset */ local 97 for (y = org = off = 0; y < scrh; ++y) { 99 for (x = 0; x < scrw; ++x, ++off) { 119 if (off > banksize) { 120 off -= banksize; 125 vid[off] = FP16toI(m);
|
/freebsd-10-stable/sys/net/ |
H A D | mppcd.c | 109 uint32_t olen, off, len, bits, val, sig, i, l; local 159 off = (((val&0x0f)<<2)|getbits(isrc, 2 , &i ,&l)); 163 off = ((((val&0x0f)<<4)|getbits(isrc, 4 , &i ,&l))+64); 167 off = ((((val&0x1f)<<8)|getbyte(isrc, i++, l))+320); 169 if (off > MPPE_HIST_LEN - 1) { 249 * In some cases len may be greater than off. It means that memory 250 * areas pointed by s and s-off overlap. To decode that strange case 254 lamecopy(s, s - off, len);
|
/freebsd-10-stable/contrib/nvi/vi/ |
H A D | vs_refresh.c | 170 size_t cwtotal, cnt, len, notused, off, y; local 526 * If the new column moved us off of the current logical line, 528 * moved off of the current screen, as well. 600 off = smp->coff; 601 if (off >= cnt) { 603 if (off >= O_VAL(sp, O_SIDESCROLL)) 604 off -= O_VAL(sp, O_SIDESCROLL); 606 off = 0; 609 } while (off >= cnt); 614 if ((off [all...] |
/freebsd-10-stable/lib/libc/db/btree/ |
H A D | bt_split.c | 597 indx_t full, half, nxt, off, skip, top, used; local 612 for (nxt = off = 0, top = NEXTINDEX(h); nxt < top; ++off) { 613 if (skip == off) { 648 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) || 650 --off; 655 if (skip != off) { 658 l->linp[off] = l->upper -= nbytes; 675 l->lower += (off + 1) * sizeof(indx_t); 701 if (skip <= off) { [all...] |
/freebsd-10-stable/sbin/fsck_msdosfs/ |
H A D | fat.c | 69 off_t off; local 77 off = boot->bpbResSectors; 78 off *= boot->bpbBytesPerSec; 86 if (lseek(fs, off, SEEK_SET) != off) { 166 off_t off; local 175 off = boot->bpbResSectors + no * boot->FATsecs; 176 off *= boot->bpbBytesPerSec; 178 if (lseek(fs, off, SEEK_SET) != off) { 564 off_t off; local [all...] |
/freebsd-10-stable/contrib/ntp/clockstuff/ |
H A D | chutest.c | 219 (void) fprintf(stderr, "Poping off streams..."); 546 l_fp off[NCHUCHARS]; local 686 printf("Date hopelessly off\n"); 700 off[i].l_ui = date_ui; 701 off[i].l_uf = chutable[i]; 704 M_SUB(off[i].l_ui, off[i].l_uf, tmp, tmp2); 726 M_ADD(date_ui, tmp, off[i].l_ui, off[i].l_uf); 808 if (L_ISGEQ(&off[ [all...] |
/freebsd-10-stable/lib/libstand/ |
H A D | dosfs.c | 243 u_int nb, off, clus, c, cnt, n; local 252 off = f->offset; 254 off &= f->fs->bsize - 1; 262 } else if (!off) 272 if (!clus || (n = f->fs->bsize - off) > cnt) 275 secbyt(f->fs->lsndir)) + off, 280 off = 0; 296 off_t off; local 303 off = 0; 306 off 597 u_int off; member in struct:__anon3 717 u_int off, n; local [all...] |
/freebsd-10-stable/contrib/ntp/sntp/libevent/ |
H A D | event_tagging.c | 117 int off = 1, nibbles = 0; \ 121 if (off & 0x1) \ 122 data[off/2] = (data[off/2] & 0xf0) | (number & 0x0f); \ 124 data[off/2] = (data[off/2] & 0x0f) | \ 127 off++; \ 130 if (off > 2) \ 131 nibbles = off - 2; \ 136 return ((off [all...] |
/freebsd-10-stable/sys/dev/nand/ |
H A D | nand_geom.c | 202 off_t off; local 229 off = 0; 263 ret = copyin(raw_rw->data + off, buf, bufsize); 266 ret = nand_prog_pages_raw(chip, raw_rw->off + off, buf, 271 off += bufsize; 280 ret = nand_read_pages_raw(chip, raw_rw->off + off, buf, 285 ret = copyout(buf, raw_rw->data + off, bufsize); 289 off [all...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | omap3-tao3530.dtsi | 231 cap-power-off-card; 279 gpmc,cs-rd-off-ns = <36>; 280 gpmc,cs-wr-off-ns = <36>; 282 gpmc,adv-rd-off-ns = <24>; 283 gpmc,adv-wr-off-ns = <36>; 285 gpmc,oe-off-ns = <48>; 287 gpmc,we-off-ns = <30>;
|
/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | block_if.c | 123 off_t off; local 136 off = breq->br_offset; 138 off += breq->br_iov[i].iov_len; 141 off = OFF_MAX; 143 be->be_block = off; 206 ssize_t clen, len, off, boff, voff; local 224 off = voff = 0; 228 off) < 0) { 246 off += len; 264 off 792 blockif_psectsz(struct blockif_ctxt *bc, int *size, int *off) argument [all...] |
/freebsd-10-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_puffs.c | 174 uint64_t off; local 180 off = 0; 184 n = xread(comfd, buf+off, toread); 190 off += n; 191 if (off >= sizeof(struct putter_hdr)) 192 toread = phdr->pth_framelen - off; 194 toread = off - sizeof(struct putter_hdr);
|
/freebsd-10-stable/sys/ddb/ |
H A D | db_sym.c | 429 db_printsym(db_expr_t off, db_strategy_t strategy) argument 438 cursym = db_search_symbol(off, strategy, &d); 441 value = off; 443 db_printf("%+#lr", (long)off); 447 db_printf("%#lr", (unsigned long)off); 451 db_printf("%#lr = %s", (unsigned long)off, name); 458 if (db_line_at_pc(cursym, &filename, &linenum, off))
|
/freebsd-10-stable/contrib/gcc/ |
H A D | tree-ssa-address.c | 176 rtx address, sym, bse, idx, st, off; local 187 off = immed_double_const (TREE_INT_CST_LOW (addr->offset), 190 off = NULL_RTX; 216 st, off); 219 if (off) 220 *templ->off_p = off; 237 gen_addr_rtx (sym, bse, idx, st, off, &address, NULL, NULL); 712 tree ret, off; local 731 off = addr.index; 734 off [all...] |
/freebsd-10-stable/sys/dev/usb/ |
H A D | usb_handle_request.c | 219 struct usb_device_request req, uint16_t off, uint8_t state) 268 off, &temp_state); 287 &req, ppdata, plen, off, &temp_state); 291 *ppdata = ((uint8_t *)(*ppdata)) - off; 292 *plen += off; 472 uint16_t off; /* data offset */ local 524 off = 0; 528 off = UGETW(req.wLength) - rem; 543 "off=0x%x rem=0x%x, state=%d\n", req.bmRequestType, 544 req.bRequest, wValue, UGETW(req.wIndex), off, re 217 usb_handle_iface_request(struct usb_xfer *xfer, void **ppdata, uint16_t *plen, struct usb_device_request req, uint16_t off, uint8_t state) argument [all...] |
/freebsd-10-stable/contrib/nvi/ex/ |
H A D | ex_txt.c | 92 * set it up so we know we were suspended. Otherwise, turn off 383 size_t cno, off, scno, spaces, tabs; local 389 for (off = scno = 0; off < tp->len; ++off) 390 if (tp->lb[off] == '\t')
|
/freebsd-10-stable/sbin/nvmecontrol/ |
H A D | firmware.c | 111 int32_t off, resid, size; local 114 off = 0; 123 memcpy(chunk, payload + off, size); 128 pt.cmd.cdw11 = (off / sizeof(uint32_t)); 140 off += size;
|
/freebsd-10-stable/sys/kern/ |
H A D | kern_et.c | 243 int error, off; local 248 off = 0; 251 off += snprintf(buf + off, sizeof(buf) - off, "%s%s(%d)",
|
/freebsd-10-stable/sys/amd64/vmm/amd/ |
H A D | vmcb.c | 118 int off, bytes; local 122 off = VMCB_ACCESS_OFFSET(ident); 125 if ((off + bytes) >= sizeof (struct vmcb)) 138 memcpy(ptr + off, val, bytes); 140 memcpy(val, ptr + off, bytes);
|
/freebsd-10-stable/sys/netinet6/ |
H A D | in6_rmx.c | 96 extern int in6_inithead(void **head, int off); 98 extern int in6_detachhead(void **head, int off); 256 * XXX MRT When off == 0, we are being called from vfs_export.c 265 in6_inithead(void **head, int off) argument 272 if (off == 0) /* See above */ 280 in6_mtutimo(curvnet); /* kick off timeout first time */ 289 in6_detachhead(void **head, int off) argument
|
/freebsd-10-stable/contrib/file/src/ |
H A D | softmagic.c | 257 switch (moffset(ms, m, nbytes, &ms->c.li[cont_level].off)) { 286 ms->c.li[cont_level - 1].off; 370 &ms->c.li[cont_level].off)) { 1301 do_ops(struct magic *m, intmax_t lhs, intmax_t off) argument 1304 if (off) { 1307 offset = lhs & off; 1310 offset = lhs | off; 1313 offset = lhs ^ off; 1316 offset = lhs + off; 1319 offset = lhs - off; 1382 intmax_t off = m->in_offset; local [all...] |
/freebsd-10-stable/sbin/tunefs/ |
H A D | tunefs.c | 642 int off; local 648 for (off = 0; off < bytes; off += dp->d_reclen) { 649 dp = (struct direct *)&block[off]; 714 dir_clear_block(const char *block, off_t off) argument 718 for (; off < sblock.fs_bsize; off += DIRBLKSIZ) { 719 dp = (struct direct *)&block[off]; 728 * free offset of 'off' 732 dir_insert(ufs2_daddr_t blk, off_t off, ino_t ino) argument 795 int off; local [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/powerpc/ |
H A D | dt_isadep.c | 138 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 140 if (off & 0x3) 147 ftp->ftps_offs[0] = off; 137 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument
|
/freebsd-10-stable/contrib/ngatm/libngatm/ |
H A D | unimsg.c | 234 u_int len, off; local 237 off = inp->b_rptr - inp->b_buf; 240 msg->b_rptr = msg->b_buf + off;
|
/freebsd-10-stable/lib/libc/db/recno/ |
H A D | rec_close.c | 112 off_t off; local 176 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1) 178 if (ftruncate(t->bt_rfd, off))
|