Lines Matching defs:tables
138 struct { int minline; int maxline; int usecount; const char* suffix; } tables[0x2000];
163 || ((tables[tableno-1].maxline >> 5) == (j1 >> 5)
164 && j1 - tables[tableno-1].maxline <= 8))) {
166 tables[tableno-1].maxline = j1;
170 tables[tableno-1].minline = tables[tableno-1].maxline = j1;
175 tables[t].usecount = 0;
176 j1 = 8*tables[t].minline;
177 j2 = 8*(tables[t].maxline+1);
180 tables[t].usecount++;
183 if (tables[t].usecount > 1) {
185 if (p == tables[t].minline >> 5) {
189 p = tables[t].minline >> 5;
193 tables[t].suffix = s;
195 tables[t].suffix = NULL;
200 if (tables[t].usecount > 1) {
202 printf("static const short translit_page%s[%d] = {\n", tables[t].suffix, 8*(tables[t].maxline-tables[t].minline+1));
203 for (j1 = tables[t].minline; j1 <= tables[t].maxline; j1++) {
204 if ((j1 % 0x20) == 0 && j1 > tables[t].minline)
223 if (j1 != tables[t].minline) abort();
224 if (j2 > tables[t].maxline+1) abort();
225 j2 = tables[t].maxline+1;
229 if (t >= 0 && tables[t].usecount == 0) abort();
230 if (t >= 0 && tables[t].usecount == 1) {
243 printf(" ? translit_page%s[wc", tables[t].suffix);
244 if (tables[t].minline > 0)