Home
last modified time | relevance | path

Searched refs:JSON_ASSERT (Results 1 - 25 of 27) sorted by relevance

12

/third_party/json/include/nlohmann/detail/conversions/
H A Dto_chars.hpp72 JSON_ASSERT(x.e == y.e);
73 JSON_ASSERT(x.f >= y.f);
149 JSON_ASSERT(x.f != 0);
168 JSON_ASSERT(delta >= 0);
169 JSON_ASSERT(((x.f << delta) >> delta) == x.f);
191 JSON_ASSERT(std::isfinite(value)); in compute_boundaries()
192 JSON_ASSERT(value > 0); in compute_boundaries()
472 JSON_ASSERT(e >= -1500); in get_cached_power_for_binary_exponent()
473 JSON_ASSERT(e <= 1500); in get_cached_power_for_binary_exponent()
478 JSON_ASSERT(inde in get_cached_power_for_binary_exponent()
[all...]
/third_party/json/include/nlohmann/detail/input/
H A Djson_sax.hpp243 JSON_ASSERT(!ref_stack.empty()); in key()
244 JSON_ASSERT(ref_stack.back()->is_object()); in key()
253 JSON_ASSERT(!ref_stack.empty()); in end_object()
254 JSON_ASSERT(ref_stack.back()->is_object()); in end_object()
275 JSON_ASSERT(!ref_stack.empty()); in end_array()
276 JSON_ASSERT(ref_stack.back()->is_array()); in end_array()
318 JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object()); in handle_value()
326 JSON_ASSERT(ref_stack.back()->is_object()); in handle_value()
327 JSON_ASSERT(object_element); in handle_value()
463 JSON_ASSERT(!ref_stac in end_object()
[all...]
H A Dlexer.hpp146 JSON_ASSERT(loc != nullptr);
172 JSON_ASSERT(current == 'u'); in get_codepoint()
198 JSON_ASSERT(0x0000 <= codepoint && codepoint <= 0xFFFF); in get_codepoint()
219 JSON_ASSERT(ranges.size() == 2 || ranges.size() == 4 || ranges.size() == 6); in next_byte_in_range()
260 JSON_ASSERT(current == '\"'); in scan_string()
380 JSON_ASSERT(0x00 <= codepoint && codepoint <= 0x10FFFF); in scan_string()
1009 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in scan_number()
1256 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1272 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1289 JSON_ASSERT(endpt in scan_number()
[all...]
H A Dinput_adapters.hpp54 JSON_ASSERT(m_file != nullptr); in m_file()
314 JSON_ASSERT(utf8_bytes_filled > 0);
315 JSON_ASSERT(utf8_bytes_index == 0);
319 JSON_ASSERT(utf8_bytes_filled > 0);
320 JSON_ASSERT(utf8_bytes_index < utf8_bytes_filled);
H A Dbinary_reader.hpp134 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in sax_parse()
817 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in parse_cbor_internal()
860 JSON_ASSERT(0 <= exp&& exp <= 32); in parse_cbor_internal()
861 JSON_ASSERT(mant <= 1024); in parse_cbor_internal()
2407 JSON_ASSERT(0 <= exp&& exp <= 32); in get_ubjson_value()
2408 JSON_ASSERT(mant <= 1024); in get_ubjson_value()
2944 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in exception_message()
/third_party/json/include/nlohmann/detail/iterators/
H A Diter_impl.hpp102 JSON_ASSERT(m_object != nullptr); in m_object()
199 JSON_ASSERT(m_object != nullptr);
243 JSON_ASSERT(m_object != nullptr);
282 JSON_ASSERT(m_object != nullptr); in operator *()
288 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end()); in operator *()
294 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end()); in operator *()
326 JSON_ASSERT(m_object != nullptr); in operator ->()
332 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end()); in operator ->()
338 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end()); in operator ->()
379 JSON_ASSERT(m_objec in operator ++()
[all...]
H A Diteration_proxy.hpp116 JSON_ASSERT(anchor.m_object != nullptr); in key()
/third_party/json/include/nlohmann/detail/output/
H A Dserializer.hpp147 JSON_ASSERT(i != val.m_value.object->cend()); in dump()
148 JSON_ASSERT(std::next(i) == val.m_value.object->cend()); in dump()
175 JSON_ASSERT(i != val.m_value.object->cend()); in dump()
176 JSON_ASSERT(std::next(i) == val.m_value.object->cend()); in dump()
217 JSON_ASSERT(!val.m_value.array->empty()); in dump()
238 JSON_ASSERT(!val.m_value.array->empty()); in dump()
372 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in dump()
571 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in dump_escaped()
632 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in dump_escaped()
761 JSON_ASSERT(n_char in dump_integer() function
[all...]
H A Dbinary_writer.hpp53 JSON_ASSERT(oa); in binary_writer()
806 JSON_ASSERT(use_count); in write_ubjson()
852 JSON_ASSERT(use_count); in write_ubjson()
904 JSON_ASSERT(use_count); in write_ubjson()
1200 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) in calc_bson_element_size()
1247 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) in write_bson_element()
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp2439 #if !defined(JSON_ASSERT)
2441 #define JSON_ASSERT(x) assert(x) macro
2728 JSON_ASSERT(!f.empty()); in replace_substring()
4383 JSON_ASSERT(anchor.m_object != nullptr);
5179 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
5511 JSON_ASSERT(utf8_bytes_filled > 0);
5512 JSON_ASSERT(utf8_bytes_index == 0);
5516 JSON_ASSERT(utf8_bytes_filled > 0);
5517 JSON_ASSERT(utf8_bytes_index < utf8_bytes_filled);
5995 JSON_ASSERT(ref_stac
[all...]
/third_party/json/tests/src/
H A Dunit-assert_macro.cpp21 #define JSON_ASSERT(x) {if (!(x)) ++assert_counter; } macro
28 TEST_CASE("JSON_ASSERT(x)")
/third_party/json/single_include/nlohmann/
H A Djson.hpp2540 #if !defined(JSON_ASSERT)
2542 #define JSON_ASSERT(x) assert(x) macro
2958 JSON_ASSERT(!f.empty()); in replace_substring()
5194 JSON_ASSERT(anchor.m_object != nullptr); in key()
6033 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in hash()
6123 JSON_ASSERT(m_file != nullptr); in m_file()
6383 JSON_ASSERT(utf8_bytes_filled > 0);
6384 JSON_ASSERT(utf8_bytes_index == 0);
6388 JSON_ASSERT(utf8_bytes_filled > 0);
6389 JSON_ASSERT(utf8_bytes_inde
24407 #undef JSON_ASSERT global() macro
[all...]
/third_party/json/include/nlohmann/detail/
H A Dmacro_unscope.hpp17 #undef JSON_ASSERT macro
H A Dstring_escape.hpp34 JSON_ASSERT(!f.empty()); in replace_substring()
H A Dhash.hpp123 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in hash()
H A Djson_pointer.hpp707 JSON_ASSERT(reference_token[pos] == '~'); in split()
H A Dmacro_scope.hpp190 #if !defined(JSON_ASSERT)
192 #define JSON_ASSERT(x) assert(x) macro
/third_party/json/include/nlohmann/
H A Djson.hpp389 JSON_ASSERT(obj != nullptr); in create()
674 JSON_ASSERT(m_type != value_t::object || m_value.object != nullptr);
675 JSON_ASSERT(m_type != value_t::array || m_value.array != nullptr);
676 JSON_ASSERT(m_type != value_t::string || m_value.string != nullptr);
677 JSON_ASSERT(m_type != value_t::binary || m_value.binary != nullptr);
683 JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
749 JSON_ASSERT(type() == value_t::array); in set_parent()
883 JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE in basic_json()
885 JSON_ASSERT(m_type == val.type()); in basic_json()
1022 JSON_ASSERT(firs in basic_json()
[all...]
/third_party/protobuf/conformance/third_party/jsoncpp/
H A Djson.h445 /** Exceptions thrown by JSON_ASSERT/JSON_FAIL macros.
862 /// \return non-zero, but JSON_ASSERT if this is neither object nor nullValue.
2034 # define JSON_ASSERT(condition) \ macro
2046 # define JSON_ASSERT(condition) assert(condition)
H A Djsoncpp.cpp2613 JSON_ASSERT(text != 0); in setComment()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
H A Djson.h405 /** Exceptions thrown by JSON_ASSERT/JSON_FAIL macros.
812 /// \return non-zero, but JSON_ASSERT if this is neither object nor nullValue.
1976 # define JSON_ASSERT(condition) \ macro
1988 # define JSON_ASSERT(condition) assert(condition)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
H A Djson.h405 /** Exceptions thrown by JSON_ASSERT/JSON_FAIL macros.
812 /// \return non-zero, but JSON_ASSERT if this is neither object nor nullValue.
1976 # define JSON_ASSERT(condition) \ macro
1988 # define JSON_ASSERT(condition) assert(condition)
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
H A Djson.h405 /** Exceptions thrown by JSON_ASSERT/JSON_FAIL macros.
812 /// \return non-zero, but JSON_ASSERT if this is neither object nor nullValue.
1976 # define JSON_ASSERT(condition) \ macro
1988 # define JSON_ASSERT(condition) assert(condition)
/third_party/json/docs/docset/
H A DdocSet.sql200 INSERT INTO searchIndex(name, type, path) VALUES ('JSON_ASSERT', 'Macro', 'api/macros/json_assert/index.html');
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp2594 JSON_ASSERT(text != 0);

Completed in 60 milliseconds

12