/dragonfly/contrib/gmp/mpn/generic/ |
H A D | addsub_n.c | 60 for (off = 0; off < n; off += PART_SIZE) in mpn_add_n_sub_n() 64 acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo); in mpn_add_n_sub_n() 66 acyn = mpn_add_n (r1p + off, s1p + off, s2p + off, this_n); in mpn_add_n_sub_n() 70 scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); in mpn_add_n_sub_n() 72 scyn = mpn_sub_n (r2p + off, s1p + off, s2p + off, this_n); in mpn_add_n_sub_n() 83 for (off = 0; off < n; off += PART_SIZE) in mpn_add_n_sub_n() 87 scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); in mpn_add_n_sub_n() 89 scyn = mpn_sub_n (r2p + off, s1p + off, s2p + off, this_n); in mpn_add_n_sub_n() 95 acyn = mpn_add_n (r1p + off, s1p + off, s2p + off, this_n); in mpn_add_n_sub_n() 107 for (off = 0; off < n; off += PART_SIZE) in mpn_add_n_sub_n() [all …]
|
/dragonfly/sys/netgraph7/netgraph/ |
H A D | ng_parse.c | 159 int off = 0; in ng_unparse() local 977 (*off)++; in ng_ipaddr_parse() 1060 data[*off], data[*off + 1], data[*off + 2], in ng_enaddr_unparse() 1061 data[*off + 3], data[*off + 4], data[*off + 5]); in ng_enaddr_unparse() 1769 off++; in ng_get_string_token() 1773 off++; in ng_get_string_token() 1777 off++; in ng_get_string_token() 1781 off++; in ng_get_string_token() 1785 off++; in ng_get_string_token() 1789 off++; in ng_get_string_token() [all …]
|
/dragonfly/sys/netgraph/netgraph/ |
H A D | ng_parse.c | 157 int off = 0; in ng_unparse() local 199 int off = 0; in ng_struct_getDefault() local 878 (*off)++; in ng_ipaddr_parse() 1563 for (off = 1, p = cbuf; *p != '\0'; off++, p++) { in ng_get_string_token() 1577 off++; in ng_get_string_token() 1581 off++; in ng_get_string_token() 1585 off++; in ng_get_string_token() 1589 off++; in ng_get_string_token() 1593 off++; in ng_get_string_token() 1597 off++; in ng_get_string_token() [all …]
|
/dragonfly/sys/opencrypto/ |
H A D | criov.c | 48 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 50 while (off > 0) { \ 52 if (off < iov->iov_len) \ 54 off -= iov->iov_len; \ 74 off = 0; in cuio_copydata() 94 off = 0; in cuio_copyback() 112 *off = loc; in cuio_getptr() 120 *off = iov->iov_len; in cuio_getptr() 153 off = 0; in cuio_apply() 169 bcopy(in, buf + off, size); in crypto_copyback() [all …]
|
/dragonfly/sys/dev/crypto/tpm/ |
H A D | tpm20.h | 140 RD1(struct tpm_sc *sc, bus_size_t off) in RD1() argument 143 return (bus_read_1(sc->mem_res, off)); in RD1() 146 RD4(struct tpm_sc *sc, bus_size_t off) in RD4() argument 149 return (bus_read_4(sc->mem_res, off)); in RD4() 153 RD8(struct tpm_sc *sc, bus_size_t off) in RD8() argument 156 return (bus_read_8(sc->mem_res, off)); in RD8() 163 bus_write_1(sc->mem_res, off, val); in WR1() 169 bus_write_4(sc->mem_res, off, val); in WR4() 175 WR4(sc, off, RD4(sc, off) & val); in AND4() 181 WR1(sc, off, RD1(sc, off) | val); in OR1() [all …]
|
/dragonfly/crypto/libressl/crypto/ec/ |
H A D | eck_prn.c | 148 size_t len, int off); 279 off)) in ECPKParameters_print() 291 buffer, off)) in ECPKParameters_print() 295 buffer, off)) in ECPKParameters_print() 299 buffer, off)) in ECPKParameters_print() 303 buffer, off)) in ECPKParameters_print() 306 buffer, off)) in ECPKParameters_print() 328 size_t len, int off) in print_bin() argument 335 if (off) { in print_bin() 336 if (off > 128) in print_bin() [all …]
|
/dragonfly/games/backgammon/common_source/ |
H A D | board.c | 82 if (off[1] > i || (off[1] < 0 && off[1] + 15 > i)) { in wrboard() 86 if (off[1] > i + 5 || (off[1] < 0 && off[1] + 15 > i + 5)) { in wrboard() 90 if (off[1] > i + 10 || (off[1] < 0 && off[1] + 15 > i + 10)) { in wrboard() 118 if (off[0] > i || (off[0] < 0 && off[0] + 15 > i)) { in wrboard() 122 if (off[0] > i + 5 || (off[0] < 0 && off[0] + 15 > i + 5)) { in wrboard() 126 if (off[0] > i + 10 || (off[0] < 0 && off[0] + 15 > i + 10)) { in wrboard()
|
/dragonfly/usr.sbin/uefisign/ |
H A D | pe.c | 147 if (off < 0) { in range_check() 149 name, (intmax_t)off); in range_check() 151 if (off >= (off_t)x->x_len) { in range_check() 153 name, (intmax_t)off, x->x_len); in range_check() 159 if (off + len > x->x_len) { in range_check() 374 x->x_checksum_off = off + in parse_optional_32_plus() 423 x->x_checksum_off = off + in parse_optional_32() 482 parse_optional(x, off + sizeof(*pe), in parse_pe() 503 off_t off; in append() local 505 off = x->x_len; in append() [all …]
|
/dragonfly/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 …]
|
/dragonfly/bin/ed/ |
H A D | sub.c | 170 int off = 0; in substitute_matching_text() local 191 memcpy(rbuf + off, txt, i); in substitute_matching_text() 192 off += i; in substitute_matching_text() 193 if ((off = apply_subst_template(txt, rm, off, in substitute_matching_text() 202 off += i; in substitute_matching_text() 216 memcpy(rbuf + off, txt, i); in substitute_matching_text() 239 rbuf[off++] = boln[j++]; in apply_subst_template() 246 rbuf[off++] = boln[j++]; in apply_subst_template() 249 rbuf[off++] = *sub; in apply_subst_template() 252 rbuf[off] = '\0'; in apply_subst_template() [all …]
|
/dragonfly/contrib/gmp/mpf/ |
H A D | get_str.c | 65 off = 0; in mpn_pow_1_highpart() 75 off = 0; in mpn_pow_1_highpart() 79 off = rn - prec; in mpn_pow_1_highpart() 90 off = 0; in mpn_pow_1_highpart() 205 if (off < 0) in mpf_get_str() 208 MPN_ZERO (tp, -off); in mpf_get_str() 209 tn -= off; in mpf_get_str() 210 off = 0; in mpf_get_str() 212 n_digits_computed = mpn_get_str (tstr, base, tp + off, tn - off); in mpf_get_str() 238 off = xn - un; in mpf_get_str() [all …]
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_argv.c | 215 int ch, off; in argv_exp3() local 283 int off; in argv_flt_ex() local 316 int off; in argv_flt_user() local 379 off = p - bp; in argv_fexp() 381 p = bp + off; in argv_fexp() 440 off = p - bp; in argv_fexp() 442 p = bp + off; in argv_fexp() 461 int cnt, off; in argv_alloc() local 525 int off; in argv_free() local 529 for (off = 0; off < exp->argscnt; ++off) { in argv_free() [all …]
|
/dragonfly/sys/dev/pccard/cardbus/ |
H A D | cardbus_cis.c | 61 uint8_t *tupledata, uint32_t start, uint32_t *off, 180 start, off, info); in decode_tuple_linktarget() 419 loc = start + *off; in cardbus_read_tuple_conf() 436 *off += *len + 2; in cardbus_read_tuple_conf() 451 *tupleid = bus_space_read_1(bt, bh, start + *off); in cardbus_read_tuple_mem() 455 *off += *len + 2; in cardbus_read_tuple_mem() 638 tupledata, start, off, &callbacks[i])); in decode_tuple() 641 tupledata, start, off, NULL)); in decode_tuple() 652 uint32_t start, off; in cardbus_parse_cis() local 663 off = 0; in cardbus_parse_cis() [all …]
|
/dragonfly/usr.bin/tail/ |
H A D | tail.c | 63 off_t off = 0; in main() local 143 off = 0; in main() 146 off = 10; in main() 168 follow(files, style, off); in main() 187 reverse(fp, style, off, &sb); in main() 189 forward(fp, style, off, &sb); in main() 211 reverse(stdin, style, off, &sb); in main() 213 forward(stdin, style, off, &sb); in main() 244 if (*off != 0) in getarg() 245 *off -= (units); in getarg() [all …]
|
H A D | forward.c | 96 if (off == 0) in forward() 99 if (sbp->st_size < off) in forward() 100 off = sbp->st_size; in forward() 105 } else while (off--) in forward() 115 if (off == 0) in forward() 125 if (ch == '\n' && !--off) in forward() 131 if (sbp->st_size >= off && in forward() 136 } else if (off == 0) { in forward() 148 if (!off) { in forward() 154 rlines(fp, off, sbp); in forward() [all …]
|
/dragonfly/sys/kern/ |
H A D | uipc_mbuf2.c | 115 if (n->m_len > off) in m_pulldown() 117 off -= n->m_len; in m_pulldown() 134 if ((off == 0 || offp) && len <= n->m_len - off && !sharedcluster) in m_pulldown() 143 if (len <= n->m_len - off) { in m_pulldown() 144 o = m_dup1(n, off, n->m_len - off, M_NOWAIT); in m_pulldown() 149 n->m_len = off; in m_pulldown() 153 off = 0; in m_pulldown() 162 hlen = n->m_len - off; in m_pulldown() 195 off = 0; in m_pulldown() 219 off = 0; in m_pulldown() [all …]
|
/dragonfly/contrib/gcc-4.7/libobjc/objc-private/ |
H A D | sarray.h | 102 struct soffset off; member 172 return x.off.eoffset in soffset_decode() 173 + (x.off.boffset * BUCKET_SIZE) in soffset_decode() 174 + (x.off.ioffset * INDEX_CAPACITY); in soffset_decode() 176 return x.off.eoffset + (x.off.boffset * BUCKET_SIZE); in soffset_decode() 184 x.off.eoffset = offset % BUCKET_SIZE; in soffset_encode() 189 x.off.boffset = offset / BUCKET_SIZE; in soffset_encode() 217 indices[x.off.ioffset]-> in sarray_get() 218 buckets[x.off.boffset]-> in sarray_get() 219 elems[x.off.eoffset]; in sarray_get() [all …]
|
/dragonfly/sbin/hammer2/ |
H A D | cmd_rsa.c | 126 int off; in cmd_rsaenc() local 189 off = 0; in cmd_rsaenc() 191 off += n; in cmd_rsaenc() 212 off = 0; in cmd_rsaenc() 217 bzero(data_in + off, blksize - off); in cmd_rsaenc() 261 int off; in cmd_rsadec() local 323 off = 0; in cmd_rsadec() 325 off += n; in cmd_rsadec() 346 off = 0; in cmd_rsadec() 349 if (off) { in cmd_rsadec() [all …]
|
/dragonfly/sys/netinet6/ |
H A D | ip6_input.c | 858 off += hbhlen; in ip6_hopopts_input() 865 *offp = off; in ip6_hopopts_input() 1188 off = 0; in ip6_savecontrol() 1200 off = newoff; in ip6_savecontrol() 1312 off += elen; in ip6_savecontrol() 1480 return off; in ip6_nexthdr() 1496 return off; in ip6_nexthdr() 1505 return off; in ip6_nexthdr() 1516 return off; in ip6_nexthdr() 1547 return off; in ip6_lasthdr() [all …]
|
/dragonfly/sys/dev/netif/ath/ath_hal/ |
H A D | ah_eeprom_v3.c | 89 EEREAD(off++); in readEepromFreqPierInfo() 96 EEREAD(off++); in readEepromFreqPierInfo() 101 EEREAD(off++); in readEepromFreqPierInfo() 106 EEREAD(off++); in readEepromFreqPierInfo() 111 EEREAD(off++); in readEepromFreqPierInfo() 117 EEREAD(off++); in readEepromFreqPierInfo() 287 uint32_t off; in readEepromRawPowerCalInfo5112() local 738 uint32_t off; in readEepromRawPowerCalInfo2413() local 818 uint32_t off; in readEepromRawPowerCalInfo() local 1183 off += 2; in readHeaderInfo() [all …]
|
/dragonfly/sbin/jscan/ |
H A D | dump_mirror.c | 80 off_t off = sizeof(head); in dump_mirror_stream() local 115 off_t base = *off; in dump_mirror_toprecord() 137 *off = base + sizeof(sub); in dump_mirror_toprecord() 159 base = (*off + 7) & ~7; in dump_mirror_toprecord() 169 *off = base; in dump_mirror_toprecord() 192 off_t base = *off; in dump_mirror_subrecord() 208 *off = base + sizeof(sub); in dump_mirror_subrecord() 266 base = (*off + 7) & ~7; in dump_mirror_subrecord() 278 *off = base; in dump_mirror_subrecord() 312 jattr->data.off = off; in dump_mirror_payload() [all …]
|
/dragonfly/sys/vfs/ntfs/ |
H A D | ntfs_subr.c | 257 int error,off; in ntfs_loadntnode() local 592 off = 0; in ntfs_runtovrun() 596 off += (run[off] & 0xF) + ((run[off] >> 4) & 0xF) + 1; in ntfs_runtovrun() 602 off = 0; in ntfs_runtovrun() 1390 off = roff; in ntfs_writentvattr_plain() 1414 off = ntfs_btocnoff(off); in ntfs_writentvattr_plain() 1453 off = 0; in ntfs_writentvattr_plain() 1492 off = roff; in ntfs_readntvattr_plain() 1514 off = ntfs_btocnoff(off); in ntfs_readntvattr_plain() 1562 off = 0; in ntfs_readntvattr_plain() [all …]
|
/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_radiotap.c | 80 int off; in ieee80211_radiotap_attachv() local 86 off = -1; in ieee80211_radiotap_attachv() 91 if (off == -1) { in ieee80211_radiotap_attachv() 96 ic->ic_txchan = ((uint8_t *) th) + off; in ieee80211_radiotap_attachv() 102 off = -1; in ieee80211_radiotap_attachv() 107 if (off == -1) { in ieee80211_radiotap_attachv() 112 ic->ic_rxchan = ((uint8_t *) rh) + off; in ieee80211_radiotap_attachv() 364 int off, i; in radiotap_offset() local 377 off = roundup2(off, items[i].align); in radiotap_offset() 386 return off; in radiotap_offset() [all …]
|
/dragonfly/lib/libkvm/ |
H A D | kvm_minidump_x86_64.c | 57 int64_t off; member 85 hpte->off = off; in hpt_insert() 100 return (hpte->off); in hpt_find() 118 hpt_insert(kd, pa, off); in inithash() 119 off += PAGE_SIZE; in inithash() 122 return (off); in inithash() 185 off_t off; in _kvm_minidump_init_hdr1() local 220 off += hdr->ptesize; in _kvm_minidump_init_hdr1() 239 off_t off; in _kvm_minidump_init_hdr2() local 258 off += round_page(hdr->bitmapsize); in _kvm_minidump_init_hdr2() [all …]
|
/dragonfly/sys/netinet/ |
H A D | ip6.h | 281 ((m)->m_len < (off) + (hlen)) && \ 286 if ((m)->m_len < (off) + (hlen)) { \ 292 if ((m)->m_len < (off) + (hlen)) { \ 299 if ((m)->m_len < (off) + (hlen)) { \ 309 IP6_EXTHDR_CHECK(m, off, hlen, ) 321 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument 325 if ((m)->m_len >= (off) + (len)) \ 326 (val) = (typ)(mtod((m), caddr_t) + (off)); \ 328 t = m_pulldown((m), (off), (len), &tmp); \ 343 if ((off) == 0) \ [all …]
|