/freebsd-11-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)
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | store_emem.c | 61 size_t sz, off; local 62 off = s->ptr - s->base; 63 sz = off + size; 71 s->ptr = (unsigned char*)base + off; 120 size_t off; local 121 off = s->ptr - s->base; 129 s->ptr = (unsigned char *)base + off;
|
/freebsd-11-stable/contrib/nvi/vi/ |
H A D | vs_relative.c | 226 size_t chlen, curoff, len, llen, off, scno; local 242 off = cno / sp->cols; 244 for (scno = 0, p = lp, len = llen; off--;) { 277 * a: off < llen - 1, i.e. not the last character in 284 off = p - lp; 286 (off < llen - 1 ? off : llen - 1) : off - 1);
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_ksocket.c | 203 const char *s, int *off, const u_char *const start, 213 if ((tok = ng_parse_get_token(s, off, &len)) == T_LBRACE) { 216 s, off, start, buf, buflen); 220 while (isspace(s[*off])) 221 (*off)++; 222 if ((t = strchr(s + *off, '/')) == NULL) 224 if ((len = t - (s + *off)) > sizeof(fambuf) - 1) 226 strncpy(fambuf, s + *off, len); 228 *off += len + 1; 246 if ((path = ng_get_string_token(s, off, 202 ng_ksocket_sockaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 313 ng_ksocket_sockaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument [all...] |
H A D | ng_parse.h | 207 * The ASCII characters begin at offset *off in 'string'. The binary 212 * *off is updated to point just past the end of the parsed range of 217 * and *off points just past the last char parsed. 227 int *off, const u_char *start, 234 * *off points to the current byte in 'data' and should be updated 242 const u_char *data, int *off, char *buf, int buflen); 496 int *off, u_char *buf, int *buflen); 499 * See typedef ng_unparse_t for definition (*off assumed to be zero).
|
/freebsd-11-stable/sys/i386/acpica/ |
H A D | acpi_machdep.c | 130 vm_offset_t va, off; local 133 off = pa & PAGE_MASK; 134 length = round_page(length + off); 138 data = (void *)(va + off); 154 vm_offset_t va, off; local 157 off = va & PAGE_MASK; 158 length = round_page(length + off);
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_nvram.c | 62 off_t off; local 79 off = 0; 84 rc = copyin(ip->u.nvram.data + off, buf, len); 88 ip->u.nvram.offset + off, buf, len); 93 ip->u.nvram.offset + off, buf, len); 96 rc = copyout(buf, ip->u.nvram.data + off, len); 102 off += len;
|
/freebsd-11-stable/sys/amd64/acpica/ |
H A D | acpi_machdep.c | 114 vm_offset_t va, off; local 117 off = pa & PAGE_MASK; 118 length = round_page(length + off); 122 data = (void *)(va + off); 138 vm_offset_t va, off; local 141 off = va & PAGE_MASK; 142 length = round_page(length + off);
|
/freebsd-11-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-11-stable/lib/libkvm/ |
H A D | kvm_minidump_i386.c | 81 off_t off; local 111 off = I386_PAGE_SIZE + i386_round_page(vmst->hdr.msgbufsize); 118 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 124 off += i386_round_page(vmst->hdr.bitmapsize); 132 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) != 138 off += vmst->hdr.ptesize; 141 _kvm_hpt_init(kd, &vmst->hpt, bitmap, vmst->hdr.bitmapsize, off,
|
H A D | kvm_minidump_arm.c | 84 off_t off; local 123 off = ARM_PAGE_SIZE + arm_round_page(vmst->hdr.msgbufsize); 132 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 139 off += arm_round_page(vmst->hdr.bitmapsize); 149 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) != 157 off += vmst->hdr.ptesize; 160 _kvm_hpt_init(kd, &vmst->hpt, bitmap, vmst->hdr.bitmapsize, off,
|
H A D | kvm_minidump_aarch64.c | 81 off_t off; local 115 off = AARCH64_PAGE_SIZE + aarch64_round_page(vmst->hdr.msgbufsize); 124 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 132 off += aarch64_round_page(vmst->hdr.bitmapsize); 148 if (pread(kd->pmfd, vmst->page_map, vmst->hdr.pmapsize, off) < 155 off += vmst->hdr.pmapsize; 158 _kvm_hpt_init(kd, &vmst->hpt, bitmap, vmst->hdr.bitmapsize, off,
|
H A D | kvm_minidump_mips.c | 89 off_t off; local 130 off = MIPS_PAGE_SIZE + mips_round_page(vmst->hdr.msgbufsize); 139 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 146 off += mips_round_page(vmst->hdr.bitmapsize); 156 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) != 164 off += vmst->hdr.ptesize; 167 _kvm_hpt_init(kd, &vmst->hpt, bitmap, vmst->hdr.bitmapsize, off,
|
/freebsd-11-stable/lib/libc/db/hash/ |
H A D | hash_page.c | 98 u_int16_t *bp, n, off; local 105 off = OFFSET(bp) - key->size; 106 memmove(p + off, key->data, key->size); 107 bp[++n] = off; 110 off -= val->size; 111 memmove(p + off, val->data, val->size); 112 bp[++n] = off; 116 bp[n + 1] = off - ((n + 3) * sizeof(u_int16_t)); 117 bp[n + 2] = off; 190 u_int16_t copyto, diff, off, move local 292 u_int16_t n, off, ov_addr, scopyto; local 885 u_int16_t free_space, n, off, pageno; local [all...] |
/freebsd-11-stable/sbin/newfs_nandfs/ |
H A D | newfs_nandfs.c | 242 uint64_t off; local 247 off = roundup(sizeof(struct nandfs_sufile_header), seg_size); 248 off += (seg * seg_size); 250 *blk = off / blocksize; 251 *offset = (off % blocksize) / seg_size; 313 debug("bad segment at block:%jx off: %jx", blk, offset); 418 uint64_t allocated, i, off; local 426 off = vblock % (blocksize / sizeof(*dat)); 432 dat[off].de_blocknr = block; 433 dat[off] 678 uint64_t blk, i, off; local 783 uint64_t ino, blk, off; local [all...] |
/freebsd-11-stable/sys/dev/ichwd/ |
H A D | ichwd.c | 303 #define ichwd_read_tco_1(sc, off) \ 304 bus_read_1((sc)->tco_res, (off)) 305 #define ichwd_read_tco_2(sc, off) \ 306 bus_read_2((sc)->tco_res, (off)) 307 #define ichwd_read_tco_4(sc, off) \ 308 bus_read_4((sc)->tco_res, (off)) 309 #define ichwd_read_smi_4(sc, off) \ 310 bus_read_4((sc)->smi_res, (off)) 311 #define ichwd_read_gcs_4(sc, off) \ 312 bus_read_4((sc)->gcs_res, (off)) [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_frame.c | 177 Dwarf_Unsigned *off, Dwarf_Cie *ret_cie, Dwarf_Error *error) 185 if (_dwarf_frame_find_cie(fs, *off, &cie) != DW_DLE_NO_ENTRY) { 186 *off += cie->cie_length + 4; 198 cie->cie_offset = *off; 200 length = dbg->read(ds->ds_data, off, 4); 203 length = dbg->read(ds->ds_data, off, 8); 207 if (length > ds->ds_size - *off) { 212 (void) dbg->read(ds->ds_data, off, dwarf_size); /* Skip CIE id. */ 215 cie->cie_version = dbg->read(ds->ds_data, off, 1); 222 cie->cie_augment = ds->ds_data + *off; 176 _dwarf_frame_add_cie(Dwarf_Debug dbg, Dwarf_FrameSec fs, Dwarf_Section *ds, Dwarf_Unsigned *off, Dwarf_Cie *ret_cie, Dwarf_Error *error) argument 303 _dwarf_frame_add_fde(Dwarf_Debug dbg, Dwarf_FrameSec fs, Dwarf_Section *ds, Dwarf_Unsigned *off, int eh_frame, Dwarf_Error *error) argument [all...] |
/freebsd-11-stable/contrib/netcat/ |
H A D | socks.c | 93 size_t off; local 95 for(off = 0;;) { 96 if (off >= bufsz) 98 if (atomicio(read, fd, buf + off, 1) != 1) 101 if (buf[off] == '\r') 103 if (buf[off] == '\n') { 104 buf[off] = '\0'; 107 off++; 109 return (off);
|
/freebsd-11-stable/stand/libsa/ |
H A D | ufsread.c | 77 #define FS_TO_VBA(fs, fsb, off) (fsbtodb(fs, fsb) + \ 78 ((off) / VBLKSIZE) * DBPERVBLK) 79 #define FS_TO_VBO(fs, fsb, off) ((off) & VBLKMASK) 182 size_t n, nb, size, off, vboff; local 263 off = blkoff(&fs, fs_off); 295 vbaddr = fsbtodb(&fs, addr2) + (off >> VBLKSHIFT) * DBPERVBLK; 296 vboff = off & VBLKMASK; 297 n = sblksize(&fs, (off_t)size, lbn) - (off & ~VBLKMASK);
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | ipsec.c | 205 ipsec_stats(u_long off, const char *name, int af1 __unused, int proto __unused) argument 210 if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat, 214 if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat, 314 ah_stats(u_long off, const char *name, int family __unused, int proto __unused) argument 318 if (fetch_stats("net.inet.ah.stats", off, &ahstat, 374 esp_stats(u_long off, const char *name, int family __unused, int proto __unused) argument 378 if (fetch_stats("net.inet.esp.stats", off, &espstat, 431 ipcomp_stats(u_long off, const char *name, int family __unused, argument 436 if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat,
|
/freebsd-11-stable/contrib/blacklist/bin/ |
H A D | run.c | 121 size_t off; local 151 off = strncmp(rv, "OK ", 3) == 0 ? 3 : 0; 152 strlcpy(id, rv + off, len);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/aarch64/ |
H A D | dt_isadep.c | 79 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 82 if (!ALIGNED_POINTER(off, 4)) 89 ftp->ftps_offs[0] = off; 78 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-11-stable/cddl/contrib/opensolaris/lib/libdtrace/riscv/ |
H A D | dt_isadep.c | 79 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) 82 if (!ALIGNED_POINTER(off, 4)) 89 ftp->ftps_offs[0] = off; 78 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-11-stable/sys/dev/qlxgb/ |
H A D | qla_glbl.h | 95 extern int qla_fw_update(qla_host_t *ha, void *fdata, uint32_t off, 97 extern int qla_erase_flash(qla_host_t *ha, uint32_t off, uint32_t size); 98 extern int qla_wr_flash_buffer(qla_host_t *ha, uint32_t off, uint32_t size,
|
H A D | qla_ioctl.c | 115 if ((rval = qla_rd_flash32(ha, rdf->off, &rdf->data))) 121 if ((rval = qla_wr_flash_buffer(ha, wrf->off, wrf->size, 128 if (qla_erase_flash(ha, ((qla_erase_flash_t *)data)->off,
|