Home
last modified time | relevance | path

Searched refs:maxstates (Results 1 – 25 of 85) sorted by relevance

1234

/dports/games/xlife/xlife-6.7/
H A Dgentab.c56 if (maxstates > 16) in gentab2()
60 lookup[i] = ((i & 0xff) + 1)%maxstates; in gentab2()
70 else if (maxstates > 4) in gentab2()
74 lookup2[i] = ((i & 0xf) + 1)%maxstates; in gentab2()
85 lookup2[i] |= ((k & 0xf) + 1)%maxstates << 8; in gentab2()
100 lookup4[i] |= (k + 1)%maxstates << 8*l; in gentab2()
124 lookup4[i] |= (k + 1)%maxstates << 8*l; in gentab3()
185 if (maxstates <= 4) in genatab4()
198 else if (maxstates <= 16) in genatab4()
H A Ddefs.h349 extern unsigned maxstates, statescols;
433 #define ztrans ((cell_t(*)[maxstates][maxstates][maxstates][maxstates])trans)
434 #define btrans ((cell_t(*)[maxstates][maxstates][maxstates][maxstates][maxstates][maxstates][maxsta…
H A Dutils.c170 if (maxstates > 2 && dispboxes) in showcoord()
215 if (maxstates > 2) { in showstates()
218 for (j = 0; j < maxstates; j++) in showstates()
348 if (maxstates == 2) return; in setcolor()
351 if (val >= maxstates) return; in setcolor()
361 if (maxstates == 2) in set_paintcolor()
364 paintcolor %= maxstates; in set_paintcolor()
369 if (val >= maxstates) return; in entercolor()
H A Dmain.c106 if (maxstates > 2) { in ResizeLW()
107 if (width > maxstates*(FONTWIDTH + 3) - BORDERWIDTH - STATEOFF) { in ResizeLW()
108 statescols = maxstates; in ResizeLW()
109 XMoveWindow(disp, statew, width - maxstates*(FONTWIDTH + 3) in ResizeLW()
111 XResizeWindow(disp, statew, maxstates*(FONTWIDTH + 3) + STATEOFF, in ResizeLW()
117 h = maxstates/w + (maxstates%w? 1: 0); in ResizeLW()
118 statescols = maxstates/h + (maxstates%h? 1: 0); in ResizeLW()
152 if (maxstates == newmaxstates && new_ev_mode == ev_mode) in alloc_states()
164 clipboard_flush(&active, maxstates = newmaxstates); in alloc_states()
375 clipboard_flush(&tentative, maxstates); in adjust_pivotpos()
[all …]
H A Dkey.c204 if ((s[i] = stoi(outbuf[i])) < 0 || s[i] >= maxstates) { in set_transition()
245 if (is_state(ns) && stoi(ns) < maxstates) in patch_transition()
267 if (is_state(ns) && stoi(ns) < maxstates) in patch_transition8()
H A Dtile.c424 for (i = 1; i < maxstates; i++) in cellcnt()
644 for (curstate = 1; curstate < maxstates; curstate++) in redisplay()
680 for (state = 1; state < maxstates; state++) in bounding_box()
820 if (maxstates > 2) in savesimple()
951 if (maxstates > 2) in saveall()
965 if (maxstates > 2) in saveall()
984 if (maxstates > 2) in saveall()
1010 if (maxstates > 2) in saveall()
H A Dframebuffer.c175 fb_close(maxstates + 2*(pseudocolor && ev_mode == VALENCE_DRIVEN)); in fb_flush()
190 fb_close(maxstates + 2*(pseudocolor && ev_mode == VALENCE_DRIVEN)); in fb_flush_rep()
H A Dgenerate.c743 if (maxstates <= 4) {\
753 else if (maxstates <= 16) {\
833 if (maxstates <= 4) { in evolve3()
843 else if (maxstates <= 16) { in evolve3()
2143 for (i = 0; i < maxstates; i++) in readrules()
2145 for (j = 0; j < maxstates; j++) in readrules()
2154 for (i = 0; i < maxstates; i++) in readrules()
2156 for (j = 0; j < maxstates; j++) in readrules()
2163 for (i = 0; i < maxstates; i++) in readrules()
2165 for (j = 0; j < maxstates; j++) in readrules()
[all …]
/dports/games/golly/golly-3.3-src/gui-wx/
H A Dwxalgos.cpp568 wxBitmap** CreateIconBitmaps(const char** xpmdata, int maxstates) in CreateIconBitmaps() argument
603 if (numicons < maxstates-1 && iconptr[numicons]) { in CreateIconBitmaps()
606 for (int i = numicons; i < maxstates-1; i++) { in CreateIconBitmaps()
688 ad->icons7x7 = CreateIconBitmaps(ad->defxpm7x7, ad->maxstates); in CreateDefaultIcons()
689 ad->icons15x15 = CreateIconBitmaps(ad->defxpm15x15, ad->maxstates); in CreateDefaultIcons()
690 ad->icons31x31 = CreateIconBitmaps(ad->defxpm31x31, ad->maxstates); in CreateDefaultIcons()
719 ad->icons7x7 = CreateIconBitmaps(default7x7, ad->maxstates); in CreateDefaultIcons()
720 ad->icons15x15 = CreateIconBitmaps(default15x15, ad->maxstates); in CreateDefaultIcons()
721 ad->icons31x31 = CreateIconBitmaps(default31x31, ad->maxstates); in CreateDefaultIcons()
810 for (int c = 0; c < ad->maxstates; c++) { in InitAlgorithms()
[all …]
H A Dwxalgos.h103 wxBitmap** CreateIconBitmaps(const char** xpmdata, int maxstates);
/dports/math/gap/gap-4.11.0/pkg/kbmag-1.5.9/standalone/src/
H A Dgpmakesubwa.c87 int ngens, int maxstates);
90 static int add_word_fsa(fsa *subwaptr, int ngens, int maxstates, gen *gtestword,
112 int maxstates = MAXSTATES; in main() local
180 maxstates = atoi(argv[arg]); in main()
321 fsa_init_subwa(&subwa, &gwa, &cosht, ngens, maxstates); in main()
381 if (add_word_fsa(&subwa, ngens, maxstates, gtestword, costestword, in main()
392 if (add_word_fsa(&subwa, ngens, maxstates, gtestword, costestword, in main()
537 int ngens, int maxstates) in fsa_init_subwa() argument
558 fsa_table_init(subwaptr->table, maxstates, ngens); in fsa_init_subwa()
616 int add_word_fsa(fsa *subwaptr, int ngens, int maxstates, gen *gtestword, in add_word_fsa() argument
[all …]
/dports/games/golly/golly-3.3-src/gui-common/
H A Dalgos.cpp558 gBitmapPtr* CreateIconBitmaps(const char** xpmdata, int maxstates) in CreateIconBitmaps() argument
647 if (numicons < maxstates-1 && iconptr[numicons]) { in CreateIconBitmaps()
650 for (int i = numicons; i < maxstates-1; i++) { in CreateIconBitmaps()
820 ad->icons7x7 = CreateIconBitmaps(ad->defxpm7x7, ad->maxstates); in CreateDefaultIcons()
821 ad->icons15x15 = CreateIconBitmaps(ad->defxpm15x15, ad->maxstates); in CreateDefaultIcons()
822 ad->icons31x31 = CreateIconBitmaps(ad->defxpm31x31, ad->maxstates); in CreateDefaultIcons()
851 ad->icons7x7 = CreateIconBitmaps(default7x7, ad->maxstates); in CreateDefaultIcons()
852 ad->icons15x15 = CreateIconBitmaps(default15x15, ad->maxstates); in CreateDefaultIcons()
853 ad->icons31x31 = CreateIconBitmaps(default31x31, ad->maxstates); in CreateDefaultIcons()
919 for (int c = 0; c < ad->maxstates; c++) { in InitAlgorithms()
[all …]
H A Dalgos.h106 gBitmapPtr* CreateIconBitmaps(const char** xpmdata, int maxstates);
/dports/mail/mairix/mairix-0.24/dfasyn/
H A Dstates.c30 if (ss->nstates == ss->maxstates) { in maybe_grow_states()
31 ss->maxstates += 8; in maybe_grow_states()
32 ss->states = resize_array(State*, ss->states, ss->maxstates); in maybe_grow_states()
34 if (b->nstates == b->maxstates) { in maybe_grow_states()
35 b->maxstates += 32; in maybe_grow_states()
36 b->states = resize_array(State*, b->states, b->maxstates); in maybe_grow_states()
H A Dblocks.c61 result->state_hash[i].maxstates = 0; in create_block()
64 result->nstates = result->maxstates = 0; in create_block()
H A Dn2d.h93 int maxstates; member
107 int maxstates; member
H A Ddfasyn.h173 int maxstates; member
187 int maxstates; member
/dports/math/gap/gap-4.11.0/pkg/kbmag-1.5.9/standalone/lib/
H A Dworddcos.c80 tmalloc(wd_fsaptr->is_initial, boolean, wd_fsaptr->table->maxstates + 1); in build_wd_fsa_cos()
81 for (i = 1; i <= wd_fsaptr->table->maxstates; i++) in build_wd_fsa_cos()
166 if (image > wd_fsaptr->table->maxstates) { in add_wd_fsa_cos()
238 if (image > wd_fsaptr->table->maxstates) { in add_wd_fsa_cos()
278 tmalloc(wd_fsaptr->is_initial, boolean, wd_fsaptr->table->maxstates + 1); in make_full_wd_fsa_cos()
279 for (i = 1; i <= wd_fsaptr->table->maxstates; i++) in make_full_wd_fsa_cos()
298 if (n > wd_fsaptr->table->maxstates) { in make_full_wd_fsa_cos()
H A Dfsa.h133 int maxstates; /* The maximum number of states for which space has been member
299 int dr, int maxstates, boolean assignment, char *name);
303 extern void fsa_table_init(table_struc *tableptr, int maxstates, int ne);
H A Dfsaio.c976 storage_type table_storage_type, int dr, int ns, int maxstates, in table_read() argument
1060 tableptr->maxstates = maxstates; in table_read()
1063 fsa_table_init(tableptr, maxstates, ne); in table_read()
1186 int maxstates, boolean assignment, char *name) in fsa_read() argument
1239 srec_read(rfile, fsaptr->states, maxstates); in fsa_read()
1376 if (maxstates < ns) in fsa_read()
1377 maxstates = ns; in fsa_read()
1379 table_read(rfile, fsaptr->table, table_storage_type, dr, ns, maxstates, in fsa_read()
1382 table_read(rfile, fsaptr->table, table_storage_type, dr, ns, maxstates, in fsa_read()
/dports/x11/xterm/xterm-370/vttests/
H A Dmouse-codes70 our $maxstates = 7;
94 for $states ( 0 .. $maxstates ) {
/dports/games/xlife/
H A Dxlife6.7.5to6.7.6.patch49 …#define btrans ((cell_t(*)[maxstates][maxstates][maxstates][maxstates][maxstates][maxstates][maxst…
/dports/math/gap/gap-4.11.0/pkg/kbmag-1.5.9/standalone/kb_data/
H A Dnonhopf5 maxstates := 200,
/dports/x11/xlockmore/xlockmore-5.67/modes/
H A Dlife1d.c123 static int maxstates; variable
706 maxstates = MAXSTATES; in init_life1d()
708 maxsum_size = (maxstates - 1) * (maxradius * 2 + 1) + 1; in init_life1d()
710 maxstates = MAXSTATES - 1; in init_life1d()
712 maxsum_size = (int) power(maxstates, (2 * maxradius + 1)); in init_life1d()
/dports/lang/gforth/gforth-0.7.3/engine/
H A Dmain.c204 static int maxstates = MAX_STATE; /* number of states for stack caching */ variable
842 c->state_in < maxstates && c->state_out < maxstates) { in prepare_super_table()
1497 for (k=0; k<maxstates; k++) in init_waypoints()
1505 s->inst = calloc(maxstates,sizeof(struct waypoint)); in empty_tpa_state()
1507 s->trans = calloc(maxstates,sizeof(struct waypoint)); in empty_tpa_state()
1517 for (k=0; k<maxstates; k++) { in transitions()
1597 for (i=0; i<maxstates; i++) { in tpa_state_normalize()
1607 return (memcmp(t1->inst, t2->inst, maxstates*sizeof(struct waypoint)) == 0 && in tpa_state_equivalent()
1608 memcmp(t1->trans,t2->trans,maxstates*sizeof(struct waypoint)) == 0); in tpa_state_equivalent()
1625 for (i=0; ti+i < (int *)(t->inst+maxstates); i++) in hash_tpa_state()
[all …]

1234