Searched refs:offset (Results 151 - 175 of 1654) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/boot/loader/file_systems/fat/
H A Dfatfs.cpp31 off_t offset = (((partitionSize / blockSize) - 1 - reservedBlocks) / 2) + reservedBlocks;
34 if (read_pos(fDevice, offset * blockSize, buffer, blockSize) < B_OK)
/haiku-fatelf/src/system/boot/loader/
H A Dpager.h17 virtual size_t Read(size_t offset, void* buffer,
/haiku-fatelf/src/system/kernel/arch/arm/
H A Darch_real_time_clock.cpp38 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset) argument
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/
H A DDirectoryIterator.cpp51 off_t offset = fPosition; local
57 error = Parent()->Read(offset, entry, &entryLength, &block);
60 offset += entry->total_length();
76 fPosition = offset;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DDataContainer.h45 virtual status_t ReadAt(off_t offset, void *buffer, size_t size,
47 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
65 inline void *_GetBlockDataAt(int32 index, size_t offset, size_t size);
67 void _ClearArea(off_t offset, off_t size);
H A DFile.cpp22 File::ReadAt(off_t offset, void *buffer, size_t size, size_t *bytesRead) argument
24 status_t error = DataContainer::ReadAt(offset, buffer, size, bytesRead);
31 File::WriteAt(off_t offset, const void *buffer, size_t size, argument
35 status_t error = DataContainer::WriteAt(offset, buffer, size,
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.h26 virtual bool HasPage(off_t offset);
30 virtual status_t Read(off_t offset, const iovec* vecs,
33 virtual status_t Write(off_t offset, const iovec* vecs,
38 off_t offset);
H A DVMAnonymousCache.h45 virtual bool HasPage(off_t offset);
46 virtual bool DebugHasPage(off_t offset);
50 virtual status_t Read(off_t offset, const generic_io_vec* vecs,
53 virtual status_t Write(off_t offset, const generic_io_vec* vecs,
56 virtual status_t WriteAsync(off_t offset,
60 virtual bool CanWritePage(off_t offset);
65 off_t offset);
/haiku-fatelf/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp79 size_t offset; // the net_buffer-wide offset of this node member in struct:data_node
163 uint32 offset, size_t bytes);
164 static status_t read_data(net_buffer* _buffer, size_t offset, void* data,
293 Split(net_buffer* buffer, uint32 offset, net_buffer* newBuffer) argument
297 fOffset(offset)
304 out.Print("net buffer split: buffer: %p, offset: %lu "
340 AppendCloned(net_buffer* buffer, net_buffer* source, uint32 offset, argument
345 fOffset(offset),
354 "offset
450 Read(net_buffer* buffer, uint32 offset, void* data, size_t size) argument
475 Write(net_buffer* buffer, uint32 offset, const void* data, size_t size) argument
1013 get_node_at_offset(net_buffer_private* buffer, size_t offset) argument
1334 split_buffer(net_buffer* from, uint32 offset) argument
1464 write_data(net_buffer* _buffer, size_t offset, const void* data, size_t size) argument
1511 read_data(net_buffer* _buffer, size_t offset, void* data, size_t size) argument
1619 size_t offset = 0; local
1941 append_cloned_data(net_buffer* _buffer, net_buffer* _source, uint32 offset, size_t bytes) argument
2109 restore_header(net_buffer* _buffer, uint32 offset, void* data, size_t bytes) argument
2144 append_restored_header(net_buffer* buffer, net_buffer* _source, uint32 offset, size_t bytes) argument
2183 direct_access(net_buffer* _buffer, uint32 offset, size_t size, void** _contiguousBuffer) argument
2212 checksum_data(net_buffer* _buffer, uint32 offset, size_t size, bool finalize) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/ati/
H A Drage128_init.cpp132 uint32 offset; local
147 offset = 0; // 128-bit SDR SGRAM 1:1
150 offset = 1; // 64-bit SDR SGRAM 1:1
155 offset = 2; // 64-bit SDR SGRAM 2:1
158 offset = 3; // 64-bit DDR SGRAM
161 offset = 1; // 64-bit SDR SGRAM 1:1
164 si.r128MemSpec = sRAMSpecs[offset];
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-lmp.c369 int offset,subobj_type,subobj_len,total_subobj_len; local
587 offset = 12;
589 subobj_type = EXTRACT_16BITS(obj_tptr+offset)>>8;
590 subobj_len = EXTRACT_16BITS(obj_tptr+offset)&0x00FF;
602 EXTRACT_16BITS(obj_tptr+offset+2)>>8),
603 EXTRACT_16BITS(obj_tptr+offset+2)>>8);
607 EXTRACT_16BITS(obj_tptr+offset+2)&0x00FF),
608 EXTRACT_16BITS(obj_tptr+offset+2)&0x00FF);
609 bw.i = EXTRACT_32BITS(obj_tptr+offset+4);
612 bw.i = EXTRACT_32BITS(obj_tptr+offset
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DUnpackingAttributeCookie.cpp32 off_t offset, void* buffer, size_t* bufferSize)
42 // check the offset
43 if (offset < 0 || (uint64)offset > data.UncompressedSize())
48 data.UncompressedSize() - offset);
52 status_t error = reader->ReadData(offset, buffer, toRead);
109 UnpackingAttributeCookie::ReadAttribute(off_t offset, void* buffer, argument
112 return ReadAttribute(fPackageNode, fAttribute, offset, buffer, bufferSize);
128 PackageNodeAttribute* attribute, off_t offset, void* buffer,
135 return read_package_data(data, &dataReader, offset, buffe
31 read_package_data(const BPackageData& data, BDataReader* dataReader, off_t offset, void* buffer, size_t* bufferSize) argument
127 ReadAttribute(PackageNode* packageNode, PackageNodeAttribute* attribute, off_t offset, void* buffer, size_t* bufferSize) argument
[all...]
/haiku-fatelf/src/add-ons/translators/wonderbrush/
H A DWonderBrushView.cpp136 BPoint offset(xbold, ybold);
139 DrawString(text, offset);
146 offset.y += yplain;
154 DrawString(detail, offset);
156 offset.y += 2 * ybold;
159 DrawString(text, offset);
160 offset.y += ybold;
162 DrawString(kAuthor, offset);
163 offset.y += 2 * ybold;
165 DrawString(kWBICopyright, offset);
[all...]
/haiku-fatelf/src/servers/input/
H A DBottomlineWindow.cpp92 int32 offset = 0; local
95 while (offset < length) {
104 BString bytes(string + offset, nextOffset - offset);
110 offset = nextOffset;
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_nvm.h50 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
51 s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset,
53 s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
57 s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset,
59 s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
/haiku-fatelf/src/add-ons/disk_systems/intel/
H A DPartitionMapAddOn.cpp363 // check offset and size
364 off_t offset = sector_align(*_offset, Partition()->BlockSize());
367 off_t end = offset + size;
378 if ((spaceOffset >= offset && spaceOffset < end)
379 || (offset >= spaceOffset && offset < spaceEnd)) {
385 if (offset < spaceOffset)
388 distance = spaceEnd - offset;
407 if (offset < spaceOffset) {
408 offset
441 CreateChild(off_t offset, off_t size, const char* typeString, const char* name, const char* parameters, BMutablePartition** _child) argument
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKit/
H A DFinePix.cpp141 int offset = 0; local
148 ret = bulk_in->BulkTransfer(&frame[offset], MAX_BUFFER_SIZE);
151 frame[offset+0], frame[offset+1],frame[offset+2], frame[offset+3],
152 frame[offset+4], frame[offset+5],frame[offset+6], frame[offset
[all...]
/haiku-fatelf/src/bin/gdb/opcodes/
H A Darm-dis.c248 int offset = given & 0xfff;
255 offset = - offset;
258 func (stream, ", #%d]", offset);
260 offset += pc + 8;
272 func (stream, "], #%d", offset);
274 /* ie ignore the offset. */
275 offset = pc + 8;
279 info->print_address_func (offset, info);
289 int offset
246 int offset = given & 0xfff; local
287 int offset = given & 0xfff; local
308 int offset = given & 0xfff; local
331 int offset = ((given & 0xf00) >> 4) | (given & 0xf); local
351 int offset = ((given & 0xf00) >> 4) | (given & 0xf); local
375 int offset = ((given & 0xf00) >> 4) | (given & 0xf); local
451 int offset = given & 0xff; local
463 int offset = given & 0xff; local
483 bfd_vma offset = 0; local
881 int offset = given & 0xff; local
948 long offset; local
[all...]
/haiku-fatelf/src/kits/interface/textview_support/
H A DStyleBuffer.cpp42 _BStyleRunDescBuffer_::OffsetToRun(int32 offset) const
53 if (offset >= fBuffer[index].offset) {
57 if (offset < fBuffer[index + 1].offset)
74 fBuffer[i].offset += delta;
209 BTextView::StyleBuffer::SyncNullStyle(int32 offset) argument
214 int32 index = OffsetToRun(offset);
223 const rgb_color *inColor, int32 offset)
229 int32 index = OffsetToRun(offset
222 SetNullStyle(uint32 inMode, const BFont *inFont, const rgb_color *inColor, int32 offset) argument
286 int32 offset = fromOffset; local
[all...]
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfseek.c51 * Seek the given file to the given offset.
55 fseeko(fp, offset, whence)
57 off_t offset;
86 * In order to seek relative to the current stream offset,
87 * we have to first find the current stream offset a la
90 __sflush(fp); /* may adjust seek offset on append stream */
105 offset += curoff;
149 target = offset;
153 target = st.st_size + offset;
172 * offset backward
[all...]
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DDisk.cpp28 off_t offset; member in struct:bfs_disk_info
257 for (off_t offset = start; offset < stop; offset += blockSize)
259 if (((offset-start) % (blockSize * 100)) == 0)
260 printf(" %12Ld, %.2f GB %s1A\n",offset,1.0 * offset / (1024*1024*1024),escape);
262 ssize_t bytes = fBufferedFile->ReadAt(offset, buffer, blockSize + 1024);
277 printf("\n(%ld) *** BFS superblock found at: %Ld\n",superBlocks.CountItems() + 1,offset);
286 info->offset
423 off_t offset = 8LL * 65536 * BlockSize(); local
483 off_t offset = 1024 + divide_roundup(fSize / 1024,8 * 1024) * 1024; local
546 off_t offset = *_offset; local
633 off_t offset = (fLogStart + LogSize()) * BlockSize(); local
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/m68k/atari/
H A Dpci_atari.cpp82 uint8 bus, uint8 slot, uint8 function, uint8 offset);
85 uint8 function, uint8 offset, uint8 size, uint32 *value);
87 uint8 device, uint8 function, uint8 offset, uint8 size,
106 uint8 offset, uint8 size, uint32 *value)
122 panic("invalid pci config size %d for offset %d", size, offset); \
129 switch (offset) {
149 switch (offset) {
160 switch (offset) {
167 switch (offset) {
105 m68k_atari_read_pci_config(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 *value) argument
185 m68k_atari_write_pci_config(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 value) argument
243 m68k_atari_enable_config(struct m68k_atari_fake_host_bridge *bridge, uint8 bus, uint8 slot, uint8 function, uint8 offset) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/
H A DKey.h57 void SetTo(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, argument
63 u.k_offset_v1.k_offset = h2le((uint32)offset);
66 _SetOffsetAndType(offset, type);
89 void SetOffset(uint64 offset, uint16 version) argument
92 _SetOffsetAndType(offset, _GetType());
94 u.k_offset_v1.k_offset = h2le(offset);
146 void _SetOffsetAndType(uint64 offset, uint32 type) argument
148 u.k_offset_v2.k_offset = offset;
176 VKey(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, argument
180 SetTo(dirID, objectID, offset, typ
198 SetTo(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, uint16 version) argument
216 SetOffset(uint64 offset) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dppcnbsd-tdep.c273 CORE_ADDR offset; local
279 offset = base + 0x18 + 2 * tdep->wordsize;
283 trad_frame_set_reg_addr (this_cache, regnum, offset);
284 offset += tdep->wordsize;
286 trad_frame_set_reg_addr (this_cache, tdep->ppc_lr_regnum, offset);
287 offset += tdep->wordsize;
288 trad_frame_set_reg_addr (this_cache, tdep->ppc_cr_regnum, offset);
289 offset += tdep->wordsize;
290 trad_frame_set_reg_addr (this_cache, tdep->ppc_xer_regnum, offset);
291 offset
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/
H A DKey.h57 void SetTo(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, argument
63 u.k_offset_v1.k_offset = h2le((uint32)offset);
66 _SetOffsetAndType(offset, type);
89 void SetOffset(uint64 offset, uint16 version) argument
92 _SetOffsetAndType(offset, _GetType());
94 u.k_offset_v1.k_offset = h2le(offset);
146 void _SetOffsetAndType(uint64 offset, uint32 type) argument
148 u.k_offset_v2.k_offset = offset;
176 VKey(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, argument
180 SetTo(dirID, objectID, offset, typ
198 SetTo(uint32 dirID, uint32 objectID, uint64 offset, uint32 type, uint16 version) argument
216 SetOffset(uint64 offset) argument
[all...]

Completed in 231 milliseconds

1234567891011>>