Lines Matching refs:anchor
4180 int anchor; /* BEGIN_BUF, BEGIN_POS, (SEMI_)END_BUF */ member
4346 if ((reg->anchor & ANCR_ANYCHAR_INF) == 0 || prev_is_newline != 0) { in regset_search_body_position_lead()
4467 if (set->anchor != OPTIMIZE_NONE && str < end) { in onig_regset_search_with_param()
4470 if ((set->anchor & ANCR_BEGIN_POSITION) != 0) { in onig_regset_search_with_param()
4475 else if ((set->anchor & ANCR_BEGIN_BUF) != 0) { in onig_regset_search_with_param()
4480 else if ((set->anchor & ANCR_END_BUF) != 0) { in onig_regset_search_with_param()
4497 else if ((set->anchor & ANCR_SEMI_END_BUF) != 0) { in onig_regset_search_with_param()
4520 else if ((set->anchor & ANCR_ANYCHAR_INF_ML) != 0) { in onig_regset_search_with_param()
5255 if (reg->anchor != 0 && str < end) { in search_in_range()
5258 if (reg->anchor & ANCR_BEGIN_POSITION) { in search_in_range()
5266 else if (reg->anchor & ANCR_BEGIN_BUF) { in search_in_range()
5281 else if (reg->anchor & ANCR_END_BUF) { in search_in_range()
5322 else if (reg->anchor & ANCR_SEMI_END_BUF) { in search_in_range()
5345 else if ((reg->anchor & ANCR_ANYCHAR_INF_ML)) { in search_in_range()
5422 if ((reg->anchor & ANCR_ANYCHAR_INF) != 0) { in search_in_range()
5428 if ((reg->anchor & (ANCR_LOOK_BEHIND | ANCR_PREC_READ_NOT)) == 0) { in search_in_range()
5724 set->anchor = reg->anchor; in update_regset_by_reg()
5729 set->anychar_inf = (reg->anchor & ANCR_ANYCHAR_INF) != 0 ? 1 : 0; in update_regset_by_reg()
5732 int anchor; in update_regset_by_reg() local
5734 anchor = set->anchor & reg->anchor; in update_regset_by_reg()
5735 if (anchor != 0) { in update_regset_by_reg()
5747 set->anchor = anchor; in update_regset_by_reg()
5752 if ((reg->anchor & ANCR_ANYCHAR_INF) != 0) in update_regset_by_reg()