/third_party/node/tools/inspector_protocol/lib/ |
D | Values_cpp.template | 75 namespace cbor { 76 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::CBORTokenTag; 77 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::CBORTokenizer; 78 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeBinary; 79 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeDouble; 80 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeFalse; 81 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeFromLatin1; 82 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeFromUTF16; 83 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeIndefiniteLengthArrayStart; 84 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::EncodeIndefiniteLengthMapStart; [all …]
|
D | encoding_h.template | 145 // See cbor::NewCBOREncoder, cbor::ParseCBOR, json::NewJSONEncoder, 169 namespace cbor { 203 // Checks whether |msg| is a cbor message. 256 // cbor::EnvelopeEncoder - for wrapping submessages 283 // cbor::NewCBOREncoder - for encoding from a streaming parser 297 // cbor::CBORTokenizer - for parsing individual CBOR items 415 // cbor::ParseCBOR - for receiving streaming parser events for CBOR messages 425 // cbor::AppendString8EntryToMap - for limited in-place editing of messages 428 // Modifies the |cbor| message by appending a new key/value entry at the end 430 // If not successful, |cbor| may be corrupted after this call. [all …]
|
D | encoding_cpp.template | 103 namespace cbor { 471 // cbor::EnvelopeEncoder - for wrapping submessages 517 // cbor::NewCBOREncoder - for encoding from a streaming parser 641 // cbor::CBORTokenizer - for parsing individual CBOR items 923 // cbor::ParseCBOR - for receiving streaming parser events for CBOR messages 1122 // cbor::AppendString8EntryToMap - for limited in-place editing of messages 1128 C* cbor) { 1129 // Careful below: Don't compare (*cbor)[idx] with a uint8_t, since 1131 span<uint8_t> bytes(reinterpret_cast<const uint8_t*>(cbor->data()), 1132 cbor->size()); [all …]
|
/third_party/json/include/nlohmann/detail/input/ |
D | binary_reader.hpp | 111 case input_format_t::cbor: in sax_parse() 414 return unexpect_eof(input_format_t::cbor, "value"); in parse_cbor_internal() 446 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 452 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 458 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 464 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 497 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 503 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 509 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 515 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() [all …]
|
D | input_adapters.hpp | 26 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding.h | 160 namespace cbor { 424 std::vector<uint8_t>* cbor); 427 std::string* cbor); 431 cbor::MajorType* type, 434 void WriteTokenStart(cbor::MajorType type, 437 void WriteTokenStart(cbor::MajorType type, 490 span<uint8_t> cbor, 493 span<uint8_t> cbor, 497 std::vector<uint8_t>* cbor); 500 std::vector<uint8_t>* cbor); [all …]
|
D | encoding.cc | 95 namespace cbor { namespace 1120 C* cbor) { in AppendString8EntryToCBORMapTmpl() argument 1123 span<uint8_t> bytes(reinterpret_cast<const uint8_t*>(cbor->data()), in AppendString8EntryToCBORMapTmpl() 1124 cbor->size()); in AppendString8EntryToCBORMapTmpl() 1131 size_t old_size = cbor->size(); in AppendString8EntryToCBORMapTmpl() 1138 return Status(Error::CBOR_MAP_STOP_EXPECTED, cbor->size() - 1); in AppendString8EntryToCBORMapTmpl() 1139 cbor->pop_back(); in AppendString8EntryToCBORMapTmpl() 1140 EncodeString8(string8_key, cbor); in AppendString8EntryToCBORMapTmpl() 1141 EncodeString8(string8_value, cbor); in AppendString8EntryToCBORMapTmpl() 1142 cbor->push_back(EncodeStop()); in AppendString8EntryToCBORMapTmpl() [all …]
|
D | encoding_test.cc | 137 namespace cbor { namespace 862 std::vector<uint8_t> bytes = {cbor::InitialByteForEnvelope(), in TEST() 863 cbor::InitialByteFor32BitLengthByteString(), in TEST() 868 bytes.push_back(cbor::EncodeIndefiniteLengthMapStart()); in TEST() 873 bytes.push_back(cbor::EncodeStop()); in TEST() 1844 TypeParam cbor; in TYPED_TEST() local 1846 Status status = ConvertJSONToCBOR(GetTestPlatform(), SpanFrom(json), &cbor); in TYPED_TEST() 1853 ConvertCBORToJSON(GetTestPlatform(), SpanFrom(cbor), &roundtrip_json); in TYPED_TEST() 1865 TypeParam cbor; in TYPED_TEST() local 1868 GetTestPlatform(), span<uint16_t>(json16.data(), json16.size()), &cbor); in TYPED_TEST() [all …]
|
/third_party/libcoap/build-env/ |
D | Dockerfile.develop | 14 RUN git clone --depth 1 https://github.com/cabo/cn-cbor.git && cd cn-cbor && ./build.sh all doc ins… 27 COPY --from=0 /usr/local/include/cn-cbor /usr/local/include/cn-cbor
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | input_format_t.md | 6 cbor, 18 cbor
|
/third_party/json/test/src/ |
D | unit-regression2.cpp | 443 json cbor = json::from_cbor("B", true, false); variable 444 CHECK(cbor.is_discarded()); 450 json cbor = json::from_cbor(input, true, false); variable 451 CHECK(cbor.is_discarded()); 456 json cbor = json::from_cbor(std::string("B"), true, false); variable 457 CHECK(cbor.is_discarded());
|
D | unit-cbor.cpp | 1623 CHECK(json::sax_parse(input, &cbp, json::input_format_t::cbor)); 1894 CHECK(!json::sax_parse(v, &scp, json::input_format_t::cbor)); 1901 CHECK(!json::sax_parse(v, &scp, json::input_format_t::cbor)); 1908 CHECK(!json::sax_parse(v, &scp, json::input_format_t::cbor));
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-lecp.h | 261 uint8_t cbor[64]; /* literal cbor capture */ member 489 lecp_parse(struct lecp_ctx *ctx, const uint8_t *cbor, size_t len);
|
/third_party/json/doc/mkdocs/docs/features/binary_formats/ |
D | cbor.md | 7 - [CBOR Website](http://cbor.io) - the main source on CBOR 8 - [CBOR Playground](http://cbor.me) - an interactive webpage to translate between JSON and CBOR 89 …s will be serialized as tagged items. See [binary values](../binary_values.md#cbor) for an example.
|
D | index.md | 6 - [CBOR](cbor.md) (Concise Binary Object Representation),
|
/third_party/node/tools/v8_gypfiles/ |
D | inspector.gypi | 105 '<(inspector_protocol_path)/crdtp/cbor.cc', 106 '<(inspector_protocol_path)/crdtp/cbor.h',
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 5353 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator 8401 case input_format_t::cbor: in sax_parse() 8704 return unexpect_eof(input_format_t::cbor, "value"); in parse_cbor_internal() 8736 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8742 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8748 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8754 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8787 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 8793 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 8799 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() [all …]
|
/third_party/libwebsockets/lib/misc/ |
D | lecp.c | 371 lecp_parse(struct lecp_ctx *ctx, const uint8_t *cbor, size_t len) in lecp_parse() argument 382 c = *cbor++; in lecp_parse() 391 ctx->cbor[ctx->cbor_pos++] = c; in lecp_parse() 392 if (ctx->cbor_pos == sizeof(ctx->cbor) && in lecp_parse()
|
/third_party/json/test/ |
D | CMakeLists.txt | 105 set_property(TARGET test-cbor APPEND_STRING PROPERTY LINK_FLAGS " /STACK:4000000")
|
/third_party/libwebsockets/READMEs/ |
D | README.cbor-cose.md | 8 |README| ./READMEs/README.cbor-cose.md 216 /**< REQUIRED: the cbor output context to emit to, user must
|
/third_party/libcoap/man/ |
D | coap-client.txt.in | 111 application/cbor (cbor)
|
/third_party/json/include/nlohmann/detail/output/ |
D | binary_writer.hpp | 208 write_compact_float(j.m_value.number_float, detail::input_format_t::cbor); in write_cbor() 1569 oa->write_character(format == detail::input_format_t::cbor in write_compact_float() 1576 oa->write_character(format == detail::input_format_t::cbor in write_compact_float()
|
/third_party/json/ |
D | Makefile | 91 find test/data -size -5k -name *.cbor | xargs -I{} cp "{}" fuzz-testing/testcases
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | yarn.lock | 179 cbor "^8.1.0" 281 cbor@^8.1.0: 283 …resolved "https://registry.yarnpkg.com/cbor/-/cbor-8.1.0.tgz#cfc56437e770b73417a2ecbfc9caf6b771af6…
|
/third_party/json/doc/mkdocs/docs/features/ |
D | binary_values.md | 162 [CBOR](binary_formats/cbor.md) supports binary values, but no subtypes. Subtypes will be serialized…
|