/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/gprpp/ |
H A D | map.h | 111 static int32_t EntryHeight(const Entry* e) { in EntryHeight() function 322 e->height = 1 + GPR_MAX(EntryHeight(e->left), EntryHeight(e->right)); in RotateLeft() 323 rightChild->height = 1 + GPR_MAX(EntryHeight(rightChild->left), in RotateLeft() 335 e->height = 1 + GPR_MAX(EntryHeight(e->left), EntryHeight(e->right)); in RotateRight() 337 1 + GPR_MAX(EntryHeight(leftChild->left), EntryHeight(leftChild->right)); in RotateRight() 345 root->height = 1 + GPR_MAX(EntryHeight(root->left), EntryHeight(root->right)); in RebalanceTreeAfterInsertion() 346 int32_t heightDifference = EntryHeight(root->left) - EntryHeight(root->right); in RebalanceTreeAfterInsertion() 367 root->height = 1 + GPR_MAX(EntryHeight(root->left), EntryHeight(root->right)); in RebalanceTreeAfterDeletion() 368 int32_t heightDifference = EntryHeight(root->left) - EntryHeight(root->right); in RebalanceTreeAfterDeletion() 371 EntryHeight(root->left->left) - EntryHeight(root->left->right); in RebalanceTreeAfterDeletion() [all …]
|
/dports/x11-wm/ctwm/ctwm-4.0.3/ |
H A D | menus.c | 291 y_offset + Scr->EntryHeight - 2, in Paint3DEntry() 293 y_offset + Scr->EntryHeight - 2); in Paint3DEntry() 297 y_offset + Scr->EntryHeight - 1, in Paint3DEntry() 299 y_offset + Scr->EntryHeight - 1); in Paint3DEntry() 335 y_offset = mi->item_num * Scr->EntryHeight; in PaintNormalEntry() 392 mr->width, Scr->EntryHeight); in PaintNormalEntry() 543 entry = y / Scr->EntryHeight; in UpdateMenu() 853 Scr->EntryHeight = Scr->MenuFont.height + 4; in MakeMenu() 877 mr->height = mr->items * Scr->EntryHeight; in MakeMenu() 1429 const int yt = y + (Scr->EntryHeight / 2); in PopUpMenu() [all …]
|
H A D | event_handlers.c | 594 int yy = Event.xkey.y + Scr->EntryHeight; in HandleKeyPress() 598 yy -= (wy - (Scr->EntryHeight / 2) - 2); in HandleKeyPress() 619 int yy = Event.xkey.y - Scr->EntryHeight; in HandleKeyPress() 623 yy -= (wy - ActiveMenu->height + (Scr->EntryHeight / 2) + 2); in HandleKeyPress() 675 yy -= (wy - menu->lastactive->item_num * Scr->EntryHeight - in HandleKeyPress() 676 (Scr->EntryHeight / 2) - 2); in HandleKeyPress() 678 yy -= (wy - (Scr->EntryHeight / 2) - 2); in HandleKeyPress() 750 wy = (item->item_num * Scr->EntryHeight) + (Scr->EntryHeight / 2) + 2; in HandleKeyPress() 839 yy -= (wy - item->item_num * Scr->EntryHeight - (Scr->EntryHeight / 2) - 2); in HandleKeyPress() 3414 entry = y / Scr->EntryHeight; in HandleEnterNotify()
|
H A D | screen.h | 758 int EntryHeight; ///< Menu entry height. Calc'd from font height. member
|
/dports/x11-wm/piewm/piewm-1.04/ |
H A D | icon | 1 menus.c:490: y_offset = mi->item_num * Scr->EntryHeight; 16 menus.c:569: y = ((mi->item_num+1) * Scr->EntryHeight)-1; 21 menus.c:595: int y_offset = mi->item_num * Scr->EntryHeight;
|
H A D | menus.c | 507 y_offset = mi->item_num * Scr->EntryHeight; in PaintEntry() 520 mr->width, Scr->EntryHeight); in PaintEntry() 532 mr->width, Scr->EntryHeight); in PaintEntry() 571 mr->width, Scr->EntryHeight); in PaintEntry() 586 y = ((mi->item_num+1) * Scr->EntryHeight)-1; in PaintEntry() 816 entry = y / Scr->EntryHeight; in TrackMenu() 863 (ActiveItem->item_num * Scr->EntryHeight) + in TrackMenu() 864 (Scr->EntryHeight >> 1)), in TrackMenu() 1062 Scr->EntryHeight = MAX(Scr->MenuFont.height, in MakeMenu() 1066 Scr->EntryHeight = Scr->MenuFont.height + 4; in MakeMenu() [all …]
|
H A D | screen.h | 240 int EntryHeight; /* menu entry height */ member
|
/dports/x11-wm/vtwm/vtwm-5.5.0/ |
H A D | menus.c | 576 y_offset = (mi->item_num - mr->top) * Scr->EntryHeight; in PaintNormalEntry() 630 …XDrawLine(dpy, mr->w.win, gc, 0, y_offset + Scr->EntryHeight - 1, mr->width, y_offset + Scr->Entry… in PaintNormalEntry() 657 y = y_offset + ((Scr->EntryHeight - Scr->pullH) / 2); in PaintNormalEntry() 680 y = ((mi->item_num + 1) * Scr->EntryHeight) - 1; in PaintNormalEntry() 705 y_offset = (mi->item_num - mr->top) * Scr->EntryHeight; in PaintMenu() 707 if (y_offset + Scr->EntryHeight > mr->height) in PaintMenu() 712 y_offset += Scr->EntryHeight; in PaintMenu() 719 if (e->xexpose.y < (y_offset + Scr->EntryHeight) && in PaintMenu() 848 int k = JunkHeight / Scr->EntryHeight; in UpdateMenu() 867 entry = (y / Scr->EntryHeight) + ActiveMenu->top; in UpdateMenu() [all …]
|
H A D | screen.h | 350 int EntryHeight; /* menu entry height */ member
|
/dports/x11-wm/tvtwm/tvtwm/ |
H A D | menus.c | 545 y_offset = mi->item_num * Scr->EntryHeight; 560 mr->width, Scr->EntryHeight); 576 mr->width, Scr->EntryHeight); 651 mr->width, Scr->EntryHeight); 666 y = ((mi->item_num+1) * Scr->EntryHeight)-1; 695 int y_offset = mi->item_num * Scr->EntryHeight; 842 entry = y / Scr->EntryHeight; in UpdateMenu() 979 entry = y / Scr->EntryHeight; in UpdateMenu() 1241 Scr->EntryHeight = MAX(Scr->MenuFont.height, 1247 Scr->EntryHeight = Scr->MenuFont.height + 4; [all …]
|
H A D | screen.h | 238 int EntryHeight; /* menu entry height */ member
|
/dports/x11-wm/twm/twm-1.0.11/src/ |
H A D | menus.c | 365 y_offset = mi->item_num * Scr->EntryHeight; in PaintEntry() 375 (unsigned) mr->width, (unsigned) Scr->EntryHeight); in PaintEntry() 390 (unsigned) Scr->EntryHeight); in PaintEntry() 423 (unsigned) mr->width, (unsigned) Scr->EntryHeight); in PaintEntry() 431 y = ((mi->item_num + 1) * Scr->EntryHeight) - 1; in PaintEntry() 448 int y_offset = mi->item_num * Scr->EntryHeight; in PaintMenu() 453 if (e->xexpose.y < (y_offset + Scr->EntryHeight) && in PaintMenu() 528 entry = y / Scr->EntryHeight; in UpdateMenu() 570 (savey + ActiveItem->item_num * Scr->EntryHeight) in UpdateMenu() 742 Scr->EntryHeight = Scr->MenuFont.height + 4; in MakeMenu() [all …]
|
H A D | screen.h | 207 int EntryHeight; /* menu entry height */ member
|
/dports/x11-wm/afterstep/AfterStep-1.0/afterstep/ |
H A D | menus.c | 131 y = MenuY + (Scr.EntryHeight >>1); in do_menu() 403 d=(Scr.EntryHeight-7)/2; in PaintEntry() 410 d=(Scr.EntryHeight-7)/2; in PaintEntry() 819 y -= (Scr.EntryHeight >> 1); in PopUpMenu()
|
H A D | screen.h | 199 int EntryHeight; /* menu entry height */ member
|
H A D | move.c | 340 move_size = Scr.EntryHeight; in Keyboard_shortcuts()
|
H A D | configure.c | 1364 Scr.EntryHeight = Scr.StdFont.height + HEIGHT_EXTRA +2; in GetColors() 1843 cur->y_height = Scr.EntryHeight; in MakeMenu()
|
/dports/x11-wm/vtwm/vtwm-5.5.0/doc/ |
H A D | 4.README | 95 ! menus.c:444: Draw3DBorder (mr->w, 2, y_offset, mr->width - 4, Scr->EntryHeight, 1, 97 ! menus.c:486: Draw3DBorder (mr->w, 2, y_offset, mr->width - 4, Scr->EntryHeight, 1,
|