/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iofopncook.c | 38 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/src/add-ons/translators/jpeg/ |
H A D | exif_parser.cpp | 196 parse_tiff_tag(TReadHelper& read, tiff_tag& tag, off_t& offset) argument 202 offset = read.Position() + 4; 238 parse_tiff_directory(TReadHelper& read, set<off_t>& visited, off_t offset, argument 241 if (visited.find(offset) != visited.end()) { 246 read.Seek(offset, SEEK_SET); 247 visited.insert(offset); 298 int32 offset; local 299 read(offset); 300 if (offset == 0) 303 status_t status = parse_tiff_directory(read, visited, offset, targe [all...] |
/haiku/src/kits/interface/textview_support/ |
H A D | TextGapBuffer.cpp | 253 TextGapBuffer::GetString(int32 offset, int32 length, char* buffer) 260 if (offset < 0 || offset > (textLen - 1) || length < 1) { 265 length = ((offset + length) > textLen) ? textLen - offset : length; 267 bool isStartBeforeGap = (offset < fGapIndex); 268 bool isEndBeforeGap = ((offset + length - 1) < fGapIndex); 271 char* source = fBuffer + offset; 281 int32 beforeLen = fGapIndex - offset; 284 memcpy(buffer, fBuffer + offset, beforeLe [all...] |
H A D | StyleBuffer.h | 26 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 60 int32 OffsetToRun(int32 offset) const; 108 void SyncNullStyle(int32 offset); 112 int32 offset = 0); 142 int32 OffsetToRun(int32 offset) const;
|
/haiku/src/system/boot/platform/efi/ |
H A D | devices.cpp | 68 off_t offset = pos % BlockSize(); local 71 uint32 numBlocks = (offset + bufferSize + BlockSize() - 1) / BlockSize(); 85 memcpy(buffer, readBuffer + offset, bufferSize); 107 compute_check_sum(Node *device, off_t offset) argument 112 ssize_t bytesRead = device->ReadAt(NULL, offset, buffer, sizeof(buffer)); 169 if ((partition->offset + partition->size) <= device->Size()) 270 off_t offset = get_next_check_sum_offset(i, device->Size()); local 271 identifier.device.unknown.check_sums[i].offset = offset; 273 offset); [all...] |
/haiku/src/kits/package/ |
H A D | PackageInfoParser.cpp | 51 int32 offset = error.pos - packageInfoString.String(); 52 int32 newlinePos = packageInfoString.FindLast('\n', offset - 1); 54 inLineOffset = offset; 56 inLineOffset = offset - newlinePos - 1; 95 int32 offset = error.pos - versionString.String(); 96 fListener->OnError(error.message, 1, offset); 120 int32 offset = error.pos - expressionString.String(); 121 fListener->OnError(error.message, 1, offset); 145 int32 offset = error.pos - expressionString.String(); 146 fListener->OnError(error.message, 1, offset); [all...] |
/haiku/headers/private/kernel/vm/ |
H A D | VMCache.h | 110 vm_page* LookupPage(off_t offset); 111 void InsertPage(vm_page* page, off_t offset); 113 void MovePage(vm_page* page, off_t offset); 135 virtual status_t Adopt(VMCache* source, off_t offset, off_t size, 138 virtual status_t Discard(off_t offset, off_t size); 153 virtual bool HasPage(off_t offset); 155 virtual status_t Read(off_t offset, const generic_io_vec *vecs, 158 virtual status_t Write(off_t offset, const generic_io_vec *vecs, 161 virtual status_t WriteAsync(off_t offset, 165 virtual bool CanWritePage(off_t offset); [all...] |
/haiku/src/system/kernel/device_manager/ |
H A D | IORequest.h | 135 void SetOriginalRange(off_t offset, 138 void SetRange(off_t offset, generic_size_t length); 216 status_t Init(off_t offset, generic_addr_t buffer, 219 status_t Init(off_t offset, const generic_io_vec* vecs, argument 222 { return Init(offset, 0, 0, vecs, count, 224 status_t Init(off_t offset, 236 off_t offset, generic_size_t length, 287 void SetOffset(off_t offset) { fOffset = offset; } argument 300 status_t CopyData(off_t offset, voi [all...] |
/haiku/src/apps/haikudepot/textview/ |
H A D | Paragraph.cpp | 130 Paragraph::Insert(int32 offset, const TextSpan& newSpan) argument 140 if (offset - span.CountChars() < 0) 142 offset -= span.CountChars(); 153 span.Insert(offset, newSpan.Text()); 158 if (offset == 0) { 160 // Try to merge with TextSpan before if offset == 0 && index > 0 174 TextSpan spanBefore = span.SubSpan(0, offset); 175 TextSpan spanAfter = span.SubSpan(offset, span.CountChars() - offset); 185 Paragraph::Remove(int32 offset, int3 argument [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | simple_net_buffer.cpp | 82 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/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.cpp | 53 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/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_nvm.c | 442 * @offset: offset of word in the EEPROM to read 448 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 458 /* A check for invalid values: offset too large, too many words, 461 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 477 if ((nvm->address_bits == 8) && (offset >= 128)) 482 e1000_shift_out_eec_bits(hw, (u16)(offset*2), nvm->address_bits); 486 * us to read the whole NVM from any offset 502 * @offset 508 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 563 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 611 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 691 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 781 u16 offset; local [all...] |
/haiku/headers/private/storage/ |
H A D | DiskSystemAddOn.h | 90 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/src/kits/storage/disk_device/ |
H A D | DiskSystemAddOn.cpp | 191 BPartitionHandle::ValidateMove(off_t* offset) argument 201 off_t* offset) 208 BPartitionHandle::Move(off_t offset) argument 217 BPartitionHandle::MoveChild(BMutablePartition* child, off_t offset) argument 313 BPartitionHandle::ValidateCreateChild(off_t* offset, off_t* size, argument 321 BPartitionHandle::CreateChild(off_t offset, off_t size, const char* type, argument 200 ValidateMoveChild(const BMutablePartition* child, off_t* offset) argument
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Volume.h | 28 uint32 offset; member in struct:node_key 57 if (key.offset == node->key.offset) 59 return key.offset < node->key.offset ? -1 : 1; 146 ino_t GetIno(cluster_t cluster, uint32 offset,
|
/haiku/src/apps/diskprobe/ |
H A D | DataEditor.h | 55 status_t Replace(off_t offset, const uint8* data, 57 status_t Remove(off_t offset, off_t length); 58 status_t Insert(off_t offset, const uint8* data, 62 status_t MoveTo(off_t offset); 73 status_t SetViewOffset(off_t offset); 105 status_t SetViewOffset(off_t offset, bool sendNotices);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | ExtentAllocator.h | 31 uint64 offset; member in struct:CachedExtent 37 static CachedExtent* Create(uint64 offset, uint64 length, 41 uint64 End() const { return offset + length; } 69 if (a < b->offset) 78 int comp = Compare(a->offset, b); 91 status_t FindNext(CachedExtent** chosen, uint64 offset,
|
/haiku/src/apps/cortex/TipManager/ |
H A D | TipManager.cpp | 165 BPoint offset /*=s_useDefaultOffset*/, 173 rect, text, view, offsetMode, offset, flags); 181 BPoint offset /*=s_useDefaultOffset*/, 185 BRect(), text, view, offsetMode, offset, flags); 238 BPoint offset /*=s_useDefaultOffset*/, 246 screenRect, text, offsetMode, offset, flags); 422 // BPoint offset = (entry.offset == s_useDefaultOffset) ? 424 // entry.offset; 429 // p = entryFrame.RightTop() + offset; [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | file_cache.cpp | 151 file_cache_read(void *cacheRef, void *cookie, off_t offset, void *bufferBase, argument 155 cacheRef, cookie, offset, bufferBase, *_size)); 160 fileCache->vnodeID, cookie, offset, bufferBase, _size); 165 file_cache_write(void *cacheRef, void *cookie, off_t offset, const void *buffer, argument 169 cacheRef, cookie, offset, buffer, *_size)); 174 fileCache->vnodeID, cookie, offset, buffer, _size);
|
/haiku/src/kits/interface/ |
H A D | Gradient.cpp | 34 offset = o; 45 offset = o; 56 offset = other.offset; 67 offset = 0; 79 offset != other.offset; 87 return left->offset < right->offset; 122 for (int32 i = 0; archive->FindFloat("offset", 340 AddColor(const rgb_color& color, float offset) argument 419 SetOffset(int32 index, float offset) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_phy.h | 13 s32 igc_null_read_reg(struct igc_hw *hw, u32 offset, u16 *data); 16 s32 igc_null_write_reg(struct igc_hw *hw, u32 offset, u16 data); 34 s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data); 35 s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data); 41 s32 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data); 42 s32 igc_read_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 *data);
|
/haiku/src/apps/haikudepot/tar/ |
H A D | TarArchiveService.cpp | 56 off_t offset = 0; local 59 tarIo.Seek(offset, SEEK_SET); 87 result = listener->Handle(header, offset, entryData); 91 offset += LENGTH_BLOCK; 92 offset += _BytesRoundedToBlocks(header.Length()); 95 tarIo.Seek(offset, SEEK_SET);
|
/haiku/headers/os/drivers/bus/ |
H A D | PCI.h | 30 uint32 (*read_pci_config)(pci_device *device, uint16 offset, 32 void (*write_pci_config)(pci_device *device, uint16 offset, 35 uint8 *offset); 38 uint16 *offset); 76 uint16 offset, uint8 size, uint32 *value); 81 uint16 offset, uint8 size, uint32 value);
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | BPlusTree.cpp | 25 CacheableNode(off_t offset,bplustree_node *node) argument 27 fOffset(offset), 38 virtual bool Equals(off_t offset) argument 40 return offset == fOffset; 56 NodeCache::NewCacheable(off_t offset) argument 58 return new CacheableNode(offset,fTree->Node(offset,false)); 63 NodeCache::Get(off_t offset) argument 65 CacheableNode *node = (CacheableNode *)Cache<off_t>::Get(offset); 219 off_t offset; member in struct:validate_info 322 SetCurrentNode(bplustree_node *node,off_t offset,int8 to) argument 460 off_t offset = node->Values()[fCurrentKey]; local 1164 CountDuplicates(off_t offset,bool isFragment) const argument 1179 DuplicateAt(off_t offset,bool isFragment,int8 index) const argument [all...] |
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | joy.c | 47 int offset = -1; local 54 offset = 0; 58 if (offset < 0) {
|