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

1234567891011>>

/haiku-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Dutil.h29 #define read32(buffer,off) \
30 (((uint8 *)buffer)[(off)] + (((uint8 *)buffer)[(off)+1] << 8) + \
31 (((uint8 *)buffer)[(off)+2] << 16) + (((uint8 *)buffer)[(off)+3] << 24))
33 #define read16(buffer,off) \
34 (((uint8 *)buffer)[(off)] + (((uint8 *)buffer)[(off)+1] << 8))
37 #define read32(buffer,off) \
38 B_LENDIAN_TO_HOST_INT32(*(uint32 *)&buffer[off])
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9001/
H A Dar9130_eeprom.c31 ar9130EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument
37 if (off > ATH_DATA_EEPROM_SIZE) {
38 HALDEBUG(ah, HAL_DEBUG_ANY, "ar9130EepromRead: offset %x > %x\n", off, ATH_DATA_EEPROM_SIZE);
41 (*data) = ah->ah_eepromdata[off];
H A Dar9130_eeprom.h22 extern HAL_BOOL ar9130EepromRead(struct ath_hal *ah, u_int off, uint16_t *data);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dkod-cisco.c30 /* Define this to turn off communication with target. */
135 int off = 0; /* Where we are in the string. */
184 off += 4;
188 count = strtol (&buffer[off], &s_end, 16);
189 if (s_end - &buffer[off] != 2 || buffer[off + 2] != ',')
195 off += 3;
198 if ((buffer[off] != '0' && buffer[off] != '1')
199 || buffer[off
134 int off = 0; /* Where we are in the string. */ local
251 int off = 0; local
[all...]
H A Dalpha-linux-tdep.c68 long i, off; local
74 off = alpha_linux_sigtramp_offset_1 (pc);
75 if (off < 0)
79 pc -= off;
82 if (i == off)
88 return off;
102 long off; local
107 off = alpha_linux_sigtramp_offset (pc);
108 gdb_assert (off >= 0);
119 if (alpha_read_insn (pc - off
[all...]
H A Di386nbsd-tdep.c139 LONGEST off; local
148 off = 0;
158 off = RETCODE_INSN2_OFF;
160 off = RETCODE_INSN3_OFF;
164 off = RETCODE_INSN4_OFF;
168 off = RETCODE_INSN5_OFF;
175 pc -= off;
181 return off;
/haiku-fatelf/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-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_eeprom.c36 ar5212EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument
38 OS_REG_WRITE(ah, AR_EEPROM_ADDR, off);
45 __func__, off);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_eeprom.c35 ar5312EepromRead(struct ath_hal *ah, u_int off, uint16_t *dataIn) argument
42 for (i=0,offset=2*off; i<2; i++,offset++) {
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_eeprom.c35 ar5416EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument
37 OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S));
/haiku-fatelf/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-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dtrim_sgr0.c237 char *off = set_attribute_9(tp, 0); local
244 TR(TRACE_DATABASE, ("sgr(9:off) %s", _nc_visbuf(off)));
248 || !rewrite_sgr(off, exit_alt_charset_mode)
251 FreeIfNeeded(off);
253 } else if (similar_sgr(off, end)
254 && !similar_sgr(off, on)) {
255 TR(TRACE_DATABASE, ("adjusting sgr(9:off) : %s", _nc_visbuf(off)));
256 result = off;
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mmap/
H A D31-1.c8 * [EOVERFLOW] The file is a regular file and the value of off
13 * 1. Set off and let to ULONG_MAX (make them align to page_size
16 * FIXME: Not quite sure how to make "the value of off plus len
49 off_t off = 0; local
71 /* len + off > maximum offset
82 off = ULONG_MAX;
83 if (off % page_size)
86 off &= ~(page_size - 1);
89 printf("off: %lx, len: %lx\n", (unsigned long)off,
[all...]
H A D11-4.c57 off_t off = 0; local
94 off = 0;
95 pa = mmap(addr, len, prot, flag, fd, off);
131 off = 0;
132 pa = mmap(addr, len, prot, flag, fd_2, off);
133 pa_2 = mmap(addr, len, prot, flag, fd_2, off);
H A D19-1.c36 off_t off = 0; local
45 pa = mmap(addr, size, prot, flag, fd, off);
H A D23-1.c41 off_t off = 0; local
51 pa = mmap(addr, len, prot, flag, fd, off);
/haiku-fatelf/src/system/libroot/posix/glibc/include/arch/x86_64/
H A Dsysdep.h28 #define cfi_def_cfa(reg, off) .cfi_def_cfa reg, off
30 #define cfi_def_cfa_offset(off) .cfi_def_cfa_offset off
31 #define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
32 #define cfi_offset(reg, off) .cfi_offset reg, off
33 #define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
[all...]
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfgetln.c86 size_t off; local
114 * As a bonus, though, we can leave off the __SMOD.
122 for (len = fp->_r, off = 0;; len += fp->_r) {
132 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
133 len - off);
134 off = len;
146 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
/haiku-fatelf/src/libs/compat/freebsd_network/
H A Dfbsd_mbuf2.c84 * ensure that [off, off + len) is contiguous on the mbuf chain "m".
85 * packet chain before "off" is kept untouched.
94 m_pulldown(struct mbuf *m, int off, int len, int *offp) argument
118 while (n != NULL && off > 0) {
119 if (n->m_len > off)
121 off -= n->m_len;
160 * the target data is on <n, off>.
163 if ((off == 0 || offp) && len <= n->m_len - off
269 m_dup1(struct mbuf *m, int off, int len, int wait) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/audio/echo/generic/
H A DCIndigoDJDspCommObject.cpp35 #pragma optimize("",off)
/haiku-fatelf/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); }
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c58 int off; local
64 off = -1;
66 off = radiotap_offset(th, IEEE80211_RADIOTAP_CHANNEL);
68 off = radiotap_offset(th, IEEE80211_RADIOTAP_XCHANNEL);
69 if (off == -1) {
74 ic->ic_txchan = ((uint8_t *) th) + off;
80 off = -1;
82 off = radiotap_offset(rh, IEEE80211_RADIOTAP_CHANNEL);
84 off = radiotap_offset(rh, IEEE80211_RADIOTAP_XCHANNEL);
85 if (off
330 int off, i; local
[all...]
/haiku-fatelf/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

Completed in 141 milliseconds

1234567891011>>