/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | driver.h | 28 get_pci_config(pci_info* info, uint8 offset, uint8 size) argument 31 offset, size); 36 set_pci_config(pci_info* info, uint8 offset, uint8 size, uint32 value) argument 38 gPCI->write_pci_config(info->bus, info->device, info->function, offset,
|
/haiku/src/kits/debugger/dwarf/ |
H A D | BaseUnit.h | 49 bool ContainsAbsoluteOffset(off_t offset) const; 66 off_t offset); 69 off_t& offset) const; 70 DebugInfoEntry* EntryForOffset(off_t offset) const;
|
/haiku/src/kits/interface/ |
H A D | TextView.cpp | 97 int32 offset; member in struct:flattened_text_run 639 int32 offset = fSelStart; local 641 offset = fSelEnd; 643 fTrackingMouse->anchor = offset; 1182 BTextView::SetText(BFile* file, int32 offset, int32 length, argument 1195 if (!fText->InsertText(file, offset, length, 0)) 1198 // update the start offsets of each line below offset 1199 fLines->BumpOffset(length, _LineAt(offset) + 1); 1202 fStyles->BumpOffset(length, fStyles->OffsetToRun(offset - 1) + 1); 1205 SetRunArray(offset, offse 1238 Insert(int32 offset, const char* text, int32 length, const text_run_array* runs) argument 1321 GetText(int32 offset, int32 length, char* buffer) const argument 1647 GetFontAndColor(int32 offset, BFont* _font, rgb_color* _color) const argument 1766 PointAt(int32 offset, float* _height) const argument 1867 int32 offset = line->offset; local 1918 FindWord(int32 offset, int32* _fromOffset, int32* _toOffset) argument 1949 CanEndLine(int32 offset) argument 2151 ScrollToOffset(int32 offset) argument 2453 int32 offset = fMaxBytes; local 3005 InsertText(const char* text, int32 length, int32 offset, const text_run_array* runs) argument 3415 int32 offset = OffsetAt(point); local 3752 int32 start, offset; local 4010 int32 offset = fromOffset; local 4131 _PreviousLineStart(int32 offset) argument 4149 _NextLineEnd(int32 offset) argument 4168 _PreviousWordBoundary(int32 offset) argument 4184 _NextWordBoundary(int32 offset) argument 4199 _PreviousWordStart(int32 offset) argument 4227 _NextWordEnd(int32 offset) argument 4253 _TabExpandedStyledWidth(int32 offset, int32 length, float* _ascent, float* _descent) const argument 4366 _DoInsertText(const char* text, int32 length, int32 offset, const text_run_array* runs) argument 4442 int32 offset = startOffset != -1 ? startOffset : line->offset; local 4665 _DrawCaret(int32 offset, bool visible) argument 4715 _DragCaret(int32 offset) argument 4921 _MessageDropped(BMessage* message, BPoint where, BPoint offset) argument 5791 int32 offset = fInline->Offset(); local [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_buffer.cpp | 79 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/src/add-ons/accelerants/ati/ |
H A D | rage128_init.cpp | 132 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/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | UnpackingAttributeCookie.cpp | 31 read_package_data(const PackageData& data, BDataReader* reader, off_t offset, argument 34 // check the offset 35 if (offset < 0 || (uint64)offset > data.UncompressedSize()) 40 data.UncompressedSize() - offset); 44 status_t error = reader->ReadData(offset, buffer, toRead); 101 UnpackingAttributeCookie::ReadAttribute(off_t offset, void* buffer, argument 104 return ReadAttribute(fPackageNode, fAttribute, offset, buffer, bufferSize); 120 PackageNodeAttribute* attribute, off_t offset, void* buffer, 128 return read_package_data(data, &dataReader, offset, buffe 119 ReadAttribute(PackageNode* packageNode, PackageNodeAttribute* attribute, off_t offset, void* buffer, size_t* bufferSize) argument [all...] |
H A D | AutoPackageAttributes.cpp | 37 virtual status_t ReadAttribute(off_t offset, void* buffer, argument 48 // check and clamp offset and size 49 if (offset < 0 || offset > size) 53 if (offset + (off_t)toCopy > size) 54 toCopy = size - offset; 56 if (toCopy > 0 && user_memcpy(buffer, (const uint8*)value + offset,
|
/haiku/src/servers/input/ |
H A D | BottomlineWindow.cpp | 92 int32 offset = 0; local 95 while (offset < length) { 104 BString bytes(string + offset, nextOffset - offset); 110 offset = nextOffset;
|
/haiku/src/apps/haikudepot/textview/ |
H A D | TextEditor.cpp | 251 TextEditor::Insert(int32 offset, const BString& string) argument 256 status_t ret = fDocument->Insert(offset, string, fStyleAtCaret); 259 _SetCaretOffset(offset + string.CountChars(), true, false, true); 267 TextEditor::Remove(int32 offset, int32 length) argument 272 status_t ret = fDocument->Remove(offset, length); 275 _SetCaretOffset(offset, true, false, true); 283 TextEditor::Replace(int32 offset, int32 length, const BString& string) argument 288 status_t ret = fDocument->Replace(offset, length, string); 291 _SetCaretOffset(offset + string.CountChars(), true, false, true); 389 // return to the previous horizonal offset whe 418 _SetCaretOffset(int32 offset, bool updateAnchor, bool lockSelectionAnchor, bool updateSelectionStyle) argument [all...] |
/haiku/src/system/libroot/posix/ |
H A D | fcntl.cpp | 81 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument 83 if (len < 0 || offset < 0 || advice < POSIX_FADV_NORMAL 100 posix_fallocate(int fd, off_t offset, off_t len) argument 102 if (len == 0 || offset < 0) 105 int error = _kern_preallocate(fd, offset, len);
|
/haiku/src/add-ons/disk_systems/intel/ |
H A D | PartitionMapAddOn.cpp | 393 // check offset and size 394 off_t offset = sector_align(*_offset, Partition()->BlockSize()); 397 off_t end = offset + size; 408 if ((spaceOffset >= offset && spaceOffset < end) 409 || (offset >= spaceOffset && offset < spaceEnd)) { 415 if (offset < spaceOffset) 418 distance = spaceEnd - offset; 437 if (offset < spaceOffset) { 438 offset 471 CreateChild(off_t offset, off_t size, const char* typeString, const char* name, const char* parameters, BMutablePartition** _child) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKit/ |
H A D | FinePix.cpp | 141 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/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | DrawBitmapNoScale.h | 22 uint32 bytesPerSourcePixel, IntPoint offset, BRect destinationRect) 39 if (left - offset.x < 0 40 || left - offset.x >= (int32)bitmap.width() 41 || right - offset.x >= (int32)srcBuffer.width() 42 || top - offset.y < 0 43 || top - offset.y >= (int32)bitmap.height() 44 || bottom - offset.y >= (int32)bitmap.height()) { 48 left - offset.x, top - offset.y, 49 right - offset 21 Draw(PainterAggInterface& aggInterface, agg::rendering_buffer& bitmap, uint32 bytesPerSourcePixel, IntPoint offset, BRect destinationRect) argument [all...] |
/haiku/src/system/kernel/cache/ |
H A D | file_cache.cpp | 73 PrecacheIO(file_cache_ref* ref, off_t offset, 99 typedef status_t (*cache_func)(file_cache_ref* ref, void* cookie, off_t offset, 119 PrecacheIO::PrecacheIO(file_cache_ref* ref, off_t offset, generic_size_t size) argument 125 fOffset(offset), 262 push_access(file_cache_ref* ref, off_t offset, generic_size_t bytes, argument 265 TRACE(("%p: push %lld, %ld, %s\n", ref, offset, bytes, 273 if (offset != ref->LastAccess(previous, isWrite)) 276 ref->SetLastAccess(index, offset + bytes, isWrite); 334 read_pages_and_clear_partial(file_cache_ref* ref, void* cookie, off_t offset, argument 340 status_t status = vfs_read_pages(ref->vnode, cookie, offset, vec 375 read_into_cache(file_cache_ref* ref, void* cookie, off_t offset, int32 pageOffset, addr_t buffer, size_t bufferSize, bool useBuffer, vm_page_reservation* reservation, size_t reservePages) argument 459 read_from_file(file_cache_ref* ref, void* cookie, off_t offset, int32 pageOffset, addr_t buffer, size_t bufferSize, bool useBuffer, vm_page_reservation* reservation, size_t reservePages) argument 496 write_to_cache(file_cache_ref* ref, void* cookie, off_t offset, int32 pageOffset, addr_t buffer, size_t bufferSize, bool useBuffer, vm_page_reservation* reservation, size_t reservePages) argument 632 write_zeros_to_file(struct vnode* vnode, void* cookie, off_t offset, size_t* _size) argument 669 write_to_file(file_cache_ref* ref, void* cookie, off_t offset, int32 pageOffset, addr_t buffer, size_t bufferSize, bool useBuffer, vm_page_reservation* reservation, size_t reservePages) argument 701 satisfy_cache_io(file_cache_ref* ref, void* cookie, cache_func function, off_t offset, addr_t buffer, bool useBuffer, int32 &pageOffset, size_t bytesLeft, size_t &reservePages, off_t &lastOffset, addr_t &lastBuffer, int32 &lastPageOffset, size_t &lastLeft, size_t &lastReservedPages, vm_page_reservation* reservation) argument 729 cache_io(void* _cacheRef, void* cookie, off_t offset, addr_t buffer, size_t* _size, bool doWrite) argument 954 cache_prefetch_vnode(struct vnode* vnode, off_t offset, size_t size) argument 1039 cache_prefetch(dev_t mountID, ino_t vnodeID, off_t offset, size_t size) argument 1298 file_cache_read(void* _cacheRef, void* cookie, off_t offset, void* buffer, size_t* _size) argument 1333 file_cache_write(void* _cacheRef, void* cookie, off_t offset, const void* buffer, size_t* _size) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_nvm.c | 372 * @offset: offset of word in the EEPROM to read 378 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument 386 /* A check for invalid values: offset too large, too many words, 387 * too many words for the offset, and not enough words. 389 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 396 eerd = ((offset + i) << IGC_NVM_RW_ADDR_SHIFT) + 417 * @offset: offset withi 426 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument 509 u16 offset; local [all...] |
/haiku/src/kits/interface/textview_support/ |
H A D | StyleBuffer.cpp | 46 _BStyleRunDescBuffer_::OffsetToRun(int32 offset) const 57 if (offset >= fBuffer[index].offset) { 59 || offset < fBuffer[index + 1].offset) { 75 fBuffer[i].offset += delta; 218 BTextView::StyleBuffer::SyncNullStyle(int32 offset) argument 223 int32 index = OffsetToRun(offset); 232 const rgb_color* inColor, int32 offset) 238 int32 index = OffsetToRun(offset 231 SetNullStyle(uint32 inMode, const BFont* inFont, const rgb_color* inColor, int32 offset) argument 297 int32 offset = fromOffset; local [all...] |
H A D | LineBuffer.cpp | 53 BTextView::LineBuffer::OffsetToLine(int32 offset) const 61 if (offset >= fBuffer[index].offset) { 62 if (offset < fBuffer[index + 1].offset) 108 fBuffer[i].offset += delta;
|
/haiku/src/libs/udis86/ |
H A D | syn.c | 99 default: UD_ASSERT(!"invalid relative offset size."); 136 int64_t offset = 0; local 137 name = u->sym_resolver(u, addr, &offset); 139 if (offset) { 140 ud_asmprintf(u, "%s%+" FMT64 "d", name, offset); 171 default: UD_ASSERT(!"invalid offset"); v = 0; /* keep cc happy */ 181 UD_ASSERT(op->offset != 0); 184 UD_ASSERT(op->scale == UD_NONE && op->offset != 8); 185 /* unsigned mem-offset */ 186 switch (op->offset) { [all...] |
/haiku/src/bin/bfs_tools/lib/ |
H A D | Disk.cpp | 29 off_t offset; member in struct:bfs_disk_info 267 for (off_t offset = start; offset < stop; offset += blockSize) 269 if (((offset-start) % (blockSize * 100)) == 0) { 270 printf(" %12" B_PRIdOFF ", %.2f GB %s1A\n", offset, 271 1.0 * offset / (1024*1024*1024),escape); 274 ssize_t bytes = fBufferedFile->ReadAt(offset, buffer, blockSize + 1024); 290 B_PRIdOFF "\n", superBlocks.CountItems() + 1, offset); 299 info->offset 437 off_t offset = 8LL * 65536 * BlockSize(); local 497 off_t offset = 1024 + divide_roundup(fSize / 1024,8 * 1024) * 1024; local 560 off_t offset = *_offset; local 650 off_t offset = (fLogStart + LogSize()) * BlockSize(); local [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageFile.cpp | 91 status_t ReadData(off_t offset, void* buffer, size_t* bufferSize) argument 93 return file_cache_read(fFileCache, NULL, offset, buffer, bufferSize); 98 off_t offset = io_request_offset(request); local 101 if (offset < 0 || (uint64)offset > fData->UncompressedSize()) 105 fData->UncompressedSize() - offset); 111 status_t error = fReader->ReadDataToOutput(offset, toRead, &output); 199 PackageFile::Read(off_t offset, void* buffer, size_t* bufferSize) argument 203 return fDataAccessor->ReadData(offset, buffer, bufferSize);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Key.h | 57 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/src/apps/mail/ |
H A D | KUndoBuffer.cpp | 7 KUndoItem::KUndoItem(const char* redo_text, int32 length, int32 offset, argument 10 Offset = offset; 120 KUndoBuffer::NewUndo(const char* text, int32 length, int32 offset, argument 123 KUndoItem* NewUndoItem = new KUndoItem(text, length, offset, history, 138 KUndoBuffer::AddUndo(const char* text, int32 length, int32 offset, argument 147 status = NewUndo(text, length, offset, history, cursor_pos); 160 if ((c_offset + c_length) == offset) 163 status = NewUndo(text, length, offset, history, 168 status = NewUndo(text, length, offset, history, 173 status = NewUndo(text, length, offset, histor 193 Undo(char** text, int32* length, int32* offset, undo_type* history, int32* cursor_pos) argument 216 Redo(char** text, int32* length, int32* offset, undo_type* history, int32* cursor_pos, bool* replaced) argument [all...] |
/haiku/src/tests/servers/app/lock_focus/ |
H A D | LockFocusTest.cpp | 45 Window(int32 offset = 0); 162 Window::Window(int32 offset) argument 163 : BWindow(BRect(100 + offset, 100 + offset, 400 + offset, 400 + offset),
|
/haiku/src/apps/soundrecorder/ |
H A D | FileUtils.cpp | 97 off_t offset = 0; local 98 ssize_t read = src.ReadAttr(attrName, info.type, offset, buffer, 106 ssize_t written = dst.WriteAttr(attrName, info.type, offset, 115 offset += read; 116 read = src.ReadAttr(attrName, info.type, offset, buffer, 117 std::min((off_t)size, info.size - offset));
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Device.h | 65 uint8 ReadPCI8(int offset); 66 uint16 ReadPCI16(int offset); 67 uint32 ReadPCI32(int offset); 68 void WritePCI8(int offset, uint8 value); 69 void WritePCI16(int offset, uint16 value); 70 void WritePCI32(int offset, uint32 value);
|