Searched refs:direct (Results 1 - 25 of 40) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DDirectoryIterator.cpp70 dir direct; local
72 status_t status = fInode->ReadAt(fOffset, (uint8_t*)&direct, &size);
73 if (size < 8 || direct.reclen < 8)
76 fOffset += direct.reclen;
78 if (direct.next_ino > 0) {
79 if ((size_t) (direct.namlen + 1) > *_nameLength)
81 strlcpy(name, direct.name, direct.namlen + 1);
82 *_id = direct.next_ino;
83 *_nameLength = direct
[all...]
H A DDirectoryIterator.h51 dir* DirectContent() { return direct; }
59 dir* direct; member in class:DirectoryIterator
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.h45 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
47 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
49 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
56 bool direct, BRect rect);
H A DTabDecorator.h90 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
93 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
H A DDecorator.h230 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
232 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
234 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
H A DDefaultDecorator.cpp623 \param direct Draw without double buffering.
627 DefaultDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) argument
642 _DrawButtonBitmap(bitmap, direct, rect);
652 \param direct Draw without double buffering.
656 DefaultDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) argument
673 _DrawButtonBitmap(bitmap, direct, rect);
678 DefaultDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
688 DefaultDecorator::_DrawButtonBitmap(ServerBitmap* bitmap, bool direct, argument
695 fDrawingEngine->SetCopyToFrontEnabled(direct);
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.h52 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
54 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
56 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
61 bool direct, BRect rect);
H A DFlatDecorator.cpp689 \param direct Draw without double buffering.
693 FlatDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) argument
708 _DrawButtonBitmap(bitmap, direct, rect);
718 \param direct Draw without double buffering.
722 FlatDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) argument
739 _DrawButtonBitmap(bitmap, direct, rect);
744 FlatDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
754 FlatDecorator::_DrawButtonBitmap(ServerBitmap* bitmap, bool direct, argument
761 fDrawingEngine->SetCopyToFrontEnabled(direct);
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.h48 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
50 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
52 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
68 bool direct, BRect rect);
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.h54 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
56 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
58 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
82 void _DrawButton(Decorator::Tab* tab, bool direct,
H A DMacDecorator.cpp649 MacDecorator::_DrawClose(Decorator::Tab* tab, bool direct, BRect r) argument
651 _DrawButton(tab, direct, r, tab->closePressed);
656 MacDecorator::_DrawZoom(Decorator::Tab* tab, bool direct, BRect rect) argument
658 _DrawButton(tab, direct, rect, tab->zoomPressed);
671 MacDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
673 _DrawButton(tab, direct, rect, tab->minimizePressed);
866 MacDecorator::_DrawButton(Decorator::Tab* tab, bool direct, BRect r, argument
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.h58 virtual void _DrawMinimize(Decorator::Tab* tab, bool direct,
60 virtual void _DrawZoom(Decorator::Tab* tab, bool direct,
62 virtual void _DrawClose(Decorator::Tab* tab, bool direct,
H A DWinDecorator.cpp417 \param direct Draw without double buffering.
421 WinDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument
443 \param direct Draw without double buffering.
447 WinDecorator::_DrawZoom(Decorator::Tab* tab, bool direct, BRect rect) argument
475 \param direct Draw without double buffering.
479 WinDecorator::_DrawClose(Decorator::Tab* tab, bool direct, BRect rect) argument
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDataStream.cpp69 // direct blocks
70 block = B_LENDIAN_TO_HOST_INT32(fStream->direct[index]);
76 && fStream->direct[index] == ++nextBlock)
534 uint32* direct = &fStream->direct[fNumBlocks]; local
537 return _AddBlocks(transaction, direct, end - fNumBlocks);
735 uint32* direct = &fStream->direct[numBlocks]; local
738 return _FreeBlocks(transaction, direct, end - numBlocks);
/haiku/src/kits/tracker/
H A DPose.cpp566 bool direct = (drawView == poseView); local
579 direct, !windowActive && !showSelectionWhenInactive);
605 bool selectDuringDraw = direct && selected
612 } else if (!direct && index == 0 && selected
621 fClipboardMode, offset, direct);
625 fClipboardMode, offset, direct);
650 DrawIcon(iconOrigin, drawView, poseView->IconSize(), direct,
663 bool selectDuringDraw = direct && selected && windowActive;
672 selected, fClipboardMode, offset, direct);
676 else if (selected && direct) {
806 DrawIcon(BPoint where, BView* view, BSize size, bool direct, bool drawUnselected) argument
[all...]
H A DTextWidget.h66 bool direct);
H A DTextWidget.cpp613 bool direct)
625 if (direct) {
659 if (direct && !selected && view->WidgetTextOutline()) {
720 if (direct) {
611 Draw(BRect eraseRect, BRect textRect, float, BPoseView* view, BView* drawView, bool selected, uint32 clipboardMode, BPoint offset, bool direct) argument
/haiku/src/bin/bfs_tools/lib/
H A DBitmap.cpp175 // direct blocks
179 if (node->data.direct[i].IsZero())
182 off_t start = fDisk->ToBlock(node->data.direct[i]);
183 off_t end = start + node->data.direct[i].length;
H A Ddump.cpp90 if (!stream->direct[i].IsZero()) {
91 Print(" direct[%02d] = ", i);
99 dump_block_run("", stream->direct[i], buffer);
101 offset += stream->direct[i].length * inode->inode_size;
H A DInode.cpp744 // access from direct blocks
752 if (fInode->data.direct[fCurrent].IsZero())
756 fRunBlockEnd += fInode->data.direct[fCurrent].length << fDisk->BlockShift();
760 if (fCurrent == NUM_DIRECT_BLOCKS || fInode->data.direct[fCurrent].IsZero())
763 fRun = fInode->data.direct[fCurrent];
903 fInode->data.direct[i].SetTo(0, 0, 0);
904 else if ((fInode->data.direct[i].length << fDisk->BlockShift()) >= size) {
906 fInode->data.direct[i].length = blocks;
909 size -= fInode->data.direct[i].length << fDisk->BlockShift();
/haiku/src/bin/bfs_tools/
H A Dbfswhich.cpp57 // direct blocks
65 if (data->direct[i].IsZero())
68 if (checkForBlockRunIntersection(data->direct[i], checkForRun))
/haiku/src/system/boot/loader/file_systems/bfs/
H A DStream.cpp271 // access from direct blocks
277 if (data.direct[current].IsZero())
280 runBlockEnd += (uint32)data.direct[current].Length() << fVolume.BlockShift();
282 run = data.direct[current];
288 //PRINT(("FindBlockRun() failed in direct range: size = %lld, pos = %lld\n",data.size,pos));
/haiku/src/bin/
H A Dtranslate.cpp229 // find a direct translator
230 bool direct = true; local
234 // no direct translator found - let's try with something else
242 direct = false;
253 if (direct)
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DCheckVisitor.cpp484 // check the direct range
488 if (data->direct[i].IsZero())
491 status = _CheckAllocated(data->direct[i], "direct");
497 += data->direct[i].Length();
H A DInode.cpp1549 // access from direct blocks
1555 if (data->direct[current].IsZero())
1558 runBlockEnd += (uint32)data->direct[current].Length()
1561 run = data->direct[current];
1718 /*! Grows the stream to \a size, and fills the direct/indirect/double indirect
1818 // different ranges of the stream (direct, indirect & double indirect)
1827 // let's try to put them into the direct block range
1830 if (data->direct[free].IsZero())
1837 if (free > 0 && data->direct[last].MergeableWith(run)) {
1838 data->direct[las
[all...]

Completed in 107 milliseconds

12