Home
last modified time | relevance | path

Searched refs:NCOLORS (Results 1 – 25 of 1280) sorted by relevance

12345678910>>...52

/dports/sysutils/syslinux/syslinux-6.03/com32/elflink/ldlinux/
H A Dcolors.c63 #define NCOLORS (sizeof default_colors/sizeof default_colors[0]) macro
64 const int message_base_color = NCOLORS;
65 const int menu_color_table_size = NCOLORS + 256;
133 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in default_color_table()
138 for (i = 0; i < NCOLORS; i++) { in default_color_table()
157 console_color_table_size = NCOLORS + 256; in default_color_table()
171 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in copy_color_table()
176 for (i = 0; i < NCOLORS + 256; i++) { in copy_color_table()
/dports/sysutils/syslinux/syslinux-6.03/com32/menu/
H A Dcolors.c63 #define NCOLORS (sizeof default_colors/sizeof default_colors[0]) macro
64 const int message_base_color = NCOLORS;
65 const int menu_color_table_size = NCOLORS + 256;
133 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in default_color_table()
138 for (i = 0; i < NCOLORS; i++) { in default_color_table()
157 console_color_table_size = NCOLORS + 256; in default_color_table()
171 color_table = calloc(NCOLORS + 256, sizeof(struct color_table)); in copy_color_table()
176 for (i = 0; i < NCOLORS + 256; i++) { in copy_color_table()
/dports/x11-toolkits/blt/blt2.5/generic/
H A DbltColor.c78 #define NCOLORS 256 macro
161 int inUse[NCOLORS];
447 if (rLast < NCOLORS) {
449 if (r > NCOLORS) {
450 r = NCOLORS;
453 if (gLast < NCOLORS) {
455 if (g > NCOLORS) {
456 g = NCOLORS;
459 if (bLast < NCOLORS) {
461 if (b > NCOLORS) {
[all …]
/dports/astro/xworld/xworld-2.0/include/
H A Dcolor.h34 #define NCOLORS 17 macro
35 #define BLACK (NCOLORS - 1)
36 #define HIGH (NCOLORS - 2)
42 } color[NCOLORS] = {
/dports/graphics/xaos/XaoS-release-4.2.1/src/engine/
H A Dstereogram.cpp15 #define NCOLORS 256 macro
96 if (f->fractalc->maxiter < NCOLORS) in doit()
99 s->palette->size = NCOLORS; in doit()
101 table = (int *)malloc(sizeof(int) * NCOLORS); in doit()
108 if (f->fractalc->maxiter < NCOLORS) in doit()
111 y = NCOLORS; in doit()
/dports/games/xgalaga/xgalaga-2.1.1.0/libsprite/
H A Dpoint.c18 static XPoint _pcache[NCOLORS][MAXCACHE];
19 static int _pcache_index[NCOLORS];
53 for (i = 0; i < NCOLORS; i++) {
H A Dline.c3 static XSegment _lcache[NCOLORS][MAXCACHE];
4 static int _lcache_index[NCOLORS];
41 for (i = 0; i < NCOLORS; i++) {
H A Dinit.c111 for (i = 0; i < NCOLORS; i++) { in GetFonts()
167 for (i = 0; i < NCOLORS; i++) { in GetColors()
207 for (i = 0; i < NCOLORS; i++) { in GetColors()
258 nallocated_colors = NCOLORS + 1; in GetColors()
259 for (i = 0; i < NCOLORS; i++) { in GetColors()
313 for (i = 0; i < NCOLORS; i++) { in GetColors()
/dports/net/tinyfugue-devel/tinyfugue-5.1.3/src/
H A Dtf.h12 #ifndef NCOLORS
13 # define NCOLORS 16 macro
24 #if NCOLORS == 256 /* character attributes can't fit in 16 bits */
87 #if NCOLORS == 256 /* XXX ??? */
/dports/net/tinyfugue/tf-50b8/src/
H A Dtf.h13 #ifndef NCOLORS
14 # define NCOLORS 16 macro
25 #if NCOLORS == 256 /* character attributes can't fit in 16 bits */
87 #if NCOLORS == 256 /* XXX ??? */
/dports/graphics/qgis/qgis-3.22.3/python/plugins/processing/algs/gdal/
H A Drgb2pct.py43 NCOLORS = 'NCOLORS' variable in rgb2pct
50 self.addParameter(QgsProcessingParameterNumber(self.NCOLORS,
87 str(self.parameterAsInt(parameters, self.NCOLORS, context)),
/dports/graphics/qgis-ltr/qgis-3.16.16/python/plugins/processing/algs/gdal/
H A Drgb2pct.py43 NCOLORS = 'NCOLORS' variable in rgb2pct
50 self.addParameter(QgsProcessingParameterNumber(self.NCOLORS,
80 arguments.append(str(self.parameterAsInt(parameters, self.NCOLORS, context)))
/dports/science/hdf/hdf-4.2.15/hdf/util/
H A Dhdf24to8.c44 #define NCOLORS 256 macro
45 #define PALSIZE 3 * NCOLORS
113 if (r24r8(x_dim, y_dim, r24, r8, NCOLORS, pal) == -1) in main()
121 for (i = 0; i < NCOLORS; i++) in main()
124 *p++ = pal[i + NCOLORS]; in main()
125 *p++ = pal[i + NCOLORS * 2]; in main()
/dports/databases/grass7/grass-7.8.6/visualization/ximgview/
H A Dcolor.c15 static int NCOLORS; variable
241 NCOLORS = y; in InitColorTableFixed()
258 NCOLORS = r * g * b; in InitColorTableFixed()
276 NCOLORS = get_rgb_shifts(); in InitColorTableFixed()
284 NCOLORS = get_rgb_shifts(); in InitColorTableFixed()
/dports/graphics/pgplot/pgplot/drivers/
H A Dpndriv.c60 #define NCOLORS 256 macro
104 static ColorComponent default_colortable[NCOLORS * 3];
116 ColorComponent ctable[NCOLORS * 3];
135 memcpy(dev->ctable, default_colortable, 3 * NCOLORS * sizeof(ColorComponent)); in initialize_device_ctable()
162 png_color colors[NCOLORS]; in write_image_file()
169 for (i=0; i<NCOLORS; i++) { in write_image_file()
244 png_set_PLTE(png_ptr, info_ptr, colors, NCOLORS); in write_image_file()
370 for (i=16; i<NCOLORS; i++) in initialize_default_colortable()
/dports/science/healpix/Healpix_3.50/src/idl/zzz_external/astron/
H A Dcgpickcolorname.pro225 ; 256-NCOLORS-1.
291 red = BytArr(NCOLORS)
292 green = BytArr(NCOLORS)
293 blue = BytArr(NCOLORS)
294 colors = StrArr(NCOLORS)
513 NCOLORS = N_Elements(colors)
578 drawID = LonArr(NCOLORS)
579 FOR j=0,NCOLORS-1 DO BEGIN
614 wids = IntArr(NCOLORS)
616 FOR j=0,NCOLORS-1 DO BEGIN
[all …]
/dports/science/gnudatalanguage/gdl-1.0.1/src/pro/
H A Dloadct.pro14 ; NCOLORS=mynColors, BOTTOM=mybottom, $
22 ; NCOLORS number of colors to use. the smaller of
23 ; !D.table_size-1 and NCOLORS is used
60 NCOLORS=mynColors, BOTTOM=mybottom, $
H A Dcolor_quan.pro3 function COLOR_QUAN5, image, dim, r, g, b , COLORS=NCOLORS , CUBE=CUBE, GET_TRANSLATION=GET_TRANSLA…
33 …return, COLOR_QUAN5(image, 1, r, g, b , COLORS=NCOLORS , CUBE=CUBE, GET_TRANSLATION=GET_TRANSLATIO…
/dports/games/quadrapassel/quadrapassel-40.2/src/
H A Dgame.vala12 const int NCOLORS = 7;
324 blocks[x, y].color = Random.int_range (0, NCOLORS);
547 return make_shape (Random.int_range (0, NCOLORS), Random.int_range (0, 4));
553 var metrics = new int[NCOLORS];
554 for (var type = 0; type < NCOLORS; type++)
611 for (var i = 0; i < NCOLORS; i++)
615 var possible_types = new int[NCOLORS];
616 for (var i = 0; i < NCOLORS; i++)
618 for (var i = 0; i < NCOLORS; i++)
620 for (var j = 0; j < NCOLORS - 1; j++)
[all …]
/dports/graphics/processing/processing-1.5.1/modes/java/examples/Books/Processing Handbook/Synthesis/_08_clock/
H A D_08_clock.pde17 final int NCOLORS = 256;
50 colorArray = new color[NCOLORS];
51 for (int i=0; i<NCOLORS; i++){
/dports/games/xhime/xhime1.51/
H A Dxhime.c92 int NCOLORS, NCELLS, NPATTERNS, NSTATES; variable
455 NCOLORS = GetDefinedInt(fp, "NCOLORS");
456 CALLOC(ColorN, NCOLORS, sizeof(*ColorN));
457 CALLOC(ColorB, NCOLORS, sizeof(*ColorB));
458 CALLOC(ColorD, NCOLORS, sizeof(*ColorD));
460 GetColor(fp, ColorN, NCOLORS);
461 GetColor(fp, ColorB, NCOLORS);
462 GetColor(fp, ColorD, NCOLORS);
561 if (GetXpm(fpx, clp, DummyColor) != NCOLORS) {
733 int c = GetPixelIndex(*Color, NCOLORS, xp); in MakePixmap()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/gimp-print-4.2.7/src/main/
H A Dprint-escp2.h115 typedef const escp2_variable_ink_t *escp2_variable_inkset_t[NCOLORS];
251 const ink_channel_t *channels[NCOLORS];
/dports/editors/xvile/vile-9.8v/
H A Dx11vile.h439 ColorGC fg_info[NCOLORS]; /* foreground GC and related state */
440 ColorGC bg_info[NCOLORS]; /* background GC and related state */
446 Pixel colors_fg[NCOLORS]; /* XRES: text foreground colors */
447 Pixel colors_bg[NCOLORS]; /* XRES: text background colors */
/dports/editors/vile/vile-9.8v/
H A Dx11vile.h439 ColorGC fg_info[NCOLORS]; /* foreground GC and related state */
440 ColorGC bg_info[NCOLORS]; /* background GC and related state */
446 Pixel colors_fg[NCOLORS]; /* XRES: text foreground colors */
447 Pixel colors_bg[NCOLORS]; /* XRES: text background colors */
/dports/www/dillo2/dillo-3.0.5/src/
H A Dcolors.c211 #define NCOLORS (sizeof(color_keyword) / sizeof(color_keyword[0])) macro
278 high = NCOLORS - 1; in a_Color_parse()

12345678910>>...52