Searched refs:offset (Results 276 - 300 of 1654) sorted by relevance

<<11121314151617181920>>

/haiku-fatelf/src/add-ons/translators/jpeg/
H A Dexif_parser.cpp195 parse_tiff_tag(TReadHelper& read, tiff_tag& tag, off_t& offset) argument
201 offset = read.Position() + 4;
237 parse_tiff_directory(TReadHelper& read, set<off_t>& visited, off_t offset, argument
240 if (visited.find(offset) != visited.end()) {
245 read.Seek(offset, SEEK_SET);
246 visited.insert(offset);
297 int32 offset; local
298 read(offset);
299 if (offset == 0)
302 status_t status = parse_tiff_directory(read, visited, offset, targe
[all...]
/haiku-fatelf/src/apps/terminal/
H A DHistoryBuffer.cpp86 ? attributesRun->offset : INT_MAX;
93 nextAttributesAt = attributesRun->offset
168 attributesRun->length = i - attributesRun->offset;
177 attributesRun->offset = i;
187 attributesRun->length = line->length - attributesRun->offset;
254 int32 offset = (uint8*)line->AttributesRuns() - fBuffer; local
255 if (offset < fBufferAllocationOffset)
266 int32 offset = (uint8*)line->AttributesRuns() - fBuffer; local
267 if (offset + line->BufferSize() <= fBufferAllocationOffset
268 || offset >
[all...]
/haiku-fatelf/src/kits/interface/textview_support/
H A DTextGapBuffer.cpp251 TextGapBuffer::GetString(int32 offset, int32 length, char* buffer) argument
258 if (offset < 0 || offset > (textLen - 1) || length < 1) {
263 length = ((offset + length) > textLen) ? textLen - offset : length;
265 bool isStartBeforeGap = (offset < fGapIndex);
266 bool isEndBeforeGap = ((offset + length - 1) < fGapIndex);
269 char* source = fBuffer + offset;
279 int32 beforeLen = fGapIndex - offset;
282 memcpy(buffer, fBuffer + offset, beforeLe
[all...]
H A DStyleBuffer.h26 long offset; // byte offset of first character of run member in struct:STEStyleRun
46 long offset; // byte offset of first character of run member in struct:STEStyleRunDesc
59 int32 OffsetToRun(int32 offset) const;
105 void SyncNullStyle(int32 offset);
107 const rgb_color *inColor, int32 offset = 0);
133 int32 OffsetToRun(int32 offset) const;
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diofopncook.c38 static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
70 _IO_cookie_seek (fp, offset, dir)
72 _IO_off64_t offset;
78 || (cfile->__io_functions.seek (cfile->__cookie, &offset, dir)
80 || offset == (_IO_off64_t) -1)
81 ? _IO_pos_BAD : offset);
192 static _IO_off64_t _IO_old_cookie_seek (_IO_FILE *fp, _IO_off64_t offset,
198 _IO_old_cookie_seek (fp, offset, dir)
200 _IO_off64_t offset;
211 ret = seek (cfile->__cookie, offset, di
[all...]
/haiku-fatelf/headers/private/kernel/vm/
H A DVMCache.h110 vm_page* LookupPage(off_t offset);
111 void InsertPage(vm_page* page, off_t offset);
147 virtual bool HasPage(off_t offset);
149 virtual status_t Read(off_t offset, const generic_io_vec *vecs,
152 virtual status_t Write(off_t offset, const generic_io_vec *vecs,
155 virtual status_t WriteAsync(off_t offset,
159 virtual bool CanWritePage(off_t offset);
167 off_t offset);
175 virtual bool DebugHasPage(off_t offset);
176 vm_page* DebugLookupPage(off_t offset);
[all...]
/haiku-fatelf/src/add-ons/kernel/network/stack/
H A Dsimple_net_buffer.cpp82 destination->offset = source->offset;
111 buffer->offset = 0;
170 Split the buffer at offset, the header data
175 split_buffer(net_buffer *_from, uint32 offset) argument
179 if (offset > from->size)
187 size_t remaining = from->size - offset;
194 memcpy(tailData, from->data + offset, remaining);
197 buffer->data = (uint8*)realloc(from->data, offset);
198 buffer->size = offset;
251 write_data(net_buffer *_buffer, size_t offset, const void *data, size_t size) argument
267 read_data(net_buffer *_buffer, size_t offset, void *data, size_t size) argument
414 append_cloned_data(net_buffer *_buffer, net_buffer *_source, uint32 offset, size_t bytes) argument
593 direct_access(net_buffer *_buffer, uint32 offset, size_t size, void **_contiguousBuffer) argument
607 checksum_data(net_buffer *_buffer, uint32 offset, size_t size, bool finalize) argument
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/radeon/
H A DCC.cpp53 for (int offset = C_RADEON_CC_BLANK_START; offset < C_RADEON_CC_BLANK_START + 4 * C_RADEON_CC_BIT_DURATION; offset++) {
54 if (low > buffer[offset])
55 low = buffer[offset];
56 if (high < buffer[offset])
57 high = buffer[offset];
81 for (int offset = start + C_RADEON_CC_BIT_DURATION / 2; offset < end; offset
503 const int offset = code & 0x000f; local
[all...]
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs_request_io.cpp75 virtual status_t IO(off_t offset, void* buffer, size_t* length) = 0;
85 status_t (*doIO)(void* cookie, off_t offset, void* buffer,
95 virtual status_t IO(off_t offset, void* buffer, size_t* length) argument
97 return fDoIO(fCookie, offset, buffer, length);
116 virtual status_t IO(off_t offset, void* buffer, size_t* length) argument
123 return FS_CALL(fVnode, write_pages, fCookie, offset, &vec, 1,
127 return FS_CALL(fVnode, read_pages, fCookie, offset, &vec, 1, length);
169 off_t vecOffset = vecs[i].offset;
171 TRACE_RIO("[%ld] vec %lu offset: %lld, length: %lld\n",
175 TRACE_RIO("[%ld] creating subrequest: offset
84 CallbackIO(bool write, status_t (*doIO)(void* cookie, off_t offset, void* buffer, size_t* length), void* cookie) argument
261 off_t offset = request->Offset(); local
320 off_t offset = request->Offset(); local
375 vfs_synchronous_io(io_request* request, status_t (*doIO)(void* cookie, off_t offset, void* buffer, size_t* length), void* cookie) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_i210.c42 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
46 static s32 e1000_read_nvm_i211(struct e1000_hw *hw, u16 offset, u16 words,
219 * @offset: offset of word in the Shadow Ram to read
226 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, argument
241 status = e1000_read_nvm_eerd(hw, offset, count,
258 * @offset: offset within the Shadow RAM to be written to
262 * Writes data to Shadow RAM at offset using EEWR register.
271 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u1 argument
312 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
367 e1000_read_nvm_i211(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
[all...]
H A De1000_nvm.c437 * @offset: offset of word in the EEPROM to read
443 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
454 * A check for invalid values: offset too large, too many words,
457 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
474 if ((nvm->address_bits == 8) && (offset >= 128))
479 e1000_shift_out_eec_bits(hw, (u16)(offset*2), nvm->address_bits);
484 * us to read the whole NVM from any offset
501 * @offset
507 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
566 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
614 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
698 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
791 u16 offset; local
[all...]
/haiku-fatelf/headers/private/storage/
H A DDiskSystemAddOn.h90 virtual status_t ValidateMove(off_t* offset);
93 off_t* offset);
94 virtual status_t Move(off_t offset);
96 off_t offset);
125 virtual status_t ValidateCreateChild(off_t* offset,
128 virtual status_t CreateChild(off_t offset, off_t size,
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/
H A Dpci_device.cpp69 pci_device_read_pci_config(pci_device* device, uint8 offset, uint8 size) argument
71 return gPCI->ReadConfig(device->device, offset, size);
76 pci_device_write_pci_config(pci_device* device, uint8 offset, uint8 size, argument
79 gPCI->WriteConfig(device->device, offset, size, value);
91 pci_device_find_capability(pci_device* device, uint8 capID, uint8* offset) argument
93 return gPCI->FindCapability(device->device, capID, offset);
/haiku-fatelf/src/add-ons/kernel/file_systems/exfat/
H A DVolume.h19 uint32 offset; member in struct:node_key
48 if (key.offset == node->key.offset)
50 return key.offset < node->key.offset ? -1 : 1;
137 ino_t GetIno(cluster_t cluster, uint32 offset, ino_t parent);
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DBlock.h71 static inline Block *MakeBlock(void *address, ssize_t offset,
93 // static inline TFreeBlock *MakeFreeBlock(void *address, ssize_t offset,
116 inline void *GetDataAt(ssize_t offset) const;
136 size_t offset = (block ? (char*)this - (char*)block : 0); local
137 fBackSkip = (fBackSkip & FREE_FLAG) | offset;
268 Block::MakeBlock(void *address, ssize_t offset, Block *previous, size_t size,
271 Block *block = (Block*)((char*)address + offset);
293 TFreeBlock::MakeFreeBlock(void *address, ssize_t offset, Block *previous,
297 TFreeBlock *block = (TFreeBlock*)((char*)address + offset);
310 BlockReference::GetDataAt(ssize_t offset) cons
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dfile_cache.cpp150 file_cache_read(void *cacheRef, void *cookie, off_t offset, void *bufferBase, argument
153 PRINT(("file_cache_read(%p, %p, %lld, %p, %lu)\n", cacheRef, cookie, offset,
159 fileCache->vnodeID, cookie, offset, bufferBase, _size);
164 file_cache_write(void *cacheRef, void *cookie, off_t offset, const void *buffer, argument
168 offset, buffer, *_size));
173 fileCache->vnodeID, cookie, offset, buffer, _size);
/haiku-fatelf/src/apps/cortex/TipManager/
H A DTipManager.cpp167 BPoint offset /*=s_useDefaultOffset*/,
175 rect, text, view, offsetMode, offset, flags);
183 BPoint offset /*=s_useDefaultOffset*/,
187 BRect(), text, view, offsetMode, offset, flags);
240 BPoint offset /*=s_useDefaultOffset*/,
248 screenRect, text, offsetMode, offset, flags);
424 // BPoint offset = (entry.offset == s_useDefaultOffset) ?
426 // entry.offset;
431 // p = entryFrame.RightTop() + offset;
[all...]
/haiku-fatelf/src/apps/diskprobe/
H A DDataEditor.h47 status_t Replace(off_t offset, const uint8 *data, size_t length);
48 status_t Remove(off_t offset, off_t length);
49 status_t Insert(off_t offset, const uint8 *data, size_t length);
52 status_t MoveTo(off_t offset);
63 status_t SetViewOffset(off_t offset);
92 status_t SetViewOffset(off_t offset, bool sendNotices);
/haiku-fatelf/src/bin/gdb/gdb/
H A Di386-nto-tdep.c45 /* Map a GDB register number to an offset in the reg structure. */
62 /* Given a gdb regno, return the offset into Neutrino's register structure
78 int offset = nto_reg_offset (regno); local
79 if (offset == -1)
82 regcache_raw_supply (current_regcache, regno, gpregs + offset);
177 int offset = nto_reg_offset (regno); local
178 if (offset != -1)
179 regcache_raw_collect (current_regcache, regno, data + offset);
/haiku-fatelf/src/kits/storage/disk_device/
H A DDiskSystemAddOn.cpp216 BPartitionHandle::ValidateMove(off_t* offset) argument
227 off_t* offset)
235 BPartitionHandle::Move(off_t offset) argument
245 BPartitionHandle::MoveChild(BMutablePartition* child, off_t offset) argument
354 BPartitionHandle::ValidateCreateChild(off_t* offset, off_t* size, argument
363 BPartitionHandle::CreateChild(off_t offset, off_t size, const char* type, argument
226 ValidateMoveChild(const BMutablePartition* child, off_t* offset) argument
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_aufile.c160 int n, offset; local
170 for (offset = 0; offset < dev->buf_size; offset += n) {
172 n = fwrite((char*) dev->buf + offset, 1, dev->buf_size - offset, dev->file);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DBlock.h71 static inline Block *MakeBlock(void *address, ssize_t offset,
93 // static inline TFreeBlock *MakeFreeBlock(void *address, ssize_t offset,
116 inline void *GetDataAt(ssize_t offset) const;
136 size_t offset = (block ? (char*)this - (char*)block : 0); local
137 fBackSkip = fBackSkip & FREE_FLAG | offset;
268 Block::MakeBlock(void *address, ssize_t offset, Block *previous, size_t size,
271 Block *block = (Block*)((char*)address + offset);
293 TFreeBlock::MakeFreeBlock(void *address, ssize_t offset, Block *previous,
297 TFreeBlock *block = (TFreeBlock*)((char*)address + offset);
310 BlockReference::GetDataAt(ssize_t offset) cons
[all...]
/haiku-fatelf/src/tools/anyboot/
H A Danyboot.cpp54 chsAddressFor(uint32_t offset, uint8_t *address, uint32_t sectorsPerTrack, argument
57 if (offset >= 1024 * sectorsPerTrack * headsPerCylinder) {
70 while (temp * sectorsPerTrack * headsPerCylinder <= offset)
73 offset -= (sectorsPerTrack * headsPerCylinder * cylinders);
76 while (temp * sectorsPerTrack <= offset)
79 sectors = offset - (sectorsPerTrack * heads) + 1;
/haiku-fatelf/src/servers/app/decorator/
H A DDefaultDecorator.cpp484 float offset; local
487 _GetButtonSizeAndOffset(tabRect, &offset, &size, &inset);
492 tab->minTabSize += offset + size;
494 tab->minTabSize += offset + size;
1129 DefaultDecorator::_MoveBy(BPoint offset) argument
1131 STRACE(("DefaultDecorator: Move By (%.1f, %.1f)\n", offset.x, offset.y));
1136 tab->zoomRect.OffsetBy(offset);
1137 tab->closeRect.OffsetBy(offset);
1138 tab->tabRect.OffsetBy(offset);
1154 _ResizeBy(BPoint offset, BRegion* dirty) argument
1659 float offset; local
[all...]
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp24 CacheableNode(off_t offset,bplustree_node *node) argument
26 fOffset(offset),
37 virtual bool Equals(off_t offset) argument
39 return offset == fOffset;
55 NodeCache::NewCacheable(off_t offset) argument
57 return new CacheableNode(offset,fTree->Node(offset,false));
62 NodeCache::Get(off_t offset) argument
64 CacheableNode *node = (CacheableNode *)Cache<off_t>::Get(offset);
218 off_t offset; member in struct:validate_info
319 SetCurrentNode(bplustree_node *node,off_t offset,int8 to) argument
456 off_t offset = node->Values()[fCurrentKey]; local
1160 CountDuplicates(off_t offset,bool isFragment) const argument
1175 DuplicateAt(off_t offset,bool isFragment,int8 index) const argument
[all...]

Completed in 372 milliseconds

<<11121314151617181920>>