Lines Matching refs:add_opcode
201 add_opcode(regex_t* reg, int opcode) in add_opcode() function
275 r = add_opcode(reg, opcode); in add_opcode_rel_addr()
300 r = add_opcode(reg, opcode); in add_opcode_option()
366 r = add_opcode(reg, OP_NULL_CHECK_START); in compile_tree_empty_check()
378 r = add_opcode(reg, OP_NULL_CHECK_END); in compile_tree_empty_check()
380 r = add_opcode(reg, OP_NULL_CHECK_END_MEMST); in compile_tree_empty_check()
382 r = add_opcode(reg, OP_NULL_CHECK_END_MEMST_PUSH); in compile_tree_empty_check()
396 r = add_opcode(reg, OP_CALL); in compile_call()
440 add_opcode(reg, op); in add_compile_string()
612 add_opcode(reg, OP_CCLASS_NODE); in compile_cclass_node()
619 add_opcode(reg, OP_CCLASS_NOT); in compile_cclass_node()
621 add_opcode(reg, OP_CCLASS); in compile_cclass_node()
628 add_opcode(reg, OP_CCLASS_MB_NOT); in compile_cclass_node()
630 add_opcode(reg, OP_CCLASS_MB); in compile_cclass_node()
636 add_opcode(reg, OP_CCLASS_MIX_NOT); in compile_cclass_node()
638 add_opcode(reg, OP_CCLASS_MIX); in compile_cclass_node()
687 r = add_opcode(reg, qn->greedy ? OP_REPEAT : OP_REPEAT_NG); in compile_range_repeat_node()
706 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC_SG : OP_REPEAT_INC_NG_SG); in compile_range_repeat_node()
709 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC : OP_REPEAT_INC_NG); in compile_range_repeat_node()
829 r = add_opcode(reg, OP_ANYCHAR_ML_STAR_PEEK_NEXT); in compile_quantifier_node()
831 r = add_opcode(reg, OP_ANYCHAR_STAR_PEEK_NEXT); in compile_quantifier_node()
842 r = add_opcode(reg, (CKN_ON ? in compile_quantifier_node()
847 r = add_opcode(reg, (CKN_ON ? in compile_quantifier_node()
873 r = add_opcode(reg, OP_STATE_CHECK_PUSH); in compile_quantifier_node()
897 r = add_opcode(reg, OP_STATE_CHECK_PUSH_OR_JUMP); in compile_quantifier_node()
920 r = add_opcode(reg, OP_STATE_CHECK_PUSH); in compile_quantifier_node()
936 r = add_opcode(reg, OP_STATE_CHECK_PUSH); in compile_quantifier_node()
955 r = add_opcode(reg, OP_STATE_CHECK); in compile_quantifier_node()
1045 r = add_opcode(reg, OP_ANYCHAR_ML_STAR_PEEK_NEXT); in compile_quantifier_node()
1047 r = add_opcode(reg, OP_ANYCHAR_STAR_PEEK_NEXT); in compile_quantifier_node()
1053 return add_opcode(reg, OP_ANYCHAR_ML_STAR); in compile_quantifier_node()
1055 return add_opcode(reg, OP_ANYCHAR_STAR); in compile_quantifier_node()
1189 r = add_opcode(reg, OP_FAIL); in compile_option_node()
1287 r = add_opcode(reg, OP_CALL); in compile_enclose_node()
1307 r = add_opcode(reg, OP_MEMORY_START_PUSH); in compile_enclose_node()
1309 r = add_opcode(reg, OP_MEMORY_START); in compile_enclose_node()
1318 r = add_opcode(reg, (IS_ENCLOSE_RECURSION(node) in compile_enclose_node()
1321 r = add_opcode(reg, (IS_ENCLOSE_RECURSION(node) in compile_enclose_node()
1327 r = add_opcode(reg, OP_RETURN); in compile_enclose_node()
1331 r = add_opcode(reg, OP_MEMORY_END_PUSH_REC); in compile_enclose_node()
1333 r = add_opcode(reg, OP_MEMORY_END_REC); in compile_enclose_node()
1341 r = add_opcode(reg, OP_MEMORY_END_PUSH); in compile_enclose_node()
1343 r = add_opcode(reg, OP_MEMORY_END); in compile_enclose_node()
1362 r = add_opcode(reg, OP_POP); in compile_enclose_node()
1368 r = add_opcode(reg, OP_PUSH_STOP_BT); in compile_enclose_node()
1372 r = add_opcode(reg, OP_POP_STOP_BT); in compile_enclose_node()
1423 case ANCHOR_BEGIN_BUF: r = add_opcode(reg, OP_BEGIN_BUF); break; in compile_anchor_node()
1424 case ANCHOR_END_BUF: r = add_opcode(reg, OP_END_BUF); break; in compile_anchor_node()
1425 case ANCHOR_BEGIN_LINE: r = add_opcode(reg, OP_BEGIN_LINE); break; in compile_anchor_node()
1426 case ANCHOR_END_LINE: r = add_opcode(reg, OP_END_LINE); break; in compile_anchor_node()
1427 case ANCHOR_SEMI_END_BUF: r = add_opcode(reg, OP_SEMI_END_BUF); break; in compile_anchor_node()
1428 case ANCHOR_BEGIN_POSITION: r = add_opcode(reg, OP_BEGIN_POSITION); break; in compile_anchor_node()
1430 case ANCHOR_WORD_BOUND: r = add_opcode(reg, OP_WORD_BOUND); break; in compile_anchor_node()
1431 case ANCHOR_NOT_WORD_BOUND: r = add_opcode(reg, OP_NOT_WORD_BOUND); break; in compile_anchor_node()
1433 case ANCHOR_WORD_BEGIN: r = add_opcode(reg, OP_WORD_BEGIN); break; in compile_anchor_node()
1434 case ANCHOR_WORD_END: r = add_opcode(reg, OP_WORD_END); break; in compile_anchor_node()
1438 r = add_opcode(reg, OP_PUSH_POS); in compile_anchor_node()
1442 r = add_opcode(reg, OP_POP_POS); in compile_anchor_node()
1452 r = add_opcode(reg, OP_FAIL_POS); in compile_anchor_node()
1458 r = add_opcode(reg, OP_LOOK_BEHIND); in compile_anchor_node()
1490 r = add_opcode(reg, OP_FAIL_LOOK_BEHIND_NOT); in compile_anchor_node()
1661 r = add_opcode(reg, op); in compile_tree()
1667 r = add_opcode(reg, OP_ANYCHAR_ML); in compile_tree()
1669 r = add_opcode(reg, OP_ANYCHAR); in compile_tree()
1678 r = add_opcode(reg, OP_BACKREF_WITH_LEVEL); in compile_tree()
1692 r = add_opcode(reg, OP_BACKREFN_IC); in compile_tree()
1698 case 1: r = add_opcode(reg, OP_BACKREF1); break; in compile_tree()
1699 case 2: r = add_opcode(reg, OP_BACKREF2); break; in compile_tree()
1701 r = add_opcode(reg, OP_BACKREFN); in compile_tree()
1713 r = add_opcode(reg, OP_BACKREF_MULTI_IC); in compile_tree()
1716 r = add_opcode(reg, OP_BACKREF_MULTI); in compile_tree()
5418 r = add_opcode(reg, OP_END); in onig_compile()