/third_party/json/test/src/ |
D | unit-comparison.cpp | 154 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));
|
D | unit-iterators2.cpp | 246 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/ |
D | clear.cpp | 9 json j_null; in main() local 18 j_null.clear(); in main() 27 std::cout << j_null << '\n'; in main()
|
D | type_name.cpp | 9 json j_null; in main() local 19 std::cout << j_null << " is a " << j_null.type_name() << '\n'; in main()
|
D | max_size.cpp | 9 json j_null; in main() local 18 std::cout << j_null.max_size() << '\n'; in main()
|
D | basic_json__value_t.cpp | 9 json j_null(json::value_t::null); in main() local 18 std::cout << j_null << '\n'; in main()
|
D | back.cpp | 31 json j_null; in main() local 32 j_null.back(); in main()
|
D | is_string.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_string() << '\n'; in main()
|
D | is_object.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_object() << '\n'; in main()
|
D | is_structured.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_structured() << '\n'; in main()
|
D | is_array.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_array() << '\n'; in main()
|
D | size.cpp | 9 json j_null; in main() local 20 std::cout << j_null.size() << '\n'; in main()
|
D | is_discarded.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_discarded() << '\n'; in main()
|
D | is_primitive.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_primitive() << '\n'; in main()
|
D | is_number_integer.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_number_integer() << '\n'; in main()
|
D | is_binary.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_binary() << '\n'; in main()
|
D | is_null.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_null() << '\n'; in main()
|
D | is_number.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_number() << '\n'; in main()
|
D | is_number_float.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_number_float() << '\n'; in main()
|
D | is_boolean.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_boolean() << '\n'; in main()
|
D | is_number_unsigned.cpp | 9 json j_null; in main() local 21 std::cout << j_null.is_number_unsigned() << '\n'; in main()
|
D | empty.cpp | 9 json j_null; in main() local 21 std::cout << j_null.empty() << '\n'; in main()
|
D | type.cpp | 9 json j_null; in main() local 20 std::cout << (j_null.type() == json::value_t::null) << '\n'; in main()
|
D | operator__value_t.cpp | 9 json j_null; in main() local 19 json::value_t t_null = j_null; in main()
|
D | front.cpp | 9 json j_null; in main() local
|