Searched refs:offset (Results 1 - 25 of 1236) sorted by last modified time

1234567891011>>

/haiku/src/kits/tracker/
H A DUtilities.h254 static BRect PreferredRect(BPoint offset, icon_size which);
H A DTextWidget.cpp611 BView* drawView, bool selected, uint32 clipboardMode, BPoint offset,
614 textRect.OffsetBy(offset);
610 Draw(BRect eraseRect, BRect textRect, float, BPoseView* view, BView* drawView, bool selected, uint32 clipboardMode, BPoint offset, bool direct) argument
H A DPose.cpp555 BView* drawView, bool fullDraw, BPoint offset, bool selected)
577 iconRect.OffsetBy(offset);
615 drawView->FillRect(widgetTextRect.OffsetByCopy(offset), B_SOLID_LOW);
621 fClipboardMode, offset, direct);
625 fClipboardMode, offset, direct);
633 drawView->InvertRect(widgetTextRect.OffsetByCopy(offset));
635 widgetTextRect.OffsetBy(offset);
648 iconOrigin += offset;
672 selected, fClipboardMode, offset, direct);
678 rect.OffsetBy(offset);
554 Draw(BRect rect, const BRect& updateRect, BPoseView* poseView, BView* drawView, bool fullDraw, BPoint offset, bool selected) argument
[all...]
H A DFSUtils.cpp1580 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/kits/interface/
H A DTextView.cpp97 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/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c221 int offset; local
325 &offset, NULL)) {
328 offset + PCI_PCIE_LCSR);
331 pci_conf_write(pa->pa_pc, pa->pa_tag, offset + PCI_PCIE_LCSR,
/haiku/src/apps/charactermap/
H A DCharacterView.cpp457 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 DServerApp.cpp745 // 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/apps/poorman/
H A DPoorManWindow.cpp256 run.offset = 0;
/haiku/src/apps/drivesetup/
H A DDiskView.cpp47 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 DProbeView.cpp507 ? 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 DVideoConsumer.cpp309 info.offset = 0;
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp631 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 Dl2cap_signal.cpp83 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 Dutil.c112 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 Dcm.c70 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 Dcm_private.h151 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 Dgeode_controller.cpp208 stream->offset = 0;
215 stream->offset = 0x8;
H A Ddriver.h104 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 Dhda_codec.cpp206 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 Dvfs.cpp1736 // 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 DAVFormatReader.cpp161 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 DAVCodecDecoder.cpp977 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 Dvirtio.h91 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 DInode.cpp225 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;

Completed in 134 milliseconds

1234567891011>>