Searched refs:off (Results 1 - 25 of 135) sorted by relevance

123456

/haiku/src/add-ons/kernel/file_systems/fat/
H A Dutil.h33 #define read32(buffer,off) \
34 (((uint8 *)buffer)[(off)] + (((uint8 *)buffer)[(off)+1] << 8) + \
35 (((uint8 *)buffer)[(off)+2] << 16) + (((uint8 *)buffer)[(off)+3] << 24))
37 #define read16(buffer,off) \
38 (((uint8 *)buffer)[(off)] + (((uint8 *)buffer)[(off)+1] << 8))
41 #define read32(buffer,off) \
42 B_LENDIAN_TO_HOST_INT32(*(uint32 *)&buffer[off])
[all...]
/haiku/src/system/boot/loader/file_systems/fat/
H A Dfatfs.h24 #define read32(buffer,off) \
25 B_LENDIAN_TO_HOST_INT32(*(uint32 *)&buffer[off])
27 #define read16(buffer,off) \
28 B_LENDIAN_TO_HOST_INT16(*(uint16 *)&buffer[off])
30 #define write32(buffer, off, value) \
31 *(uint32*)&buffer[off] = B_HOST_TO_LENDIAN_INT32(value)
33 #define write16(buffer, off, value) \
34 *(uint16*)&buffer[off] = B_HOST_TO_LENDIAN_INT16(value)
/haiku/src/system/libroot/posix/glibc/include/
H A Dsysdep.h42 # define cfi_def_cfa(reg, off) .cfi_def_cfa reg, off
44 # define cfi_def_cfa_offset(off) .cfi_def_cfa_offset off
45 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
46 # define cfi_offset(reg, off) .cfi_offset reg, off
47 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/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);
/haiku/src/system/kernel/arch/m68k/
H A Darch_040_cpu.cpp37 int l, off; local
40 off = (unsigned int)address & (CACHELINE - 1);
41 len += off;
44 p = (char *)address - off;
61 int l, off; local
64 off = (unsigned int)address & (CACHELINE - 1);
65 len += off;
68 p = (char *)address - off;
H A Darch_030_cpu.cpp36 int l, off; local
40 off = (unsigned int)address & (CACHELINE - 1);
41 len += off;
44 p = (char *)address - off;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/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));
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/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++) {
/haiku/headers/libs/libunwind/
H A Dremote.h54 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; local
62 val >>= 8*off; local
64 val >>= 8*(WSIZE - 1 - off);
74 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; local
77 assert ((off & 0x1) == 0);
84 val >>= 8*off; local
86 val >>= 8*(WSIZE - 2 - off);
96 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; local
99 assert ((off & 0x3) == 0);
106 val >>= 8*off; local
[all...]
/haiku/src/libs/libunwind/x86/
H A DGos-linux.c143 unw_word_t addr = c->sigcontext_addr, fpstate_addr, off; local
164 case UNW_X86_GS: off = LINUX_SC_GS_OFF; break;
165 case UNW_X86_FS: off = LINUX_SC_FS_OFF; break;
166 case UNW_X86_ES: off = LINUX_SC_ES_OFF; break;
167 case UNW_X86_DS: off = LINUX_SC_DS_OFF; break;
168 case UNW_X86_EDI: off = LINUX_SC_EDI_OFF; break;
169 case UNW_X86_ESI: off = LINUX_SC_ESI_OFF; break;
170 case UNW_X86_EBP: off = LINUX_SC_EBP_OFF; break;
171 case UNW_X86_ESP: off = LINUX_SC_ESP_OFF; break;
172 case UNW_X86_EBX: off
[all...]
H A DGos-freebsd.c154 unw_word_t addr = c->sigcontext_addr, off, xmm_off; local
187 off = 0; /* shut gcc warning */
190 case UNW_X86_GS: off = FREEBSD_UC_MCONTEXT_GS_OFF; break;
191 case UNW_X86_FS: off = FREEBSD_UC_MCONTEXT_FS_OFF; break;
192 case UNW_X86_ES: off = FREEBSD_UC_MCONTEXT_ES_OFF; break;
193 case UNW_X86_DS: off = FREEBSD_UC_MCONTEXT_SS_OFF; break;
194 case UNW_X86_EDI: off = FREEBSD_UC_MCONTEXT_EDI_OFF; break;
195 case UNW_X86_ESI: off = FREEBSD_UC_MCONTEXT_ESI_OFF; break;
196 case UNW_X86_EBP: off = FREEBSD_UC_MCONTEXT_EBP_OFF; break;
197 case UNW_X86_ESP: off
[all...]
/haiku/src/data/dts/arch/arm/
H A Domap-gpmc-smsc9221.dtsi33 gpmc,cs-rd-off-ns = <42>;
34 gpmc,cs-wr-off-ns = <36>;
36 gpmc,adv-rd-off-ns = <12>;
37 gpmc,adv-wr-off-ns = <12>;
39 gpmc,oe-off-ns = <42>;
41 gpmc,we-off-ns = <36>;
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf2.c89 * ensure that [off, off + len) is contiguous on the mbuf chain "m".
90 * packet chain before "off" is kept untouched.
99 m_pulldown(struct mbuf *m, int off, int len, int *offp) argument
123 while (n != NULL && off > 0) {
124 if (n->m_len > off)
126 off -= n->m_len;
163 * the target data is on <n, off>.
166 if ((off == 0 || offp) && len <= n->m_len - off)
272 m_dup1(struct mbuf *m, int off, int len, int wait) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DCIndigoDJDspCommObject.cpp35 #pragma optimize("",off)
/haiku/src/libs/stdc++/legacy/
H A Dbuiltinbuf.cc51 streampos builtinbuf::seekoff(streamoff off, _seek_dir dir, int mode) argument
53 return _IO_SEEKOFF (this, off, dir, mode);
67 streampos builtinbuf::sys_seek(streamoff off, _seek_dir dir) argument
68 { return _IO_SYSSEEK (this, off, dir); }
H A Dindstream.cc75 streampos indirectbuf::seekoff(streamoff off, _seek_dir dir, int mode) argument
82 ret_val = gbuf->seekoff(off, dir, mode);
85 ret_val = gbuf->seekoff(off, dir, ios::in);
87 ret_val = pbuf->seekoff(off, dir, ios::out);
/haiku/src/libs/libunwind/coredump/
H A D_UPT_get_dyn_info_list_addr.c37 unsigned long lo, hi, off; local
46 while (maps_next (&mi, &lo, &hi, &off))
48 if (off)
59 di = tdep_find_unwind_table (&ui->edi, as, path, lo, off);
/haiku/src/libs/libunwind/ptrace/
H A D_UPT_get_dyn_info_list_addr.c36 unsigned long lo, hi, off; local
44 while (maps_next (&mi, &lo, &hi, &off))
46 if (off)
57 if (tdep_find_unwind_table (&ui->edi, as, path, lo, off, 0) > 0)
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c72 int off; local
78 off = -1;
80 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_CHANNEL);
82 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_XCHANNEL);
83 if (off == -1) {
88 ic->ic_txchan = ((uint8_t *) th) + off;
94 off = -1;
96 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_CHANNEL);
98 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_XCHANNEL);
99 if (off
349 int off, i; local
[all...]
/haiku/src/libs/libcxxrt/
H A Ddynamic_cast.cc47 #define ADD_TO_PTR(x, off) reinterpret_cast<__typeof__(x)>(reinterpret_cast<char*>(x) + off)
169 ptrdiff_t *off = *static_cast<ptrdiff_t**>(obj); local
171 off = ADD_TO_PTR(off, offset);
172 offset = *off;
/haiku/src/apps/soundrecorder/
H A DDrawButton.cpp12 const unsigned char *off, BMessage *msg, int32 resize, int32 flags)
18 fOff.SetBits(off, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
11 DrawButton(BRect frame, const char *name, const unsigned char *on, const unsigned char *off, BMessage *msg, int32 resize, int32 flags) argument
H A DDrawButton.h18 const unsigned char *off, BMessage *msg, int32 resize = 0,
/haiku/src/add-ons/kernel/network/dns_resolver/kernel_add_on/
H A Ddns_resolver.cpp137 off_t off = 0; local
139 strcpy(buffer + off, node);
141 buffer[off] = '\0';
142 off += nodeSize;
145 strcpy(buffer + off, service);
147 buffer[off] = '\0';
148 off += serviceSize;
151 memcpy(buffer + off, hints, sizeof(*hints));
154 = reinterpret_cast<struct addrinfo*>(buffer + off);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v3.c77 uint16_t eeval, off; local
89 off = GROUPS_OFFSET3_3 + GROUP1_OFFSET;
91 EEREAD(off++);
96 off = GROUPS_OFFSET3_2 + GROUP1_OFFSET;
98 EEREAD(off++);
103 EEREAD(off++);
108 EEREAD(off++);
113 EEREAD(off++);
119 EEREAD(off++);
289 uint32_t off; local
740 uint32_t off; local
820 uint32_t off; local
926 uint32_t off; local
1023 uint32_t off; local
1139 uint32_t off; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_efuse.c121 rtwn_efuse_read_data(struct rtwn_softc *sc, uint8_t *rom, uint8_t off, argument
131 addr = off * 8 + i * 2;
180 uint8_t msk, off, reg; local
192 off = reg >> 5;
196 off = ((reg & 0xf0) >> 1) | off;
200 off = reg >> 4;
203 RTWN_CHK(rtwn_efuse_read_data(sc, rom, off, msk));

Completed in 279 milliseconds

123456