Home
last modified time | relevance | path

Searched refs:j_null (Results 1 – 25 of 28) sorted by relevance

12

/third_party/json/test/src/
Dunit-comparison.cpp154 json j_null; variable
155 CHECK(j_null == nullptr);
156 CHECK(nullptr == j_null);
173 json j_null; variable
174 CHECK( (j_null != nullptr) == false);
175 CHECK( (nullptr != j_null) == false);
176 CHECK( (j_null != nullptr) == !(j_null == nullptr));
177 CHECK( (nullptr != j_null) == !(nullptr == j_null));
Dunit-iterators2.cpp246 json j_null = nullptr; variable
344 auto it = j_null.begin();
346 CHECK((j_null.begin() + 3) == it);
347 CHECK((3 + j_null.begin()) == it);
348 CHECK((it - 3) == j_null.begin());
349 CHECK((it - j_null.begin()) == 3);
350 CHECK(it != j_null.end());
352 CHECK(it == j_null.end());
355 auto it = j_null.cbegin();
357 CHECK((j_null.cbegin() + 3) == it);
[all …]
/third_party/json/doc/examples/
Dclear.cpp9 json j_null; in main() local
18 j_null.clear(); in main()
27 std::cout << j_null << '\n'; in main()
Dtype_name.cpp9 json j_null; in main() local
19 std::cout << j_null << " is a " << j_null.type_name() << '\n'; in main()
Dmax_size.cpp9 json j_null; in main() local
18 std::cout << j_null.max_size() << '\n'; in main()
Dbasic_json__value_t.cpp9 json j_null(json::value_t::null); in main() local
18 std::cout << j_null << '\n'; in main()
Dback.cpp31 json j_null; in main() local
32 j_null.back(); in main()
Dis_string.cpp9 json j_null; in main() local
21 std::cout << j_null.is_string() << '\n'; in main()
Dis_object.cpp9 json j_null; in main() local
21 std::cout << j_null.is_object() << '\n'; in main()
Dis_structured.cpp9 json j_null; in main() local
21 std::cout << j_null.is_structured() << '\n'; in main()
Dis_array.cpp9 json j_null; in main() local
21 std::cout << j_null.is_array() << '\n'; in main()
Dsize.cpp9 json j_null; in main() local
20 std::cout << j_null.size() << '\n'; in main()
Dis_discarded.cpp9 json j_null; in main() local
21 std::cout << j_null.is_discarded() << '\n'; in main()
Dis_primitive.cpp9 json j_null; in main() local
21 std::cout << j_null.is_primitive() << '\n'; in main()
Dis_number_integer.cpp9 json j_null; in main() local
21 std::cout << j_null.is_number_integer() << '\n'; in main()
Dis_binary.cpp9 json j_null; in main() local
21 std::cout << j_null.is_binary() << '\n'; in main()
Dis_null.cpp9 json j_null; in main() local
21 std::cout << j_null.is_null() << '\n'; in main()
Dis_number.cpp9 json j_null; in main() local
21 std::cout << j_null.is_number() << '\n'; in main()
Dis_number_float.cpp9 json j_null; in main() local
21 std::cout << j_null.is_number_float() << '\n'; in main()
Dis_boolean.cpp9 json j_null; in main() local
21 std::cout << j_null.is_boolean() << '\n'; in main()
Dis_number_unsigned.cpp9 json j_null; in main() local
21 std::cout << j_null.is_number_unsigned() << '\n'; in main()
Dempty.cpp9 json j_null; in main() local
21 std::cout << j_null.empty() << '\n'; in main()
Dtype.cpp9 json j_null; in main() local
20 std::cout << (j_null.type() == json::value_t::null) << '\n'; in main()
Doperator__value_t.cpp9 json j_null; in main() local
19 json::value_t t_null = j_null; in main()
Dfront.cpp9 json j_null; in main() local

12