/dports/sysutils/syslinux/syslinux-6.03/com32/elflink/ldlinux/ |
H A D | colors.c | 63 #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 D | colors.c | 63 #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 D | bltColor.c | 78 #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 D | color.h | 34 #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 D | stereogram.cpp | 15 #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 D | point.c | 18 static XPoint _pcache[NCOLORS][MAXCACHE]; 19 static int _pcache_index[NCOLORS]; 53 for (i = 0; i < NCOLORS; i++) {
|
H A D | line.c | 3 static XSegment _lcache[NCOLORS][MAXCACHE]; 4 static int _lcache_index[NCOLORS]; 41 for (i = 0; i < NCOLORS; i++) {
|
H A D | init.c | 111 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 D | tf.h | 12 #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 D | tf.h | 13 #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 D | rgb2pct.py | 43 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 D | rgb2pct.py | 43 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 D | hdf24to8.c | 44 #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 D | color.c | 15 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 D | pndriv.c | 60 #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 D | cgpickcolorname.pro | 225 ; 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 D | loadct.pro | 14 ; 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 D | color_quan.pro | 3 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 D | game.vala | 12 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.pde | 17 final int NCOLORS = 256; 50 colorArray = new color[NCOLORS]; 51 for (int i=0; i<NCOLORS; i++){
|
/dports/games/xhime/xhime1.51/ |
H A D | xhime.c | 92 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 D | print-escp2.h | 115 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 D | x11vile.h | 439 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 D | x11vile.h | 439 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 D | colors.c | 211 #define NCOLORS (sizeof(color_keyword) / sizeof(color_keyword[0])) macro 278 high = NCOLORS - 1; in a_Color_parse()
|