/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 | 108 case input_format_t::cbor: in sax_parse() 410 return unexpect_eof(input_format_t::cbor, "value"); in parse_cbor_internal() 442 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 448 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 454 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 460 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 493 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 499 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 505 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 511 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() [all …]
|
D | input_adapters.hpp | 23 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/test/src/ |
D | unit-regression2.cpp | 389 json cbor = json::from_cbor("B", true, false); variable 390 CHECK(cbor.is_discarded()); 396 json cbor = json::from_cbor(input, true, false); variable 397 CHECK(cbor.is_discarded()); 402 json cbor = json::from_cbor(std::string("B"), true, false); variable 403 CHECK(cbor.is_discarded());
|
D | unit-cbor.cpp | 1622 CHECK(json::sax_parse(input, &cbp, json::input_format_t::cbor)); 1893 CHECK(!json::sax_parse(v, &scp, json::input_format_t::cbor)); 1900 CHECK(!json::sax_parse(v, &scp, json::input_format_t::cbor)); 1907 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 87 …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 | 4744 enum class input_format_t { json, cbor, msgpack, ubjson, bson }; enumerator 7747 case input_format_t::cbor: in sax_parse() 8049 return unexpect_eof(input_format_t::cbor, "value"); in parse_cbor_internal() 8081 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8087 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8093 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8099 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal() 8132 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 8138 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal() 8144 …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/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 | 198 write_compact_float(j.m_value.number_float, detail::input_format_t::cbor); in write_cbor() 1532 oa->write_character(format == detail::input_format_t::cbor in write_compact_float() 1539 oa->write_character(format == detail::input_format_t::cbor in write_compact_float()
|
/third_party/json/test/ |
D | CMakeLists.txt | 101 src/unit-cbor.cpp
|
/third_party/json/doc/mkdocs/docs/features/ |
D | binary_values.md | 161 [CBOR](binary_formats/cbor.md) supports binary values, but no subtypes. Subtypes will be serialized…
|
/third_party/json/ |
D | Makefile | 409 find test/data -size -5k -name *.cbor | xargs -I{} cp "{}" fuzz-testing/testcases
|
/third_party/libwebsockets/lib/cose/ |
D | cose_validate.c | 954 memcpy(sl->ph[hi] + 3 + sl->ph_pos[hi], ctx->cbor, in cb_cose_sig()
|
/third_party/json/include/nlohmann/ |
D | json.hpp | 7480 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, … in from_cbor() 7497 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, … in from_cbor() 7523 …const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, … in from_cbor()
|