Home
last modified time | relevance | path

Searched refs:is_binary (Results 1 – 19 of 19) sorted by relevance

/third_party/json/doc/examples/
Dis_binary.cpp21 std::cout << j_null.is_binary() << '\n'; in main()
22 std::cout << j_boolean.is_binary() << '\n'; in main()
23 std::cout << j_number_integer.is_binary() << '\n'; in main()
24 std::cout << j_number_unsigned_integer.is_binary() << '\n'; in main()
25 std::cout << j_number_float.is_binary() << '\n'; in main()
26 std::cout << j_object.is_binary() << '\n'; in main()
27 std::cout << j_array.is_binary() << '\n'; in main()
28 std::cout << j_string.is_binary() << '\n'; in main()
29 std::cout << j_binary.is_binary() << '\n'; in main()
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dis_binary.md1 # basic_json::is_binary
4 constexpr bool is_binary() const noexcept;
25 The following code exemplifies `is_binary()` for all JSON types.
28 --8<-- "examples/is_binary.cpp"
34 --8<-- "examples/is_binary.output"
Dvalue_t.md22 [`is_discarded`](is_discarded.md), [`is_binary`](is_binary.md), [`is_primitive`](is_primitive.md), …
Dis_primitive.md27 return is_null() || is_string() || is_boolean() || is_number() || is_binary();
Dindex.md128 - [**is_binary**](is_binary.md) - return whether value is a binary array
/third_party/json/test/src/
Dunit-inspection.cpp52 CHECK(!j.is_binary());
70 CHECK(!j.is_binary());
88 CHECK(!j.is_binary());
106 CHECK(!j.is_binary());
124 CHECK(!j.is_binary());
142 CHECK(!j.is_binary());
160 CHECK(!j.is_binary());
178 CHECK(!j.is_binary());
196 CHECK(j.is_binary());
214 CHECK(!j.is_binary());
Dunit-cbor.cpp1583 CHECK(j.is_binary());
1614 if (parsed.is_binary()) in __anon1a2ea2750202()
1624 CHECK(j.at("foo").is_binary());
2755 CHECK(jb["binary"].is_binary());
/third_party/googletest/googletest/scripts/
Dupload.py680 def UploadFile(filename, file_id, content, is_binary, status, is_base): argument
699 ("is_binary", str(is_binary)),
717 base_content, new_content, is_binary, status = files[filename]
724 UploadFile(filename, file_id, base_content, is_binary, status, True)
726 UploadFile(filename, file_id, new_content, is_binary, status, False)
928 is_binary = mimetype and not mimetype.startswith("text/")
929 if is_binary and self.IsImage(filename):
948 is_binary = mimetype and not mimetype.startswith("text/")
952 elif is_binary:
968 if is_binary:
[all …]
/third_party/toybox/toys/pending/
Ddiff.c45 int dir_num, size, is_binary, status, change, len[2];
380 TT.is_binary = 0; //loop calls to diff in diff()
409 for (t = 0; t < i && !TT.is_binary; t++) in diff()
410 if (!bufi[t]) TT.is_binary = 1; in diff()
411 for (t = 0; t < j && !TT.is_binary; t++) in diff()
412 if (!bufj[t]) TT.is_binary = 1; in diff()
420 if (TT.is_binary || (TT.status == SAME)) return NULL; in diff()
725 if ((toys.optflags & FLAG_q) || TT.is_binary) in show_status()
/third_party/flatbuffers/src/
Dflatc.cpp420 bool is_binary = in Compile() local
425 if (is_binary) { in Compile()
/third_party/json/include/nlohmann/
Djson.hpp2504 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
2776 constexpr bool is_binary() const noexcept in is_binary() function in nlohmann::basic_json
2939 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
2945 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
3430 if (!is_binary()) in get_binary()
3441 if (!is_binary()) in get_binary()
4247 else if (is_binary()) in erase()
4363 else if (is_binary()) in erase()
6257 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
6271 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
/third_party/libcoap/src/
Dcoap_debug.c472 is_binary(int content_format) { in is_binary() function
675 if (is_binary(content_format) || !isprint(data[0])) { in coap_show_pdu()
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp286 if (JSON_HEDLEY_UNLIKELY(!j.is_binary())) in from_json()
/third_party/json/doc/mkdocs/docs/features/
Dbinary_values.md60 j.is_binary(); // returns true
/third_party/json/doc/
Dindex.md26 @link nlohmann::basic_json::is_binary is_binary @endlink -- check for value type
/third_party/openssl/test/
Dectest.c2155 int ret = 0, is_binary = 0; in cardinality_test() local
2171 is_binary = (EC_GROUP_get_field_type(g1) == NID_X9_62_characteristic_two_field); in cardinality_test()
2191 || !TEST_ptr(g2 = (is_binary) ? in cardinality_test()
2195 || !TEST_int_eq(0, is_binary) in cardinality_test()
/third_party/toybox/generated/
Dglobals.h605 int dir_num, size, is_binary, status, change, len[2]; member
/third_party/json/single_include/nlohmann/
Djson.hpp4149 if (JSON_HEDLEY_UNLIKELY(!j.is_binary())) in from_json()
19905 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
20177 constexpr bool is_binary() const noexcept in is_binary() function in nlohmann::basic_json
20340 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
20346 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
20831 if (!is_binary()) in get_binary()
20842 if (!is_binary()) in get_binary()
21648 else if (is_binary()) in erase()
21764 else if (is_binary()) in erase()
23658 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
[all …]
/third_party/json/
DREADME.md1015 j.is_binary(); // true