/haiku/src/add-ons/disk_systems/intel/ |
H A D | IntelDiskSystem.h | 12 sector_align(off_t offset, uint32 blockSize) argument 14 return offset / blockSize * blockSize;
|
/haiku/src/system/libroot/posix/stdio/ |
H A D | _fseek.c | 9 _fseek(FILE *stream, fpos_t offset, int seekType) argument 11 return fseeko(stream, offset, seekType);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_eeprom.c | 33 * Read 16 bits of data from offset into *data 38 int i,offset; local 43 for (i=0,offset=2*off; i<2; i++,offset++) { 44 data[i] = eepromAddr[offset];
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | IORequestInfo.h | 14 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 D | BytePointer.h | 21 void operator+=(size_t offset) { address += offset; } argument 22 char* operator+(size_t offset) const { return address + offset; }
|
H A D | RangeArray.h | 19 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 D | agg_bitset_iterator.h | 27 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 D | fseek.c | 32 fseek (fp, offset, whence) 34 long int offset; 41 result = _IO_fseek (fp, offset, whence);
|
H A D | fseeko.c | 32 fseeko (fp, offset, whence) 34 off_t offset; 41 result = _IO_fseek (fp, offset, whence);
|
H A D | fseeko64.c | 33 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 D | cx23882.h | 55 #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 D | MarkupParser.cpp | 133 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 D | AreaSupport.cpp | 8 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 D | Request.cpp | 12 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 D | Overlay.c | 70 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 D | DataReader.cpp | 43 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/libs/libfdt/ |
H A D | fdt.c | 143 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument 145 unsigned int uoffset = offset; 146 unsigned int absoffset = offset + fdt_off_dt_struct(fdt); 148 if (offset < 0) 159 || ((offset + len) > fdt_size_dt_struct(fdt))) 162 return fdt_offset_ptr_(fdt, offset); 169 int offset = startoffset; local 173 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE); 177 offset += FDT_TAGSIZE; 184 p = fdt_offset_ptr(fdt, offset 219 fdt_check_node_offset_(const void *fdt, int offset) argument 231 fdt_check_prop_offset_(const void *fdt, int offset) argument 243 fdt_next_node(const void *fdt, int offset, int *depth) argument 283 fdt_first_subnode(const void *fdt, int offset) argument 294 fdt_next_subnode(const void *fdt, int offset) argument [all...] |
H A D | fdt_ro.c | 13 static int fdt_nodename_eq_(const void *fdt, int offset, argument 17 const char *p = fdt_get_name(fdt, offset, &olen); 117 int offset = -1; local 122 offset = fdt_next_node(fdt, offset, NULL); 123 if (offset < 0) { 124 if (offset == -FDT_ERR_NOTFOUND) 127 return offset; 130 value = fdt_get_phandle(fdt, offset); 162 unsigned int offset local 201 nextprop_(const void *fdt, int offset) argument 225 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) argument 254 int offset = 0; local 340 int offset; local 348 fdt_next_property_offset(const void *fdt, int offset) argument 356 fdt_get_property_by_offset_(const void *fdt, int offset, int *lenp) argument 378 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument 394 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) argument 425 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument 469 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument 545 int offset, depth, namelen; local 597 int offset, depth; local 658 int offset; local 683 int offset; local 839 int offset, err; local [all...] |
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/ |
H A D | Scrollable.cpp | 75 // 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/system/libroot/posix/glibc/locale/ |
H A D | lc-ctype.c | 40 #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_global_locale.__locales[LC_CTYPE]->values[offset + cnt].string; 52 offset = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_OFFSET); 54 __ctype32_wctrans[cnt] = _nl_global_locale.__locales[LC_CTYPE]->values[offset + cnt].string;
|
/haiku/src/add-ons/accelerants/via/ |
H A D | Overlay.c | 72 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 D | BaseUnit.cpp | 46 BaseUnit::AddDebugInfoEntry(DebugInfoEntry* entry, off_t offset) argument 50 if (!fEntryOffsets.Add(offset)) { 60 BaseUnit::ContainsAbsoluteOffset(off_t offset) const 62 return fHeaderOffset <= offset && fHeaderOffset + fTotalSize > offset; 82 off_t& offset) const 85 offset = fEntryOffsets[index]; 90 BaseUnit::EntryForOffset(off_t offset) const 100 if (fEntryOffsets[mid] > offset) 106 return fEntryOffsets[lower] == offset [all...] |
H A D | CfaRule.h | 48 inline void SetToLocationOffset(int64 offset); 49 inline void SetToValueOffset(int64 offset); 73 { return fRegisterOffset.offset; } 79 inline void SetToRegisterOffset(uint32 reg, uint64 offset); 83 inline void SetOffset(uint64 offset); 89 uint64 offset; member in struct:CfaCfaRule::__anon37::__anon38 122 CfaRule::SetToLocationOffset(int64 offset) argument 125 fOffset = offset; 130 CfaRule::SetToValueOffset(int64 offset) argument 133 fOffset = offset; 181 SetToRegisterOffset(uint32 reg, uint64 offset) argument 206 SetOffset(uint64 offset) argument [all...] |
/haiku/headers/libs/x86emu/x86emu/ |
H A D | decode.h | 63 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...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | file_map_test.cpp | 26 Map& Add(off_t offset, off_t length, off_t diskOffset); 33 status_t GetFileMap(off_t offset, off_t length, file_io_vec* vecs, 39 int32 _IndexFor(off_t offset); 94 Map::Add(off_t offset, off_t length, off_t diskOffset) argument 96 _Verbose(" Add(): offset %lld, length %lld, diskOffset %lld", offset, 100 fOffsets[fCount] = offset; 101 fVecs[fCount].offset = diskOffset; 149 for (off_t offset = 0; offset < fSiz 181 GetFileMap(off_t offset, off_t length, file_io_vec* vecs, size_t* _vecCount) argument 270 _IndexFor(off_t offset) argument 285 vfs_get_file_map(struct vnode* vnode, off_t offset, uint32 length, file_io_vec* vecs, size_t* _vecCount) argument [all...] |