line |
true |
false |
branch |
65
|
0 |
0 |
: &_Scanner::_M_eat_escape_posix) |
66
|
0 |
0 |
{ _M_advance(); } |
73
|
0 |
0 |
if (_M_current == _M_end) |
79
|
0 |
0 |
if (_M_state == _S_state_normal) |
81
|
0 |
0 |
else if (_M_state == _S_state_in_bracket) |
83
|
0 |
0 |
else if (_M_state == _S_state_in_brace) |
101
|
0 |
0 |
if (std::strchr(_M_spec_char, _M_ctype.narrow(__c, ' ')) == nullptr) |
107
|
0 |
0 |
if (__c == '\\') |
109
|
0 |
0 |
if (_M_current == _M_end) |
112
|
0 |
0 |
if (!_M_is_basic() |
|
0 |
0 |
if (!_M_is_basic() |
|
0 |
0 |
if (!_M_is_basic() |
|
0 |
0 |
if (!_M_is_basic() |
|
0 |
0 |
if (!_M_is_basic() |
117
|
0 |
0 |
(this->*_M_eat_escape)(); |
122
|
0 |
0 |
if (__c == '(') |
124
|
0 |
0 |
if (_M_is_ecma() && *_M_current == '?') |
|
0 |
0 |
if (_M_is_ecma() && *_M_current == '?') |
|
0 |
0 |
if (_M_is_ecma() && *_M_current == '?') |
126
|
0 |
0 |
if (++_M_current == _M_end) |
129
|
0 |
0 |
if (*_M_current == ':') |
134
|
0 |
0 |
else if (*_M_current == '=') |
140
|
0 |
0 |
else if (*_M_current == '!') |
149
|
0 |
0 |
else if (_M_flags & regex_constants::nosubs) |
154
|
0 |
0 |
else if (__c == ')') |
156
|
0 |
0 |
else if (__c == '[') |
160
|
0 |
0 |
if (_M_current != _M_end && *_M_current == '^') |
|
0 |
0 |
if (_M_current != _M_end && *_M_current == '^') |
168
|
0 |
0 |
else if (__c == '{') |
173
|
0 |
0 |
else if (__c != ']' && __c != '}') |
|
0 |
0 |
else if (__c != ']' && __c != '}') |
177
|
0 |
0 |
for (; __it->first != '\0'; ++__it) |
178
|
0 |
0 |
if (__it->first == __narrowc) |
200
|
0 |
0 |
if (_M_current == _M_end) |
205
|
0 |
0 |
if (__c == '[') |
207
|
0 |
0 |
if (_M_current == _M_end) |
210
|
0 |
0 |
if (*_M_current == '.') |
215
|
0 |
0 |
else if (*_M_current == ':') |
220
|
0 |
0 |
else if (*_M_current == '=') |
234
|
0 |
0 |
else if (__c == ']' && (_M_is_ecma() || !_M_at_bracket_start)) |
|
0 |
0 |
else if (__c == ']' && (_M_is_ecma() || !_M_at_bracket_start)) |
|
0 |
0 |
else if (__c == ']' && (_M_is_ecma() || !_M_at_bracket_start)) |
|
0 |
0 |
else if (__c == ']' && (_M_is_ecma() || !_M_at_bracket_start)) |
240
|
0 |
0 |
else if (__c == '\\' && (_M_is_ecma() || _M_is_awk())) |
|
0 |
0 |
else if (__c == '\\' && (_M_is_ecma() || _M_is_awk())) |
|
0 |
0 |
else if (__c == '\\' && (_M_is_ecma() || _M_is_awk())) |
|
0 |
0 |
else if (__c == '\\' && (_M_is_ecma() || _M_is_awk())) |
241
|
0 |
0 |
(this->*_M_eat_escape)(); |
257
|
0 |
0 |
if (_M_current == _M_end) |
262
|
0 |
0 |
if (_M_ctype.is(_CtypeT::digit, __c)) |
266
|
0 |
0 |
while (_M_current != _M_end |
270
|
0 |
0 |
else if (__c == ',') |
273
|
0 |
0 |
else if (_M_is_basic()) |
275
|
0 |
0 |
if (__c == '\\' && _M_current != _M_end && *_M_current == '}') |
|
0 |
0 |
if (__c == '\\' && _M_current != _M_end && *_M_current == '}') |
|
0 |
0 |
if (__c == '\\' && _M_current != _M_end && *_M_current == '}') |
284
|
0 |
0 |
else if (__c == '}') |
298
|
0 |
0 |
if (_M_current == _M_end) |
304
|
0 |
0 |
if (__pos != nullptr && (__c != 'b' || _M_state == _S_state_in_bracket)) |
|
0 |
0 |
if (__pos != nullptr && (__c != 'b' || _M_state == _S_state_in_bracket)) |
|
0 |
0 |
if (__pos != nullptr && (__c != 'b' || _M_state == _S_state_in_bracket)) |
309
|
0 |
0 |
else if (__c == 'b') |
314
|
0 |
0 |
else if (__c == 'B') |
320
|
0 |
0 |
else if (__c == 'd' |
|
0 |
0 |
else if (__c == 'd' |
|
0 |
0 |
else if (__c == 'd' |
|
0 |
0 |
else if (__c == 'd' |
|
0 |
0 |
else if (__c == 'd' |
|
0 |
0 |
else if (__c == 'd' |
330
|
0 |
0 |
else if (__c == 'c') |
332
|
0 |
0 |
if (_M_current == _M_end) |
337
|
0 |
0 |
else if (__c == 'x' || __c == 'u') |
|
0 |
0 |
else if (__c == 'x' || __c == 'u') |
340
|
0 |
0 |
for (int __i = 0; __i < (__c == 'x' ? 2 : 4); __i++) |
|
0 |
0 |
for (int __i = 0; __i < (__c == 'x' ? 2 : 4); __i++) |
342
|
0 |
0 |
if (_M_current == _M_end |
350
|
0 |
0 |
else if (_M_ctype.is(_CtypeT::digit, __c)) |
353
|
0 |
0 |
while (_M_current != _M_end |
372
|
0 |
0 |
if (_M_current == _M_end) |
378
|
0 |
0 |
if (__pos != nullptr && *__pos != '\0') |
|
0 |
0 |
if (__pos != nullptr && *__pos != '\0') |
384
|
0 |
0 |
else if (_M_is_awk()) |
389
|
0 |
0 |
else if (_M_is_basic() && _M_ctype.is(_CtypeT::digit, __c) && __c != '0') |
|
0 |
0 |
else if (_M_is_basic() && _M_ctype.is(_CtypeT::digit, __c) && __c != '0') |
|
0 |
0 |
else if (_M_is_basic() && _M_ctype.is(_CtypeT::digit, __c) && __c != '0') |
|
0 |
0 |
else if (_M_is_basic() && _M_ctype.is(_CtypeT::digit, __c) && __c != '0') |
415
|
0 |
0 |
if (__pos != nullptr) |
421
|
0 |
0 |
else if (_M_ctype.is(_CtypeT::digit, __c) |
|
0 |
0 |
else if (_M_ctype.is(_CtypeT::digit, __c) |
|
0 |
0 |
else if (_M_ctype.is(_CtypeT::digit, __c) |
|
0 |
0 |
else if (_M_ctype.is(_CtypeT::digit, __c) |
426
|
0 |
0 |
for (int __i = 0; |
|
0 |
0 |
for (int __i = 0; |
|
0 |
0 |
for (int __i = 0; |
|
0 |
0 |
for (int __i = 0; |
449
|
0 |
0 |
for (_M_value.clear(); _M_current != _M_end && *_M_current != __ch;) |
|
0 |
0 |
for (_M_value.clear(); _M_current != _M_end && *_M_current != __ch;) |
451
|
0 |
0 |
if (_M_current == _M_end |
|
0 |
0 |
if (_M_current == _M_end |
|
0 |
0 |
if (_M_current == _M_end |
|
0 |
0 |
if (_M_current == _M_end |
|
0 |
0 |
if (_M_current == _M_end |
456
|
0 |
0 |
if (__ch == ':') |