Lines Matching defs:current
172 JSON_ASSERT(current == 'u');
180 if (current >= '0' && current <= '9')
182 codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x30u) << factor);
184 else if (current >= 'A' && current <= 'F')
186 codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x37u) << factor);
188 else if (current >= 'a' && current <= 'f')
190 codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x57u) << factor);
205 Adds the current byte and, for each passed range, reads a new byte and
220 add(current);
225 if (JSON_HEDLEY_LIKELY(*range <= current && current <= *(++range)))
227 add(current);
260 JSON_ASSERT(current == '\"');
711 add(current);
965 @note The scanner is independent of the current locale. Internally, the
979 switch (current)
983 add(current);
989 add(current);
1003 add(current);
1019 add(current);
1033 add(current);
1057 add(current);
1080 add(current);
1093 add(current);
1117 add(current);
1143 add(current);
1150 add(current);
1166 add(current);
1181 add(current);
1208 add(current);
1234 add(current);
1303 JSON_ASSERT(std::char_traits<char_type>::to_char_type(current) == literal_text[0]);
1319 /// reset token_buffer; current character is beginning of token
1324 token_string.push_back(std::char_traits<char_type>::to_char_type(current));
1344 // just reset the next_unget variable and work with current
1349 current = ia.get_character();
1352 if (JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
1354 token_string.push_back(std::char_traits<char_type>::to_char_type(current));
1357 if (current == '\n')
1363 return current;
1367 @brief unget current character (read it again on next get)
1393 if (JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
1429 /// return current string value (implicitly resets the token; useful only once)
1506 while (current == ' ' || current == '\t' || current == '\n' || current == '\r');
1522 while (ignore_comments && current == '/')
1533 switch (current)
1604 /// the current character
1605 char_int_type current = std::char_traits<char_type>::eof();
1607 /// whether the next get() call should just return current
1610 /// the start position of the current token