Lines Matching refs:chk
234 /* We need to have room in nxt/chk for two more slots: One for the
237 * nxt/chk pair with is EOB, i.e., 0, so we don't have to make sure
249 chk[tblend + 1] = numecs + 1;
250 chk[tblend + 2] = 1; /* anything but EOB */
262 chk[offset] = EOB_POSITION;
263 chk[offset - 1] = ACTION_POSITION;
268 if (chk[i] == EOB_POSITION) {
273 else if (chk[i] == ACTION_POSITION) {
278 else if (chk[i] > numecs || chk[i] == 0) {
284 tdata[curr++] = chk[i];
285 tdata[curr++] = base[nxt[i]] - (i - chk[i]);
291 tdata[curr++] = chk[tblend + 1];
294 tdata[curr++] = chk[tblend + 2];
355 /* We need to have room in nxt/chk for two more slots: One for the
358 * nxt/chk pair with is EOB, i.e., 0, so we don't have to make sure
370 chk[tblend + 1] = numecs + 1;
371 chk[tblend + 2] = 1; /* anything but EOB */
383 chk[offset] = EOB_POSITION;
384 chk[offset - 1] = ACTION_POSITION;
389 if (chk[i] == EOB_POSITION)
392 else if (chk[i] == ACTION_POSITION)
395 else if (chk[i] > numecs || chk[i] == 0)
399 transition_struct_out (chk[i],
401 chk[i]));
406 transition_struct_out (chk[tblend + 1], nxt[tblend + 1]);
407 transition_struct_out (chk[tblend + 2], nxt[tblend + 2]);
1416 * If chk[i] is 0, then nxt[i] is undefined.
1418 if (chk[i] == 0 || nxt[i] == 0)
1454 if (chk[i] == 0)
1457 mkdata (chk[i]);
1458 yychk_data[i] = chk[i];