Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 2110) sorted by relevance

12345678910>>...85

/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dsimd_stat.c52 kmem_scnprintf(s + off, MAX(4095-off, 0), "%-16s\t%1d\n", feat, (val))
60 static int off = 0; in simd_stat_kstat_data() local
62 if (off == 0) { in simd_stat_kstat_data()
63 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
66 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
68 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
70 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
72 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
74 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
76 off += SIMD_STAT_PRINT(simd_stat_kstat_payload, in simd_stat_kstat_data()
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DEhFrame.cpp21 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/contrib/bearssl/T0/
H A DConstData.cs99 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/netgraph/
H A Dng_parse.c104 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, char *cbuf, int cbuflen) in ng_struct_unparse() argument
[all …]
/freebsd/contrib/dialog/samples/
H A Dtreeview218 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 Dradiolist118 "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/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c83 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/contrib/bearssl/src/ec/
H A Decdsa_rta.c58 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/sys/dev/usb/net/
H A Dif_cdceem.c322 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/lib/libc/posix1e/
H A Dacl_to_text_nfs4.c171 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/contrib/elftoolchain/libpe/
H A Dpe_update.c38 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/contrib/llvm-project/lld/COFF/
H A DChunks.cpp86 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh74 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/contrib/pf/libevent/
H A Dbuffer.c88 (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/crypto/openssl/crypto/ec/
H A Deck_prn.c21 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/sendmail/src/
H A Darpadate.c61 register int off; variable
128 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;
132 off -= 24 * 60;
134 off += 24 * 60;
136 off -= 24 * 60;
138 off += 24 * 60;
141 if (off == 0)
172 tz = timezone(off, lt->tm_isdst);
175 if (off < 0)
177 off = -off;
[all …]
/freebsd/sys/kern/
H A Dsubr_memdesc.c45 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 …]
H A Duipc_mbufhash.c44 m_common_hash_gethdr(const struct mbuf *m, const u_int off, in m_common_hash_gethdr() argument
48 if (m->m_pkthdr.len < (off + len)) { in m_common_hash_gethdr()
50 } else if (m->m_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()
77 uint32_t p, int off, const uint16_t etype) in m_tcpip_hash() argument
99 ip = m_common_hash_gethdr(m, off, sizeof(*ip), &buf); in m_tcpip_hash()
117 off += iphlen; in m_tcpip_hash()
119 off, sizeof(*ports), &buf); in m_tcpip_hash()
132 ip6 = m_common_hash_gethdr(m, off, sizeof(*ip6), &buf); in m_tcpip_hash()
[all …]
/freebsd/lib/libc/stdio/
H A Dfmemopen.c43 size_t off; /* current offset into the buffer */ member
89 ck->off = 0; in fmemopen()
128 ck->off = ck->len = strnlen(ck->buf, ck->size); in fmemopen()
168 if (nbytes > ck->len - ck->off) in fmemopen_read()
169 nbytes = ck->len - ck->off; in fmemopen_read()
174 memcpy(buf, ck->buf + ck->off, nbytes); in fmemopen_read()
176 ck->off += nbytes; in fmemopen_read()
186 if (nbytes > ck->size - ck->off) in fmemopen_write()
187 nbytes = ck->size - ck->off; in fmemopen_write()
192 memcpy(ck->buf + ck->off, buf, nbytes); in fmemopen_write()
[all …]
/freebsd/sys/opencrypto/
H A Dcriov.c57 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/contrib/ncurses/ncurses/tinfo/
H A Dtrim_sgr0.c242 char *off = set_attribute_9(tp, 0); in _nc_trim_sgr0() local
249 TR(TRACE_DATABASE, ("sgr(9:off) %s", _nc_visbuf(off))); in _nc_trim_sgr0()
253 || !rewrite_sgr(off, exit_alt_charset_mode) in _nc_trim_sgr0()
255 FreeIfNeeded(off); in _nc_trim_sgr0()
256 } else if (similar_sgr(off, end) in _nc_trim_sgr0()
257 && !similar_sgr(off, on)) { in _nc_trim_sgr0()
258 TR(TRACE_DATABASE, ("adjusting sgr(9:off) : %s", _nc_visbuf(off))); in _nc_trim_sgr0()
259 result = off; in _nc_trim_sgr0()
265 j = strlen(off); in _nc_trim_sgr0()
270 off + i); in _nc_trim_sgr0()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h61 { .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/geom/vinum/
H A Dgeom_vinum_drive.c116 int be, off; in gv_read_header() local
119 endian##32toh(*((uint32_t *)&d_hdr[off])); \ in gv_read_header()
120 off += 4 in gv_read_header()
122 endian##64toh(*((uint64_t *)&d_hdr[off])); \ 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()
149 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header()
150 off += GV_HOSTNAME_LEN; in gv_read_header()
151 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header()
[all …]
/freebsd/sys/arm/ti/
H A Dti_sdhci.c135 ti_mmchs_read_4(struct ti_sdhci_softc *sc, bus_size_t off) in ti_mmchs_read_4() argument
138 return (bus_read_4(sc->mem_res, off + sc->mmchs_reg_off)); in ti_mmchs_read_4()
142 ti_mmchs_write_4(struct ti_sdhci_softc *sc, bus_size_t off, uint32_t val) in ti_mmchs_write_4() argument
145 bus_write_4(sc->mem_res, off + sc->mmchs_reg_off, val); in ti_mmchs_write_4()
149 RD4(struct ti_sdhci_softc *sc, bus_size_t off) in RD4() argument
152 return (bus_read_4(sc->mem_res, off + sc->sdhci_reg_off)); in RD4()
156 WR4(struct ti_sdhci_softc *sc, bus_size_t off, uint32_t val) in WR4() argument
159 bus_write_4(sc->mem_res, off + sc->sdhci_reg_off, val); in WR4()
163 ti_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_1() argument
167 return ((RD4(sc, off & ~3) >> (off & 3) * 8) & 0xff); in ti_sdhci_read_1()
[all …]
/freebsd/sys/dev/sdhci/
H A Dfsl_sdhci.c190 RD4(struct fsl_sdhci_softc *sc, bus_size_t off) in RD4() argument
193 return (bus_read_4(sc->mem_res, off)); in RD4()
197 WR4(struct fsl_sdhci_softc *sc, bus_size_t off, uint32_t val) in WR4() argument
200 bus_write_4(sc->mem_res, off, val); in WR4()
204 fsl_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_1() argument
214 if (off == SDHCI_HOST_CONTROL) { in fsl_sdhci_read_1()
250 if (off == SDHCI_POWER_CONTROL) { in fsl_sdhci_read_1()
254 return ((RD4(sc, off & ~3) >> (off & 3) * 8) & 0xff); in fsl_sdhci_read_1()
258 fsl_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_2() argument
268 if (off == SDHCI_HOST_VERSION) { in fsl_sdhci_read_2()
[all …]

12345678910>>...85