/third_party/json/include/nlohmann/detail/input/ |
H A D | binary_reader.hpp | 149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse() 173 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in parse_bson_internal() 178 if (JSON_HEDLEY_UNLIKELY(!parse_bson_element_list(/*is_array*/false))) in parse_bson_internal() 199 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "cstring"))) in get_bson_cstr() 225 if (JSON_HEDLEY_UNLIKELY(len < 1)) in get_bson_string() 247 if (JSON_HEDLEY_UNLIKELY(len < 0)) in get_bson_binary() 358 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "element list"))) in parse_bson_element_list() 364 if (JSON_HEDLEY_UNLIKELY(!get_bson_cstr(key))) in parse_bson_element_list() 374 if (JSON_HEDLEY_UNLIKELY(!parse_bson_element_internal(element_type, element_type_parse_position))) in parse_bson_element_list() 395 if (JSON_HEDLEY_UNLIKELY(!sa in parse_bson_array() [all...] |
H A D | parser.hpp | 197 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in sax_parse_internal() 205 if (JSON_HEDLEY_UNLIKELY(!sax->end_object())) in sax_parse_internal() 213 if (JSON_HEDLEY_UNLIKELY(last_token != token_type::value_string)) in sax_parse_internal() 219 if (JSON_HEDLEY_UNLIKELY(!sax->key(m_lexer.get_string()))) in sax_parse_internal() 225 if (JSON_HEDLEY_UNLIKELY(get_token() != token_type::name_separator)) in sax_parse_internal() 242 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(static_cast<std::size_t>(-1)))) in sax_parse_internal() 250 if (JSON_HEDLEY_UNLIKELY(!sax->end_array())) in sax_parse_internal() 268 if (JSON_HEDLEY_UNLIKELY(!std::isfinite(res))) in sax_parse_internal() 275 if (JSON_HEDLEY_UNLIKELY(!sax->number_float(res, m_lexer.get_string()))) in sax_parse_internal() 285 if (JSON_HEDLEY_UNLIKELY(!sa in sax_parse_internal() [all...] |
H A D | lexer.hpp | 324 if (JSON_HEDLEY_UNLIKELY(codepoint1 == -1)) in scan_string() 338 if (JSON_HEDLEY_UNLIKELY(codepoint2 == -1)) in scan_string() 372 if (JSON_HEDLEY_UNLIKELY(0xDC00 <= codepoint1 && codepoint1 <= 0xDFFF)) in scan_string() 747 if (JSON_HEDLEY_UNLIKELY(!next_byte_in_range({0x80, 0xBF}))) in scan_string() 757 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0xA0, 0xBF, 0x80, 0xBF})))) in scan_string() 781 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0xBF, 0x80, 0xBF})))) in scan_string() 791 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0x9F, 0x80, 0xBF})))) in scan_string() 801 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x90, 0xBF, 0x80, 0xBF, 0x80, 0xBF})))) in scan_string() 813 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0xBF, 0x80, 0xBF, 0x80, 0xBF})))) in scan_string() 823 if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_rang in scan_string() [all...] |
H A D | json_sax.hpp | 233 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object() 265 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array() 423 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object() 493 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array()
|
H A D | input_adapters.hpp | 122 if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof())) in get_character() 188 if (JSON_HEDLEY_UNLIKELY(input.empty())) in fill_buffer() 246 if (JSON_HEDLEY_UNLIKELY(input.empty())) in fill_buffer() 277 if (JSON_HEDLEY_UNLIKELY(!input.empty())) in fill_buffer()
|
/third_party/json/include/nlohmann/detail/ |
H A D | json_pointer.hpp | 161 if (JSON_HEDLEY_UNLIKELY(empty())) in pop_back() 173 if (JSON_HEDLEY_UNLIKELY(empty())) in back() 219 if (JSON_HEDLEY_UNLIKELY(s.size() > 1 && s[0] == '0')) in array_index() 225 if (JSON_HEDLEY_UNLIKELY(s.size() > 1 && !(s[0] >= '1' && s[0] <= '9'))) in array_index() 236 || JSON_HEDLEY_UNLIKELY(static_cast<std::size_t>(p_end - p) != s.size())) // incomplete read in array_index() 254 if (JSON_HEDLEY_UNLIKELY(empty())) in top() 437 if (JSON_HEDLEY_UNLIKELY(reference_token == "-")) in get_checked() 495 if (JSON_HEDLEY_UNLIKELY(reference_token == "-")) in get_unchecked() 544 if (JSON_HEDLEY_UNLIKELY(reference_token == "-")) in get_checked() 598 if (JSON_HEDLEY_UNLIKELY(reference_toke in contains() [all...] |
/third_party/json/include/nlohmann/detail/conversions/ |
H A D | from_json.hpp | 39 if (JSON_HEDLEY_UNLIKELY(!j.is_null())) in from_json() 86 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json() 96 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) in from_json() 112 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) in from_json() 154 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json() 171 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json() 268 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) 287 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) 298 if (JSON_HEDLEY_UNLIKELY(!j.is_binary())) in from_json() 310 if (JSON_HEDLEY_UNLIKELY(! in from_json() [all...] |
/third_party/json/include/nlohmann/ |
H A D | json.hpp | 515 if (JSON_HEDLEY_UNLIKELY(t == value_t::null)) in json_value() 750 if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity)) in set_parent() 914 if (JSON_HEDLEY_UNLIKELY(manual_type == value_t::object && !is_an_object)) in basic_json() 1026 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object)) in basic_json() 1043 if (JSON_HEDLEY_UNLIKELY(!first.m_it.primitive_iterator.is_begin() in basic_json() 1975 if (JSON_HEDLEY_UNLIKELY(!is_object())) in at() 1995 if (JSON_HEDLEY_UNLIKELY(!is_object())) in at() 2013 if (JSON_HEDLEY_UNLIKELY(!is_object())) in at() 2033 if (JSON_HEDLEY_UNLIKELY(!is_object())) in at() 2072 if (JSON_HEDLEY_UNLIKELY(m_valu in operator []() [all...] |
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 1521 #if defined(JSON_HEDLEY_UNLIKELY) 1522 #undef JSON_HEDLEY_UNLIKELY macro 1538 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect (!!(expr), 0 ) macro 1569 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0) 1575 # define JSON_HEDLEY_UNLIKELY(expr) (!!(expr)) 3836 if (JSON_HEDLEY_UNLIKELY(!j.is_null())) 3883 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) 3893 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) 3909 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) 3949 if (JSON_HEDLEY_UNLIKELY(! [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 1658 #if defined(JSON_HEDLEY_UNLIKELY) 1659 #undef JSON_HEDLEY_UNLIKELY macro 1675 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect (!!(expr), 0 ) macro 1706 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0) 1712 # define JSON_HEDLEY_UNLIKELY(expr) (!!(expr)) 4595 if (JSON_HEDLEY_UNLIKELY(!j.is_null())) in from_json() 4642 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json() 4652 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) in from_json() 4668 if (JSON_HEDLEY_UNLIKELY(!j.is_string())) in from_json() 4710 if (JSON_HEDLEY_UNLIKELY(! in from_json() 24580 #undef JSON_HEDLEY_UNLIKELY global() macro [all...] |
/third_party/json/include/nlohmann/detail/output/ |
H A D | serializer.hpp | 129 if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent)) in dump() 202 if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent)) in dump() 263 if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent)) in dump()
|
H A D | binary_writer.hpp | 963 if (JSON_HEDLEY_UNLIKELY(it != BasicJsonType::string_t::npos)) in calc_bson_entry_header_size()
|
/third_party/json/include/nlohmann/thirdparty/hedley/ |
H A D | hedley_undef.hpp | 146 #undef JSON_HEDLEY_UNLIKELY macro
|
H A D | hedley.hpp | 1342 #if defined(JSON_HEDLEY_UNLIKELY) 1343 #undef JSON_HEDLEY_UNLIKELY macro 1359 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect (!!(expr), 0 ) macro 1390 # define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0) 1396 # define JSON_HEDLEY_UNLIKELY(expr) (!!(expr))
|
/third_party/json/include/nlohmann/detail/iterators/ |
H A D | iter_impl.hpp | 472 if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) in operator ==() 517 if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) in operator <()
|