Searched refs:offset (Results 201 - 225 of 1236) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/ether/etherpci/
H A Detherpci.c166 #define ether_inb(device, offset) (*((volatile uint8*)(device->reg_base + (offset)))); __eieio()
167 #define ether_inw(device, offset) (*((volatile uint16*)(device->reg_base + (offset)))); __eieio()
168 #define ether_outb(device, offset, value) (*((volatile uint8 *)(device->reg_base + (offset))) = (value)); __eieio()
169 #define ether_outw(device, offset, value) (*((volatile uint16*)(device->reg_base + (offset))) = (value)); __eieio()
173 #define ether_outb(device, offset, value) (*gPCIModInfo->write_io_8)((device->reg_base + (offset)), (valu
663 unsigned offset; local
839 ringcopy(etherpci_private_t *data, unsigned char *ether_buf, int offset, int len) argument
1027 unsigned offset; local
1066 unsigned offset; local
1187 uint32 base, size, offset; local
[all...]
/haiku/headers/os/package/hpkg/
H A DPackageAttributeValue.h27 uint64 offset; member in union:BPackageKit::BHPKG::BPackageAttributeValue::__anon505::__anon506::__anon507
47 inline void SetToData(uint64 size, uint64 offset);
132 BPackageAttributeValue::SetToData(uint64 size, uint64 offset) argument
135 data.offset = offset;
/haiku/headers/os/package/hpkg/v1/
H A DPackageAttributeValue.h29 uint64 offset; member in union:BPackageKit::BHPKG::V1::BPackageAttributeValue::__anon37::__anon38::__anon39
49 inline void SetToData(uint64 size, uint64 offset);
134 BPackageAttributeValue::SetToData(uint64 size, uint64 offset) argument
137 data.offset = offset;
/haiku/src/kits/shared/
H A DJsonTextWriter.cpp101 off_t offset, size_t length);
105 off_t offset, size_t length);
109 off_t offset, size_t length);
318 off_t offset, size_t length)
320 return fWriter->StreamStringVerbatim(string, offset, length);
333 off_t offset, size_t length)
335 return fWriter->StreamStringEncoded(string, offset, length);
349 const char* string, off_t offset, size_t length)
351 return fWriter->StreamQuotedEncodedString(string, offset, length);
599 off_t offset, size_
317 StreamStringVerbatim(const char* string, off_t offset, size_t length) argument
332 StreamStringEncoded(const char* string, off_t offset, size_t length) argument
348 StreamQuotedEncodedString( const char* string, off_t offset, size_t length) argument
598 StreamStringVerbatim(const char* string, off_t offset, size_t length) argument
625 StreamStringEncoded(const char* string, off_t offset, size_t length) argument
684 StreamQuotedEncodedString(const char* string, off_t offset, size_t length) argument
[all...]
/haiku/src/system/kernel/disk_device_manager/
H A DUserDataWriter.cpp70 // get a properly aligned offset
71 size_t offset = fAllocatedSize; local
73 offset = (fAllocatedSize + align - 1) / align * align;
76 if (fBuffer && offset + size <= fBufferSize)
77 result = (uint8*)fBuffer + offset;
79 fAllocatedSize = offset + size;
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_nvm.h81 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
82 s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset,
84 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
88 s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset,
90 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DSymlink.cpp82 char* offset = (char*)(DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize())); local
84 memcpy(buffer, offset, lengthToRead);
106 uint32 offset = 0;
114 offset += sizeof(SymlinkHeader);
122 memcpy(buffer, fSymlinkBuffer + offset, lengthToRead);
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_api.h23 void igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value);
39 s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data);
40 s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data);
52 s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
53 s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
H A Digc_phy.c61 * @offset: dummy variable
65 u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG *data)
96 * @offset: dummy variable
100 u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG data)
163 * @offset: register offset to be read
166 * Reads the MDI control register in the PHY at offset and stores the
169 s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data) argument
176 if (offset > MAX_PHY_REG_ADDRESS) {
177 DEBUGOUT1("PHY Address %d is out of range\n", offset);
64 igc_null_read_reg(struct igc_hw IGC_UNUSEDARG *hw, u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG *data) argument
99 igc_null_write_reg(struct igc_hw IGC_UNUSEDARG *hw, u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG data) argument
228 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data) argument
946 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data) argument
980 igc_read_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 *data) argument
[all...]
/haiku/src/kits/debugger/dwarf/
H A DAbbreviationTable.h17 off_t offset; member in struct:AbbreviationTableEntry
21 AbbreviationTableEntry(uint32 code, off_t offset, off_t size) argument
24 offset(offset),
103 AbbreviationTable(off_t offset);
H A DDataReader.h96 void SeekAbsolute(off_t offset) argument
98 if (offset < 0)
99 offset = 0;
100 else if (offset > fInitialSize)
101 offset = fInitialSize;
103 fData += offset - Offset();
104 fSize = fInitialSize - offset;
/haiku/src/tools/anyboot/
H A Danyboot.cpp71 chsAddressFor(uint32_t offset, uint8_t *address, uint32_t sectorsPerTrack,
74 if (offset >= 1024 * sectorsPerTrack * headsPerCylinder) {
87 while (temp * sectorsPerTrack * headsPerCylinder <= offset)
90 offset -= (sectorsPerTrack * headsPerCylinder * cylinders);
93 while (temp * sectorsPerTrack <= offset)
96 sectors = offset - (sectorsPerTrack * heads) + 1;
108 uint32_t offset, uint32_t size)
121 uint32_t partitionOffset = (uint32_t)(offset / kBlockSize);
126 active ? 'b' : '-', offset, offset
107 createPartition(int handle, int index, bool active, uint8_t type, uint32_t offset, uint32_t size) argument
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A DPartitionMapParser.cpp187 PartitionMapParser::_ParseExtended(PrimaryPartition* primary, off_t offset) argument
201 error = _ReadPartitionTable(offset);
237 extended.SetTo(descriptor, offset, primary);
247 nonExtended.SetTo(descriptor, offset, primary);
266 "location: pts: %lld, offset: %lld, size: %lld\n",
284 offset = extended.Offset();
295 PartitionMapParser::_ReadPartitionTable(off_t offset, partition_table* table) argument
299 // check the offset
300 if (offset < 0 || offset
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/
H A DRequestAllocator.cpp95 memcpy((uint8*)fRequest + info.offset, info.data, info.size);
99 "offset: %" B_PRId32 ", size: %" B_PRId32 "\n", info.area,
100 info.offset, info.size));
101 info.target->SetTo(info.area, info.offset, info.size);
206 // get the next free aligned offset in the port buffer
207 int32 offset = (fRequestSize + align - 1) / align * align; local
209 if (fRequestOffset + offset + size <= fPort->GetCapacity()) {
211 fRequestSize = offset + size;
223 info.offset = offset;
[all...]
/haiku/src/apps/icon-o-matic/transformable/
H A DChannelTransform.cpp113 ChannelTransform::TranslateBy(BPoint offset) argument
115 if (offset.x == 0.0 && offset.y == 0.0)
118 fTranslation += offset;
205 ChannelTransform::SetTranslationAndScale(BPoint offset, double xScale, argument
208 if (fTranslation == offset && fXScale == xScale && fYScale == yScale)
211 fTranslation = offset;
257 // the "pivot" is like the offset from world to local
/haiku/src/tests/servers/app/following/
H A Dmain.cpp99 BPoint offset = where - fLastMousePos; local
102 MoveBy(offset.x, offset.y);
106 ResizeBy(offset.x, 0.0);
110 ResizeBy(0.0, offset.y);
114 ResizeBy(offset.x, offset.y);
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapReader.cpp101 uint64 offset = fCompressedHeapSize; local
104 status_t error = ReadFileData(offset, buffer, toRead * 2);
113 offset += toRead * 2;
126 "%" B_PRIu64 ", last chunk offset: %" B_PRIu64 ")\n",
158 uint64 offset = fOffsets[chunkIndex]; local
162 ? fCompressedHeapSize - offset
163 : fOffsets[chunkIndex + 1] - offset;
168 return ReadAndDecompressChunkData(offset, compressedSize, uncompressedSize,
/haiku/headers/os/interface/
H A DTextView.h22 int32 offset; member in struct:text_run
97 void SetText(BFile* file, int32 offset,
105 void Insert(int32 offset, const char* text,
114 void GetText(int32 offset, int32 length,
116 uint8 ByteAt(int32 offset) const;
142 void GetFontAndColor(int32 offset, BFont* _font,
153 int32 LineAt(int32 offset) const;
155 BPoint PointAt(int32 offset,
160 virtual void FindWord(int32 offset, int32* _fromOffset,
163 virtual bool CanEndLine(int32 offset);
[all...]
/haiku/src/system/libroot/posix/glibc/libio/
H A Dstrops.c217 _IO_str_seekoff (fp, offset, dir, mode)
219 _IO_off64_t offset;
248 offset += cur_size;
251 offset += fp->_IO_read_ptr - fp->_IO_read_base;
256 if (offset < 0 || (_IO_ssize_t) offset > cur_size)
258 fp->_IO_read_ptr = fp->_IO_read_base + offset;
260 new_pos = offset;
269 offset += cur_size;
272 offset
[all...]
H A Dwstrops.c214 _IO_wstr_seekoff (fp, offset, dir, mode)
216 _IO_off64_t offset;
246 offset += cur_size;
249 offset += (fp->_wide_data->_IO_read_ptr
255 if (offset < 0 || (_IO_ssize_t) offset > cur_size)
258 + offset);
261 new_pos = offset;
270 offset += cur_size;
273 offset
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfat.cpp101 uint32 offset, value = 0; /* quiet warning */ local
134 offset = cluster * vol->fat_bits / 8;
136 offset / vol->bytes_per_sector;
137 offset %= vol->bytes_per_sector;
154 ASSERT(offset == ((cluster * vol->fat_bits / 8)
158 if (offset == vol->bytes_per_sector - 1) {
177 if (offset == vol->bytes_per_sector - 1)
178 value = block1[offset] + 0x100 * block2[0];
180 value = block1[offset] + 0x100 * block1[offset
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dgpt.cpp48 block_align(partition_data* partition, off_t offset, bool upwards) argument
54 return ((offset + blockSize - 1) / blockSize) * blockSize;
56 return (offset / blockSize) * blockSize;
136 partition->offset + entry.StartBlock() * partition->block_size,
225 off_t newEnd = partition->offset + newSize;
231 if (child->offset + child->size > newEnd)
232 newEnd = child->offset + child->size;
235 newSize = block_align(partition, newEnd - partition->offset, true);
260 if (child->offset + newSize > partition->offset
545 efi_gpt_move(int fd, partition_id partition, off_t offset, disk_job_id job) argument
553 efi_gpt_move_child(int fd, partition_id partitionID, partition_id childID, off_t offset, disk_job_id job) argument
780 efi_gpt_create_child(int fd, partition_id partitionID, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, partition_id* childID) argument
[all...]
/haiku/src/servers/app/decorator/
H A DDecorator.cpp667 \param offset BPoint containing the offsets
670 Decorator::MoveBy(BPoint offset) argument
675 fFootprint.OffsetBy(offset.x, offset.y);
677 _MoveBy(offset);
678 _MoveOutlineBy(offset);
689 \param x x offset
690 \param y y offset
700 Decorator::ResizeBy(BPoint offset, BRegion* dirty) argument
704 _ResizeBy(offset, dirt
1102 _MoveBy(BPoint offset) argument
1120 _MoveOutlineBy(BPoint offset) argument
1132 _ResizeOutlineBy(BPoint offset, BRegion* dirty) argument
1151 BPoint offset = delta - fOutlinesDelta; local
[all...]
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp888 size_t offset; local
1014 offset = (size - 1 - i) * 4;
1017 data[offset + 0] = buttonColorLight2.blue;
1018 data[offset + 1] = buttonColorLight2.green;
1019 data[offset + 2] = buttonColorLight2.red;
1022 data[offset + 0] = buttonColorLight1.blue;
1023 data[offset + 1] = buttonColorLight1.green;
1024 data[offset + 2] = buttonColorLight1.red;
1036 offset = (size - 1 - i) * 4;
1039 data[offset
[all...]
/haiku/src/system/boot/loader/file_systems/fat/
H A DStream.cpp82 off_t offset = 0LL; local
85 runs[i].offset = offset;
97 offset += runs[i].len;
212 Stream::FindBlock(off_t pos, off_t &block, off_t &offset) argument
220 offset = fVolume.ClusterToOffset(cluster);
221 offset += (pos %= fVolume.ClusterSize());
223 // convert to block + offset
224 block = fVolume.ToBlock(offset);
225 offset
261 off_t offset; local
371 off_t offset = fVolume.ClusterToOffset(cluster) + inClusterOffset; local
[all...]

Completed in 135 milliseconds

1234567891011>>