/dports/www/grafana8/grafana-8.3.6/public/build/ |
H A D | 957.0e38943fa459e872fe93.js.map | 1 …ncolor: #333;\\\n}\\\n.ace-tm .ace_print-margin {\\\nwidth: 1px;\\\nbackground: #e8e8e8;\\\n}\\\n.…
|
/dports/science/elmerfem/elmerfem-release-9.0/post/src/graphics/ |
H A D | gutil1.c | 65 void vsetcolori( int ncolor ) in vsetcolori() argument 71 r = CurrentColormap->Values[ncolor].r / 255.0; in vsetcolori() 72 g = CurrentColormap->Values[ncolor].g / 255.0; in vsetcolori() 73 b = CurrentColormap->Values[ncolor].b / 255.0; in vsetcolori() 81 int ncolor; in vsetcolor() local 86 r = CurrentColormap->Values[ncolor].r / 255.0; in vsetcolor() 87 g = CurrentColormap->Values[ncolor].g / 255.0; in vsetcolor() 88 b = CurrentColormap->Values[ncolor].b / 255.0; in vsetcolor() 246 vsetcolori( ncolor ); in gra_output_triangle() 283 gra_output_triangle( coords, normal, ncolor ); in gra_internal_triangle() [all …]
|
/dports/x11/mlterm/mlterm-3.9.1/uitoolkit/xlib/ |
H A D | ui_color.c | 15 xcolor->pixel = ncolor->pixel; in native_color_to_xcolor() 16 xcolor->red = (ncolor->red >> 8) & 0xff; in native_color_to_xcolor() 17 xcolor->green = (ncolor->green >> 8) & 0xff; in native_color_to_xcolor() 18 xcolor->blue = (ncolor->blue >> 8) & 0xff; in native_color_to_xcolor() 144 XColor ncolor; in ui_load_rgb_xcolor() local 146 ncolor.red = (red << 8) + red; in ui_load_rgb_xcolor() 147 ncolor.green = (green << 8) + green; in ui_load_rgb_xcolor() 148 ncolor.blue = (blue << 8) + blue; in ui_load_rgb_xcolor() 149 ncolor.flags = 0; in ui_load_rgb_xcolor() 153 return alloc_closest_xcolor_pseudo(disp, ncolor.red, ncolor.green, ncolor.blue, xcolor); in ui_load_rgb_xcolor() [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/jpg/ |
H A D | toico.c | 102 Bputc(b, icon->ncolor); in main() 226 int ncolor; in mkxorand() local 246 ncolor = 0; in mkxorand() 262 xx[i] = ncolor; in mkxorand() 263 ncolor++; in mkxorand() 267 if(ncolor <= 2){ in mkxorand() 268 ncolor = 2; in mkxorand() 271 ncolor = 4; in mkxorand() 274 ncolor = 16; in mkxorand() 277 ncolor = 256; in mkxorand() [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/com32/lib/sys/ |
H A D | xserial_write.c | 55 static int ncolor = 0; in __xserial_write() local 83 ncolor = 0; in __xserial_write() 92 ncolor = (ncolor * 10) + num; in __xserial_write() 94 if (ncolor < console_color_table_size) { in __xserial_write() 99 for (p = console_color_table[ncolor].ansi; *p; p++) in __xserial_write()
|
/dports/graphics/geomview/geomview-1.9.5/src/lib/gprim/vect/ |
H A D | vectload.c | 85 iobfgetni(file, 1, &v->ncolor, binary) <= 0) { in VectFLoad() 92 fname, v->nvec, v->nvert, v->ncolor); in VectFLoad() 98 v->c = OOGLNewNE(ColorA, (v->ncolor>0) ? v->ncolor : 1, "VECT colors"); in VectFLoad() 134 if (v->ncolor > 0 && in VectFLoad() 135 (i = iobfgetnf(file, 4*v->ncolor, (float *)v->c, binary)) < 4*v->ncolor) { in VectFLoad() 137 fname, i/4, v->ncolor); in VectFLoad()
|
H A D | vectcreate.c | 50 v->c = ov->ncolor ? OOGLNewNE(ColorA, ov->ncolor, "Vect colors") in VectCopy() 56 memcpy(v->c, ov->c, ov->ncolor * sizeof(ColorA)); in VectCopy() 90 vect->ncolor = 0; in VectCreate() 123 vect->ncolor = va_arg (*a_list, int); in VectCreate() 186 vect->ncolor = 0; in VectCreate() 188 vect->c = OOGLNewNE(ColorA, vect->ncolor, "vect colors"); in VectCreate() 189 memcpy(vect->c, colors, vect->ncolor*sizeof(ColorA)); in VectCreate() 205 if(0 > vect->ncolor || 0 > vect->nvec ) in VectCreate() 206 OOGLError(0, "VectCreate: ncol=%d nvert=%d; need 0<ncol<nvert",vect->ncolor, vect->nvert); in VectCreate() 237 cleft = vect->ncolor;
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/trace/ |
H A D | quantize.cpp | 427 assert(ncolor > 0); in octreePrune() 429 int n = (*ref)->nleaf - ncolor; in octreePrune() 455 octreeBuildArea(pool, rgbmap, &ref1, x1, y1, xm, y2, ncolor); in octreeBuildArea() 484 octreePrune(pool, &node, ncolor); in octreeBuild() 524 static int findRGB(RGB *rgbpal, int ncolor, RGB rgb) in findRGB() argument 529 for (int k = 0; k < ncolor; k++) in findRGB() 549 IndexedMap *rgbMapQuantize(RgbMap *rgbmap, int ncolor) in rgbMapQuantize() argument 552 assert(ncolor > 0); in rgbMapQuantize() 560 tree = octreeBuild(&pool, rgbmap, ncolor); in rgbMapQuantize() 568 RGB *rgbpal = new RGB[ncolor]; in rgbMapQuantize() [all …]
|
/dports/science/cdcl/dcl-5.4.8-C/src/env1/colormap/ |
H A D | cvcmap.c | 14 int n, ncolor; in main() local 23 scanf ("%d", &ncolor); in main() 24 printf (" %d : no._of_colors\n", ncolor); in main() 25 for (n = 0; n < ncolor; n++){ in main()
|
/dports/science/dcl/dcl-5.4.8/src/env1/colormap/ |
H A D | cvcmap.c | 14 int n, ncolor; in main() local 23 scanf ("%d", &ncolor); in main() 24 printf (" %d : no._of_colors\n", ncolor); in main() 25 for (n = 0; n < ncolor; n++){ in main()
|
/dports/science/siesta/siesta-4.1.5/Util/Plrho/ |
H A D | icolor.f | 8 integer function icolor( bright, ncolor, color ) 20 integer ncolor 28 if (ncolor .eq. 0) then 32 elseif (ncolor .eq. 1) then 55 integer function icback( ncolor ) 63 integer ncolor 69 if (ncolor .eq. 0) then
|
H A D | plrho.f | 26 . mesh(3), ncolor, np, nsm, nspin, nt, pgopen 43 . ncolor /0/ 89 ncolor = 1 101 ncolor = 1 194 if (ncolor .eq. 0) then 202 . f(1,1), fvalue, ncolor, f(1,2), 205 if (ncolor .gt. 0) write(6,'(a,3f12.6)')
|
/dports/graphics/urt/urt-3.1b1_12/tools/ |
H A D | rlesortmap.c | 20 static int ncolor; variable 124 ncolor = in_hdr.ncmap; 142 for ( c = 0; c < ncolor; c++ ) 146 if ( c != ncolor ) 159 for ( c = 0; c < ncolor; c++ ) 263 switch( ncolor ) 270 hilbert_c2i( ncolor, 8, c, &ai ); 272 switch( ncolor ) 279 hilbert_c2i( ncolor, 8, c, &bi );
|
/dports/multimedia/ppm2fli/ppm2fli-2.1/ |
H A D | aimage.c | 28 static void remap_image(UBYTE *pp, LONG color[], int len, int ncolor); 40 int i, j, len, used_count, nhelp, image_width, ncolor; in get_image() local 74 ncolor=clr_quantize(&image, raw_data, color_table); in get_image() 83 remap_image(raw_data, color_table, image.len, ncolor); in get_image() 197 static void remap_image(UBYTE *pp, LONG color[], int len, int ncolor) in remap_image() argument 208 for (i = 0; i < ncolor; i++) in remap_image() 226 for (i = 0; i < ncolor; i++) in remap_image() 260 for (j = 0; j < ncolor; j++) mem_color[map[j]] = color[j]; in remap_image()
|
/dports/games/pioneer/pioneer-20210723/data/pigui/modules/ |
H A D | theme-debug.lua | 21 local changed, ncolor = ui.colorEdit(name, styleColors[name], false) 23 if changed then styleColors[name](ncolor.r, ncolor.g, ncolor.b) end
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/draw/ |
H A D | cmapcube.c | 14 int ncolor; variable 67 for(i=0;i!=ncolor;i++){ in colorspace() 80 for(i=0;i!=ncolor;i++) in colorspace() 123 qsort(v, ncolor, sizeof(Vert), (int(*)(const void*, const void*))cmp); in redraw() 125 for(i=0; i!=ncolor; i++) in redraw() 190 ncolor=256; in main() 191 for(i=0;i!=ncolor;i++) in main() 210 qsort(v, ncolor, sizeof(Vert), (int(*)(const void*, const void*))cmp); in main() 212 for(i=ncolor-1; i!=0; i--){ in main()
|
/dports/games/crossfire-client/crossfire-client-1.75.1/gtk-v2/src/ |
H A D | stats.c | 295 GdkColor ncolor, *set_color=NULL; in update_stat() local 347 memcpy(&ncolor, lcolor, sizeof(GdkColor)); in update_stat() 349 ncolor.red += (hcolor->red - lcolor->red) * diff; in update_stat() 351 ncolor.blue += (hcolor->blue - lcolor->blue) * diff; in update_stat() 373 memcpy(&ncolor, hcolor, sizeof(GdkColor)); in update_stat() 388 memcpy(&ncolor, lcolor, sizeof(GdkColor)); in update_stat() 391 ncolor.red = 2 * hcolor->red * diff; in update_stat() 395 ncolor.green = 2 * hcolor->green * diff; in update_stat() 399 ncolor.blue = 2 * hcolor->blue * diff; in update_stat() 405 stat_no, current_stat, ncolor.red, ncolor.green, ncolor.blue); in update_stat() [all …]
|
/dports/graphics/geomview/geomview-1.9.5/src/lib/geomutil/crayplutil/ |
H A D | crayVect.c | 85 return (void *)(long)(v->ncolor); in cray_vect_HasColor() 90 return (void *)(long)((v->ncolor == v->nvec) ? 1 : 0); in cray_vect_HasFColor() 95 return (void *)(long)((v->ncolor == v->nvert) ? 1 : 0); in cray_vect_HasVColor() 123 v->ncolor = v->nvert; in cray_vect_UseVColor() 165 v->ncolor = v->nvec; in cray_vect_UseFColor() 176 if (v->ncolor) OOGLFree(v->c); in cray_vect_EliminateColor() 178 v->ncolor = 0; in cray_vect_EliminateColor() 249 if (index == -1 || !v->ncolor) return NULL; in cray_vect_GetColorAtV()
|
/dports/games/xkoules/koules1.4/ |
H A D | cmap-x11.c | 279 int ncolor, i; in setcustompalette() local 289 for (ncolor = 32; ncolor > 8; ncolor -= 4) in setcustompalette() 291 printf ("%i-", ncolor); in setcustompalette() 292 if (setcustompalette1 (ncolor)) in setcustompalette() 309 for (ncolor = 32; ncolor > 0; ncolor -= 1) in setcustompalette() 311 printf ("%i-", ncolor); in setcustompalette() 312 if (setcustompalette1 (ncolor)) in setcustompalette()
|
/dports/net-im/centerim/centerim-4.22.10/kkconsui/src/ |
H A D | horizontalbar.cc | 28 done(false), item(0), previtem(-1), scolor(sc), ncolor(nc) { in horizontalbar() 39 done(false), item(0), previtem(-1), scolor(sc), ncolor(nc) { in horizontalbar() 91 kwriteatf(cx, y1, item == n ? scolor : ncolor, " %s ", i->c_str()); in redraw() 102 kwriteatf(cx, y1, item == n ? scolor : ncolor, " %s ", i->c_str()); in update()
|
H A D | cmenus.cc | 48 ncolor = pncolor, scolor = pscolor; in setcolor() 73 additem(ncolor, 0, text); in additem() 79 i.color = color ? color : ncolor; in additem() 102 addline(ncolor, 0); in addline() 150 else attrset(ncolor); in shownelem() 196 attrset(ncolor); in showall() 458 ncolor = normcolor; in horizontalmenu() 495 i.color = color ? color : ncolor; in additem() 551 attrset(ncolor); in draw() 556 if(n == selected) attrset(scolor); else attrset(ncolor); in draw() [all …]
|
/dports/graphics/wdune/wdune-1.926/src/ |
H A D | NodeElevationGrid.cpp | 127 Node *ncolor = color()->getValue(); in createMesh() local 142 if (ncolor) { in createMesh() 143 if (ncolor->getType() == VRML_COLOR) { in createMesh() 144 colors = ((NodeColor *)ncolor)->color(); in createMesh() 145 colorSize = ((NodeColor *)ncolor)->color()->getSize(); in createMesh() 146 } else if (ncolor->getType() == X3D_COLOR_RGBA) { in createMesh() 147 colors = ((NodeColorRGBA *)ncolor)->color(); in createMesh() 148 colorSize = ((NodeColorRGBA *)ncolor)->color()->getSize(); in createMesh()
|
H A D | NodeGeoElevationGrid.cpp | 278 Node *ncolor = color()->getValue(); in createMesh() local 293 if (ncolor) { in createMesh() 294 if (ncolor->getType() == VRML_COLOR) { in createMesh() 295 colors = ((NodeColor *)ncolor)->color(); in createMesh() 296 colorSize = ((NodeColor *)ncolor)->color()->getSize(); in createMesh() 297 } else if (ncolor->getType() == X3D_COLOR_RGBA) { in createMesh() 298 colors = ((NodeColorRGBA *)ncolor)->color(); in createMesh() 299 colorSize = ((NodeColorRGBA *)ncolor)->color()->getSize(); in createMesh()
|
/dports/audio/gtmixer/gtmixer-1.0.2/ |
H A D | gtmixer.c | 248 …nfig.phonesysctl, fconfig.ounit, fconfig.ncolor.pixel, fconfig.ncolor.red, fconfig.ncolor.green, f… in save_config() 253 gtk_widget_modify_bg(GTK_WIDGET(window), GTK_STATE_NORMAL, &fconfig.ncolor); in save_config() 288 fconfig.ncolor.pixel = atoi(value); in handler() 290 fconfig.ncolor.red = atoi(value); in handler() 292 fconfig.ncolor.green = atoi(value); in handler() 294 fconfig.ncolor.blue = atoi(value); in handler() 716 gtk_widget_modify_bg(GTK_WIDGET(window), GTK_STATE_NORMAL, &fconfig.ncolor); in gui_loop() 1138 fconfig.ncolor.pixel=0; in main() 1139 fconfig.ncolor.red=65535; in main() 1140 fconfig.ncolor.green=65535; in main() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/go.test/test/bench/shootout/ |
H A D | chameneosredux.c | 254 void runGame( int n_meeting, int ncolor, const enum Colour* colours ) in runGame() argument 261 struct Creature *creatures = (struct Creature*) calloc( ncolor, sizeof(struct Creature) ); in runGame() 266 for (i = 0; i < ncolor; i++) in runGame() 274 for (i = 0; i < ncolor; i++) in runGame() 278 for (i = 0; i < ncolor; i++) in runGame()
|