/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestCases.cpp | 32 static void testNoOp(BView *view, BRect frame) argument 37 static void testDrawChar(BView *view, BRect frame) argument 39 view->MovePenTo(frame.left, frame.bottom - 5); 42 view->DrawChar('B', BPoint(frame.left + 20, frame.bottom - 5)); 45 static void testDrawString(BView *view, BRect frame) argument 51 float baseline = frame.bottom - height.descent; 54 view->StrokeLine(BPoint(frame.left, baseline - 1), BPoint(frame 60 testDrawStringWithLength(BView *view, BRect frame) argument 76 testDrawStringWithOffsets(BView* view, BRect frame) argument 104 testDrawStringWithoutPosition(BView* view, BRect frame) argument 125 testFillArc(BView *view, BRect frame) argument 131 testStrokeArc(BView *view, BRect frame) argument 137 testFillBezier(BView *view, BRect frame) argument 148 testStrokeBezier(BView *view, BRect frame) argument 159 testFillEllipse(BView *view, BRect frame) argument 170 testStrokeEllipse(BView *view, BRect frame) argument 181 testFillPolygon(BView *view, BRect frame) argument 194 testStrokePolygon(BView *view, BRect frame) argument 207 testFillRect(BView *view, BRect frame) argument 213 testFillRectGradientLinear(BView* view, BRect frame) argument 222 testFillRectGradientRadial(BView* view, BRect frame) argument 231 testFillRectGradientRadialFocus(BView* view, BRect frame) argument 240 testFillRectGradientDiamond(BView* view, BRect frame) argument 249 testFillRectGradientConic(BView* view, BRect frame) argument 258 testStrokeRect(BView *view, BRect frame) argument 264 testFillRegion(BView *view, BRect frame) argument 273 testFillRegionGradientLinear(BView* view, BRect frame) argument 285 testFillRegionGradientRadial(BView* view, BRect frame) argument 297 testFillRegionGradientRadialFocus(BView* view, BRect frame) argument 309 testFillRegionGradientDiamond(BView* view, BRect frame) argument 321 testFillRegionGradientConic(BView* view, BRect frame) argument 333 testFillRoundRect(BView *view, BRect frame) argument 339 testFillRoundRectGradientLinear(BView* view, BRect frame) argument 348 testFillRoundRectGradientRadial(BView* view, BRect frame) argument 357 testFillRoundRectGradientRadialFocus(BView* view, BRect frame) argument 365 testFillRoundRectGradientDiamond(BView* view, BRect frame) argument 374 testFillRoundRectGradientConic(BView* view, BRect frame) argument 383 testStrokeRoundRect(BView *view, BRect frame) argument 389 testFillTriangle(BView *view, BRect frame) argument 399 testFillTriangleGradientLinear(BView* view, BRect frame) argument 412 testFillTriangleGradientRadial(BView* view, BRect frame) argument 425 testFillTriangleGradientRadialFocus(BView* view, BRect frame) argument 438 testFillTriangleGradientDiamond(BView* view, BRect frame) argument 451 testFillTriangleGradientConic(BView* view, BRect frame) argument 464 testStrokeTriangle(BView *view, BRect frame) argument 474 testStrokeLine(BView *view, BRect frame) argument 488 testFillShape(BView *view, BRect frame) argument 499 testStrokeShape(BView *view, BRect frame) argument 510 testRecordPicture(BView *view, BRect frame) argument 519 testRecordAndPlayPicture(BView *view, BRect frame) argument 530 testRecordAndPlayPictureWithOffset(BView *view, BRect frame) argument 547 testAppendToPicture(BView *view, BRect frame) argument 567 testDrawScaledPicture(BView* view, BRect frame) argument 584 testLineArray(BView *view, BRect frame) argument 601 testInvertRect(BView *view, BRect frame) argument 607 testInvertRectSetDrawingMode(BView *view, BRect frame) argument 645 testDrawBitmap(BView *view, BRect frame) argument 651 testDrawBitmapAtPoint(BView *view, BRect frame) argument 664 testDrawBitmapAtRect(BView *view, BRect frame) argument 672 testDrawLargeBitmap(BView *view, BRect frame) argument 683 testConstrainClippingRegion(BView *view, BRect frame) argument 704 testClipToPicture(BView *view, BRect frame) argument 720 testClipToInversePicture(BView *view, BRect frame) argument 737 testSetPenSize(BView *view, BRect frame) argument 769 testSetPenSize2(BView *view, BRect frame) argument 784 testPattern(BView *view, BRect frame) argument 804 testSetOrigin(BView *view, BRect frame) argument 824 testSetOrigin2(BView *view, BRect frame) argument 836 testSetScale(BView *view, BRect frame) argument 843 testSetScale2(BView *view, BRect frame) argument 855 testSetScale3(BView *view, BRect frame) argument 870 testSetOriginAndScale(BView *view, BRect frame) argument 884 testSetOriginAndScale2(BView *view, BRect frame) argument 902 testSetOriginAndScale3(BView *view, BRect frame) argument 920 testSetOriginAndScale4(BView *view, BRect frame) argument 947 testSetOriginAndScale5(BView *view, BRect frame) argument 967 testSetFontSize(BView *view, BRect frame) argument 984 testSetFontFamilyAndStyle(BView *view, BRect frame) argument 1003 testSetDrawingMode(BView *view, BRect frame) argument 1015 testPushPopState(BView *view, BRect frame) argument 1026 testFontRotation(BView* view, BRect frame) argument 1041 testClipToRect(BView* view, BRect frame) argument 1052 testClipToInverseRect(BView* view, BRect frame) argument 1063 testClipToShape(BView* view, BRect frame) argument 1077 testClipToInverseShape(BView* view, BRect frame) argument [all...] |
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_user_debugger.cpp | 48 iframe* frame = thread_get_current_thread()->arch_info.userFrame; local 50 frame->ra = cpuState->x[ 0]; 51 frame->sp = cpuState->x[ 1]; 52 frame->gp = cpuState->x[ 2]; 53 frame->tp = cpuState->x[ 3]; 54 frame->t0 = cpuState->x[ 4]; 55 frame->t1 = cpuState->x[ 5]; 56 frame->t2 = cpuState->x[ 6]; 57 frame->fp = cpuState->x[ 7]; 58 frame 96 iframe* frame = thread->arch_info.userFrame; local [all...] |
H A D | arch_thread.cpp | 124 iframe frame; local 125 memset(&frame, 0, sizeof(frame)); 131 frame.status = status.val; 132 frame.epc = entry; 133 frame.a0 = (addr_t)arg1; 134 frame.a1 = (addr_t)arg2; 135 frame.ra = threadExitAddr; 136 frame.sp = thread->user_stack_base + thread->user_stack_size; 137 frame 149 struct iframe* frame = thread->arch_info.userFrame; local 162 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, size_t spaceNeeded) argument 186 iframe* frame = thread->arch_info.userFrame; local 269 iframe* frame = thread_get_current_thread()->arch_info.userFrame; local [all...] |
/haiku/src/kits/debugger/model/ |
H A D | StackTrace.cpp | 16 for (int32 i = 0; StackFrame* frame = FrameAt(i); i++) 17 frame->ReleaseReference(); 22 StackTrace::AddFrame(StackFrame* frame) argument 24 if (fStackFrames.AddItem(frame)) 27 frame->ReleaseReference();
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_debug.cpp | 58 stack_frame *frame; local 59 asm volatile("mr %0, %%r1" : "=r"(frame)); 60 return frame; 67 stack_frame frame; local 68 if (debug_memcpy(B_CURRENT_TEAM, &frame, (void*)framePointer, sizeof(frame)) 73 *ip = frame.return_address; 74 *next = (addr_t)frame.previous; 182 kprintf("frame caller <image>:function + offset\n"); 185 // see if the frame pointe 186 struct iframe *frame = NULL; local 263 stack_frame* frame = (stack_frame*)get_current_stack_frame(); local [all...] |
/haiku/src/apps/soundrecorder/ |
H A D | DrawButton.cpp | 11 DrawButton::DrawButton(BRect frame, const char *name, const unsigned char *on, argument 13 : BControl(frame, name, "", msg, resize, flags | B_WILL_DRAW), 14 fOn(frame, B_CMAP8), 15 fOff(frame, B_CMAP8), 18 fOff.SetBits(off, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8); 19 fOn.SetBits(on, (frame.Width() + 1) * (frame.Height() + 1), 0, B_CMAP8);
|
/haiku/src/apps/cortex/ValControl/ |
H A D | ValCtrlLayoutEntry.cpp | 54 // e.frame.left, e.frame.top, e.frame.right, e.frame.bottom)); 55 e.pView->MoveTo(e.frame.LeftTop()); 56 e.pView->ResizeTo(e.frame.Width(), e.frame.Height());
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_thread.cpp | 30 extern "C" void x86_return_to_userland(iframe* frame); 39 find_previous_iframe(Thread* thread, addr_t frame) argument 42 while (frame >= thread->kernel_stack_base 43 && frame < thread->kernel_stack_top) { 44 addr_t previousFrame = *(addr_t*)frame; 48 return (struct iframe*)frame; 51 frame = previousFrame; 59 get_previous_iframe(struct iframe* frame) argument 61 if (frame == NULL) 64 return find_previous_iframe(thread_get_current_thread(), frame 92 struct iframe* frame = get_current_iframe(); local 114 struct iframe* frame = find_previous_iframe(thread, local 162 x86_initial_return_to_userland(Thread* thread, iframe* frame) argument 245 struct iframe* frame = get_current_iframe(); local 260 struct iframe* frame = x86_get_current_iframe(); local [all...] |
H A D | arch_debug.cpp | 73 stack_frame frame; local 75 && is_kernel_stack_address(thread, bp + sizeof(frame) - 1)) { 76 memcpy(&frame, (void*)bp, sizeof(frame)); 78 || user_memcpy(&frame, (void*)bp, sizeof(frame)) != B_OK) { 82 *_ip = frame.return_address; 83 *_next = (addr_t)frame.previous; 94 stack_frame frame; local 95 if (debug_memcpy(B_CURRENT_TEAM, &frame, (voi 426 print_iframe(iframe* frame) argument 550 is_iframe(Thread* thread, addr_t frame) argument 562 find_previous_iframe(Thread* thread, addr_t frame) argument 577 get_previous_iframe(Thread* thread, iframe* frame) argument 607 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local 719 iframe* frame = (iframe*)bp; local 883 struct iframe *frame = (struct iframe *)ebp; local 956 iframe* frame = find_previous_iframe(thread, x86_get_stack_frame()); local 1050 stack_frame* frame = (stack_frame*)x86_get_stack_frame(); local 1092 iframe* frame = (iframe*)bp; local 1155 iframe* frame = (iframe*)bp; local 1195 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local 1279 iframe* frame = get_current_iframe(debug_get_debugged_thread()); local [all...] |
H A D | arch_int.cpp | 87 x86_invalid_exception(iframe* frame) argument 92 frame->vector, exception_name(frame->vector, name, sizeof(name)), 93 frame->ip, thread ? thread->id : -1); 98 x86_fatal_exception(iframe* frame) argument 102 exception_name(frame->vector, name, sizeof(name)), frame->error_code); 107 x86_unexpected_exception(iframe* frame) argument 115 switch (frame->vector) { 120 signalAddress = frame 216 x86_hardware_interrupt(struct iframe* frame) argument 264 x86_page_fault_exception(struct iframe* frame) argument [all...] |
/haiku/src/system/kernel/arch/x86/32/ |
H A D | thread.cpp | 85 x86_restart_syscall(struct iframe* frame) argument 92 frame->ax = frame->orig_eax; 93 frame->dx = frame->orig_edx; 94 frame->ip -= 2; 125 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, argument 131 && (frame->user_sp < thread->signal_stack_base 132 || frame->user_sp >= thread->signal_stack_base 138 return (uint8*)((frame 296 struct iframe *frame = x86_get_current_iframe(); local 371 struct iframe* frame = x86_get_current_iframe(); local [all...] |
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_int.cpp | 75 print_iframe(const char *event, struct iframe *frame) argument 81 frame->elr, frame->spsr); 83 frame->lr, frame->sp); 228 do_sync_handler(iframe * frame) argument 231 print_iframe("Sync abort", frame); 234 IFrameScope scope(frame); 237 switch (ESR_ELx_EXCEPTION(frame->esr)) { 244 bool write = (frame 384 do_error_handler(iframe * frame) argument 397 do_irq_handler(iframe * frame) argument 418 do_fiq_handler(iframe * frame) argument [all...] |
/haiku/src/system/kernel/arch/x86/64/ |
H A D | thread.cpp | 82 x86_restart_syscall(iframe* frame) argument 89 // Get back the original system call number and modify the frame to 91 frame->ax = frame->orig_rax; 92 frame->ip -= 2; 121 get_signal_stack(Thread* thread, iframe* frame, struct sigaction* action, argument 127 && (frame->user_sp < thread->signal_stack_base 128 || frame->user_sp >= thread->signal_stack_base 138 return (uint8*)((frame->user_sp - 128 - spaceNeeded) & ~addr_t(0xf)) - 8; 298 iframe frame 345 iframe* frame = x86_get_current_iframe(); local 423 iframe* frame = x86_get_current_iframe(); local [all...] |
/haiku/src/tests/servers/app/draw_after_children/ |
H A D | DrawAfterChildren.cpp | 59 TestView(BRect frame); 67 TestView::TestView(BRect frame) argument 68 : BView(frame, "TestView", B_FOLLOW_ALL, 114 ChildView(BRect frame, const char* name, rgb_color viewColor); 121 ChildView::ChildView(BRect frame, const char* name, rgb_color viewColor) argument 122 : BView(frame, name, B_FOLLOW_ALL, 0) 151 BRect frame(100, 100, 700, 400); 152 BWindow* window = new BWindow(frame, "Window", 155 frame.OffsetTo(B_ORIGIN); 156 TestView* view = new TestView(frame); [all...] |
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_thread.cpp | 47 arm_push_iframe(struct iframe_stack *stack, struct iframe *frame) argument 50 stack->frames[stack->index++] = frame; 199 iframe frame = {}; local 200 frame.r0 = (uint32)args1; 201 frame.r1 = (uint32)args2; 202 frame.usr_sp = stackTop; 203 frame.usr_lr = ((addr_t*)commPageAddress)[COMMPAGE_ENTRY_ARM_THREAD_EXIT] 205 frame.pc = entry; 208 arch_return_to_userland(&frame); 218 struct iframe* frame local 231 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, size_t spaceNeeded) argument 250 iframe* frame = thread->arch_info.userFrame; local 313 iframe* frame = thread_get_current_thread()->arch_info.userFrame; local 353 struct iframe* frame = thread_get_current_thread()->arch_info.userFrame; local [all...] |
/haiku/src/apps/processcontroller/ |
H A D | NoiseBarMenuItem.cpp | 39 BRect frame = Frame(); local 45 frame = bar_rect(frame, &font); 58 menu->StrokeRect(frame); 61 frame.InsetBy(1, 1); 62 BRect r = frame; 63 float grenze1 = frame.left+(frame.right-frame.left)*fBusyWaiting; 64 float grenze2 = frame [all...] |
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_debug.cpp | 59 stack_frame *frame; local 60 asm volatile("move.l %%fp,%0" : "=r"(frame)); 61 return frame; 68 stack_frame frame; local 69 if (debug_memcpy(B_CURRENT_TEAM, &frame, (void*)framePointer, sizeof(frame)) 74 *ip = frame.return_address; 75 *next = (addr_t)frame.previous; 182 kprintf("frame caller <image>:function + offset\n"); 185 // see if the frame pointe 186 struct iframe *frame = NULL; local 303 struct iframe *frame = NULL; local [all...] |
/haiku/src/apps/login/ |
H A D | LoginWindow.h | 12 LoginWindow(BRect frame);
|
/haiku/3rdparty/mmu_man/scripts/ |
H A D | dump_windows.sh | 10 frame="$(hey "$team" get Frame of Window "$w" | sed -n 's/)$//;/"result"/s/.*TYPE) : BRect(//p')" 11 echo "hey \"$app\" set Frame of Window \"$title\" to \"BRect($frame)\""
|
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | interface.c | 96 wb_mii_readreg(wb_device *device, wb_mii_frame *frame) argument 101 * Set up frame for RX. 103 frame->mii_stdelim = WB_MII_STARTDELIM; 104 frame->mii_opcode = WB_MII_READOP; 105 frame->mii_turnaround = 0; 106 frame->mii_data = 0; 120 mii_send(device, frame->mii_stdelim, 2); 121 mii_send(device, frame->mii_opcode, 2); 122 mii_send(device, frame->mii_phyaddr, 5); 123 mii_send(device, frame 186 wb_mii_writereg(wb_device *device, wb_mii_frame *frame) argument 228 struct wb_mii_frame frame; local 243 struct wb_mii_frame frame; local [all...] |
/haiku/src/add-ons/translators/shared/ |
H A D | TranslatorWindow.cpp | 104 BRect frame = scrn.Frame(); local 105 frame.InsetBy(10, 23); 106 // if the point is outside of the screen frame, 108 if (!frame.Contains(wndpt)) { 114 if (wndpt.x < frame.left) 115 wndpt.x = frame.left; 116 if (wndpt.y < frame.top) 117 wndpt.y = frame.top; 118 if (wndpt.x > frame.right) 119 wndpt.x = frame [all...] |
/haiku/src/apps/pulse/ |
H A D | ProgressBar.cpp | 156 BRect frame = Bounds(); local 157 StrokeLine(BPoint(frame.left, frame.top), BPoint(frame.right, frame.top)); 158 StrokeLine(BPoint(frame.left, frame.top + 1), BPoint(frame.right, 159 frame.top + 1)); 160 StrokeLine(BPoint(frame [all...] |
/haiku/src/apps/launchbox/ |
H A D | support.cpp | 89 make_sure_frame_is_on_screen(BRect& frame, BWindow* window) argument 95 if (frame.IsValid() && screen->IsValid()) { 97 if (!screenFrame.Contains(frame)) { 98 // make sure frame fits in the screen 99 if (frame.Width() > screenFrame.Width()) 100 frame.right -= frame.Width() - screenFrame.Width() + 10.0; 101 if (frame.Height() > screenFrame.Height()) 102 frame.bottom -= frame [all...] |
/haiku/src/apps/haiku3d/ |
H A D | App.cpp | 31 BRect frame(50, 50, 640 + 50, 480 + 50); 33 fMainWindow = new MainWindow(frame, title);
|
/haiku/src/bin/network/ppp_up/ |
H A D | PPPStatusWindow.cpp | 9 PPPStatusWindow::PPPStatusWindow(BRect frame, ppp_interface_id id) argument 10 : BWindow(frame, "", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
|