Searched defs:off (Results 1 - 25 of 882) sorted by relevance

1234567891011>>

/freebsd-head/contrib/elftoolchain/libpe/
H A Dpe_update.c38 off_t off; local
58 off = 0;
61 if ((off = libpe_write_msdos_stub(pe, off)) < 0)
64 if ((off = libpe_write_pe_header(pe, off)) < 0)
68 if (libpe_resync_sections(pe, off) < 0)
71 if ((off = libpe_write_coff_header(pe, off)) < 0)
74 if ((off
[all...]
H A Dlibpe_utils.c38 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)
/freebsd-head/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_eeprom.c38 ar5212EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument
40 OS_REG_WRITE(ah, AR_EEPROM_ADDR, off);
47 __func__, off);
/freebsd-head/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_eeprom.c37 ar5416EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument
39 OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S));
/freebsd-head/contrib/file/src/
H A Dpread.c9 pread(int fd, void *buf, size_t len, off_t off) { argument
13 if ((old = lseek(fd, off, SEEK_SET)) == -1)
/freebsd-head/sys/powerpc/powerpc/
H A Dsyncicache.c53 register_t l, off; local
56 off = (uintptr_t)from & (cacheline_size - 1);
57 l = len += off;
58 p = (char *)from - off;
65 p = (char *)from - off;
/freebsd-head/contrib/ipfilter/lib/
H A Dprintpacket.c23 u_short len, off; local
73 off = ntohs(ip->ip_off);
77 if (off & IP_OFFMASK)
78 PRINTF(" @%d", off << 3);
80 if (!(off & IP_OFFMASK))
85 if (!(off & IP_OFFMASK)) {
/freebsd-head/sys/dev/ath/
H A Dif_ath_led.c169 * Turn the LED off: flip the pin and then set a timer so no
182 * Blink the LED according to the specified on/off times.
185 ath_led_blink(struct ath_softc *sc, int on, int off) argument
187 DPRINTF(sc, ATH_DEBUG_LED, "%s: on %u off %u\n", __func__, on, off);
190 sc->sc_ledoff = off;
/freebsd-head/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_eeprom.c37 ar5312EepromRead(struct ath_hal *ah, u_int off, uint16_t *dataIn) argument
44 for (i=0,offset=2*off; i<2; i++,offset++) {
/freebsd-head/crypto/openssl/crypto/rsa/
H A Drsa_prn.c16 int RSA_print_fp(FILE *fp, const RSA *x, int off) argument
26 ret = RSA_print(b, x, off);
32 int RSA_print(BIO *bp, const RSA *x, int off) argument
39 ret = EVP_PKEY_print_private(bp, pk, off, NULL);
/freebsd-head/contrib/bearssl/T0/
H A DCodeElementUIntExpr.cs31 int off; field in class:CodeElementUIntExpr
34 TPointerExpr cx, int off) : base()
38 this.off = off;
45 + (cx.GetMaxBitLength(off) + 6) / 7;
53 return len + (cx.GetMaxBitLength(off) + 6) / 7;
61 int len2 = (cx.GetMaxBitLength(off) + 6) / 7;
63 len2, cx.ToCExpr(off)));
33 CodeElementUIntExpr(uint val, TPointerExpr cx, int off) argument
H A DOpcodeJump.cs60 internal override void FixUp(CodeElement[] gcode, int off) argument
62 gcode[off].SetJumpTarget(gcode[off + 1 + disp]);
/freebsd-head/sys/netinet6/
H A Ddest6.c68 int off, dstoptlen, optlen; local
73 off = *offp;
76 if (m->m_len < off + sizeof(*dstopts)) {
77 m = m_pullup(m, off + sizeof(*dstopts));
84 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off);
87 if (m->m_len < off + dstoptlen) {
88 m = m_pullup(m, off + dstoptlen);
95 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off);
96 off += dstoptlen;
127 *offp = off;
[all...]
H A Droute6.c67 int off = *offp, rhlen; local
86 if (m->m_len < off + sizeof(*rh)) {
87 m = m_pullup(m, off + sizeof(*rh));
95 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off);
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/mips/
H A Ddt_isadep.c60 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off)
59 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument
/freebsd-head/sys/contrib/ipfilter/netinet/
H A Dip_netbios_pxy.c77 int off, dlen; local
95 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
105 off += 4;
117 COPYBACK(m, off, sizeof(dgmbuf), dgmbuf);
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/powerpc/
H A Ddt_isadep.c138 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off)
140 if (off & 0x3)
147 ftp->ftps_offs[0] = off;
137 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_str.c34 _dwarf_strtab_add(Dwarf_Debug dbg, char *string, uint64_t *off, argument
52 if (off != NULL)
53 *off = dbg->dbg_strtab_size;
H A Ddwarf_ranges.c32 _dwarf_get_ranges(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Off off, argument
40 if (_dwarf_ranges_find(dbg, off, &rl) == DW_DLE_NO_ENTRY) {
41 ret = _dwarf_ranges_add(dbg, cu, off, &rl, error);
/freebsd-head/contrib/sendmail/src/
H A Darpadate.c61 register int off; local
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
[all...]
/freebsd-head/contrib/netbsd-tests/include/sys/
H A Dt_types.c88 off_t off; local
97 off = 0;
103 ATF_CHECK((off - 1) <= 0);
/freebsd-head/contrib/netbsd-tests/lib/libc/string/
H A Dt_bm.c75 u_char *off; local
84 off = bm_exec(pattern, (u_char *)text, strlen(text));
87 ATF_CHECK_EQ(off, NULL);
90 (off-(u_char *)text));
H A Dt_memchr.c26 void *off, *off2; local
33 ssize_t off; member in struct:tab
102 off = f(&buf[a], '/', tab[t].len);
104 if (off != 0) {
111 if (tab[t].off != ((char*)off - &buf[a])) {
124 if (off2 != off)
H A Dt_strrchr.c26 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-head/cddl/contrib/opensolaris/lib/libdtrace/aarch64/
H A Ddt_isadep.c79 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off)
82 if (!ALIGNED_POINTER(off, 4))
89 ftp->ftps_offs[0] = off;
78 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument

Completed in 124 milliseconds

1234567891011>>