/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | EhFrame.cpp | 22 const size_t errOff = *off; in readLength() 23 if (*off + 4 > data.size()) in readLength() 26 *off += 4; in readLength() 32 *off += 8; in readLength() 41 *off += 4; in skipValidLength() 43 *off += 8; in skipValidLength() 48 if (*off + 1 > data.size()) in readByte() 50 return data[(*off)++]; in readByte() 57 *off += 4; in readU32() 71 *off += size; in readPointer() [all …]
|
H A D | InputSection.cpp | 46 return parent->addr + getOffset(off); in getVA() 79 off += subsec.offset; in getLocation() 100 off += subsec.offset; in getSourceLocation() 243 size_t off = 0; in splitIntoPieces() local 250 pieces.emplace_back(off, hash); in splitIntoPieces() 253 off += size; in splitIntoPieces() 258 if (off >= data.size()) in getStringPiece() 271 if (off >= data.size()) in getStringPieceIndex() 311 return osec->getLiteral4Offset(buf + (off & ~3LLU)) | (off & 3); in getOffset() 313 return osec->getLiteral8Offset(buf + (off & ~7LLU)) | (off & 7); in getOffset() [all …]
|
/freebsd/contrib/bearssl/T0/ |
H A D | ConstData.cs | 101 if (off < 0 || off > (len - dlen)) { in CheckIndex() 108 CheckIndex(off, 1); in Set8() 109 buf[off] = v; in Set8() 114 CheckIndex(off, 1); in Read8() 115 return buf[off]; in Read8() 121 return (buf[off] << 8) | buf[off + 1]; in Read16() 127 return (buf[off] << 16) | (buf[off + 1] << 8) | buf[off + 2]; in Read24() 133 return (buf[off] << 24) | (buf[off + 1] << 16) in Read32() 134 | (buf[off + 2] << 8) | buf[off + 3]; in Read32() 157 if (off >= len) { in DecodeUTF8() [all …]
|
/freebsd/contrib/dialog/samples/ |
H A D | treeview2 | 18 tag1:one:off:0 19 tag2:two:off:1 21 tag4:four:off:1 22 tag5:five:off:2 23 tag6:six:off:3 24 tag7:seven:off:3 25 tag8:eight:off:4 26 tag11:1one:off:0 27 tag12:1two:off:1 31 tag16:1six:off:3 [all …]
|
H A D | radiolist1 | 18 "Apple" "It's an apple." off \ 20 "Dog2" "No2, that's not my dog." off \ 21 "Dog3" "No3, that's not my dog." off \ 22 "Dog4" "No4, that's not my dog." off \ 23 "Dog5" "No5, that's not my dog." off \ 24 "Dog6" "No6, that's not my dog." off \ 25 "Orange" "Yeah, that's juicy." off \ 26 "Chicken" "Normally not a pet." off \ 27 "Cat" "No, never put a dog and a cat together!" off \ 28 "Fish" "Cats like fish." off \ [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_parse.c | 159 int off = 0; in ng_unparse() local 200 int off = 0; in ng_struct_getDefault() local 1049 data[*off], data[*off + 1], data[*off + 2], in ng_enaddr_unparse() 1050 data[*off + 3], data[*off + 4], data[*off + 5]); in ng_enaddr_unparse() 1758 off++; in ng_get_string_token() 1762 off++; in ng_get_string_token() 1766 off++; in ng_get_string_token() 1770 off++; in ng_get_string_token() 1774 off++; in ng_get_string_token() 1778 off++; in ng_get_string_token() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_chksum.c | 86 off += kmem_scnprintf(buf + off, size - off, "%8s", "1k"); in chksum_kstat_headers() 87 off += kmem_scnprintf(buf + off, size - off, "%8s", "4k"); in chksum_kstat_headers() 91 off += kmem_scnprintf(buf + off, size - off, "%8s", "1m"); in chksum_kstat_headers() 107 off += kmem_scnprintf(buf + off, size - off, "%-23s", b); in chksum_kstat_data() 108 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() 110 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() 112 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() 114 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() 116 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() 118 off += kmem_scnprintf(buf + off, size - off, "%8llu", in chksum_kstat_data() [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ecdsa_rta.c | 84 off = 3; in br_ecdsa_raw_to_asn1() 87 off = 2; in br_ecdsa_raw_to_asn1() 93 tmp[off ++] = 0x02; in br_ecdsa_raw_to_asn1() 94 tmp[off ++] = rlen; in br_ecdsa_raw_to_asn1() 96 tmp[off] = 0x00; in br_ecdsa_raw_to_asn1() 101 off += rlen; in br_ecdsa_raw_to_asn1() 106 tmp[off ++] = 0x02; in br_ecdsa_raw_to_asn1() 107 tmp[off ++] = slen; in br_ecdsa_raw_to_asn1() 109 tmp[off] = 0x00; in br_ecdsa_raw_to_asn1() 114 off += slen; in br_ecdsa_raw_to_asn1() [all …]
|
/freebsd/contrib/elftoolchain/libpe/ |
H A D | pe_update.c | 38 off_t off; in pe_update() local 58 off = 0; in pe_update() 61 if ((off = libpe_write_msdos_stub(pe, off)) < 0) in pe_update() 64 if ((off = libpe_write_pe_header(pe, off)) < 0) in pe_update() 68 if (libpe_resync_sections(pe, off) < 0) in pe_update() 71 if ((off = libpe_write_coff_header(pe, off)) < 0) in pe_update() 74 if ((off = libpe_write_section_headers(pe, off)) < 0) in pe_update() 77 if ((off = libpe_write_sections(pe, off)) < 0) in pe_update() 80 if (ftruncate(pe->pe_fd, off) < 0) { in pe_update() 85 return (off); in pe_update()
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 194 off += snprintf(str + off, size - off, "%*s:", len, buf); in format_entry() 200 off += snprintf(str + off, size - off, "%s:", buf); in format_entry() 206 off += snprintf(str + off, size - off, "%s:", buf); in format_entry() 211 off += snprintf(str + off, size - off, "%s", buf); in format_entry() 217 off += snprintf(str + off, size - off, "%s", buf); in format_entry() 220 off += snprintf(str + off, size - off, "\n"); in format_entry() 248 error = format_entry(str + off, size - off, entry, flags); in _nfs4_acl_to_text_np() 255 off = strlen(str); in _nfs4_acl_to_text_np() 258 assert(off < size); in _nfs4_acl_to_text_np() 259 str[off] = '\0'; in _nfs4_acl_to_text_np() [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_cdceem.c | 325 off = *offp; in cdceem_handle_cmd() 415 *offp = off; in cdceem_handle_cmd() 429 int off; in cdceem_handle_data() local 431 off = *offp; in cdceem_handle_data() 499 *offp = off; in cdceem_handle_data() 519 off = 0; in cdceem_bulk_read_callback() 573 off = *offp; in cdceem_send_echo() 601 *offp = off; in cdceem_send_echo() 612 off = *offp; in cdceem_send_echo_response() 639 *offp = off; in cdceem_send_echo_response() [all …]
|
/freebsd/sys/dev/tpm/ |
H A D | tpm20.h | 141 RD1(struct tpm_sc *sc, bus_size_t off) in RD1() argument 144 return (bus_read_1(sc->mem_res, off)); in RD1() 147 RD4(struct tpm_sc *sc, bus_size_t off) in RD4() argument 150 return (bus_read_4(sc->mem_res, off)); in RD4() 154 RD8(struct tpm_sc *sc, bus_size_t off) in RD8() argument 157 return (bus_read_8(sc->mem_res, off)); in RD8() 164 bus_write_1(sc->mem_res, off, val); in WR1() 170 bus_write_4(sc->mem_res, off, val); in WR4() 176 WR4(sc, off, RD4(sc, off) & val); in AND4() 182 WR1(sc, off, RD1(sc, off) | val); in OR1() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_002_pos.ksh | 77 atime on atime off 79 exec on exec off 82 zoned on zoned off 91 xattr on xattr off 101 sharenfs off 105 atime on atime off 107 exec on exec off 129 sharenfs off 133 atime on atime off 135 exec on exec off [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.cpp | 95 add32(off, secRel); in applySecRel() 118 add32(off, s + imageBase); in applyRelX64() 121 add64(off, s + imageBase); in applyRelX64() 146 add32(off, s + imageBase); in applyRelX86() 161 write16le(off, (read16le(off) & 0xfbf0) | ((v & 0x800) >> 1) | ((v >> 12) & 0xf)); in applyMOV() 162 write16le(off + 2, (read16le(off + 2) & 0x8f00) | ((v & 0x700) << 4) | (v & 0xff)); in applyMOV() 166 uint16_t op1 = read16le(off); in readMOV() 217 add32(off, sx + imageBase); in applyRelARM() 337 add32(off, s + imageBase); in applyRelARM64() 341 add64(off, s + imageBase); in applyRelARM64() [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | arpadate.c | 61 register int off; variable 132 off -= 24 * 60; 134 off += 24 * 60; 136 off -= 24 * 60; 138 off += 24 * 60; 141 if (off == 0) 175 if (off < 0) 177 off = -off; 188 off %= 60; 189 *q++ = (off / 10) + '0'; [all …]
|
/freebsd/contrib/pf/libevent/ |
H A D | buffer.c | 88 (x)->off = (y)->off; \ 97 if (outbuf->off == 0) { in evbuffer_add_buffer() 133 size_t oldoff = buf->off; in evbuffer_add_vprintf() 158 buf->off += sz; in evbuffer_add_vprintf() 189 if (nread >= buf->off) in evbuffer_remove() 190 nread = buf->off; in evbuffer_remove() 305 buf->off += datlen; in evbuffer_add() 318 if (len >= buf->off) { in evbuffer_drain() 319 buf->off = 0; in evbuffer_drain() 328 buf->off -= len; in evbuffer_drain() [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 31 ret = ECPKParameters_print(b, x, off); in ECPKParameters_print_fp() 46 ret = EC_KEY_print(b, x, off); in EC_KEY_print_fp() 68 size_t len, int off); 101 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print() 113 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print() 161 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print() 233 if (off > 0) { in print_bin() 234 if (off > 128) in print_bin() 235 off = 128; in print_bin() 236 memset(str, ' ', off); in print_bin() [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_nl.c | 65 { .type = PF_ST_ID, .off = _OUT(id), .cb = nlattr_get_uint32 }, 66 { .type = PF_ST_CREATORID, .off = _OUT(creatorid), .cb = nlattr_get_uint32 }, 67 { .type = PF_ST_IFNAME, .arg = (const void *)IFNAMSIZ, .off = _OUT(ifname), .cb = nlattr_get_chara }, 68 { .type = PF_ST_AF, .off = _OUT(proto), .cb = nlattr_get_uint8 }, 69 { .type = PF_ST_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint16 }, 70 { .type = PF_ST_FILTER_ADDR, .off = _OUT(addr), .cb = nlattr_get_in6_addr }, 71 { .type = PF_ST_FILTER_MASK, .off = _OUT(mask), .cb = nlattr_get_in6_addr }, 96 int off = nlattr_add_nested(nw, attr); in dump_state_peer() local 97 if (off == 0) in dump_state_peer() 117 nlattr_set_len(nw, off); in dump_state_peer() 125 int off = nlattr_add_nested(nw, attr); dump_state_key() local 407 int off = nlattr_add_nested(nw, attrtype); nlattr_add_addr_wrap() local 454 int off = nlattr_add_nested(nw, attrtype); nlattr_add_rule_addr() local 479 int off = nlattr_add_nested(nw, attrtype); nlattr_add_mape_portset() local 540 int off = nlattr_add_nested(nw, attrtype); nlattr_add_labels() local 570 int off = nlattr_add_nested(nw, attrtype); nlattr_add_pool() local 597 int off = nlattr_add_nested(nw, attrtype); nlattr_add_rule_uid() local 657 int off = nlattr_add_nested(nw, attrtype); nlattr_add_timeout() local [all...] |
/freebsd/lib/libc/stdio/ |
H A D | fmemopen.c | 90 ck->off = 0; in fmemopen() 169 nbytes = ck->len - ck->off; in fmemopen_read() 176 ck->off += nbytes; in fmemopen_read() 194 ck->off += nbytes; in fmemopen_write() 196 if (ck->off > ck->len) in fmemopen_write() 197 ck->len = ck->off; in fmemopen_write() 205 if (!ck->bin && ck->off < ck->size && ck->buf[ck->off - 1] != '\0') in fmemopen_write() 206 ck->buf[ck->off] = '\0'; in fmemopen_write() 223 ck->off = offset; in fmemopen_seek() 231 ck->off += offset; in fmemopen_seek() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_memdesc.c | 55 pa += off; in phys_copyback() 78 off -= vlist->ds_len; in vlist_copyback() 92 off = 0; in vlist_copyback() 110 off -= plist->ds_len; in plist_copyback() 124 off = 0; in plist_copyback() 154 KASSERT(off >= 0, ("%s: invalid offset %d", __func__, off)); in memdesc_copyback() 203 pa += off; in phys_copydata() 226 off -= vlist->ds_len; in vlist_copydata() 240 off = 0; in vlist_copydata() 272 off = 0; in plist_copydata() [all …]
|
H A D | uipc_mbufhash.c | 48 if (m->m_pkthdr.len < (off + len)) { in m_common_hash_gethdr() 51 m_copydata(m, off, len, buf); in m_common_hash_gethdr() 54 return (mtod(m, char *) + off); in m_common_hash_gethdr() 117 off += iphlen; in m_tcpip_hash() 119 off, sizeof(*ports), &buf); in m_tcpip_hash() 163 int off; in m_ether_tcpip_hash() local 166 off = sizeof(*eh); in m_ether_tcpip_hash() 167 if (m->m_len < off) in m_ether_tcpip_hash() 197 int off; in m_infiniband_tcpip_hash() local 200 off = sizeof(*ibh); in m_infiniband_tcpip_hash() [all …]
|
/freebsd/sys/opencrypto/ |
H A D | criov.c | 57 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 70 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 76 off -= PAGE_SIZE - off; \ 95 off = 0; in cuio_copydata() 115 off = 0; in cuio_copyback() 133 *off = loc; in cuio_getptr() 172 off = 0; in cvm_page_apply() 208 off = 0; in cvm_page_copyback() 233 off = 0; in cvm_page_copydata() 667 off = 0; in cuio_apply() [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | trim_sgr0.c | 259 FreeIfNeeded(off); in _nc_trim_sgr0() 263 result = off; in _nc_trim_sgr0() 269 j = strlen(off); in _nc_trim_sgr0() 274 off + i); in _nc_trim_sgr0() 288 && off[strlen(off) - 1] == 'm') { in _nc_trim_sgr0() 290 _nc_visbuf(off))); in _nc_trim_sgr0() 294 i = (size_t) (tmp - off); in _nc_trim_sgr0() 295 if (off[i - 1] == ';') in _nc_trim_sgr0() 307 j = strlen(off); in _nc_trim_sgr0() 310 free(off); in _nc_trim_sgr0() [all …]
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_drive.c | 116 int be, off; in gv_read_header() local 120 off += 4 in gv_read_header() 123 off += 8 in gv_read_header() 137 off = 0; in gv_read_header() 148 off = 16; in gv_read_header() 230 int off, ret; in gv_write_header() local 235 off += 8; \ in gv_write_header() 240 off = 0; in gv_write_header() 244 off = 16; in gv_write_header() 246 off += GV_HOSTNAME_LEN; in gv_write_header() [all …]
|
/freebsd/sys/netlink/ |
H A D | netlink_snl_route_parsers.h | 66 { .type = NL_RTA_GATEWAY, .off = _OUT(gw), .cb = snl_attr_get_ip }, 69 { .type = NL_RTA_VIA, .off = _OUT(gw), .cb = snl_attr_get_ipvia }, 137 { .type = NL_RTA_DST, .off = _OUT(rta_dst), .cb = snl_attr_get_ip }, 138 { .type = NL_RTA_OIF, .off = _OUT(rta_oif), .cb = snl_attr_get_uint32 }, 139 { .type = NL_RTA_GATEWAY, .off = _OUT(rta_gw), .cb = snl_attr_get_ip }, 146 { .type = NL_RTA_VIA, .off = _OUT(rta_gw), .cb = snl_attr_get_ipvia }, 264 { .type = NDA_DST, .off = _OUT(nda_dst), .cb = snl_attr_get_ip }, 314 { .type = IFA_LOCAL, .off = _OUT(ifa_local), .cb = snl_attr_get_ip }, 372 { .type = NHA_ID, .off = _OUT(nha_id), .cb = snl_attr_get_uint32 }, 374 { .type = NHA_OIF, .off = _OUT(nha_oif), .cb = snl_attr_get_uint32 }, [all …]
|