/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | EhFrame.cpp | 21 uint64_t EhReader::readLength(size_t *off) const { in readLength() 22 const size_t errOff = *off; in readLength() 23 if (*off + 4 > data.size()) in readLength() 25 uint64_t len = read32le(data.data() + *off); in readLength() 26 *off += 4; in readLength() 29 if (*off + 8 > data.size()) in readLength() 31 len = read64le(data.data() + *off); in readLength() 32 *off += 8; in readLength() 34 if (*off + len > data.size()) in readLength() 39 void EhReader::skipValidLength(size_t *off) const { in skipValidLength() [all …]
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | simd_stat.c | 53 kmem_scnprintf(s + off, MAX(4095-off, 0), "%-16s\t%1d\n", feat, (val)) 61 static int off = 0; in simd_stat_kstat_data() local 63 if (off == 0) { in simd_stat_kstat_data() 64 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 67 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 69 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 71 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 73 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 75 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() 77 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data() [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 29 tag14:1four:off:1 [all …]
|
H A D | radiolist1 | 12 off. If there are more items than can fit on the \n\ 16 Press SPACE to toggle an option on/off. \n\n\ 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 \ [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_chksum.c | 87 ssize_t off = 0; in chksum_kstat_headers() local 89 off += kmem_scnprintf(buf + off, size, "%-23s", "implementation"); in chksum_kstat_headers() 90 off += kmem_scnprintf(buf + off, size - off, "%8s", "1k"); in chksum_kstat_headers() 91 off += kmem_scnprintf(buf + off, size - off, "%8s", "4k"); in chksum_kstat_headers() 92 off += kmem_scnprintf(buf + off, size - off, "%8s", "16k"); in chksum_kstat_headers() 93 off += kmem_scnprintf(buf + off, size - off, "%8s", "64k"); in chksum_kstat_headers() 94 off += kmem_scnprintf(buf + off, size - off, "%8s", "256k"); in chksum_kstat_headers() 95 off += kmem_scnprintf(buf + off, size - off, "%8s", "1m"); in chksum_kstat_headers() 96 off += kmem_scnprintf(buf + off, size - off, "%8s", "4m"); in chksum_kstat_headers() 97 (void) kmem_scnprintf(buf + off, size - off, "%8s\n", "16m"); in chksum_kstat_headers() [all …]
|
/freebsd/contrib/bearssl/T0/ |
H A D | ConstData.cs | 99 void CheckIndex(int off, int dlen) in CheckIndex() argument 101 if (off < 0 || off > (len - dlen)) { in CheckIndex() 106 internal void Set8(int off, byte v) in Set8() argument 108 CheckIndex(off, 1); in Set8() 109 buf[off] = v; in Set8() 112 internal byte Read8(int off) in Read8() argument 114 CheckIndex(off, 1); in Read8() 115 return buf[off]; in Read8() 118 internal int Read16(int off) in Read16() argument 120 CheckIndex(off, 2); in Read16() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_002_pos.ksh | 75 compression on compression off 76 compression lzjb acltype off 78 atime on atime off 79 devices on devices off 80 exec on exec off 81 setuid on setuid off 82 readonly on readonly off 83 zoned on zoned off 87 canmount off canmount on 92 xattr on xattr off [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_parse.c | 103 const char *s, int *off, const u_char *start, 106 const u_char *data, int *off, char *cbuf, int cbuflen, 120 static int ng_parse_skip_value(const char *s, int off, int *lenp); 146 const char *string, int *off, u_char *buf, int *buflen) in ng_parse() argument 148 return INVOKE(type, parse)(type, string, off, buf, buf, buflen); in ng_parse() 158 int off = 0; in ng_unparse() local 160 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); in ng_unparse() 182 const char *s, int *off, const u_char *const start, in ng_struct_parse() argument 185 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); in ng_struct_parse() 190 const u_char *data, int *off, char *cbuf, int cbuflen) in ng_struct_unparse() argument [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_cdceem.c | 321 int actlen, off; in cdceem_handle_cmd() local 324 off = *offp; in cdceem_handle_cmd() 340 if (pktlen > (actlen - off)) { in cdceem_handle_cmd() 343 pktlen, actlen - off); in cdceem_handle_cmd() 356 usbd_copy_out(pc, off, sc->sc_echo_buffer, pktlen); in cdceem_handle_cmd() 357 off += pktlen; in cdceem_handle_cmd() 364 if (pktlen > (actlen - off)) { in cdceem_handle_cmd() 368 pktlen, actlen - off); in cdceem_handle_cmd() 379 usbd_copy_out(pc, off, sc->sc_echo_buffer, pktlen); in cdceem_handle_cmd() 380 off += pktlen; in cdceem_handle_cmd() [all …]
|
/freebsd/sys/netlink/ |
H A D | netlink_snl_route_parsers.h | 61 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, 66 { .type = NL_RTA_GATEWAY, .off = _OUT(gw), .cb = snl_attr_get_ip }, 68 { .type = NL_RTA_RTFLAGS, .off = _OUT(rta_rtflags), .cb = snl_attr_get_uint32 }, 69 { .type = NL_RTA_VIA, .off = _OUT(gw), .cb = snl_attr_get_ipvia }, 132 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, 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 }, 141 { .type = NL_RTA_MULTIPATH, .off = _OUT(rta_multipath), .cb = nlattr_get_multipath }, 142 { .type = NL_RTA_KNH_ID, .off = _OUT(rta_knh_id), .cb = snl_attr_get_uint32 }, [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_nl.c | 71 { .type = PF_ST_ID, .off = _OUT(id), .cb = nlattr_get_uint32 }, 72 { .type = PF_ST_CREATORID, .off = _OUT(creatorid), .cb = nlattr_get_uint32 }, 73 …{ .type = PF_ST_IFNAME, .arg = (const void *)IFNAMSIZ, .off = _OUT(ifname), .cb = nlattr_get_chara… 74 { .type = PF_ST_AF, .off = _OUT(af), .cb = nlattr_get_uint8 }, 75 { .type = PF_ST_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint16 }, 76 { .type = PF_ST_FILTER_ADDR, .off = _OUT(addr), .cb = nlattr_get_in6_addr }, 77 { .type = PF_ST_FILTER_MASK, .off = _OUT(mask), .cb = nlattr_get_in6_addr }, 102 int off = nlattr_add_nested(nw, attr); in dump_state_peer() local 103 if (off == 0) in dump_state_peer() 123 nlattr_set_len(nw, off); in dump_state_peer() [all …]
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 171 size_t off = 0, min_who_field_length = 18; in format_entry() local 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() 223 assert (off < size); in format_entry() 231 int error, off = 0, size, entry_id = ACL_FIRST_ENTRY; in _nfs4_acl_to_text_np() local 246 assert(off < size); in _nfs4_acl_to_text_np() [all …]
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.c | 297 { .type = PF_C_COUNTER, .off = _OUT(counter), .cb = snl_attr_get_uint64 }, 298 { .type = PF_C_NAME, .off = _OUT(name), .cb = snl_attr_get_string }, 299 { .type = PF_C_ID, .off = _OUT(id), .cb = snl_attr_get_uint32 }, 378 { .type = PF_GS_IFNAME, .off = _OUT(ifname), .arg_u32 = IFNAMSIZ, .cb = snl_attr_copy_string }, 379 { .type = PF_GS_RUNNING, .off = _OUT(running), .cb = snl_attr_get_bool }, 380 { .type = PF_GS_SINCE, .off = _OUT(since), .cb = snl_attr_get_uint32 }, 381 { .type = PF_GS_DEBUG, .off = _OUT(debug), .cb = snl_attr_get_uint32 }, 382 { .type = PF_GS_HOSTID, .off = _OUT(hostid), .cb = snl_attr_get_uint32 }, 383 { .type = PF_GS_STATES, .off = _OUT(states), .cb = snl_attr_get_uint32 }, 384 { .type = PF_GS_SRC_NODES, .off = _OUT(src_nodes), .cb = snl_attr_get_uint32 }, [all …]
|
/freebsd/sys/kern/ |
H A D | subr_memdesc.c | 45 phys_copyback(vm_paddr_t pa, int off, int size, const void *src) in phys_copyback() argument 55 pa += off; in phys_copyback() 69 vlist_copyback(struct bus_dma_segment *vlist, int sglist_cnt, int off, in vlist_copyback() argument 75 while (vlist->ds_len <= off) { in vlist_copyback() 78 off -= vlist->ds_len; in vlist_copyback() 88 if (todo > vlist->ds_len - off) in vlist_copyback() 89 todo = vlist->ds_len - off; in vlist_copyback() 91 memcpy((char *)(uintptr_t)vlist->ds_addr + off, p, todo); in vlist_copyback() 92 off = 0; in vlist_copyback() 101 plist_copyback(struct bus_dma_segment *plist, int sglist_cnt, int off, in plist_copyback() argument [all …]
|
/freebsd/sys/opencrypto/ |
H A D | criov.c | 57 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 59 while (off > 0) { \ 61 if (off < iov->iov_len) \ 63 off -= iov->iov_len; \ 70 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 72 while (off > 0) { \ 73 if (off < PAGE_SIZE) \ 75 processed += PAGE_SIZE - off; \ 76 off -= PAGE_SIZE - off; \ 82 cuio_copydata(struct uio* uio, int off, int len, caddr_t cp) in cuio_copydata() argument [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_encrypted.ksh | 43 # no off 0 0 yes explicit no encryption 44 # no off 0 1 no keylocation given, but crypt off 45 # no off 1 0 no keyformat given, but crypt off 46 # no off 1 1 no keyformat given, but crypt off 55 # yes off 0 0 yes unencrypted child of encrypted parent 56 # yes off 0 1 no keylocation given, but crypt off 57 # yes off 1 0 no keyformat given, but crypt off 58 # yes off 1 1 no keyformat given, but crypt off 90 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/c1 91 log_mustnot zfs create -o encryption=off -o keylocation=prompt \ [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
H A D | misc.cfg | 53 nfsv4 off \ 54 fletcher4 lzjb off \ 55 off /tmp/zfstest 100M off \ 56 512 10m off \ 78 nfsv4 off \ 79 fletcher4 lzjb off \ 80 off /tmp/zfstest 100M off \ 81 512 10m off \ 105 passthrough-x groupmask off \ 106 fletcher4 lzjb off \ [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 21 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) in ECPKParameters_print_fp() argument 31 ret = ECPKParameters_print(b, x, off); in ECPKParameters_print_fp() 36 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) in EC_KEY_print_fp() argument 46 ret = EC_KEY_print(b, x, off); in EC_KEY_print_fp() 68 size_t len, int off); 70 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) in ECPKParameters_print() argument 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() 175 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print() [all …]
|
/freebsd/contrib/pf/libevent/ |
H A D | buffer.c | 88 (x)->off = (y)->off; \ 97 if (outbuf->off == 0) { in evbuffer_add_buffer() 99 size_t oldoff = inbuf->off; in evbuffer_add_buffer() 111 if (inbuf->off != oldoff && inbuf->cb != NULL) in evbuffer_add_buffer() 112 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); in evbuffer_add_buffer() 119 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); in evbuffer_add_buffer() 122 evbuffer_drain(inbuf, inbuf->off); in evbuffer_add_buffer() 133 size_t oldoff = buf->off; in evbuffer_add_vprintf() 138 buffer = (char *)buf->buffer + buf->off; in evbuffer_add_vprintf() 139 space = buf->totallen - buf->misalign - buf->off; in evbuffer_add_vprintf() [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.cpp | 86 static void applySecRel(const SectionChunk *sec, uint8_t *off, in applySecRel() argument 95 add32(off, secRel); in applySecRel() 98 static void applySecIdx(uint8_t *off, OutputSection *os, in applySecIdx() argument 108 add16(off, os->sectionIndex); in applySecIdx() 110 add16(off, numOutputSections + 1); in applySecIdx() 113 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, in applyRelX64() argument 118 add32(off, s + imageBase); in applyRelX64() 121 add64(off, s + imageBase); in applyRelX64() 123 case IMAGE_REL_AMD64_ADDR32NB: add32(off, s); break; in applyRelX64() 124 case IMAGE_REL_AMD64_REL32: add32(off, s - p - 4); break; in applyRelX64() [all …]
|
/freebsd/tools/tools/nanobsd/pcengines/Files/etc/ |
H A D | ttys | 21 # status Must be on or off. If on, init will run the getty program on 29 console none unknown off secure 31 ttyv0 "/usr/libexec/getty Pc" xterm off secure 33 ttyv1 "/usr/libexec/getty Pc" xterm off secure 34 ttyv2 "/usr/libexec/getty Pc" xterm off secure 35 ttyv3 "/usr/libexec/getty Pc" xterm off secure 36 ttyv4 "/usr/libexec/getty Pc" xterm off secure 37 ttyv5 "/usr/libexec/getty Pc" xterm off secure 38 ttyv6 "/usr/libexec/getty Pc" xterm off secure 39 ttyv7 "/usr/libexec/getty Pc" xterm off secure [all …]
|
/freebsd/tests/atf_python/sys/netlink/ |
H A D | message.py | 142 off = 0 144 while off < len(data): 146 if off + i < len(data): 147 print(" {:02X}".format(data[off + i]), end="") 149 off += step 203 off = 0 204 while len(data) - off >= 4: 205 nla_len, raw_nla_type = struct.unpack("@HH", data[off : off + 4]) 206 if nla_len + off > len(data): 209 nla_len, len(data) - off [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | basl.c | 28 uint32_t off; member 35 uint32_t off; member 42 uint32_t off; member 52 uint32_t off; member 105 data = vm_map_gpa(table->ctx, BHYVE_ACPI_BASE + table->off, in basl_dump_table() 113 BHYVE_ACPI_BASE + table->off, mem ? "Memory" : "FwCfg"); in basl_dump_table() 146 basl_finish_install_guest_tables(struct basl_table *const table, uint32_t *const off) in basl_finish_install_guest_tables() argument 150 table->off = roundup2(*off, table->alignment); in basl_finish_install_guest_tables() 151 *off = table->off + table->len; in basl_finish_install_guest_tables() 152 if (*off <= table->off) { in basl_finish_install_guest_tables() [all …]
|
/freebsd/crypto/openssl/util/ |
H A D | check-format-test-positives.c | 35 /*@0 intra-line comment indent off by 1, reported unless sloppy-cmt */ 40 …*@ above multi-line comment start indent off by 1, reported unless sloppy-cmt; this comment line i… 41 *@ multi-line comment indent further off by 1 relative to comment start 45 *@ multi-line comment indent off by -1 50 */ /*@ multi-line comment end indent off by -1 (relative to comment start) */ 55 #endif /*@ indent of preproc. directive off by 1 (must be 0) */ 61 w = 0 /*@ hanging expr indent off by 1, or 3 for lines after '{' */ 62 && 1, /*@ hanging expr indent off by 3, or -1 for leading '&&' */ 63 x = 1, /*@ hanging expr indent off by -1 */ 67 union { /*@ statement/type declaration indent off by -1 */ [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ecdsa_rta.c | 58 size_t hlen, rlen, slen, zlen, off; in br_ecdsa_raw_to_asn1() local 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() 97 memcpy(tmp + off + 1, buf, hlen); in br_ecdsa_raw_to_asn1() 99 memcpy(tmp + off, buf + hlen - rlen, rlen); 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() [all …]
|