Searched refs:offset (Results 1 - 25 of 1190) sorted by relevance

1234567891011>>

/haiku/src/add-ons/disk_systems/intel/
H A DIntelDiskSystem.h12 sector_align(off_t offset, uint32 blockSize) argument
14 return offset / blockSize * blockSize;
/haiku/src/system/libroot/posix/stdio/
H A D_fseek.c9 _fseek(FILE *stream, fpos_t offset, int seekType) argument
11 return fseeko(stream, offset, seekType);
/haiku/src/libs/libfdt/
H A Dfdt.c77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument
82 if (((offset + len) < offset)
83 || ((offset + len) > fdt_size_dt_struct(fdt)))
86 p = _fdt_offset_ptr(fdt, offset);
97 int offset = startoffset; local
101 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE);
105 offset += FDT_TAGSIZE;
112 p = fdt_offset_ptr(fdt, offset++, 1);
119 lenp = fdt_offset_ptr(fdt, offset, sizeo
143 _fdt_check_node_offset(const void *fdt, int offset) argument
152 _fdt_check_prop_offset(const void *fdt, int offset) argument
161 fdt_next_node(const void *fdt, int offset, int *depth) argument
[all...]
H A Dfdt_ro.c58 static int _fdt_nodename_eq(const void *fdt, int offset, argument
61 const char *p = fdt_offset_ptr(fdt, offset + FDT_TAGSIZE, len+1);
108 static int _nextprop(const void *fdt, int offset) argument
114 tag = fdt_next_tag(fdt, offset, &nextoffset);
124 return offset;
126 offset = nextoffset;
132 int fdt_subnode_offset_namelen(const void *fdt, int offset, argument
140 (offset >= 0) && (depth >= 0);
141 offset = fdt_next_node(fdt, offset,
161 int offset = 0; local
223 int offset; local
231 fdt_next_property_offset(const void *fdt, int offset) argument
239 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
260 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
304 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
360 int offset, depth, namelen; local
412 int offset, depth; local
470 int offset; local
495 int offset; local
554 int offset, err; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_eeprom.c34 * Read 16 bits of data from offset into *data
39 int i,offset; local
44 for (i=0,offset=2*off; i<2; i++,offset++) {
45 data[i] = eepromAddr[offset];
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DIORequestInfo.h14 off_t offset; member in struct:UserlandFS::IORequestInfo
20 IORequestInfo(int32 id, bool isWrite, off_t offset, size_t length, argument
23 offset(offset),
33 offset(other.offset),
/haiku/headers/private/shared/
H A DBytePointer.h21 void operator+=(size_t offset) { address += offset; } argument
22 char* operator+(size_t offset) const { return address + offset; }
H A DRangeArray.h19 Value offset; member in struct:BPrivate::Range
22 Range(const Value& offset, const Value& size) argument
24 offset(offset),
31 return offset + size;
53 bool AddRange(const Value& offset,
56 bool RemoveRange(const Value& offset,
64 bool IntersectsWith(const Value& offset,
67 int32 InsertionIndex(const Value& offset) const;
106 return AddRange(range.offset, rang
119 AddRange(const Value& offset, const Value& size) argument
178 RemoveRange(const Value& offset, const Value& size) argument
251 IntersectsWith(const Value& offset, const Value& size) const argument
[all...]
/haiku/headers/libs/agg/
H A Dagg_bitset_iterator.h27 bitset_iterator(const int8u* bits, unsigned offset = 0) :
28 m_bits(bits + (offset >> 3)),
29 m_mask(0x80 >> (offset & 7))
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfseek.c32 fseek (fp, offset, whence)
34 long int offset;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseeko.c32 fseeko (fp, offset, whence)
34 off_t offset;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseeko64.c33 fseeko64 (fp, offset, whence)
35 __off64_t offset;
43 result = _IO_fseek (fp, offset, whence);
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dcx23882.h55 #define reg_read8(offset) (*(volatile uint8 *) ((char *)(device->regs) + (offset)))
56 #define reg_read16(offset) (*(volatile uint16 *)((char *)(device->regs) + (offset)))
57 #define reg_read32(offset) (*(volatile uint32 *)((char *)(device->regs) + (offset)))
58 #define reg_write8(offset, value) (*(volatile uint8 *) ((char *)(device->regs) + (offset)) = value)
59 #define reg_write16(offset, value) (*(volatile uint16 *)((char *)(device->regs) + (offset))
[all...]
/haiku/src/apps/haikudepot/textview/
H A DMarkupParser.cpp133 int32 offset = 0; local
138 while (offset <= charCount) {
146 // _CopySpan(text, start, offset);
147 // if (offset + 1 < charCount && c[0] == '\n') {
149 // offset += 1;
154 // start = offset + 1;
158 _CopySpan(text, start, offset);
159 if (offset > 0 && c[-1] != ' ')
160 _FinishParagraph(offset >= charCount);
161 start = offset
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/
H A DAreaSupport.cpp8 int32* offset, void** areaBaseAddress)
11 if (!area || !offset || size < 0)
16 *offset = 0;
19 // get area and in-area offset
28 *offset = (uint8*)address - (uint8*)areaInfo.address;
29 if (*offset + size > (int32)areaInfo.size)
7 get_area_for_address(void* address, int32 size, area_id* area, int32* offset, void** areaBaseAddress) argument
H A DRequest.cpp12 fUnrelocated.offset = 0;
17 Address::SetTo(area_id area, int32 offset, int32 size) argument
20 fUnrelocated.offset = offset;
/haiku/src/add-ons/accelerants/neomagic/
H A DOverlay.c70 int offset = 0; /* used to determine next buffer to create */ local
83 for (offset = 0; offset < MAXBUFFERS; offset++)
85 if (si->overlay.myBuffer[offset].buffer == NULL) break;
88 LOG(4,("Overlay: Allocate_buffer offset = %d\n",offset));
90 if (offset < MAXBUFFERS)
99 si->overlay.myBuffer[offset].width = width;
103 si->overlay.myBuffer[offset]
314 int offset = 0; local
354 int offset = 0; local
507 int offset = 0; /* used for buffer index */ local
[all...]
/haiku/src/kits/package/hpkg/
H A DDataReader.cpp43 BAbstractBufferedDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
46 return ReadDataToOutput(offset, size, &output);
62 BBufferDataReader::ReadData(off_t offset, void* buffer, size_t size) argument
67 if (offset < 0)
70 if (size > fSize || offset > (off_t)fSize - (off_t)size)
75 if (user_memcpy(buffer, (const uint8*)fData + offset, size) != B_OK)
79 memcpy(buffer, (const uint8*)fData + offset, size);
85 BBufferDataReader::ReadDataToOutput(off_t offset, size_t size, BDataIO* output) argument
90 if (offset < 0)
93 if (size > fSize || offset > (off_
[all...]
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlc-ctype.c40 #define current(type,x,offset) \
41 ((const type *) _NL_CURRENT (LC_CTYPE, paste(_NL_CTYPE_,x)) + offset)
46 size_t offset, cnt; local
48 offset = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_CLASS_OFFSET);
50 __ctype32_wctype[cnt] = _nl_current_LC_CTYPE->values[offset + cnt].string;
52 offset = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_OFFSET);
54 __ctype32_wctrans[cnt] = _nl_current_LC_CTYPE->values[offset + cnt].string;
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollable.cpp75 // adjust the scroll offset, if necessary
77 BPoint offset = ValidScrollOffsetFor(fScrollOffset); local
78 if (offset != fScrollOffset)
79 SetScrollOffset(offset);
95 // Sets the scroll offset.
97 Scrollable::SetScrollOffset(BPoint offset) argument
99 // adjust the supplied offset to be valid
100 offset = ValidScrollOffsetFor(offset);
101 if (fScrollOffset != offset) {
125 SetDataRectAndScrollOffset(BRect dataRect, BPoint offset) argument
161 ValidScrollOffsetFor(BPoint offset, const BRect& dataRect) const argument
197 BPoint offset = ValidScrollOffsetFor(fScrollOffset); local
[all...]
/haiku/src/add-ons/accelerants/via/
H A DOverlay.c72 int offset = 0; /* used to determine next buffer to create */ local
85 for (offset = 0; offset < MAXBUFFERS; offset++)
87 if (si->overlay.myBuffer[offset].buffer == NULL) break;
90 LOG(4,("Overlay: Allocate_buffer offset = %d\n",offset));
92 if (offset < MAXBUFFERS)
99 si->overlay.myBuffer[offset].width = ((width + 0x0007) & ~0x0007);
100 si->overlay.myBuffer[offset]
313 int offset = 0; local
353 int offset = 0; local
506 int offset = 0; /* used for buffer index */ local
[all...]
/haiku/src/kits/debugger/dwarf/
H A DBaseUnit.cpp45 BaseUnit::AddDebugInfoEntry(DebugInfoEntry* entry, off_t offset) argument
49 if (!fEntryOffsets.Add(offset)) {
59 BaseUnit::ContainsAbsoluteOffset(off_t offset) const
61 return fHeaderOffset <= offset && fHeaderOffset + fTotalSize > offset;
81 off_t& offset) const
84 offset = fEntryOffsets[index];
89 BaseUnit::EntryForOffset(off_t offset) const
99 if (fEntryOffsets[mid] > offset)
105 return fEntryOffsets[lower] == offset
[all...]
/haiku/headers/libs/libfdt/
H A Dlibfdt_internal.h65 int _fdt_check_node_offset(const void *fdt, int offset);
66 int _fdt_check_prop_offset(const void *fdt, int offset);
70 static inline const void *_fdt_offset_ptr(const void *fdt, int offset) argument
72 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset;
75 static inline void *_fdt_offset_ptr_w(void *fdt, int offset) argument
77 return (void *)(uintptr_t)_fdt_offset_ptr(fdt, offset);
/haiku/src/bin/debug/strace/
H A DContext.cpp35 int offset = len - min_c(len, bytes * 2); local
38 if (offset <= 2) {
39 offset = 0;
41 tmp[--offset] = 'x';
42 tmp[--offset] = '0';
45 return tmp + offset;
/haiku/headers/libs/x86emu/x86emu/
H A Ddecode.h63 u8 fetch_data_byte(uint offset);
64 u8 fetch_data_byte_abs(uint segment, uint offset);
65 u16 fetch_data_word(uint offset);
66 u16 fetch_data_word_abs(uint segment, uint offset);
67 u32 fetch_data_long(uint offset);
68 u32 fetch_data_long_abs(uint segment, uint offset);
69 void store_data_byte(uint offset, u8 val);
70 void store_data_byte_abs(uint segment, uint offset, u8 val);
71 void store_data_word(uint offset, u16 val);
72 void store_data_word_abs(uint segment, uint offset, u1
[all...]

Completed in 221 milliseconds

1234567891011>>