/dports/x11-wm/skippy-xd/skippy-xd-397216c/src/ |
H A D | img-xlib.c | 12 int best_width = 0, best_height = 0; in simg_load_icon() local 40 if (best_width >= desired_size && best_height >= desired_size in simg_load_icon() 44 MIN((float) best_height / height, (float) best_width / width)); in simg_load_icon() 47 best_width = width; in simg_load_icon() 58 (const long *) best_data, best_width * best_height); in simg_load_icon() 59 simg_data32_premultiply(converted_data, best_width * best_height); in simg_load_icon() 60 pictw = simg_data_to_pictw(ps, best_width, best_height, 32, converted_data, 0); in simg_load_icon()
|
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/platform/common/minimp3/huffopt/ |
H A D | huffopt.c | 25 int best_width, size; member 178 h->dp.size = huff_size(h, h->dp.best_width = wmin) + (1 << wmin); in huff_optimize_partition() 179 h->dp.mips = huff_cost(h, h->dp.best_width = wmin) + 1.f/(1 << h->level); in huff_optimize_partition() 197 h->dp.best_width = i; in huff_optimize_partition() 227 fprintf(f, last ? "%d" : "%d,", (h->offset << 3) | h->dp.best_width); in huff_print_one() 243 int i, w = 1 << q->dp.best_width; in huff_set_links_bfs() 246 huff_t *r = (huff_t *)huff_decode(q, i, q->dp.best_width); in huff_set_links_bfs() 275 int i, w = 1 << h->dp.best_width; in huff_set_links_dfs_recursion() 284 huff_t *q = (huff_t *)huff_decode(h, i, h->dp.best_width); in huff_set_links_dfs_recursion() 318 printf("%1d entry ", h ? h->dp.best_width : 0); in main() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/minimp3-sys-0.3.2/minimp3/huffopt/ |
H A D | huffopt.c | 25 int best_width, size; member 178 h->dp.size = huff_size(h, h->dp.best_width = wmin) + (1 << wmin); in huff_optimize_partition() 179 h->dp.mips = huff_cost(h, h->dp.best_width = wmin) + 1.f/(1 << h->level); in huff_optimize_partition() 197 h->dp.best_width = i; in huff_optimize_partition() 227 fprintf(f, last ? "%d" : "%d,", (h->offset << 3) | h->dp.best_width); in huff_print_one() 243 int i, w = 1 << q->dp.best_width; in huff_set_links_bfs() 246 huff_t *r = (huff_t *)huff_decode(q, i, q->dp.best_width); in huff_set_links_bfs() 275 int i, w = 1 << h->dp.best_width; in huff_set_links_dfs_recursion() 284 huff_t *q = (huff_t *)huff_decode(h, i, h->dp.best_width); in huff_set_links_dfs_recursion() 318 printf("%1d entry ", h ? h->dp.best_width : 0); in main() [all …]
|
/dports/audio/minimp3/minimp3-ca7c706/huffopt/ |
H A D | huffopt.c | 25 int best_width, size; member 178 h->dp.size = huff_size(h, h->dp.best_width = wmin) + (1 << wmin); in huff_optimize_partition() 179 h->dp.mips = huff_cost(h, h->dp.best_width = wmin) + 1.f/(1 << h->level); in huff_optimize_partition() 197 h->dp.best_width = i; in huff_optimize_partition() 227 fprintf(f, last ? "%d" : "%d,", (h->offset << 3) | h->dp.best_width); in huff_print_one() 243 int i, w = 1 << q->dp.best_width; in huff_set_links_bfs() 246 huff_t *r = (huff_t *)huff_decode(q, i, q->dp.best_width); in huff_set_links_bfs() 275 int i, w = 1 << h->dp.best_width; in huff_set_links_dfs_recursion() 284 huff_t *q = (huff_t *)huff_decode(h, i, h->dp.best_width); in huff_set_links_dfs_recursion() 318 printf("%1d entry ", h ? h->dp.best_width : 0); in main() [all …]
|
/dports/editors/rehex/rehex-0.4.0/tests/ |
H A D | SizeTestPanel.cpp | 24 SizeTestPanel::SizeTestPanel(wxWindow *parent, int min_width, int min_height, int best_width, int b… in BEGIN_EVENT_TABLE() 28 best_width(best_width), best_height(best_height), in BEGIN_EVENT_TABLE() 37 return wxSize(best_width, best_height); in DoGetBestClientSize() 61 int xe = (best_width > 0 ? (best_width - 1) : (size.GetWidth() - 1)); in OnPaint()
|
H A D | SizeTestPanel.hpp | 31 const int best_width, best_height; member in SizeTestPanel 37 …SizeTestPanel(wxWindow *parent, int min_width, int min_height, int best_width, int best_height, in…
|
/dports/x11/roxterm/roxterm-3.11.1/src/ |
H A D | multitab-label.c | 190 self->best_width = NULL; in multitab_label_init() 210 multitab_label_new (GtkWidget *parent, const char *text, int *best_width) in multitab_label_new() argument 218 self->best_width = best_width; in multitab_label_new() 224 GtkWidget *parent, int *best_width) in multitab_label_set_parent() argument 227 self->best_width = best_width; in multitab_label_set_parent()
|
H A D | multitab-label.h | 58 int *best_width; member 74 multitab_label_new (GtkWidget *parent, const char *text, int *best_width); 78 GtkWidget *parent, int *best_width);
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/hexagon/ |
H A D | dectree.py | 108 best_width = 0 114 best_width = width 118 if best_width != 0: 120 if best_width == 0: 124 for width in range(1, best_width): 129 best_width = width 136 node['separator_width'] = best_width 138 for value in range(2 ** best_width): 140 bits = ''.join(reversed('{:0{}b}'.format(value, best_width))) 143 if encs[tag][best_lsb:best_lsb+best_width] == bits])
|
/dports/emulators/qemu/qemu-6.2.0/target/hexagon/ |
H A D | dectree.py | 108 best_width = 0 114 best_width = width 118 if best_width != 0: 120 if best_width == 0: 124 for width in range(1, best_width): 129 best_width = width 136 node['separator_width'] = best_width 138 for value in range(2 ** best_width): 140 bits = ''.join(reversed('{:0{}b}'.format(value, best_width))) 143 if encs[tag][best_lsb:best_lsb+best_width] == bits])
|
/dports/emulators/qemu60/qemu-6.0.0/target/hexagon/ |
H A D | dectree.py | 108 best_width = 0 114 best_width = width 118 if best_width != 0: 120 if best_width == 0: 124 for width in range(1, best_width): 129 best_width = width 136 node['separator_width'] = best_width 138 for value in range(2 ** best_width): 140 bits = ''.join(reversed('{:0{}b}'.format(value, best_width))) 143 if encs[tag][best_lsb:best_lsb+best_width] == bits])
|
/dports/math/ogdf/OGDF/src/ogdf/packing/ |
H A D | ComponentSplitterLayout.cpp | 220 double best_width = 0.0; in reassembleDrawings() local 257 best_width = width; in reassembleDrawings() 265 best_width = 1.0; in reassembleDrawings() 271 if (best_width < best_height) { in reassembleDrawings() 274 best_height = best_width; in reassembleDrawings() 275 best_width = temp; in reassembleDrawings() 302 int w = static_cast<int>(best_width); in reassembleDrawings()
|
/dports/graphics/chafa/chafa-1.8.0/tools/chafa/ |
H A D | font-loader.c | 293 gint best_width = 0, best_height = 0, best_baseline = 0; in find_best_pixel_size_fixed() local 310 if (((best_width < target_width || best_height < CHAFA_SYMBOL_HEIGHT_PIXELS) in find_best_pixel_size_fixed() 311 && (width >= best_width && height >= best_height)) in find_best_pixel_size_fixed() 312 || ((best_width > target_width || best_height > CHAFA_SYMBOL_HEIGHT_PIXELS) in find_best_pixel_size_fixed() 314 && (width < best_width || height < best_height))) in find_best_pixel_size_fixed() 316 best_width = width; in find_best_pixel_size_fixed() 322 if (best_width == 0 || best_height == 0) in find_best_pixel_size_fixed() 325 if (FT_Set_Pixel_Sizes (loader->ft_face, best_width, best_height)) in find_best_pixel_size_fixed() 328 loader->font_width = best_width; in find_best_pixel_size_fixed()
|
/dports/graphics/freetype-gl/freetype-gl-647b062/harfbuzz/ |
H A D | texture-atlas.c | 177 size_t best_height, best_width; in texture_atlas_get_region() local 186 best_width = UINT_MAX; in texture_atlas_get_region() 194 ( ((y + height) == best_height) && (node->z > 0 && (size_t)node->z < best_width)) ) in texture_atlas_get_region() 198 best_width = node->z; in texture_atlas_get_region()
|
/dports/graphics/freetype-gl/freetype-gl-647b062/ |
H A D | texture-atlas.c | 177 size_t best_height, best_width; in texture_atlas_get_region() local 186 best_width = UINT_MAX; in texture_atlas_get_region() 194 ( ((y + height) == best_height) && (node->z > 0 && (size_t)node->z < best_width)) ) in texture_atlas_get_region() 198 best_width = node->z; in texture_atlas_get_region()
|
/dports/games/spring/spring_98.0/rts/Rendering/Textures/ |
H A D | RowAtlasAlloc.cpp | 128 int best_width = atlasSize.x; in FindRow() local 141 if ((ratio < best_ratio) || ((ratio == best_ratio) && (row.width < best_width))) { in FindRow() 142 best_width = row.width; in FindRow()
|
/dports/textproc/spiff/spiff-1.0.8/vendor/github.com/cloudfoundry-incubator/candiedyaml/ |
H A D | emitter.go | 324 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 325 emitter.best_width = 80 328 if emitter.best_width < 0 { 329 emitter.best_width = 1<<31 - 1 565 if emitter.canonical || emitter.column > emitter.best_width { 621 if emitter.canonical || emitter.column > emitter.best_width { 652 if emitter.canonical || emitter.column > emitter.best_width { 1639 emitter.column > emitter.best_width && 1698 emitter.column > emitter.best_width && 1890 emitter.column > emitter.best_width && [all …]
|
/dports/games/wargus/wargus-3.2.0/ |
H A D | wartool.cpp | 991 int best_width; in ConvertGraphic() local 1013 best_width = 0; in ConvertGraphic() 1040 best_width = xoff + width; in ConvertGraphic() 1051 minx = max_width - best_width; in ConvertGraphic() 1052 best_width -= minx; in ConvertGraphic() 1073 best_width = max_width; in ConvertGraphic() 1083 max_width = best_width; in ConvertGraphic() 1105 image + best_width * (i % IPR) + best_height * best_width * IPR * (i / IPR), in ConvertGraphic() 1109 image + best_width * (i % IPR) + best_height * best_width * IPR * (i / IPR), in ConvertGraphic() 1116 image + best_width * (i % IPR) + best_height * best_width * IPR * (i / IPR), in ConvertGraphic() [all …]
|
/dports/x11/gnome-desktop/gnome-desktop-41.2/libgnome-desktop/ |
H A D | gnome-bg.c | 1098 get_filename_for_size (GnomeBG *bg, gint best_width, gint best_height) in get_filename_for_size() argument 1120 int best_width, in gnome_bg_get_image_size() argument 1135 filename = get_filename_for_size (bg, best_width, best_height); in gnome_bg_get_image_size() 1354 gint best_width, in load_from_cache_file() argument 1372 gint best_width, in get_as_pixbuf_for_size() argument 1387 pixbuf = load_from_cache_file (bg, filename, num_monitor, best_width, best_height); in get_as_pixbuf_for_size() 1401 (best_width > 0 && best_height > 0) && in get_as_pixbuf_for_size() 1745 gint best_width, in get_pixbuf_for_size() argument 1781 best_width, in get_pixbuf_for_size() 1794 p1 = get_as_pixbuf_for_size (bg, file1, num_monitor, best_width, best_height); in get_pixbuf_for_size() [all …]
|
/dports/net/gscloud/gscloud-0.11.0/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|
/dports/net/gscloud/gscloud-0.11.0/vendor/sigs.k8s.io/yaml/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|
/dports/net/grpcurl/grpcurl-1.8.5/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|
/dports/net/gscloud/gscloud-0.11.0/vendor/sigs.k8s.io/structured-merge-diff/v4/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|
/dports/net-mgmt/bind_exporter/bind_exporter-0.4.0/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|
/dports/net-mgmt/blackbox_exporter/blackbox_exporter-0.17.0/vendor/gopkg.in/yaml.v2/ |
H A D | emitterc.go | 286 if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { 287 emitter.best_width = 80 289 if emitter.best_width < 0 { 290 emitter.best_width = 1<<31 - 1 495 if emitter.canonical || emitter.column > emitter.best_width { 541 if emitter.canonical || emitter.column > emitter.best_width { 565 if emitter.canonical || emitter.column > emitter.best_width { 1324 if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { 1380 …if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && … 1521 if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { [all …]
|