/dports/cad/tkgate/tkgate-2.1/src/tkgate/ |
H A D | generic.c | 334 void Generic_AddInput(EditState *es,GCElement *g) in Generic_AddInput() 354 void Generic_AddOutput(EditState *es,GCElement *g) in Generic_AddOutput() 374 void Generic_RemovePort(EditState *es,GCElement *g,GWire *dw) in Generic_RemovePort() 410 void Err_RemovePort(EditState *es,GCElement *g,GWire *w) in Err_RemovePort() 414 void Err_AddInput(EditState *es,GCElement *g) in Err_AddInput() 419 void Err_AddOutput(EditState *es,GCElement *g) in Err_AddOutput() 424 void Err_AddInOut(EditState *es,GCElement *g) in Err_AddInOut() 429 void Err_ChangePin(EditState *es,GCElement *g) in Err_ChangePin() 588 GWire *r; in Generic_editPropsULWires() local 718 const char *r; in Generic_editPropsULDelay() local [all …]
|
H A D | joint.c | 126 GCElement *Joint_Make(EditState **es,GModuleDef *M,int GType, in Joint_Make() 127 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Joint_Make() 166 int joint_free(GCElement *g) in joint_free() 195 void joint_connect(GCElement *g,GWireNode *n) in joint_connect() 264 void joint_make(int x,int y,GWire *w1,GWire *w2,GWire *w3,GWire *w4,EditState *es) in joint_make() 364 static void joint_correct(GWireNode *n,int d) in joint_correct() 419 GWireNode *n; in joint_fixwires() local 499 int joint_dejoint(GWireNode *n,GModuleDef *M,int drawp) in joint_dejoint() 597 int joint_desplice(GWireNode *n,GModuleDef *M) in joint_desplice() 599 GCElement *g; in joint_desplice() local [all …]
|
H A D | script.c | 99 static GCElement *Script_Make(EditState **es,GModuleDef *env,int GType, in Script_Make() 100 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Script_Make() 102 GCElement *g; in Script_Make() local 117 static GCElement *Script_Copy(GModuleDef *M,GCElement *g,int x,int y,unsigned flags) in Script_Copy() 131 void Script_Delete(GCElement *g,GModuleDef *M,int drawp) in Script_Delete() 140 static void Script_SetProp(GCElement *g,const char *prop,const void *value) in Script_SetProp() 149 static int Script_EditProps(GCElement *g,int isLoadDialog) in Script_EditProps() 157 int n = 0; in Script_EditProps() local 168 int n = 0; in Script_EditProps() local 194 static void Script_VerSave(FILE *f,GCElement *g) in Script_VerSave()
|
H A D | tap.c | 148 GCElement *Tap_Make(EditState **es,GModuleDef *env,int GType, in Tap_Make() 149 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Tap_Make() 151 GCElement *g; in Tap_Make() local 188 void Tap_Init(GCElement *g) in Tap_Init() 300 void Tap_Draw(GCElement *g,int md) in Tap_Draw() 361 void Tap_VerSave(FILE *f,GCElement *g) in Tap_VerSave() 384 int n = *((int*)value); in Tap_SetProp() local 421 void Tap_VersionDelta(GCElement *g,Version *V) in Tap_VersionDelta() 461 int p,n; in Tap_wireSnap() local 504 void tap_transmute(GWire *branch,EditState *es) in tap_transmute() [all …]
|
H A D | concat.c | 193 GCElement *Concat_Make(EditState **es,GModuleDef *env,int GType, in Concat_Make() 194 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Concat_Make() 197 GCElement *g; in Concat_Make() local 384 void Concat_AddInput(EditState *es,GCElement *g) in Concat_AddInput() 424 void Concat_RemovePort(EditState *es,GCElement *g,GWire *w) in Concat_RemovePort() 495 int n = *((int*)value); in Concat_SetProp() local 499 int n = *((int*)value); in Concat_SetProp() local 503 int n = *((int*)value); in Concat_SetProp() local 545 int n = 0; in Concat_writeMPorts() local 569 int n = 0; in Concat_writeWireNums() local [all …]
|
H A D | block.c | 242 int x,int y,int r,const char *Name,int noWire, in Block_Make() 725 void Block_AddInput(EditState *es,GCElement *g) in Block_AddInput() 730 void Block_AddTri(EditState *es,GCElement *g) in Block_AddTri() 735 void Block_AddOutput(EditState *es,GCElement *g) in Block_AddOutput() 740 void Block_ChangePin(EditState *es,GCElement *g) in Block_ChangePin() 1141 int block_setPortName(GCElement *g,GWire *w,EditState *es) in block_setPortName() 1402 static int nquadrent(GCElement *g,GWireNode *n) in nquadrent() 1407 int block_connect(GCElement *g,GWireNode *n,int iotype) in block_connect() 1623 void block_setdir(GWireNode *n,EditState *es,int dir) in block_setdir() 1663 void block_changedir(GWireNode *n,EditState *es) in block_changedir() [all …]
|
H A D | decoder.c | 159 static void Decoder_adjustWiresData(GCElement *g) in Decoder_adjustWiresData() 240 GWireNode *n; in Decoder_adjustWiresSelector() local 258 void Decoder_adjustWires(GCElement *g) in Decoder_adjustWires() 265 static GCElement *Decoder_Make(EditState **es,GModuleDef *env,int GType, in Decoder_Make() 266 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Decoder_Make() 269 GCElement *g; in Decoder_Make() local 319 static void Decoder_Draw_Special(GCElement *g) in Decoder_Draw_Special() 322 char n[STRMAX]; in Decoder_Draw_Special() local 381 static void Decoder_Draw(GCElement *g,int md) in Decoder_Draw() 458 int p,n; in Decoder_wireSnap() local [all …]
|
H A D | demux.c | 250 GWireNode *n; in Demux_adjustWiresSelector() local 268 void Demux_adjustWires(GCElement *g) in Demux_adjustWires() 276 GCElement *Demux_Make(EditState **es,GModuleDef *env,int GType, in Demux_Make() 277 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Demux_Make() 280 GCElement *g; in Demux_Make() local 330 void Demux_Draw_Special(GCElement *g) in Demux_Draw_Special() 333 char n[STRMAX]; in Demux_Draw_Special() local 392 void Demux_Draw(GCElement *g,int md) in Demux_Draw() 438 int p,n; in Demux_wireSnap() local 452 void Demux_AddOutput(EditState *es,GCElement *g) in Demux_AddOutput() [all …]
|
H A D | clock.c | 146 void gate_drawclockparams(GCElement *g) in gate_drawclockparams() 169 GCElement *Clock_Make(EditState **es,GModuleDef *env,int GType, in Clock_Make() 170 int x,int y,int r,const char *Name,int noWire,const char **options,int nOptions) in Clock_Make() 172 GCElement *g; in Clock_Make() local 195 void Clock_Draw(GCElement *g,int md) in Clock_Draw() 214 void Clock_PSWrite(GPrint *P,GModLayout *L,GCElement *g) in Clock_PSWrite() 223 int Clock_EditProps(GCElement *g,int isLoadDialog) in Clock_EditProps() 245 void Clock_VerSave(FILE *f,GCElement *g) in Clock_VerSave() 257 int n = *((int*)value); in Clock_SetProp() local 260 int n = *((int*)value); in Clock_SetProp() local [all …]
|
H A D | mux.c | 253 GWireNode *n; in Mux_adjustWiresSelector() local 271 static void Mux_adjustWires(GCElement *g) in Mux_adjustWires() 277 GCElement *Mux_Make(EditState **es,GModuleDef *env,int GType, in Mux_Make() 278 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in Mux_Make() 281 struct celemnt *g; in Mux_Make() local 341 void Mux_AddInput(EditState *es,GCElement *g) in Mux_AddInput() 362 void Mux_Draw_Special(GCElement *g) in Mux_Draw_Special() 365 char n[STRMAX]; in Mux_Draw_Special() local 418 void Mux_Draw(GCElement *g,int md) in Mux_Draw() 450 void MuxDemux_VerSave(FILE *f,GCElement *g) in MuxDemux_VerSave() [all …]
|
H A D | and.c | 129 GCElement *AOX_Make(EditState **es,GModuleDef *env,int GType, in AOX_Make() 130 int x,int y,int r,const char *Name,int noWires,const char **options,int nOptions) in AOX_Make() 196 void AOX_Draw(GCElement *g,int md) in AOX_Draw() 215 static void AOX_adjustWires(GCElement *g) in AOX_adjustWires() 260 void AOX_AddInput(EditState *es,GCElement *g) in AOX_AddInput() 306 void AOX_RemovePort(EditState *es,GCElement *g,GWire *w) in AOX_RemovePort() 312 int AOX_GateParmList(FILE *f,GCElement *g) in AOX_GateParmList() 352 void AOX_VerSave(FILE *f,GCElement *g) in AOX_VerSave() 367 int n = *((int*)value); in AOX_SetProp() local 372 void AOX_PSWrite(GPrint *P,GModLayout *l,GCElement *g) in AOX_PSWrite() [all …]
|
/dports/graphics/box/box-0.4.0/libs/g/ |
H A D | i_gradient.c | 34 Gradient *g; in gradient_begin() local 52 Gradient *g = BOX_VM_THIS(vmp, GradientPtr); in gradient_destroy() local 69 Gradient *g = BOX_VM_THIS(vm, GradientPtr); in gradient_string() local 75 ColorGradExt es[] = {COLOR_GRAD_EXT_NONE, in gradient_string() local 138 BoxReal r = fabs(BOX_VM_ARG1(vmp, BoxReal)); in gradient_circle_real() local 174 Gradient *g = BOX_VM_THIS(vmp, GradientPtr); in gradient_color() local 184 Gradient *g = BOX_VM_THIS(vmp, GradientPtr); in gradient_real() local 185 BoxReal r = BOX_VM_ARG1(vmp, BoxReal); in gradient_real() local 202 Gradient *g = BOX_VM_THIS(vmp, GradientPtr); in gradient_end() local 204 BoxInt n = buff_numitems(& g->items); in gradient_end() local [all …]
|
/dports/math/plplot-ada/plplot-5.15.0/lib/nistcd/ |
H A D | cd.c | 582 unsigned char *es, *esp; in cdSetLineType() local 639 unsigned char *es, *esp; in cdSetLineWidth() local 1786 int cdImageColorClosest( cdImagePtr im, int r, int g, int b ) in cdImageColorClosest() 1826 int cdImageColorExact( cdImagePtr im, int r, int g, int b ) in cdImageColorExact() 1848 static int cdImageAddColorIndex( cdImagePtr im, int r, int g, int b ) in cdImageAddColorIndex() 1966 int cdImageColorAllocate( cdImagePtr im, int r, int g, int b ) in cdImageColorAllocate() 2309 int cdCircle( cdImagePtr im, int cx, int cy, int r ) in cdCircle() 2581 int cdPolygon( cdImagePtr im, cdPointPtr p, int n ) in cdPolygon() 2675 int cdPolygonSet( cdImagePtr im, cdPointPtr p, int n ) in cdPolygonSet() 2772 int cdPolyLine( cdImagePtr im, cdPointPtr p, int n ) in cdPolyLine() [all …]
|
/dports/math/plplot/plplot-5.15.0/lib/nistcd/ |
H A D | cd.c | 582 unsigned char *es, *esp; in cdSetLineType() local 639 unsigned char *es, *esp; in cdSetLineWidth() local 1786 int cdImageColorClosest( cdImagePtr im, int r, int g, int b ) in cdImageColorClosest() 1826 int cdImageColorExact( cdImagePtr im, int r, int g, int b ) in cdImageColorExact() 1848 static int cdImageAddColorIndex( cdImagePtr im, int r, int g, int b ) in cdImageAddColorIndex() 1966 int cdImageColorAllocate( cdImagePtr im, int r, int g, int b ) in cdImageColorAllocate() 2309 int cdCircle( cdImagePtr im, int cx, int cy, int r ) in cdCircle() 2581 int cdPolygon( cdImagePtr im, cdPointPtr p, int n ) in cdPolygon() 2675 int cdPolygonSet( cdImagePtr im, cdPointPtr p, int n ) in cdPolygonSet() 2772 int cdPolyLine( cdImagePtr im, cdPointPtr p, int n ) in cdPolyLine() [all …]
|
/dports/math/vtk8/VTK-8.2.0/IO/Geometry/ |
H A D | vtkCGMWriter.cxx | 365 int vtkColorHash::InsertUniqueColor(cgmImagePtr im, int r, int g, int b) in InsertUniqueColor() 406 int vtkColorHash::GetColorIndex(cgmImagePtr im, int r, int g, int b) in GetColorIndex() 457 int r=0, g=0, b=0; //warnings in DefineLUTColors() local 2788 static int cgmImageColorClosest(cgmImagePtr im, int r, int g, int b) in cgmImageColorClosest() 2830 static int cgmImageColorExact(cgmImagePtr im, int r, int g, int b) in cgmImageColorExact() 2851 static int cgmImageAddColorIndex(cgmImagePtr im, int r, int g, int b) in cgmImageAddColorIndex() 2976 static int cgmImageColorAllocate(cgmImagePtr im, int r, int g, int b) in cgmImageColorAllocate() 3113 int& r, int& g, int& b) in cgmImageColorGet() 3625 static int cgmPolygon(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygon() 3726 static int cgmPolygonSet(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygonSet() [all …]
|
/dports/math/vtk9/VTK-9.1.0/IO/Geometry/ |
H A D | vtkCGMWriter.cxx | 367 int vtkColorHash::InsertUniqueColor(cgmImagePtr im, int r, int g, int b) in InsertUniqueColor() 408 int vtkColorHash::GetColorIndex(cgmImagePtr im, int r, int g, int b) in GetColorIndex() 458 int r = 0, g = 0, b = 0; // warnings in DefineLUTColors() local 2820 static int cgmImageColorClosest(cgmImagePtr im, int r, int g, int b) in cgmImageColorClosest() 2862 static int cgmImageColorExact(cgmImagePtr im, int r, int g, int b) in cgmImageColorExact() 2883 static int cgmImageAddColorIndex(cgmImagePtr im, int r, int g, int b) in cgmImageAddColorIndex() 3010 static int cgmImageColorAllocate(cgmImagePtr im, int r, int g, int b) in cgmImageColorAllocate() 3146 static int cgmImageColorGet(cgmImagePtr im, int cgmIndex, int& r, int& g, int& b) in cgmImageColorGet() 3696 static int cgmPolygon(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygon() 3798 static int cgmPolygonSet(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygonSet() [all …]
|
/dports/math/vtk6/VTK-6.2.0/IO/Geometry/ |
H A D | vtkCGMWriter.cxx | 365 int vtkColorHash::InsertUniqueColor(cgmImagePtr im, int r, int g, int b) in InsertUniqueColor() 406 int vtkColorHash::GetColorIndex(cgmImagePtr im, int r, int g, int b) in GetColorIndex() 457 int r=0, g=0, b=0; //warnings in DefineLUTColors() local 2789 static int cgmImageColorClosest(cgmImagePtr im, int r, int g, int b) in cgmImageColorClosest() 2831 static int cgmImageColorExact(cgmImagePtr im, int r, int g, int b) in cgmImageColorExact() 2852 static int cgmImageAddColorIndex(cgmImagePtr im, int r, int g, int b) in cgmImageAddColorIndex() 2977 static int cgmImageColorAllocate(cgmImagePtr im, int r, int g, int b) in cgmImageColorAllocate() 3115 int& r, int& g, int& b) in cgmImageColorGet() 3627 static int cgmPolygon(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygon() 3728 static int cgmPolygonSet(cgmImagePtr im, cgmPointPtr p, int n) in cgmPolygonSet() [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/adaptagrams/libcola/tests/ |
H A D | scale_free.cpp | 42 void scale_free(const unsigned n = 50) { in scale_free() 44 const double g=0.08; // edge density, every time we add a node we add 1+g*rand(0-1) edges in scale_free() local 48 vector<Edge> es; in scale_free() local 63 double r=(double)rand()/(double)RAND_MAX; in scale_free() local 78 double r=(double)rand()/(double)RAND_MAX; in scale_free() local
|
H A D | shortest_paths.cpp | 45 vector<shortest_paths::Edge> random_graph(unsigned n) { in random_graph() 49 double r=(double)rand()/(double)RAND_MAX; in random_graph() local 75 Graph g; in main() local 78 vector<shortest_paths::Edge> es = random_graph(V); in main() local
|
/dports/lang/gcc12-devel/gcc-12-20211205/libgomp/testsuite/libgomp.c++/ |
H A D | task-reduction-11.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 83 T (&r)[5] = rs; in test() local 234 int n = 1; in main() local
|
H A D | task-reduction-4.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 84 T (&r)[5] = rs; in test() local 235 int n = 1; in main() local
|
/dports/lang/gcc10/gcc-10.3.0/libgomp/testsuite/libgomp.c++/ |
H A D | task-reduction-4.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 84 T (&r)[5] = rs; in test() local 235 int n = 1; in main() local
|
H A D | task-reduction-11.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 83 T (&r)[5] = rs; in test() local 234 int n = 1; in main() local
|
/dports/lang/gcc11-devel/gcc-11-20211009/libgomp/testsuite/libgomp.c++/ |
H A D | task-reduction-11.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 83 T (&r)[5] = rs; in test() local 234 int n = 1; in main() local
|
H A D | task-reduction-4.C | 7 int es[3] = { 5, 0, 5 }; variable 12 int (&g)[4] = gs; variable 24 foo (T &n, T *&c, long long int *&d, T (&m)[3], T *&r, T (&o)[4], T *&p, T (&q)[4][2]) in foo() 63 test (T &n) in test() 84 T (&r)[5] = rs; in test() local 235 int n = 1; in main() local
|