/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci_space.c | 255 _bs_r(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t be) argument 259 CSR_WRITE_4(PCI_NP_AD, (ioh + off) & ~3); 269 _pci_io_bs_r_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 273 n = (ioh + off) % 4; 275 data = _bs_r(tag, ioh, off, be); 281 _pci_io_bs_r_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 285 n = (ioh + off) % 4; 287 data = _bs_r(tag, ioh, off, be); 293 _pci_io_bs_r_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 297 data = _bs_r(tag, ioh, off, 303 _pci_io_bs_r_1_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 315 _pci_io_bs_r_2_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 327 _pci_io_bs_r_4_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 337 _bs_w(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t be, u_int32_t data) argument 348 _pci_io_bs_w_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 360 _pci_io_bs_w_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 372 _pci_io_bs_w_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument 380 _pci_io_bs_w_1_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 392 _pci_io_bs_w_2_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 404 _pci_io_bs_w_4_s(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument 443 _pci_mem_bs_r_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 449 _pci_mem_bs_r_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 455 _pci_mem_bs_r_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off) argument 464 _pci_mem_bs_w_1(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument 471 _pci_mem_bs_w_2(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument 478 _pci_mem_bs_w_4(bus_space_tag_t tag, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | trim_sgr0.c | 245 char *off = set_attribute_9(tp, 0); local 252 TR(TRACE_DATABASE, ("sgr(9:off) %s", _nc_visbuf(off))); 256 || !rewrite_sgr(off, exit_alt_charset_mode) 258 FreeIfNeeded(off); 259 } else if (similar_sgr(off, end) 260 && !similar_sgr(off, on)) { 261 TR(TRACE_DATABASE, ("adjusting sgr(9:off) : %s", _nc_visbuf(off))); 262 result = off; [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.cpp | 78 static void applySecRel(const SectionChunk *sec, uint8_t *off, argument 87 add32(off, secRel); 90 static void applySecIdx(uint8_t *off, OutputSection *os) { argument 95 add16(off, os->sectionIndex); 97 add16(off, DefinedAbsolute::numOutputSections + 1); 100 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, argument 103 case IMAGE_REL_AMD64_ADDR32: add32(off, s + config->imageBase); break; 104 case IMAGE_REL_AMD64_ADDR64: add64(off, s + config->imageBase); break; 105 case IMAGE_REL_AMD64_ADDR32NB: add32(off, s); break; 106 case IMAGE_REL_AMD64_REL32: add32(off, 120 applyRelX86(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s, uint64_t p) const argument 135 applyMOV(uint8_t *off, uint16_t v) argument 140 readMOV(uint8_t *off, bool movt) argument 153 applyMOV32T(uint8_t *off, uint32_t v) argument 162 applyBranch20T(uint8_t *off, int32_t v) argument 172 applyBranch24T(uint8_t *off, int32_t v) argument 183 applyRelARM(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s, uint64_t p) const argument 208 applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift) argument 222 applyArm64Imm(uint8_t *off, uint64_t imm, uint32_t rangeLimit) argument 237 applyArm64Ldr(uint8_t *off, uint64_t imm) argument 249 applySecRelLow12A(const SectionChunk *sec, uint8_t *off, OutputSection *os, uint64_t s) argument 255 applySecRelHigh12A(const SectionChunk *sec, uint8_t *off, OutputSection *os, uint64_t s) argument 268 applySecRelLdr(const SectionChunk *sec, uint8_t *off, OutputSection *os, uint64_t s) argument 274 applyArm64Branch26(uint8_t *off, int64_t v) argument 280 applyArm64Branch19(uint8_t *off, int64_t v) argument 286 applyArm64Branch14(uint8_t *off, int64_t v) argument 292 applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s, uint64_t p) const argument 372 uint8_t *off = buf + rel.VirtualAddress; local 696 int64_t off = impSymbol->getRVA() & 0xfff; local 893 size_t off = builder.getOffset(toStringRef(c->getContents())); local [all...] |
/freebsd-11-stable/contrib/apr-util/dbm/sdbm/ |
H A D | sdbm_pair.c | 68 register int off; local 72 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 73 avail = off - (n + 1) * sizeof(short); 88 register int off; local 91 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 95 off -= key.dsize; 96 (void) memcpy(pag + off, key.dptr, key.dsize); 97 ino[n + 1] = off; 101 off -= val.dsize; 102 (void) memcpy(pag + off, va 146 register int off; local 241 register int off = PBLKSIZ; local 263 register int off = PBLKSIZ; local 302 register int off; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/libpe/ |
H A D | libpe_utils.c | 38 libpe_align(PE *pe, off_t off, size_t align) argument 44 n = roundup(off, align); 45 if (n > off) { 46 if (libpe_pad(pe, n - off) < 0)
|
H A D | pe_rich.c | 72 int i, off; local 91 off = p - pe->pe_stub; 92 if (off >= 0x3c && off < 0x40) 94 cksum += rol32((unsigned char) *p, off);
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | host-darwin.h | 23 size_t off);
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_prn.c | 66 int RSA_print_fp(FILE *fp, const RSA *x, int off) argument 76 ret = RSA_print(b, x, off); 82 int RSA_print(BIO *bp, const RSA *x, int off) argument 89 ret = EVP_PKEY_print_private(bp, pk, off, NULL);
|
/freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
H A D | EhFrame.h | 19 size_t readEhRecordSize(InputSectionBase *s, size_t off);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | pread.c | 9 pread(int fd, void *buf, size_t len, off_t off) { argument 13 if ((old = lseek(fd, off, SEEK_SET)) == -1)
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | refid.h | 26 reference_id(int fid, int off) : filename_id(fid), pos(off) { } argument
|
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_drive.c | 117 int be, off; local 120 endian##32toh(*((uint32_t *)&d_hdr[off])); \ 121 off += 4 123 endian##64toh(*((uint64_t *)&d_hdr[off])); \ 124 off += 8 138 off = 0; 149 off = 16; 150 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); 151 off += GV_HOSTNAME_LEN; 152 bcopy(d_hdr + off, m_hd 231 int off, ret; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strchr.c | 38 const char *off, *ok_off; local 40 off = strchr_fn(buf, ch); 42 if (off == ok_off) 47 buf, ch, off ? off - buf : -1, ok_off ? ok_off - buf : -1, t, a); 62 char *off; local 276 while ((off = slow_strchr(buf + a, '/')) != NULL) 277 *off = 0xff;
|
H A D | t_strrchr.c | 26 char *off, *off2; local 223 off = f(&buf[a], '/'); 225 if (off != 0) { 231 if (tab[t].l_off != (off - &buf[a])) { 243 if (off != off2) {
|
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | eck_prn.c | 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) argument 81 ret = ECPKParameters_print(b, x, off); 86 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) argument 96 ret = EC_KEY_print(b, x, off); 117 int EC_KEY_print(BIO *bp, const EC_KEY *x, int off) argument 124 ret = EVP_PKEY_print_private(bp, pk, off, NULL); 142 size_t len, int off); 144 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) argument 176 if (!BIO_indent(bp, off, 128)) 189 if (!BIO_indent(bp, off, 12 341 print_bin(BIO *fp, const char *name, const unsigned char *buf, size_t len, int off) argument [all...] |
/freebsd-11-stable/bin/ed/ |
H A D | sub.c | 170 int off = 0; local 188 REALLOC(rbuf, rbufsz, off + i, ERR); 191 memcpy(rbuf + off, txt, i); 192 off += i; 193 if ((off = apply_subst_template(txt, rm, off, 198 REALLOC(rbuf, rbufsz, off + i, ERR); 201 memcpy(rbuf + off, txt, i); 202 off += i; 209 REALLOC(rbuf, rbufsz, off 226 apply_subst_template(const char *boln, regmatch_t *rm, int off, int re_nsub) argument [all...] |
/freebsd-11-stable/usr.sbin/uefisign/ |
H A D | pe.c | 143 range_check(const struct executable *x, off_t off, size_t len, argument 147 if (off < 0) { 149 name, (intmax_t)off); 151 if (off >= (off_t)x->x_len) { 153 name, (intmax_t)off, x->x_len); 159 if (off + len > x->x_len) { 161 name, (intmax_t)(off + len), x->x_len); 226 parse_section_table(struct executable *x, off_t off, int number_of_sections) argument 231 range_check(x, off, sizeof(*psh) * number_of_sections, 234 if (x->x_headers_len <= off 262 parse_directory(struct executable *x, off_t off, int number_of_rva_and_sizes, int number_of_sections) argument 348 parse_optional_32_plus(struct executable *x, off_t off, int number_of_sections) argument 398 parse_optional_32(struct executable *x, off_t off, int number_of_sections) argument 447 parse_optional(struct executable *x, off_t off, int number_of_sections) argument 468 parse_pe(struct executable *x, off_t off) argument 503 off_t off; local [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | uipc_mbufhash.c | 45 m_ether_tcpip_hash_gethdr(const struct mbuf *m, const u_int off, argument 49 if (m->m_pkthdr.len < (off + len)) { 51 } else if (m->m_len < (off + len)) { 52 m_copydata(m, off, len, buf); 55 return (mtod(m, char *) + off); 90 int off; local 94 off = sizeof(*eh); 95 if (m->m_len < off) 108 vlan = m_ether_tcpip_hash_gethdr(m, off, sizeof(*vlan), &buf); 115 off [all...] |
/freebsd-11-stable/contrib/netbsd-tests/net/in_cksum/ |
H A D | in_cksum.c | 81 int len, off; local 88 off = random_aligned ? rand() % 64 : 0; 90 m = malloc(sizeof(struct m_hdr) + len + off); 94 m->m_data = (char *)m + sizeof(struct m_hdr) + off; 104 dump_mbuf(const struct mbuf *m, int len, int off) argument 110 printf("Starting len=%d off=%d:\n", len, off); 111 if (off > 0) { 113 if (off > m->m_len) 114 off 176 int loops, old_sum, off, len; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_loclist.c | 33 Dwarf_Unsigned *off, Dwarf_Locdesc **ld, Dwarf_Signed *ldlen, 42 for (i = 0; *off < ds->ds_size; i++) { 43 start = dbg->read(ds->ds_data, off, cu->cu_pointer_size); 44 end = dbg->read(ds->ds_data, off, cu->cu_pointer_size); 65 len = dbg->read(ds->ds_data, off, 2); 66 if (*off + len > ds->ds_size) { 77 ds->ds_data + *off, len, cu->cu_pointer_size, 84 *off += len; 101 Dwarf_Unsigned off; local 115 off 32 _dwarf_loclist_add_locdesc(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, Dwarf_Unsigned *off, Dwarf_Locdesc **ld, Dwarf_Signed *ldlen, Dwarf_Unsigned *total_len, Dwarf_Error *error) argument [all...] |
/freebsd-11-stable/tools/tools/zfsboottest/ |
H A D | zfsboottest.c | 61 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) argument 65 if (pread(fd, buf, bytes, off) != bytes) 71 zfs_read(spa_t *spa, dnode_phys_t *dn, void *buf, size_t size, off_t off) argument 78 if (off + n > zp->zp_size) 79 n = zp->zp_size - off; 81 rc = dnode_read(spa, dn, off, buf, n); 100 off_t off; local 184 off = 0; 187 n = sb.st_size - off; 189 n = zfs_read(spa, &dn, buf, n, off); [all...] |
/freebsd-11-stable/lib/libc/powerpc/gen/ |
H A D | syncicache.c | 79 int l, off; local 87 off = (u_int)from & (cacheline_size - 1); 88 l = len += off; 89 p = (char *)from - off; 96 p = (char *)from - off;
|
/freebsd-11-stable/lib/libc/powerpc64/gen/ |
H A D | syncicache.c | 79 off_t l, off; local 87 off = (uintptr_t)from & (cacheline_size - 1); 88 l = len += off; 89 p = (char *)from - off; 96 p = (char *)from - off;
|
/freebsd-11-stable/crypto/openssl/crypto/des/ |
H A D | cbc3_enc.c | 66 int off = ((int)length - 1) / 8; local 74 memcpy(niv1, output[off], sizeof(DES_cblock)); 80 memcpy(niv2, output[off], sizeof(DES_cblock)); 83 memcpy(niv2, input[off], sizeof(DES_cblock)); 89 memcpy(niv1, output[off], sizeof(DES_cblock));
|
/freebsd-11-stable/usr.sbin/makefs/ffs/ |
H A D | ufs_bmap.c | 74 int i, numlevels, off; local 113 * At each iteration, off is the offset into the bap array which is 119 ap->in_off = off = NIADDR - i; 128 off = (bn >> lbc) & (NINDIR(ip->i_fs) - 1); 132 ap->in_off = off; 135 metalbn -= -1 + (off << lbc);
|