Home
last modified time | relevance | path

Searched refs:max_w (Results 1 – 25 of 1504) sorted by relevance

12345678910>>...61

/dports/misc/urbit/urbit-urbit-0.6.0/tests/
H A Dhashtable_tests.c39 c3_w max_w = 1000; in _test_no_cache() local
43 for ( i_w = 0; i_w < max_w; i_w++ ) { in _test_no_cache()
44 u3h_put(har_p, i_w, i_w + max_w); in _test_no_cache()
47 for ( i_w = 0; i_w < max_w; i_w++ ) { in _test_no_cache()
92 c3_w max_w = 620; in _test_cache_trimming() local
100 u3h_put(har_p, i_w, i_w + max_w); in _test_cache_trimming()
103 if ( ( max_w + max_w - 1) != u3h_get(har_p, max_w - 1) ) { in _test_cache_trimming()
117 c3_w max_w = 100; in _test_cache_replace_value() local
124 u3h_put(har_p, i_w, i_w + max_w); in _test_cache_replace_value()
131 if ( (2 * max_w) != u3h_get(har_p, max_w - 1) ) { in _test_cache_replace_value()
[all …]
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Widkit/Basic/
H A Dwindow_widget.cpp57 SI min_w= 0, min_h= 0, def_w= W, def_h= H, max_w= W, max_h= H; in plain_window_widget() local
60 wid << get_size (max_w, max_h, 1); in plain_window_widget()
63 min_w, min_h, def_w, def_h, max_w, max_h); in plain_window_widget()
71 SI min_w= 0, min_h= 0, def_w= W, def_h= H, max_w= W, max_h= H; in popup_window_widget() local
74 wid << get_size (max_w, max_h, 1); in popup_window_widget()
77 min_w, min_h, def_w, def_h, max_w, max_h); in popup_window_widget()
94 SI max_w= old_w, max_h= old_h; in refresh_size() local
97 concrete (wid) << get_size (max_w, max_h, 1); in refresh_size()
98 win->set_size_limits (min_w, min_h, max_w, max_h); in refresh_size()
99 SI new_w= min (max (old_w, min_w), max_w); in refresh_size()
/dports/games/warmux/warmux-11.04/src/menu/
H A Dhelp_menu.cpp42 int max_w = window_w - 2*border; in HelpMenu() local
45 MultiTabs *tabs = new MultiTabs(Point2i(max_w, max_h)); in HelpMenu()
50 w = new FigureWidget(Point2i(max_w, in HelpMenu()
62 w = new FigureWidget(Point2i(max_w, in HelpMenu()
75 w = new FigureWidget(Point2i(max_w, in HelpMenu()
82 w = new FigureWidget(Point2i(max_w, in HelpMenu()
92 w = new FigureWidget(Point2i(max_w, in HelpMenu()
102 w = new FigureWidget(Point2i(max_w, in HelpMenu()
112 w = new FigureWidget(Point2i(max_w, in HelpMenu()
121 w = new FigureWidget(Point2i(max_w, in HelpMenu()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/sprite/
H A Dsprite_data.cpp112 float max_w = 0; in parse_action() local
116 max_w = std::max(max_w, static_cast<float>(surface->get_width())); in parse_action()
168 float max_w = 0; in parse_action() local
172 max_w = std::max(max_w, static_cast<float>(surface->get_width())); in parse_action()
176 if (action->hitbox_w < 1) action->hitbox_w = max_w - action->x_offset; in parse_action()
196 float max_w = 0; in parse_action() local
200 max_w = std::max(max_w, static_cast<float>(surface->get_width())); in parse_action()
203 if (action->hitbox_w < 1) action->hitbox_w = max_w - action->x_offset; in parse_action()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Utils/
H A DWordWrap.h20 UINT16 IanDisplayWrappedString(UINT16 sx, UINT16 sy, UINT16 max_w, UINT8 gap, SGPFont font, UINT8 f…
21 inline UINT16 IanDisplayWrappedString(UINT16 sx, UINT16 sy, UINT16 max_w, UINT8 gap, SGPFont font, … in IanDisplayWrappedString() argument
23 …return IanDisplayWrappedString(sx, sy, max_w, gap, font, foreground, str.to_utf32(), background, f… in IanDisplayWrappedString()
63 void DrawTextToScreen(const ST::utf32_buffer& codepoints, UINT16 x, UINT16 y, UINT16 max_w, SGPFont…
64 inline void DrawTextToScreen(const ST::string& str, UINT16 x, UINT16 y, UINT16 max_w, SGPFont font,… in DrawTextToScreen() argument
66 DrawTextToScreen(str.to_utf32(), x, y, max_w, font, foreground, background, flags); in DrawTextToScreen()
68 UINT16 IanWrappedStringHeight(UINT16 max_w, UINT8 gap, SGPFont font, const ST::utf32_buffer& codepo…
69 inline UINT16 IanWrappedStringHeight(UINT16 max_w, UINT8 gap, SGPFont font, const ST::string& str) in IanWrappedStringHeight() argument
71 return IanWrappedStringHeight(max_w, gap, font, str.to_utf32()); in IanWrappedStringHeight()
/dports/devel/godot2/godot-2.1.6-stable/editor/io_plugins/
H A Deditor_atlas.cpp45 int max_w; member
70 int max_w = 0; in fit() local
132 if (end_w > max_w) in fit()
133 max_w = end_w; in fit()
139 result.max_w = max_w; in fit()
141 float perimeter = (next_power_of_2(max_w) + max_h) * 2.f; in fit()
153 float w = results[i].max_w; in fit()
173 r_size = Size2(results[best].max_w, results[best].max_h); in fit()
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/io_plugins/
H A Deditor_atlas.cpp45 int max_w; member
70 int max_w = 0; in fit() local
132 if (end_w > max_w) in fit()
133 max_w = end_w; in fit()
139 result.max_w = max_w; in fit()
141 float perimeter = (next_power_of_2(max_w) + max_h) * 2.f; in fit()
153 float w = results[i].max_w; in fit()
173 r_size = Size2(results[best].max_w, results[best].max_h); in fit()
/dports/emulators/stella/stella-6.6/src/gui/
H A DMessageBox.cxx30 const StringList& text, int max_w, int max_h, int okCmd, int cancelCmd, in MessageBox() argument
34 : Dialog(boss->instance(), boss->parent(), font, title, 0, 0, max_w, max_h), in MessageBox()
48 const StringList& text, int max_w, int max_h, int okCmd, in MessageBox() argument
52 : MessageBox(boss, font, text, max_w, max_h, in MessageBox()
59 const string& text, int max_w, int max_h, int okCmd, in MessageBox() argument
63 : MessageBox(boss, font, StringParser(text).stringList(), max_w, max_h, in MessageBox()
70 const string& text, int max_w, int max_h, int okCmd, int cancelCmd, in MessageBox() argument
74 : MessageBox(boss, font, StringParser(text).stringList(), max_w, max_h, in MessageBox()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/Extras/glui/
H A Dglui_control.cpp451 max_w = -1; in pack_old()
485 max_w = 0; in pack_old()
494 if ( node->w > max_w ) { in pack_old()
495 max_w = node->w; in pack_old()
497 curr_column->w = max_w; in pack_old()
568 int max_w = -1; in get_this_column_dims() local
581 *col_w = max_w; in get_this_column_dims()
660 max_w = 0; in pack()
690 max_w = 0; in pack()
704 if ( node->w > max_w ) { in pack()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/box2d/glui/
H A Dglui_control.cpp451 max_w = -1; in pack_old()
485 max_w = 0; in pack_old()
494 if ( node->w > max_w ) { in pack_old()
495 max_w = node->w; in pack_old()
497 curr_column->w = max_w; in pack_old()
568 int max_w = -1; in get_this_column_dims() local
581 *col_w = max_w; in get_this_column_dims()
660 max_w = 0; in pack()
690 max_w = 0; in pack()
704 if ( node->w > max_w ) { in pack()
[all …]
/dports/devel/glui/glui-2.36/src/
H A Dglui_control.cpp453 max_w = -1; in pack_old()
487 max_w = 0; in pack_old()
496 if ( node->w > max_w ) { in pack_old()
497 max_w = node->w; in pack_old()
499 curr_column->w = max_w; in pack_old()
570 int max_w = -1; in get_this_column_dims() local
583 *col_w = max_w; in get_this_column_dims()
662 max_w = 0; in pack()
692 max_w = 0; in pack()
706 if ( node->w > max_w ) { in pack()
[all …]
/dports/devel/agar/agar-1.5.0/gui/
H A Dradio.c101 if (w > rad->max_w) { rad->max_w = w; } in AG_RadioItemsFromArray()
122 if (w > rad->max_w) { rad->max_w = w; } in AG_RadioAddItemS()
149 if (w > rad->max_w) { rad->max_w = w; } in AG_RadioAddItem()
172 if (w > rad->max_w) { rad->max_w = w; } in AG_RadioAddItemHKS()
198 if (w > rad->max_w) { rad->max_w = w; } in AG_RadioAddItemHK()
220 rad->max_w = 0; in AG_RadioClearItems()
304 rad->max_w; in SizeRequest()
424 rad->max_w = 0; in OnFontChange()
434 if (w > rad->max_w) { rad->max_w = w; } in OnFontChange()
436 if (w > rad->max_w) { rad->max_w = w; } in OnFontChange()
[all …]
/dports/graphics/aloadimage/arcan-0.6.1/tests/frameservers/dnd/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/graphics/aloadimage/arcan-0.6.1/src/shmif/tui/raster/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/sysutils/acfgfs/arcan-0.6.1/src/shmif/tui/raster/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/sysutils/acfgfs/arcan-0.6.1/tests/frameservers/dnd/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/x11/arcan-trayicon/arcan-0.6.1/tests/frameservers/dnd/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/x11/aclip/arcan-0.6.1/tests/frameservers/dnd/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/x11/aclip/arcan-0.6.1/src/shmif/tui/raster/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h,
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h)
8 int ux = x + w > max_w ? max_w : x + w;
/dports/x11/arcan-trayicon/arcan-0.6.1/src/shmif/tui/raster/
H A Ddraw.h2 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
5 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
8 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/
H A Dmbl_eps_writer.cxx250 unsigned max_w = 200; in draw_image() local
251 unsigned ni_blocks = 1+(ni-1)/max_w; in draw_image()
252 unsigned nj_blocks = 1+(nj-1)/max_w; in draw_image()
256 unsigned wi=std::min(max_w,ni-(i*max_w)); in draw_image()
257 unsigned wj=std::min(max_w,nj-(j*max_w)); in draw_image()
258 vil_image_view<vxl_byte> cropped=vil_crop(image,i*max_w,wi,j*max_w,wj); in draw_image()
259 double tx1=tx+i*max_w*pixel_width_x; in draw_image()
260 double ty1=ty+j*max_w*pixel_width_y; in draw_image()
/dports/graphics/aloadimage/arcan-0.6.1/tests/frameservers/iodump/
H A Diodump.c31 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
34 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
37 if (x + w > max_w - 1) in draw_box_px()
38 w = max_w - x - 1; in draw_box_px()
43 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/sysutils/acfgfs/arcan-0.6.1/tests/frameservers/iodump/
H A Diodump.c31 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
34 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
37 if (x + w > max_w - 1) in draw_box_px()
38 w = max_w - x - 1; in draw_box_px()
43 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/x11/aclip/arcan-0.6.1/tests/frameservers/iodump/
H A Diodump.c31 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
34 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
37 if (x + w > max_w - 1) in draw_box_px()
38 w = max_w - x - 1; in draw_box_px()
43 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()
/dports/x11/arcan-trayicon/arcan-0.6.1/tests/frameservers/iodump/
H A Diodump.c31 shmif_pixel* px, size_t pitch, size_t max_w, size_t max_h, in draw_box_px() argument
34 if (x >= max_w || y >= max_h || x + w > max_w || y + h > max_h) in draw_box_px()
37 if (x + w > max_w - 1) in draw_box_px()
38 w = max_w - x - 1; in draw_box_px()
43 int ux = x + w > max_w ? max_w : x + w; in draw_box_px()

12345678910>>...61