/haiku/src/apps/icon-o-matic/ |
H A D | CanvasView.cpp | 81 BPoint offset = ScrollOffset(); local 82 offset.x = roundf(offset.x + dataRectCenter.x - boundsCenter.x); 83 offset.y = roundf(offset.y + dataRectCenter.y - boundsCenter.y); 84 SetScrollOffset(offset); 167 BPoint offset = where - fScrollTrackingStart; local 168 SetScrollOffset(fScrollOffsetStart - offset); 262 BPoint offset = newOffset - oldOffset; local 264 if (offset 629 BPoint offset = ScrollOffset(); local [all...] |
/haiku/src/apps/mail/ |
H A D | Content.cpp | 485 runs[index].offset = pos; 509 runs[index].offset = pos; 1159 int32 offset = 0; 1162 Insert(&text[offset], loop - offset + 1); 1163 offset = loop + 1; 1166 Insert(&text[offset], loop - offset + 1); 1170 offset = loop + 1; 1422 int32 offset, star [all...] |
/haiku/src/apps/icon-o-matic/transformable/ |
H A D | TransformBox.cpp | 265 float offset = 1.0; local 267 offset /= ZoomLevel(); 271 translation.y = -offset; 274 translation.y = offset; 277 translation.x = -offset; 280 translation.x = offset; 374 TransformBox::OffsetCenter(BPoint offset) argument 376 if (offset != BPoint(0.0, 0.0)) { 377 fPivotOffset += offset; 418 TransformBox::NudgeBy(BPoint offset) argument [all...] |
/haiku/src/kits/media/ |
H A D | Sound.cpp | 178 BSound::GetDataAt(off_t offset, void* intoBuffer, size_t bufferSize, argument 185 size_t copySize = MIN(bufferSize, fDataSize - offset); 186 memcpy(intoBuffer, (uint8*)fData + offset, copySize); 195 int64 startFrame = offset / frameSize; 202 off_t bufferOffset = offset - startFrame * frameSize; 203 int64 directStartFrame = (offset + frameSize - 1) / frameSize; 204 int64 directFrameCount = (offset + bufferSize - directStartFrame
|
/haiku/src/servers/media/ |
H A D | BufferManager.cpp | 60 *_offset = info->offset; 70 size_t offset, area_id area, media_buffer_id* _bufferID) 74 B_PRId32 ", offset = %" B_PRIuSIZE ", size = %" B_PRIuSIZE "\n", 75 team, area, offset, size); 80 ", team = %" B_PRId32 ", area = %" B_PRId32 ", offset = %" 82 area, offset, size); 89 info.offset = offset; 179 printf(" buffer-id %" B_PRId32 ", area-id %" B_PRId32 ", offset %ld, " 181 info.offset, inf 69 RegisterBuffer(team_id team, size_t size, int32 flags, size_t offset, area_id area, media_buffer_id* _bufferID) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/ |
H A D | AuthenticationPanel.cpp | 105 BPoint offset(0.0, 5.0); 113 fPassTC->MoveTo(fNameTC->Frame().LeftBottom() + offset); 117 fKeepUsingCB->MoveTo(fPassTC->Frame().LeftBottom() + offset); 122 fOkB->MoveTo(fKeepUsingCB->Frame().RightBottom() + offset + offset - fOkB->Frame().RightTop()); 188 float offset = jitterOffsets[i % jitterOffsetCount]; local 189 MoveTo(leftTop.x + offset, leftTop.y);
|
/haiku/src/add-ons/kernel/partitioning_systems/common/ |
H A D | PartitionMap.h | 148 void SetTo(off_t offset, off_t size, uint8 type, 167 // offset of the partition table 169 // start offset of the partition contents 177 void SetPartitionTableOffset(off_t offset) argument 178 { fPartitionTableOffset = offset; } 179 void SetOffset(off_t offset) argument 180 { fOffset = offset; } 211 void SetTo(off_t offset, off_t size, uint8 type, 252 void SetTo(off_t offset, off_t size, uint8 type,
|
/haiku/src/system/kernel/vm/ |
H A D | VMCache.cpp | 340 InsertPage(VMCache* cache, vm_page* page, off_t offset) argument 344 fOffset(offset) 351 out.Print("vm cache insert page: cache: %p, page: %p, offset: %" 784 VMCache::LookupPage(off_t offset) argument 788 vm_page* page = pages.Lookup((page_num_t)(offset >> PAGE_SHIFT)); 800 VMCache::InsertPage(vm_page* page, off_t offset) argument 802 TRACE(("VMCache::InsertPage(): cache %p, page %p, offset %" B_PRIdOFF "\n", 803 this, page, offset)); 811 T2(InsertPage(this, page, offset)); 813 page->cache_offset = (page_num_t)(offset >> PAGE_SHIF 864 MovePage(vm_page* page, off_t offset) argument 1239 Adopt(VMCache* source, off_t offset, off_t size, off_t newOffset) argument 1259 Discard(off_t offset, off_t size) argument 1331 HasPage(off_t offset) argument 1340 Read(off_t offset, const generic_io_vec *vecs, size_t count, uint32 flags, generic_size_t *_numBytes) argument 1348 Write(off_t offset, const generic_io_vec *vecs, size_t count, uint32 flags, generic_size_t *_numBytes) argument 1356 WriteAsync(off_t offset, const generic_io_vec* vecs, size_t count, generic_size_t numBytes, uint32 flags, AsyncIOCallback* callback) argument 1378 CanWritePage(off_t offset) argument 1385 Fault(struct VMAddressSpace *aspace, off_t offset) argument 1431 DebugHasPage(off_t offset) argument 1442 DebugLookupPage(off_t offset) argument [all...] |
/haiku/src/add-ons/kernel/busses/pci/ecam/ |
H A D | ECAMPCIController.cpp | 163 ECAMPCIController::ConfigAddress(uint8 bus, uint8 device, uint8 function, uint16 offset) argument 166 .offset = offset, 183 uint16 offset, uint8 size, uint32& value) 185 addr_t address = ConfigAddress(bus, device, function, offset); 203 uint16 offset, uint8 size, uint32 value) 205 addr_t address = ConfigAddress(bus, device, function, offset); 182 ReadConfig(uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32& value) argument 202 WriteConfig(uint8 bus, uint8 device, uint8 function, uint16 offset, uint8 size, uint32 value) argument
|
/haiku/src/apps/haikudepot/model/ |
H A D | PackageIconTarRepository.cpp | 39 size_t offset, 74 size_t offset, BDataIO *data) 96 offset); 217 BitmapSize bitmapSize, off_t offset) 220 tarPtrRef->SetOffset(bitmapSize, offset); 258 HDERROR("failure to read image for package [%s] at offset %" 306 PackageIconTarRepository::_CreateIconFromTarOffset(off_t offset, argument 309 fTarIo->Seek(offset, SEEK_SET); 73 Handle(const TarArchiveHeader& header, size_t offset, BDataIO *data) argument 216 AddIconTarPtr(const BString& packageName, BitmapSize bitmapSize, off_t offset) argument
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | driver.h | 104 uint8 offset; /* Stream offset */ member in struct:geode_stream 105 uint8 dma_offset; /* Stream dma offset */ 137 return controller->Read8(ACC_BM0_CMD + offset + reg); 142 return controller->Read16(ACC_BM0_CMD + offset + reg); 147 return controller->Read32(ACC_BM0_CMD + offset + reg); 152 controller->Write8(ACC_BM0_CMD + offset + reg, value); 157 controller->Write16(ACC_BM0_CMD + offset + reg, value); 162 controller->Write32(ACC_BM0_CMD + offset + reg, value);
|
/haiku/src/tests/servers/app/playground/ |
H A D | ObjectView.cpp | 323 BPoint offset = fLastMousePos - where; local 324 ScrollBy(offset.x, offset.y); 325 fLastMousePos = where + offset; 327 BPoint offset = fLastMousePos - where; local 328 if (sqrtf(offset.x * offset.x + offset.y * offset.y) > 5.0) {
|
/haiku/src/kits/interface/ |
H A D | ToolTipManager.cpp | 184 BPoint offset = fToolTip->MouseRelativeLocation(); local 197 size.height = where.y - offset.y - screenFrame.top; 200 size.height = screenFrame.bottom - where.y - offset.y; 212 location.x -= size.width + offset.x; 219 location.x -= size.width / 2 - offset.x; 230 location.x += offset.x; 251 location.y = where.y - size.height - offset.y; 261 location.y -= size.height / 2 - offset.y; 269 location.y = where.y + offset.y;
|
/haiku/src/apps/powerstatus/ |
H A D | ExtendedInfoWindow.cpp | 270 float offset = BControlLook::ComposeSpacing(B_USE_WINDOW_SPACING); local 273 return BRect(offset + index * width, 0.0f, 274 offset + index * width + width, height); 276 return BRect(offset + index * width, bounds.bottom - height, 277 offset + index * width + width, bounds.bottom); 279 return BRect(0.0f, offset + index * width, height, 280 offset + index * width + width); 282 return BRect(bounds.right - height, offset + index * width, 283 bounds.right, offset + index * width + width);
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KDiskSystem.h | 74 virtual status_t Move(KPartition* partition, off_t offset, 76 virtual status_t MoveChild(KPartition* child, off_t offset, 93 virtual status_t CreateChild(KPartition* partition, off_t offset,
|
H A D | KPartitioningSystem.h | 50 virtual status_t Move(KPartition* partition, off_t offset, 52 virtual status_t MoveChild(KPartition* child, off_t offset, 69 virtual status_t CreateChild(KPartition* partition, off_t offset,
|
/haiku/src/tools/ |
H A D | generate_attribute_stores.cpp | 101 off_t offset = 0; local 104 if (node.ReadAttr(nameBuffer, info.type, offset, copyBuffer, 113 offset += COPY_BUFFER_SIZE;
|
/haiku/src/apps/drivesetup/ |
H A D | PartitionList.h | 70 partition_id id, off_t offset, off_t size); 106 partition_id id, off_t offset, off_t size); 112 off_t offset) const;
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Device.cpp | 568 Device::ReadPCI8(int offset) argument 570 return gPCI->read_io_8(fIOBase + offset); 575 Device::ReadPCI16(int offset) argument 577 return gPCI->read_io_16(fIOBase + offset); 582 Device::ReadPCI32(int offset) argument 584 return gPCI->read_io_32(fIOBase + offset); 589 Device::WritePCI8(int offset, uint8 value) argument 591 gPCI->write_io_8(fIOBase + offset, value); 596 Device::WritePCI16(int offset, uint16 value) argument 598 gPCI->write_io_16(fIOBase + offset, valu 603 WritePCI32(int offset, uint32 value) argument [all...] |
/haiku/src/preferences/backgrounds/ |
H A D | BackgroundImage.cpp | 117 BPoint offset; local 139 container.FindPoint(kBackgroundImageInfoOffset, index, &offset); 150 mode, offset, textWidgetLabelOutline, imageSet, cacheMode); 174 int32 imageIndex, Mode mode, BPoint offset, bool textWidgetLabelOutline, 180 fOffset(offset), 282 BPoint offset(info->fOffset); 283 offset.x *= x_ratio; 284 offset.y *= y_ratio; 321 destinationBitmapBounds.OffsetTo(offset); 573 int offset local 173 BackgroundImageInfo(uint32 workspaces, int32 imageIndex, Mode mode, BPoint offset, bool textWidgetLabelOutline, uint32 imageSet, uint32 cacheMode) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | cdda.cpp | 691 read_cdda_data(int fd, off_t endFrame, off_t offset, void *data, size_t length, argument 694 if (bufferOffset >= 0 && bufferOffset <= offset + (off_t)length 695 && bufferOffset + (off_t)bufferSize > offset) { 696 if (offset >= bufferOffset) { 698 off_t dataOffset = offset - bufferOffset; 705 offset += bytes; 706 } else if (offset < bufferOffset 707 && offset + length < bufferOffset + bufferSize) { 709 off_t dataOffset = bufferOffset - offset; 720 off_t frame = offset / kFrameSiz [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | session.cpp | 42 DEBUG_INIT_ETC(NULL, ("fd: %d, id: %" B_PRId32 ", offset: %" B_PRIdOFF ", " 44 fd, partition->id, partition->offset, partition->size, 73 DEBUG_INIT_ETC(NULL, ("fd: %d, id: %" B_PRId32 ", offset: %" B_PRId64 ", " 75 partition->id, partition->offset, partition->size, 88 i, partition->offset + session->Offset(), session->Size(), -1);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | DirectoryIterator.h | 75 ext2_htree_tail* _HTreeEntryTail(uint8* block, uint16 offset) const; 76 uint32 _HTreeRootChecksum(uint8* block, uint16 offset, uint16 count) const; 77 void _SetHTreeEntryChecksum(uint8* block, uint16 offset, uint16 count);
|
/haiku/headers/os/interface/ |
H A D | Gradient.h | 47 float offset; member in struct:BGradient::ColorStop 69 float offset); 78 bool SetOffset(int32 index, float offset);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Debug.cpp | 250 off_t offset = *value & 0x3fffffffffffffffLL; local 251 kprintf(" (%d bytes) -> %" B_PRIdOFF, length, offset); 253 block_run run = volume->ToBlockRun(offset); 320 "block offset instead (and vice versa).\n"); 331 // block_run to offset 344 // offset to block_run 345 off_t offset = parse_expression(arg); local 346 block_run run = volume->ToBlockRun(offset); 349 " %" B_PRId32 "\n", offset, run.AllocationGroup(), 379 "[start-offset] [searc 392 off_t offset = 0; local [all...] |