Lines Matching defs:CHECK
46 /* Check match completition after every (FINISH_TEST + 1) steps. */
1290 CHECK(sljit_emit_op1(compiler, type, arg1, arg2, arg3, arg4))
1293 CHECK(sljit_emit_op2(compiler, type, arg1, arg2, arg3, arg4, arg5, arg6))
1297 CHECK(!label)
1301 CHECK(!jump)
1305 CHECK(!jump)
1307 /* CHECK depends on the use case. */
1309 #define CHECK(exp) \
1324 CHECK(trace_transitions(0, compiler_common));
1327 CHECK(trace_transitions(1, compiler_common));
1406 /* Check whether item is inserted. */
1414 /* Check whether old index <= index. */
1428 /* Check whether item is inserted. */
1442 /* Check whether item is inserted. */
1450 /* Check whether old index != index. */
1507 /* Check whether item is inserted. */
1515 /* Check whether old id >= id. */
1703 /* Check whether a new-line character is found. */
1711 CHECK(sljit_emit_ijump(compiler, SLJIT_JUMP, SLJIT_MEM2(R_CURR_STATE, R_TEMP), 0));
1719 #undef CHECK
1721 CHECK(exp) \
1782 CHECK(sljit_emit_ijump(compiler, SLJIT_JUMP, SLJIT_MEM2(R_CURR_STATE, R_TEMP), 0));
1798 #undef CHECK
1807 CHECK(sljit_emit_op1(compiler_common.compiler, type, arg1, arg2, arg3, arg4))
1810 CHECK(sljit_emit_op2(compiler_common.compiler, type, arg1, arg2, arg3, arg4, arg5, arg6))
1814 CHECK(!label)
1818 CHECK(!jump)
1822 CHECK(!jump)
1831 #define CHECK(exp) \
1865 Syntax check and AST generator. */
1911 CHECK(!compiler_common.machine);
1914 CHECK(!compiler_common.compiler);
1918 CHECK(!compiler_common.range_jump_list);
1936 CHECK(trace_transitions(0, &compiler_common));
1954 CHECK(trace_transitions(1, &compiler_common));
1967 CHECK(sljit_emit_enter(compiler_common.compiler, 0, 3, 5, 5, 0, 0, 0));
1981 /* Check whether the best match has already found in a previous frame. */
2043 CHECK(trace_transitions(0, &compiler_common));
2062 CHECK(compile_uncond_tran(&compiler_common, R_NEXT_STATE));
2064 CHECK(sljit_emit_ijump(compiler_common.compiler, SLJIT_JUMP, SLJIT_MEM2(R_CURR_STATE, R_TEMP), 0));
2074 CHECK(sljit_emit_ijump(compiler_common.compiler, SLJIT_JUMP, SLJIT_MEM2(R_CURR_STATE, R_TEMP), 0));
2089 CHECK(trace_transitions(0, &compiler_common));
2126 CHECK(trace_transitions(0, &compiler_common));
2127 CHECK(compile_leave_fast_forward(&compiler_common, fast_forward_label));
2140 /* End check. */
2146 CHECK(compile_end_check(&compiler_common, end_check_label));
2160 /* Finish check. */
2188 CHECK(sljit_emit_return(compiler_common.compiler, SLJIT_UNUSED, 0, 0));
2201 CHECK(!ind);
2205 CHECK(compile_newline_check(&compiler_common, ind));
2208 CHECK(trace_transitions(ind, &compiler_common));
2213 CHECK(compile_cond_tran(&compiler_common, compiler_common.search_states[ind].type));
2230 CHECK(sljit_emit_ijump(compiler_common.compiler, SLJIT_JUMP, SLJIT_MEM2(R_CURR_STATE, R_TEMP), 0));
2237 CHECK(sljit_emit_enter(compiler_common.compiler, 0, 2, 3, 3, 0, 0, 0));
2251 /* The else is a really rare event, so we still generate an empty function instead of a runtime pointer check. */
2257 CHECK(compile_uncond_tran(&compiler_common, R_CURR_STATE));
2262 CHECK(sljit_emit_return(compiler_common.compiler, SLJIT_MOV, R_NEXT_HEAD, 0));
2309 #undef CHECK
2455 /* Check the status of the last code. */
2549 /* Sanity check (later). */
2557 /* Check number of active elements. */
2567 /* Check chain list. */