/freebsd-src/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 …]
|
H A D | InputSection.cpp | 91 uint64_t InputSection::getVA(uint64_t off) const { in getSourceLocation() 92 return parent->addr + getOffset(off); in getSourceLocation() 106 const Defined *InputSection::getContainingSymbol(uint64_t off) const { in getSourceLocation() 108 symbols, off, [](uint64_t a, const Defined *b) { return a < b->value; }); in getSourceLocation() 114 std::string InputSection::getLocation(uint64_t off) const { in getSourceLocation() 117 if (auto *sym = getContainingSymbol(off)) in getSourceLocation() 119 Twine::utohexstr(off - sym->value) + ")") in getSourceLocation() 125 off += subsec.offset; in getSourceLocation() 131 Twine::utohexstr(off) + ")") in getSourceLocation() 135 std::string InputSection::getSourceLocation(uint64_t off) cons in getSourceLocation() 243 size_t off = 0; splitIntoPieces() local 257 getStringPiece(uint64_t off) getStringPiece() argument [all...] |
/freebsd-src/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-src/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-src/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_chksum.c | 83 ssize_t off = 0; in chksum_kstat_headers() local 85 off += kmem_scnprintf(buf + off, size, "%-23s", "implementation"); in chksum_kstat_headers() 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() 88 off += kmem_scnprintf(buf + off, size - off, "%8s", "16k"); in chksum_kstat_headers() 89 off += kmem_scnprintf(buf + off, size - off, "%8s", "64k"); in chksum_kstat_headers() 90 off += kmem_scnprintf(buf + off, size - off, "%8s", "256k"); in chksum_kstat_headers() 91 off += kmem_scnprintf(buf + off, size - off, "%8s", "1m"); in chksum_kstat_headers() 92 off += kmem_scnprintf(buf + off, size - off, "%8s", "4m"); in chksum_kstat_headers() 93 (void) kmem_scnprintf(buf + off, size - off, "%8s\n", "16m"); in chksum_kstat_headers() [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_002_pos.ksh | 74 compression on compression off 75 compression lzjb acltype off 77 atime on atime off 78 devices on devices off 79 exec on exec off 80 setuid on setuid off 81 readonly on readonly off 82 zoned on zoned off 86 canmount off canmount on 91 xattr on xattr off [all …]
|
/freebsd-src/sys/dev/usb/net/ |
H A D | if_cdceem.c | 322 int actlen, off; in cdceem_handle_cmd() local 325 off = *offp; in cdceem_handle_cmd() 341 if (pktlen > (actlen - off)) { in cdceem_handle_cmd() 344 pktlen, actlen - off); in cdceem_handle_cmd() 357 usbd_copy_out(pc, off, sc->sc_echo_buffer, pktlen); in cdceem_handle_cmd() 358 off += pktlen; in cdceem_handle_cmd() 365 if (pktlen > (actlen - off)) { in cdceem_handle_cmd() 369 pktlen, actlen - off); in cdceem_handle_cmd() 380 usbd_copy_out(pc, off, sc->sc_echo_buffer, pktlen); in cdceem_handle_cmd() 381 off += pktlen; in cdceem_handle_cmd() [all …]
|
/freebsd-src/sys/netgraph/ |
H A D | ng_parse.c | 104 const char *s, int *off, const u_char *start, 107 const u_char *data, int *off, char *cbuf, int cbuflen, 121 static int ng_parse_skip_value(const char *s, int off, int *lenp); 147 const char *string, int *off, u_char *buf, int *buflen) in ng_parse() argument 149 return INVOKE(type, parse)(type, string, off, buf, buf, buflen); in ng_parse() 159 int off = 0; in ng_unparse() local 161 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); in ng_unparse() 183 const char *s, int *off, const u_char *const start, in ng_struct_parse() argument 186 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); in ng_struct_parse() 191 const u_char *data, int *off, cha in ng_struct_unparse() argument 200 int off = 0; ng_struct_getDefault() local 237 ng_fixedarray_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_fixedarray_parse() argument 246 ng_fixedarray_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_fixedarray_unparse() argument 256 int off = 0; ng_fixedarray_getDefault() local 286 ng_array_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_array_parse() argument 294 ng_array_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_array_unparse() argument 303 int off = 0; ng_array_getDefault() local 333 ng_int8_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_int8_parse() argument 352 ng_int8_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_int8_unparse() argument 428 ng_int16_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_int16_parse() argument 448 ng_int16_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_int16_unparse() argument 524 ng_int32_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_int32_parse() argument 547 ng_int32_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_int32_unparse() argument 623 ng_int64_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_int64_parse() argument 642 ng_int64_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_int64_unparse() argument 718 ng_string_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_string_parse() argument 736 ng_string_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_string_unparse() argument 781 ng_fixedstring_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_fixedstring_parse() argument 805 ng_fixedstring_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_fixedstring_unparse() argument 885 ng_sizedstring_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_sizedstring_parse() argument 908 ng_sizedstring_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_sizedstring_unparse() argument 953 ng_ipaddr_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_ipaddr_parse() argument 974 ng_ipaddr_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_ipaddr_unparse() argument 1017 ng_enaddr_parse(const struct ng_parse_type * type,const char * s,int * const off,const u_char * const start,u_char * const buf,int * const buflen) ng_enaddr_parse() argument 1044 ng_enaddr_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_enaddr_unparse() argument 1094 ng_bytearray_parse(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen) ng_bytearray_parse() argument 1132 ng_bytearray_unparse(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen) ng_bytearray_unparse() argument 1200 ng_parse_composite(const struct ng_parse_type * type,const char * s,int * off,const u_char * const start,u_char * const buf,int * buflen,const enum comptype ctype) ng_parse_composite() argument 1377 ng_unparse_composite(const struct ng_parse_type * type,const u_char * data,int * off,char * cbuf,int cbuflen,const enum comptype ctype) ng_unparse_composite() argument 1645 int off = off0; ng_parse_skip_value() local 1730 int start, off; ng_get_string_token() local 1818 int off = 0; ng_encode_string() local [all...] |
/freebsd-src/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-src/sys/netpfil/pf/ |
H A D | pf_nl.c | 68 { .type = PF_ST_ID, .off = _OUT(id), .cb = nlattr_get_uint32 }, 69 { .type = PF_ST_CREATORID, .off = _OUT(creatorid), .cb = nlattr_get_uint32 }, 70 { .type = PF_ST_IFNAME, .arg = (const void *)IFNAMSIZ, .off = _OUT(ifname), .cb = nlattr_get_chara }, 71 { .type = PF_ST_AF, .off = _OUT(af), .cb = nlattr_get_uint8 }, 72 { .type = PF_ST_PROTO, .off = _OUT(proto), .cb = nlattr_get_uint16 }, 73 { .type = PF_ST_FILTER_ADDR, .off = _OUT(addr), .cb = nlattr_get_in6_addr }, 74 { .type = PF_ST_FILTER_MASK, .off = _OUT(mask), .cb = nlattr_get_in6_addr }, 99 int off = nlattr_add_nested(nw, attr); in dump_state_peer() local 100 if (off == 0) in dump_state_peer() 120 nlattr_set_len(nw, off); in dump_state_peer() 128 int off = nlattr_add_nested(nw, attr); dump_state_key() local 410 int off = nlattr_add_nested(nw, attrtype); nlattr_add_addr_wrap() local 457 int off = nlattr_add_nested(nw, attrtype); nlattr_add_rule_addr() local 482 int off = nlattr_add_nested(nw, attrtype); nlattr_add_mape_portset() local 543 int off = nlattr_add_nested(nw, attrtype); nlattr_add_labels() local 573 int off = nlattr_add_nested(nw, attrtype); nlattr_add_pool() local 600 int off = nlattr_add_nested(nw, attrtype); nlattr_add_rule_uid() local 660 int off = nlattr_add_nested(nw, attrtype); nlattr_add_timeout() local 1120 int off = nlattr_add_nested(nw, attr); nlattr_add_counters() local 1135 int off = nlattr_add_nested(nw, attr); nlattr_add_fcounters() local 1148 int off = nlattr_add_nested(nw, attr); nlattr_add_u64_array() local [all...] |
/freebsd-src/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-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_encrypted.ksh | 42 # no off 0 0 yes explicit no encryption 43 # no off 0 1 no keylocation given, but crypt off 44 # no off 1 0 no keyformat given, but crypt off 45 # no off 1 1 no keyformat given, but crypt off 54 # yes off 0 0 yes unencrypted child of encrypted parent 55 # yes off 0 1 no keylocation given, but crypt off 56 # yes off 1 0 no keyformat given, but crypt off 57 # yes off 1 1 no keyformat given, but crypt off 89 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/c1 90 log_mustnot zfs create -o encryption=off -o keylocation=prompt \ [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
H A D | misc.cfg | 52 nfsv4 off \ 53 fletcher4 lzjb off \ 54 off /tmp/zfstest 100M off \ 55 512 10m off \ 77 nfsv4 off \ 78 fletcher4 lzjb off \ 79 off /tmp/zfstest 100M off \ 80 512 10m off \ 104 passthrough-x groupmask off \ 105 fletcher4 lzjb off \ [all …]
|
/freebsd-src/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-src/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-src/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, in applyRelX64() 140 applyRelX86(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelX86() argument 160 applyMOV(uint8_t * off,uint16_t v) applyMOV() argument 165 readMOV(uint8_t * off,bool movt) readMOV() argument 178 applyMOV32T(uint8_t * off,uint32_t v) applyMOV32T() argument 187 applyBranch20T(uint8_t * off,int32_t v) applyBranch20T() argument 197 applyBranch24T(uint8_t * off,int32_t v) applyBranch24T() argument 208 applyRelARM(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelARM() argument 240 applyArm64Addr(uint8_t * off,uint64_t s,uint64_t p,int shift) applyArm64Addr() argument 255 applyArm64Imm(uint8_t * off,uint64_t imm,uint32_t rangeLimit) applyArm64Imm() argument 270 applyArm64Ldr(uint8_t * off,uint64_t imm) applyArm64Ldr() argument 282 applySecRelLow12A(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelLow12A() argument 288 applySecRelHigh12A(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelHigh12A() argument 301 applySecRelLdr(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelLdr() argument 307 applyArm64Branch26(uint8_t * off,int64_t v) applyArm64Branch26() argument 313 applyArm64Branch19(uint8_t * off,int64_t v) applyArm64Branch19() argument 319 applyArm64Branch14(uint8_t * off,int64_t v) applyArm64Branch14() argument 325 applyRelARM64(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelARM64() argument 415 applyRelocation(uint8_t * off,const coff_relocation & rel) const applyRelocation() argument 809 int64_t off = impSymbol->getRVA() & 0xfff; writeTo() local 1046 size_t off = builder.getOffset(toStringRef(c->getContents())); assignSubsectionRVAs() local [all...] |
/freebsd-src/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-src/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-src/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-src/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-src/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 1091 int off; snl_add_msg_attr_addr_wrap() local 1111 int off; snl_add_msg_attr_rule_addr() local 1127 int off, i = 0; snl_add_msg_attr_rule_labels() local 1143 int off; snl_add_msg_attr_mape() local 1157 int off; snl_add_msg_attr_rpool() local 1175 int off; snl_add_msg_attr_timeouts() local 1188 int off; snl_add_msg_attr_uid() local 1202 int off; snl_add_msg_attr_pf_rule() local [all...] |
/freebsd-src/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-src/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 …]
|
/freebsd-src/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()
|