Lines Matching refs:__last
2543 basic_regex(_ForwardIterator __first, _ForwardIterator __last,
2547 {__parse(__first, __last);}
2603 assign(_InputIterator __first, _InputIterator __last,
2606 basic_string<_CharT> __t(__first, __last);
2629 assign(_ForwardIterator __first, _ForwardIterator __last,
2632 return assign(basic_regex(__first, __last, __f));
2670 __parse(_ForwardIterator __first, _ForwardIterator __last);
2673 __parse_basic_reg_exp(_ForwardIterator __first, _ForwardIterator __last);
2676 __parse_RE_expression(_ForwardIterator __first, _ForwardIterator __last);
2679 __parse_simple_RE(_ForwardIterator __first, _ForwardIterator __last);
2682 __parse_nondupl_RE(_ForwardIterator __first, _ForwardIterator __last);
2685 __parse_one_char_or_coll_elem_RE(_ForwardIterator __first, _ForwardIterator __last);
2688 __parse_Back_open_paren(_ForwardIterator __first, _ForwardIterator __last);
2691 __parse_Back_close_paren(_ForwardIterator __first, _ForwardIterator __last);
2694 __parse_Back_open_brace(_ForwardIterator __first, _ForwardIterator __last);
2697 __parse_Back_close_brace(_ForwardIterator __first, _ForwardIterator __last);
2700 __parse_BACKREF(_ForwardIterator __first, _ForwardIterator __last);
2703 __parse_ORD_CHAR(_ForwardIterator __first, _ForwardIterator __last);
2706 __parse_QUOTED_CHAR(_ForwardIterator __first, _ForwardIterator __last);
2709 __parse_RE_dupl_symbol(_ForwardIterator __first, _ForwardIterator __last,
2714 __parse_ERE_dupl_symbol(_ForwardIterator __first, _ForwardIterator __last,
2719 __parse_bracket_expression(_ForwardIterator __first, _ForwardIterator __last);
2722 __parse_follow_list(_ForwardIterator __first, _ForwardIterator __last,
2726 __parse_expression_term(_ForwardIterator __first, _ForwardIterator __last,
2730 __parse_equivalence_class(_ForwardIterator __first, _ForwardIterator __last,
2734 __parse_character_class(_ForwardIterator __first, _ForwardIterator __last,
2738 __parse_collating_symbol(_ForwardIterator __first, _ForwardIterator __last,
2742 __parse_DUP_COUNT(_ForwardIterator __first, _ForwardIterator __last, int& __c);
2745 __parse_extended_reg_exp(_ForwardIterator __first, _ForwardIterator __last);
2748 __parse_ERE_branch(_ForwardIterator __first, _ForwardIterator __last);
2751 __parse_ERE_expression(_ForwardIterator __first, _ForwardIterator __last);
2754 __parse_one_char_or_coll_elem_ERE(_ForwardIterator __first, _ForwardIterator __last);
2757 __parse_ORD_CHAR_ERE(_ForwardIterator __first, _ForwardIterator __last);
2760 __parse_QUOTED_CHAR_ERE(_ForwardIterator __first, _ForwardIterator __last);
2763 __parse_ecma_exp(_ForwardIterator __first, _ForwardIterator __last);
2766 __parse_alternative(_ForwardIterator __first, _ForwardIterator __last);
2769 __parse_term(_ForwardIterator __first, _ForwardIterator __last);
2772 __parse_assertion(_ForwardIterator __first, _ForwardIterator __last);
2775 __parse_atom(_ForwardIterator __first, _ForwardIterator __last);
2778 __parse_atom_escape(_ForwardIterator __first, _ForwardIterator __last);
2781 __parse_decimal_escape(_ForwardIterator __first, _ForwardIterator __last);
2784 __parse_character_class_escape(_ForwardIterator __first, _ForwardIterator __last);
2787 __parse_character_escape(_ForwardIterator __first, _ForwardIterator __last,
2791 __parse_pattern_character(_ForwardIterator __first, _ForwardIterator __last);
2794 __parse_grep(_ForwardIterator __first, _ForwardIterator __last);
2797 __parse_egrep(_ForwardIterator __first, _ForwardIterator __last);
2800 __parse_class_escape(_ForwardIterator __first, _ForwardIterator __last,
2805 __parse_awk_escape(_ForwardIterator __first, _ForwardIterator __last,
2839 __search(const _CharT* __first, const _CharT* __last,
2845 __match_at_start(const _CharT* __first, const _CharT* __last,
2850 __match_at_start_ecma(const _CharT* __first, const _CharT* __last,
2855 __match_at_start_posix_nosubs(const _CharT* __first, const _CharT* __last,
2860 __match_at_start_posix_subs(const _CharT* __first, const _CharT* __last,
2913 __wrap_iter<_Iter> __last,
3019 _ForwardIterator __last)
3030 __first = __parse_ecma_exp(__first, __last);
3033 __first = __parse_basic_reg_exp(__first, __last);
3037 __first = __parse_extended_reg_exp(__first, __last);
3040 __first = __parse_grep(__first, __last);
3043 __first = __parse_egrep(__first, __last);
3055 _ForwardIterator __last)
3057 if (__first != __last)
3064 if (__first != __last)
3066 __first = __parse_RE_expression(__first, __last);
3067 if (__first != __last)
3070 if (__temp == __last && *__first == '$')
3077 if (__first != __last)
3087 _ForwardIterator __last)
3090 _ForwardIterator __temp = __parse_ERE_branch(__first, __last);
3094 while (__first != __last && *__first == '|')
3097 __temp = __parse_ERE_branch(++__first, __last);
3110 _ForwardIterator __last)
3112 _ForwardIterator __temp = __parse_ERE_expression(__first, __last);
3118 __temp = __parse_ERE_expression(__first, __last);
3127 _ForwardIterator __last)
3131 _ForwardIterator __temp = __parse_one_char_or_coll_elem_ERE(__first, __last);
3132 if (__temp == __first && __temp != __last)
3148 __temp = __parse_extended_reg_exp(++__temp, __last);
3149 if (__temp == __last || *__temp != ')')
3158 __temp = __parse_ERE_dupl_symbol(__temp, __last, __e, __mexp_begin+1,
3168 _ForwardIterator __last)
3172 _ForwardIterator __temp = __parse_simple_RE(__first, __last);
3184 _ForwardIterator __last)
3186 if (__first != __last)
3190 _ForwardIterator __temp = __parse_nondupl_RE(__first, __last);
3192 __first = __parse_RE_dupl_symbol(__temp, __last, __e,
3202 _ForwardIterator __last)
3205 __first = __parse_one_char_or_coll_elem_RE(__first, __last);
3208 __temp = __parse_Back_open_paren(__first, __last);
3213 __first = __parse_RE_expression(__temp, __last);
3214 __temp = __parse_Back_close_paren(__first, __last);
3221 __first = __parse_BACKREF(__first, __last);
3231 _ForwardIterator __last)
3233 _ForwardIterator __temp = __parse_ORD_CHAR(__first, __last);
3236 __temp = __parse_QUOTED_CHAR(__first, __last);
3239 if (__temp != __last && *__temp == '.')
3245 __temp = __parse_bracket_expression(__first, __last);
3257 _ForwardIterator __last)
3259 _ForwardIterator __temp = __parse_ORD_CHAR_ERE(__first, __last);
3262 __temp = __parse_QUOTED_CHAR_ERE(__first, __last);
3265 if (__temp != __last && *__temp == '.')
3271 __temp = __parse_bracket_expression(__first, __last);
3282 _ForwardIterator __last)
3284 if (__first != __last)
3287 if (__temp != __last)
3300 _ForwardIterator __last)
3302 if (__first != __last)
3305 if (__temp != __last)
3318 _ForwardIterator __last)
3320 if (__first != __last)
3323 if (__temp != __last)
3336 _ForwardIterator __last)
3338 if (__first != __last)
3341 if (__temp != __last)
3354 _ForwardIterator __last)
3356 if (__first != __last)
3359 if (__temp != __last)
3379 _ForwardIterator __last)
3381 if (__first != __last)
3384 if (__temp == __last && *__first == '$')
3399 _ForwardIterator __last)
3401 if (__first != __last)
3437 _ForwardIterator __last)
3439 if (__first != __last)
3442 if (__temp != __last)
3468 _ForwardIterator __last)
3470 if (__first != __last)
3473 if (__temp != __last)
3497 __first = __parse_awk_escape(++__first, __last);
3510 _ForwardIterator __last,
3515 if (__first != __last)
3524 _ForwardIterator __temp = __parse_Back_open_brace(__first, __last);
3529 __temp = __parse_DUP_COUNT(__first, __last, __min);
3533 if (__first == __last)
3537 __temp = __parse_Back_close_brace(__first, __last);
3548 __first = __parse_DUP_COUNT(__first, __last, __max);
3549 __temp = __parse_Back_close_brace(__first, __last);
3573 _ForwardIterator __last,
3578 if (__first != __last)
3585 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3595 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3605 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3616 _ForwardIterator __temp = __parse_DUP_COUNT(++__first, __last, __min);
3620 if (__first == __last)
3626 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3636 if (__first == __last)
3641 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3652 __temp = __parse_DUP_COUNT(__first, __last, __max);
3656 if (__first == __last || *__first != '}')
3661 if (__grammar == ECMAScript && __first != __last && *__first == '?')
3684 _ForwardIterator __last)
3686 if (__first != __last && *__first == '[')
3689 if (__first == __last)
3699 if (__first == __last)
3706 __first = __parse_follow_list(__first, __last, __ml);
3707 if (__first == __last)
3714 if (__first == __last || *__first != ']')
3725 _ForwardIterator __last,
3728 if (__first != __last)
3732 _ForwardIterator __temp = __parse_expression_term(__first, __last,
3746 _ForwardIterator __last,
3749 if (__first != __last && *__first != ']')
3753 if (__temp != __last && *__first == '[')
3756 return __parse_equivalence_class(++__temp, __last, __ml);
3758 return __parse_character_class(++__temp, __last, __ml);
3760 __first = __parse_collating_symbol(++__temp, __last, __start_range);
3768 __first = __parse_class_escape(++__first, __last, __start_range, __ml);
3770 __first = __parse_awk_escape(++__first, __last, &__start_range);
3778 if (__first != __last && *__first != ']')
3781 if (__temp != __last && *__first == '-' && *__temp != ']')
3787 if (__temp != __last && *__first == '[' && *__temp == '.')
3788 __first = __parse_collating_symbol(++__temp, __last, __end_range);
3794 __first = __parse_class_escape(++__first, __last,
3797 __first = __parse_awk_escape(++__first, __last,
3831 _ForwardIterator __last,
3835 if (__first == __last)
3866 __first = __parse_character_escape(__first, __last, &__str);
3874 _ForwardIterator __last,
3877 if (__first == __last)
3935 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3938 if (++__first != __last && ('0' <= *__first && *__first <= '7'))
3955 _ForwardIterator __last,
3961 _ForwardIterator __temp = _VSTD::search(__first, __last, _Equal_close,
3963 if (__temp == __last)
3998 _ForwardIterator __last,
4004 _ForwardIterator __temp = _VSTD::search(__first, __last, _Colon_close,
4006 if (__temp == __last)
4023 _ForwardIterator __last,
4029 _ForwardIterator __temp = _VSTD::search(__first, __last, _Dot_close,
4031 if (__temp == __last)
4051 _ForwardIterator __last,
4054 if (__first != __last )
4061 __first != __last && ( __val = __traits_.value(*__first, 10)) != -1;
4076 _ForwardIterator __last)
4079 _ForwardIterator __temp = __parse_alternative(__first, __last);
4083 while (__first != __last && *__first == '|')
4086 __temp = __parse_alternative(++__first, __last);
4099 _ForwardIterator __last)
4103 _ForwardIterator __temp = __parse_term(__first, __last);
4115 _ForwardIterator __last)
4117 _ForwardIterator __temp = __parse_assertion(__first, __last);
4122 __temp = __parse_atom(__first, __last);
4124 __first = __parse_ERE_dupl_symbol(__temp, __last, __e,
4136 _ForwardIterator __last)
4138 if (__first != __last)
4153 if (__temp != __last)
4171 if (__temp != __last && *__temp == '?')
4173 if (++__temp != __last)
4181 __temp = __exp.__parse(++__temp, __last);
4185 if (__temp == __last || *__temp != ')')
4194 __temp = __exp.__parse(++__temp, __last);
4198 if (__temp == __last || *__temp != ')')
4217 _ForwardIterator __last)
4219 if (__first != __last)
4228 __first = __parse_atom_escape(__first, __last);
4231 __first = __parse_bracket_expression(__first, __last);
4236 if (__first == __last)
4239 if (__temp != __last && *__first == '?' && *__temp == ':')
4242 __first = __parse_ecma_exp(++__temp, __last);
4243 if (__first == __last || *__first != ')')
4253 __first = __parse_ecma_exp(__first, __last);
4254 if (__first == __last || *__first != ')')
4269 __first = __parse_pattern_character(__first, __last);
4280 _ForwardIterator __last)
4282 if (__first != __last && *__first == '\\')
4285 if (__t1 == __last)
4288 _ForwardIterator __t2 = __parse_decimal_escape(__t1, __last);
4293 __t2 = __parse_character_class_escape(__t1, __last);
4298 __t2 = __parse_character_escape(__t1, __last);
4311 _ForwardIterator __last)
4313 if (__first != __last)
4324 __first != __last && '0' <= *__first && *__first <= '9'; ++__first)
4338 _ForwardIterator __last)
4340 if (__first != __last)
4386 _ForwardIterator __last,
4389 if (__first != __last)
4432 if ((__t = _VSTD::next(__first)) != __last)
4451 if (__first == __last)
4458 if (__first == __last)
4467 if (__first == __last)
4474 if (__first == __last)
4514 _ForwardIterator __last)
4516 if (__first != __last)
4548 _ForwardIterator __last)
4551 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4557 if (__first != __last)
4559 while (__first != __last)
4561 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4569 if (__first != __last)
4579 _ForwardIterator __last)
4582 _ForwardIterator __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4588 if (__first != __last)
4590 while (__first != __last)
4592 __t1 = _VSTD::find(__first, __last, _CharT('\n'));
4600 if (__first != __last)
5537 const _CharT* __first, const _CharT* __last,
5546 __unmatched.first = __last;
5547 __unmatched.second = __last;
5554 __states.back().__last_ = __last;
5575 __s.__current_ != __last)
5615 const _CharT* __first, const _CharT* __last,
5621 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5629 __states.back().__last_ = __last;
5650 __s.__current_ != __last)
5703 const _CharT* __first, const _CharT* __last,
5711 ptrdiff_t _Np = _VSTD::distance(__first, __last);
5716 __unmatched.first = __last;
5717 __unmatched.second = __last;
5724 __states.back().__last_ = __last;
5747 __s.__current_ != __last)
5803 const _CharT* __first, const _CharT* __last,
5808 return __match_at_start_ecma(__first, __last, __m, __flags, __at_first);
5810 return __match_at_start_posix_nosubs(__first, __last, __m, __flags, __at_first);
5811 return __match_at_start_posix_subs(__first, __last, __m, __flags, __at_first);
5818 const _CharT* __first, const _CharT* __last,
5822 __m.__init(1 + mark_count(), __first, __last,
5824 if (__match_at_start(__first, __last, __m, __flags,
5833 if (__first != __last && !(__flags & regex_constants::match_continuous))
5836 for (++__first; __first != __last; ++__first)
5839 if (__match_at_start(__first, __last, __m, __flags, false))
5857 regex_search(_BidirectionalIterator __first, _BidirectionalIterator __last,
5863 basic_string<_CharT> __s(_VSTD::prev(__first, __offset), __last);
5866 __m.__assign(__first, __last, __mc, __flags & regex_constants::__no_update_pos);
5874 __wrap_iter<_Iter> __last,
5880 bool __r = __e.__search(__first.base(), __last.base(), __mc, __flags);
5881 __m.__assign(__first, __last, __mc, __flags & regex_constants::__no_update_pos);
5888 regex_search(const _CharT* __first, const _CharT* __last,
5893 return __e.__search(__first, __last, __m, __flags);
5899 regex_search(_BidirectionalIterator __first, _BidirectionalIterator __last,
5903 basic_string<_CharT> __s(__first, __last);
5911 regex_search(const _CharT* __first, const _CharT* __last,
5916 return __e.__search(__first, __last, __mc, __flags);
5977 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last,
5983 __first, __last, __m, __e,
5998 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last,
6003 return _VSTD::regex_match(__first, __last, __m, __e, __flags);
6469 _BidirectionalIterator __first, _BidirectionalIterator __last,
6474 _Iter __i(__first, __last, __e, __flags);
6479 __output = _VSTD::copy(__first, __last, __output);
6504 _BidirectionalIterator __first, _BidirectionalIterator __last,
6509 return _VSTD::regex_replace(__output, __first, __last, __e, __fmt.c_str(), __flags);