/haiku/src/apps/charactermap/ |
H A D | CharacterView.cpp | 457 BPoint offset = fClickPoint - frame.LeftTop(); 495 DragMessage(&drag, bitmap, B_OP_ALPHA, offset); 741 CharacterView::_GetTopmostCharacter(uint32& character, int32& offset) const 752 offset = characterTop - top; 760 offset = top - characterTop - lines * fCharacterHeight;
|
/haiku/src/servers/app/ |
H A D | ServerApp.cpp | 745 // 3) int32 area pointer offset used to calculate fBasePtr 1639 // 3) size_t - offset to start of font memory 1659 size_t size, offset; local 1664 link.Read<size_t>(&offset); 1687 size_t fontMemorySize = fontAreaInfo.size - offset; 1709 memcpy(fontData, (FT_Byte*)fontAreaInfo.address + offset, size); 2593 // 9) BPoint - offset -/ (numChars times)
|
/haiku/src/kits/tracker/ |
H A D | FSUtils.cpp | 1580 for (off_t offset = 0; numToRead > 0; offset += bytes) { 1585 bytes = srcNode->ReadAttr(name, info.type, offset, 1591 destNode->WriteAttr(name, info.type, offset, buffer, 1987 for (off_t offset = 0; numToRead > 0; offset += bytes) { 1992 bytes = srcNode->ReadAttr(name, info.type, offset, buffer, 1998 destNode->WriteAttr(name, info.type, offset, buffer, 3292 const char* foreignAttrName, type_code type, off_t offset, void* buffer, 3295 if (!isForeign && node->ReadAttr(hostAttrName, type, offset, buffe 3291 ReadAttr(const BNode* node, const char* hostAttrName, const char* foreignAttrName, type_code type, off_t offset, void* buffer, size_t length, void (*swapFunc)(void*), bool isForeign) argument [all...] |
/haiku/src/apps/poorman/ |
H A D | PoorManWindow.cpp | 256 run.offset = 0;
|
/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 47 PartitionView(const char* name, float weight, off_t offset, argument 53 fOffset(offset), 350 off_t offset = partition->Offset(); 364 PartitionView* view = new PartitionView(name.String(), scale, offset, 407 off_t offset; local 410 info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; 418 = fSpaceIDMap.SpaceIDFor(partition->ID(), offset); 420 B_TRANSLATE("Empty space"), scale, offset,
|
/haiku/src/apps/diskprobe/ |
H A D | ProbeView.cpp | 507 ? B_TRANSLATE("Attribute offset: ") : editor.IsDevice() 508 ? B_TRANSLATE("Device offset: ") : B_TRANSLATE("File offset: ")); 677 off_t offset; local 678 if (message->FindInt64("position", &offset) == B_OK) { 680 + offset; 880 It will listen to the offset changes of the editor, let him update its 882 That way, simple offset changes will not stop the main looper from 883 operating. Therefore, all offset updates for the editor will go through
|
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 309 info.offset = 0;
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 631 const float offset = be_control_look->DefaultLabelSpacing(); local 632 const float inset = offset; 639 .AddStrut(offset) 643 .AddStrut(offset) 647 .AddStrut(offset) 651 .AddStrut(offset)
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | l2cap_signal.cpp | 83 parse_configuration_options(net_buffer* buffer, size_t offset, uint16 length, argument 86 while (offset < length) { 88 if (gBufferModule->read(buffer, offset, &option, sizeof(option)) != B_OK) 92 if (gBufferModule->read(buffer, offset + sizeof(option), &value, 129 gBufferModule->append_cloned(options.rejected, buffer, offset, 134 offset += sizeof(option) + option.length;
|
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.c | 112 uint32 offset; local 119 offset = (uint32)phy & (B_PAGE_SIZE - 1); 120 phyadr = phy - offset; 121 size = round_to_pagesize(size + offset); 124 *log = (void *)((uintptr_t)mapadr + (uintptr_t)offset); 126 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n", 127 phy, *log, offset, phyadr, mapadr, size, area));
|
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | cm.c | 70 PCI_IO_RD (int offset) argument 72 return (*pci->read_io_8) (offset); 81 PCI_IO_RD_32 (int offset) argument 83 return (*pci->read_io_32) (offset); 90 PCI_IO_WR (int offset, uint8 val) argument 92 (*pci->write_io_8) (offset, val);
|
H A D | cm_private.h | 151 int enhanced; /* offset to port */ 184 extern void PCI_IO_WR(int offset, uint8 val); 185 extern uint8 PCI_IO_RD(int offset); 186 extern uint32 PCI_IO_RD_32(int offset);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_controller.cpp | 208 stream->offset = 0; 215 stream->offset = 0x8;
|
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/add-ons/kernel/drivers/audio/hda/ |
H A D | hda_codec.cpp | 206 int offset = 0; local 210 offset += sprintf(buffer + offset, "[%s] ", kFlags[j].name); 213 if (offset != 0) 224 int offset = 0; local 230 offset += sprintf(buffer + offset, "%" B_PRId32 " ", input); 232 offset += sprintf(buffer + offset, "<%" B_PRId32 "> ", input); 235 if (offset ! [all...] |
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 1736 // There are no file vecs at this offset, so we're obviously trying 1756 status = fssh_read_pages(fd, fileVecs[0].offset, &vecs[vecIndex], 1806 fssh_off_t fileOffset = fileVec.offset; 1834 TRACE(("fill vec %ld, offset = %lu, size = %lu\n", 2696 vfs_get_file_map(void *_vnode, fssh_off_t offset, fssh_size_t size, argument 2701 FUNCTION(("vfs_get_file_map: vnode %p, vecs %p, offset %lld, size = %u\n", vnode, vecs, offset, (unsigned)size)); 2703 return FS_CALL(vnode, get_file_map, offset, size, vecs, _count); 3218 fssh_off_t offset; local 3225 offset 4159 fssh_off_t offset; local [all...] |
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatReader.cpp | 161 static off_t _Seek(void* cookie, off_t offset, int whence); 599 // TODO: Handle start-time offset? 807 StreamBase::_Seek(void* cookie, off_t offset, int whence) argument 810 cookie, offset, whence); 836 off_t position = stream->fSource->Seek(offset, whence);
|
H A D | AVCodecDecoder.cpp | 977 int32 offset = fDecodedDataBufferOffset; local 981 + offset, fInputFrameSize); 984 offset += fInputFrameSize; 1079 "fTempPacket->size %d, fChunkBuffer data offset %" B_PRId32
|
/haiku/headers/private/virtio/ |
H A D | virtio.h | 91 status_t (*read_device_config)(void* cookie, uint8 offset, void* buffer, 93 status_t (*write_device_config)(void* cookie, uint8 offset, 114 status_t (*read_device_config)(virtio_device cookie, uint8 offset, 116 status_t (*write_device_config)(virtio_device cookie, uint8 offset,
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Inode.cpp | 225 ERROR("Invalid inode fork offset"); 260 If there is no fork offset, this may be a freshly-made inode 536 uint32 offset = SizeOfLongBlock(); local 540 wrappedExtent[0] = *(uint64*)(leafBuffer + offset); 542 = *(uint64*)(leafBuffer + offset + sizeof(uint64)); 543 offset += sizeof(ExtentMapUnwrap); 700 xfs_off_t offset = INO_TO_BLOCKOFFSET(fId, fVolume); local 707 "len: (%" B_PRIu32 ")\n", agNo,agRelativeInodeNo, agBlock, offset, len); 719 xfs_daddr_t readPos = blockToRead * XFS_MIN_BLOCKSIZE + offset * len;
|
/haiku/src/apps/showimage/ |
H A D | ShowImageWindow.cpp | 1103 float offset; local 1104 if (message->FindFloat("offset", &offset) == B_OK) { 1105 fToolBar->MoveBy(0, offset); 1106 fScrollArea->ResizeBy(0, -offset); 1107 fScrollArea->MoveBy(0, offset); 1115 float offset; local 1117 if (message->FindFloat("offset", &offset) == B_OK 1120 fToolBar->MoveTo(fToolBar->Frame().left, offset); [all...] |
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci.cpp | 370 off_t offset = operation->Offset(); local 374 isWrite ? "Write" : "Read", length, offset); 378 ASSERT(offset % kBlockSize == 0); 438 offset / (offsetAsSectors ? kBlockSize : 1), &response); 452 offset += toCopy;
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 55 iterative_io_get_vecs_hook(void* cookie, io_request* request, off_t offset, argument 60 return file_map_translate(inode->Map(), offset, size, vecs, _count, 329 btrfs_get_file_map(fs_volume* _volume, fs_vnode* _node, off_t offset, argument 339 status_t status = inode->FindBlock(offset, blockOffset, &blockLength); 343 if (index > 0 && (vecs[index - 1].offset 353 vecs[index].offset = blockOffset; 358 offset += blockLength; 361 if ((off_t)size <= vecs[index - 1].length || offset >= inode->Size()) {
|
H A D | Inode.cpp | 230 // the file cache doesn't seem to like non block aligned file offset 297 ssize_t offset = 0; local 305 ssize_t bytesRead = min_c(sizeof(in), inline_size - offset); 310 memcpy(in, extent_data->inline_data + offset, bytesRead); 328 offset += bytesRead;
|
/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...] |