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/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.cpp1584 CHECK(j.is_binary());
1613 if (parsed.is_binary()) in __anon37d0bf970202()
1623 CHECK(j.at("foo").is_binary());
2726 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/mindspore/mindspore/nn/probability/distribution/_utils/
Dutils.py197 def logits_to_probs(logits, is_binary=False): argument
204 if is_binary:
217 def probs_to_logits(probs, is_binary=False): argument
225 if is_binary:
/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/boost/libs/hana/include/boost/hana/
Dbool.hpp161 bool is_binary = starts_with_zero && arr[1] == 'b'; in parse() local
168 else if (is_binary) { in parse()
/third_party/boost/boost/hana/
Dbool.hpp161 bool is_binary = starts_with_zero && arr[1] == 'b'; in parse() local
168 else if (is_binary) { in parse()
/third_party/flatbuffers/src/
Dflatc.cpp420 bool is_binary = in Compile() local
425 if (is_binary) { in Compile()
/third_party/json/include/nlohmann/
Djson.hpp2357 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
2629 constexpr bool is_binary() const noexcept in is_binary() function in nlohmann::basic_json
2792 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
2798 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
3249 if (!is_binary()) in get_binary()
3260 if (!is_binary()) in get_binary()
4059 else if (is_binary()) in erase()
4173 else if (is_binary()) in erase()
6033 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
6047 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1579 bool is_binary) { in parse_value_string() argument
1580 return begin_parse_string(p, cur, end, is_binary ? BINARY_BEGIN : NOT_BINARY, in parse_value_string()
1586 bool is_binary = false; in parse_value_string_with_indexed_key() local
1587 grpc_error* err = is_binary_indexed_header(p, &is_binary); in parse_value_string_with_indexed_key()
1589 return parse_value_string(p, cur, end, is_binary); in parse_value_string_with_indexed_key()
/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/doc/mkdocs/docs/api/basic_json/
Dindex.md117 - is_binary - return whether value is a binary array
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp254 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/toybox/generated/
Dglobals.h582 int dir_num, size, is_binary, status, change, len[2]; member
/third_party/json/single_include/nlohmann/
Djson.hpp3654 if (JSON_HEDLEY_UNLIKELY(!j.is_binary())) in from_json()
18845 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
19117 constexpr bool is_binary() const noexcept in is_binary() function in nlohmann::basic_json
19280 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
19286 return is_binary() ? m_value.binary : nullptr; in get_impl_ptr()
19737 if (!is_binary()) in get_binary()
19748 if (!is_binary()) in get_binary()
20547 else if (is_binary()) in erase()
20661 else if (is_binary()) in erase()
22521 if (JSON_HEDLEY_LIKELY(is_binary())) in swap()
[all …]
/third_party/json/
DREADME.md1169 j.is_binary(); // true