/dports/math/py-pandas/pandas-1.2.5/pandas/tests/plotting/ |
H A D | test_style.py | 30 result = get_standard_colors(num_colors=num_colors) 51 result = get_standard_colors(num_colors=num_colors) 84 result = get_standard_colors(num_colors=num_colors) 98 result = get_standard_colors(color=color, num_colors=num_colors) 112 def test_user_input_color_string(self, num_colors, expected): argument 114 result = get_standard_colors(color=color, num_colors=num_colors) 125 def test_user_input_color_floats(self, num_colors, expected): argument 127 result = get_standard_colors(color=color, num_colors=num_colors) 139 result = get_standard_colors(color=color, num_colors=num_colors) 145 get_standard_colors(color=color, num_colors=1) [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/plotting/_matplotlib/ |
H A D | style.py | 31 num_colors: int, 75 num_colors=num_colors, 78 return list(_cycle_colors(colors, num_colors=num_colors)) 86 num_colors: int, 121 return _get_colors_from_colormap(colormap, num_colors=num_colors) 129 return _get_colors_from_color_type(color_type, num_colors=num_colors) 138 max_colors = max(num_colors, len(colors)) 144 num_colors: int, 221 return _get_default_colors(num_colors) 223 return _get_random_colors(num_colors) [all …]
|
/dports/devel/boost-docs/boost_1_72_0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in initialize() 121 , sizeof(uint16_t) * num_colors in initialize() 135 this->_palette = planar_rgb_view( num_colors in initialize() 140 , sizeof(uint16_t) * num_colors in initialize() 153 this->_palette = planar_rgb_view( num_colors in initialize() 158 , sizeof(uint16_t) * num_colors in initialize() 172 this->_palette = planar_rgb_view( num_colors in initialize() 177 , sizeof(uint16_t) * num_colors in initialize() 191 this->_palette = planar_rgb_view( num_colors in initialize() 210 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in initialize() 121 , sizeof(uint16_t) * num_colors in initialize() 135 this->_palette = planar_rgb_view( num_colors in initialize() 140 , sizeof(uint16_t) * num_colors in initialize() 153 this->_palette = planar_rgb_view( num_colors in initialize() 158 , sizeof(uint16_t) * num_colors in initialize() 172 this->_palette = planar_rgb_view( num_colors in initialize() 177 , sizeof(uint16_t) * num_colors in initialize() 191 this->_palette = planar_rgb_view( num_colors in initialize() 210 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in initialize() 121 , sizeof(uint16_t) * num_colors in initialize() 135 this->_palette = planar_rgb_view( num_colors in initialize() 140 , sizeof(uint16_t) * num_colors in initialize() 153 this->_palette = planar_rgb_view( num_colors in initialize() 158 , sizeof(uint16_t) * num_colors in initialize() 172 this->_palette = planar_rgb_view( num_colors in initialize() 177 , sizeof(uint16_t) * num_colors in initialize() 191 this->_palette = planar_rgb_view( num_colors in initialize() 210 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in reader_backend() 121 , sizeof(uint16_t) * num_colors in reader_backend() 135 this->_palette = planar_rgb_view( num_colors in reader_backend() 140 , sizeof(uint16_t) * num_colors in reader_backend() 153 this->_palette = planar_rgb_view( num_colors in reader_backend() 158 , sizeof(uint16_t) * num_colors in reader_backend() 172 this->_palette = planar_rgb_view( num_colors in reader_backend() 177 , sizeof(uint16_t) * num_colors in reader_backend() 191 this->_palette = planar_rgb_view( num_colors in reader_backend() 210 this->_palette = planar_rgb_view( num_colors in reader_backend() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in initialize() 121 , sizeof(uint16_t) * num_colors in initialize() 135 this->_palette = planar_rgb_view( num_colors in initialize() 140 , sizeof(uint16_t) * num_colors in initialize() 153 this->_palette = planar_rgb_view( num_colors in initialize() 158 , sizeof(uint16_t) * num_colors in initialize() 172 this->_palette = planar_rgb_view( num_colors in initialize() 177 , sizeof(uint16_t) * num_colors in initialize() 191 this->_palette = planar_rgb_view( num_colors in initialize() 210 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 116 this->_palette = planar_rgb_view( num_colors in initialize() 121 , sizeof(uint16_t) * num_colors in initialize() 135 this->_palette = planar_rgb_view( num_colors in initialize() 140 , sizeof(uint16_t) * num_colors in initialize() 153 this->_palette = planar_rgb_view( num_colors in initialize() 158 , sizeof(uint16_t) * num_colors in initialize() 172 this->_palette = planar_rgb_view( num_colors in initialize() 177 , sizeof(uint16_t) * num_colors in initialize() 191 this->_palette = planar_rgb_view( num_colors in initialize() 210 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/gil/extension/io/tiff/detail/ |
H A D | scanline_read.hpp | 120 this->_palette = planar_rgb_view( num_colors in initialize() 125 , sizeof(uint16_t) * num_colors in initialize() 139 this->_palette = planar_rgb_view( num_colors in initialize() 144 , sizeof(uint16_t) * num_colors in initialize() 157 this->_palette = planar_rgb_view( num_colors in initialize() 162 , sizeof(uint16_t) * num_colors in initialize() 176 this->_palette = planar_rgb_view( num_colors in initialize() 181 , sizeof(uint16_t) * num_colors in initialize() 195 this->_palette = planar_rgb_view( num_colors in initialize() 214 this->_palette = planar_rgb_view( num_colors in initialize() [all …]
|
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/print/harfbuzz/harfbuzz-3.4.0/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/harfbuzz-ng/src/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/harfbuzz/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/harfbuzz-sys-0.3.4/harfbuzz/test/api/ |
H A D | test-ot-color.c | 215 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 219 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 225 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v0() 234 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 236 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 242 num_colors = 1; in test_hb_ot_color_palette_get_colors_v0() 244 g_assert_cmpint (num_colors, ==, 1); in test_hb_ot_color_palette_get_colors_v0() 250 num_colors = 2; in test_hb_ot_color_palette_get_colors_v0() 252 g_assert_cmpint (num_colors, ==, 0); in test_hb_ot_color_palette_get_colors_v0() 266 g_assert_cmpint (num_colors, ==, 2); in test_hb_ot_color_palette_get_colors_v1() [all …]
|
/dports/devel/rgbds/rgbds/src/gfx/ |
H A D | makepng.c | 183 int num_colors); 377 *num_colors = 0; in rgba_build_palette() 431 if (*num_colors == colors) { in update_built_palette() 436 (*num_colors)++; in update_built_palette() 481 *num_colors = colors; in fit_grayscale_palette() 525 for (i = 0; i < num_colors; i++) in order_color_palette() 628 int num_colors) in create_raw_image() argument 640 raw_image->num_colors = num_colors; in create_raw_image() 667 if (num_colors > raw_image->num_colors) { in set_raw_image_palette() 670 num_colors, raw_image->num_colors); in set_raw_image_palette() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/pygimp/plug-ins/ |
H A D | palette-to-gradient.py | 20 def make_gradient(palette, num_segments, num_colors): argument 28 if (color_number == num_colors-1):color_number_next = 0 45 num_colors = pdb.gimp_palette_get_info(palette) 46 num_segments = num_colors 47 return make_gradient(palette, num_segments, num_colors) 68 num_colors = pdb.gimp_palette_get_info(palette) 69 num_segments = num_colors - 1 70 return make_gradient(palette, num_segments, num_colors)
|
/dports/games/flightgear/flightgear-2020.3.11/utils/Modeller/ |
H A D | texture.cxx | 38 num_colors(3), in SGTexture() 204 num_colors = 1; in read_alpha_texture() 242 num_colors = 3; in read_rgb_texture() 303 num_colors = 4; in read_rgba_texture() 798 if (num_colors >= 3) in make_monochrome() 824 if (num_colors < 3) in make_grayscale() 849 num_colors = colors; in make_grayscale() 858 int max = num_colors; in make_maxcolorwindow() 867 pos += num_colors; in make_maxcolorwindow() 937 num_colors = colors; in make_normalmap() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/actions/ |
H A D | colormap-actions.c | 123 gint num_colors = 0; in colormap_actions_update() local 135 num_colors = gimp_image_get_colormap_size (image); in colormap_actions_update() 152 indexed && num_colors > 0); in colormap_actions_update() 155 indexed && num_colors < 256); in colormap_actions_update() 157 indexed && num_colors < 256); in colormap_actions_update() 163 drawable_indexed && num_colors > 0); in colormap_actions_update() 165 drawable_indexed && num_colors > 0); in colormap_actions_update() 167 drawable_indexed && num_colors > 0); in colormap_actions_update() 169 drawable_indexed && num_colors > 0); in colormap_actions_update()
|
/dports/devel/R-cran-pillar/pillar/R/ |
H A D | testthat.R | 49 crayon::num_colors(forget = TRUE) 50 num_colors(forget = TRUE) 53 crayon::num_colors(forget = TRUE) 54 num_colors(forget = TRUE) 62 crayon::num_colors(forget = TRUE) 63 num_colors(forget = TRUE)
|
H A D | styles.R | 115 num_colors <- local({ globalVar 116 num_colors <- NULL globalVar 118 if (is.null(num_colors) || forget) { 119 num_colors <<- crayon::num_colors(forget = forget) 121 num_colors 126 num_colors() > 1 146 colors <- num_colors()
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/file-ico/ |
H A D | ico-save.c | 163 gint i, num_colors; in ico_save_init() local 182 if (num_colors <= 2) in ico_save_init() 187 else if (num_colors <= 16) in ico_save_init() 387 for (i = 0; i < num_colors; i++) in ico_create_color_to_palette_map() 431 gint num_colors = 0; in ico_get_layer_num_colors() local 545 return num_colors; in ico_get_layer_num_colors() 554 for (i = 0; i < num_colors; i++) in ico_cmap_contains_black() 612 *num_colors = 0; in ico_image_get_reduced_buf() 627 gint num_colors; in ico_image_get_reduced_buf() local 857 num_colors = (1L << header.bpp); in ico_write_icon() [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gxdevndi.c | 100 int num_colors = dev->color_info.num_components; in gx_render_device_DeviceN() local 103 for (i=0; i<num_colors; i++) { in gx_render_device_DeviceN() 109 for (i = 0; i < num_colors; i++) { in gx_render_device_DeviceN() 123 dlprintf1("[c]ncomp=%d ", num_colors); in gx_render_device_DeviceN() 124 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 127 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 135 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 143 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 145 gx_complete_halftone(pdevc, num_colors, pdht); in gx_render_device_DeviceN() 166 int num_colors = dev->color_info.num_components; in gx_devn_reduce_colored_halftone() local [all …]
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gxdevndi.c | 100 int num_colors = dev->color_info.num_components; in gx_render_device_DeviceN() local 103 for (i=0; i<num_colors; i++) { in gx_render_device_DeviceN() 109 for (i = 0; i < num_colors; i++) { in gx_render_device_DeviceN() 123 dlprintf1("[c]ncomp=%d ", num_colors); in gx_render_device_DeviceN() 124 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 127 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 135 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 143 for (i = 0; i < num_colors; i++) in gx_render_device_DeviceN() 145 gx_complete_halftone(pdevc, num_colors, pdht); in gx_render_device_DeviceN() 166 int num_colors = dev->color_info.num_components; in gx_devn_reduce_colored_halftone() local [all …]
|
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/image/ |
H A D | image_io_ppm.cpp | 33 int num_colors = 0; in LoadPpm() local 43 in >> num_colors; in LoadPpm() 47 TypedImage img(w, h, PpmFormat(ppm_type, num_colors) ); in LoadPpm() 65 int num_colors = 0; in SavePpm() local 71 num_colors = 255; in SavePpm() 74 num_colors = 65535; in SavePpm() 77 num_colors = 255; in SavePpm() 89 out << num_colors; in SavePpm()
|