/openbmc/bmcweb/http/ |
H A D | complete_response_fields.hpp | 32 std::array<ContentType, 3> allowed{ContentType::CBOR, ContentType::JSON, in completeResponseFields() 40 else if (preferred == ContentType::CBOR) in completeResponseFields() 43 "application/cbor"); in completeResponseFields() 44 std::string cbor; in completeResponseFields() local 45 nlohmann::json::to_cbor(res.jsonValue, cbor); in completeResponseFields() 46 res.write(std::move(cbor)); in completeResponseFields()
|
/openbmc/bmcweb/test/include/ |
H A D | http_utility_test.cpp | 23 isContentTypeAllowed("application/cbor", ContentType::CBOR, false)); in TEST() 35 isContentTypeAllowed("application/json", ContentType::CBOR, false)); in TEST() 37 isContentTypeAllowed("application/cbor", ContentType::HTML, false)); in TEST() 81 std::array<ContentType, 2> cborJson{ContentType::CBOR, ContentType::JSON}; in TEST() 82 EXPECT_EQ(getPreferredContentType("application/cbor, application::json", in TEST() 84 ContentType::CBOR); in TEST() 123 std::array<ContentType, 1> contentType{ContentType::CBOR}; in TEST()
|
/openbmc/bmcweb/include/ |
H A D | http_utility.hpp | 34 CBOR, enumerator 53 {"application/cbor", ContentType::CBOR}, in getContentType() 92 {"application/cbor", ContentType::CBOR}, in getPreferredContentType()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | user_data_formats.hpp | 11 cbor = 2, enumerator 19 cbor = 1, enumerator
|
H A D | user_data_json.cpp | 102 * @brief Return a JSON string from the passed in CBOR data. 108 * @param[in] data - The CBOR data 115 // The CBOR parser needs the pad bytes added to 4 byte align in getCBORJSON() 150 * @param[in] data - The CBOR data 218 case static_cast<uint8_t>(UserDataFormat::cbor): in getBuiltinFormatJSON()
|
H A D | pel.cpp | 1001 // CBOR case. in makeFFDCuserDataSection() 1009 // For JSON, CBOR, and Text use our component ID, subType, and version, in makeFFDCuserDataSection() 1021 case UserDataFormat::cbor: in makeFFDCuserDataSection() 1022 subType = static_cast<uint8_t>(UserDataFormat::cbor); in makeFFDCuserDataSection() 1023 version = static_cast<uint8_t>(UserDataFormatVersion::cbor); in makeFFDCuserDataSection() 1025 // The CBOR parser will fail on the extra pad bytes since they in makeFFDCuserDataSection() 1026 // aren't CBOR. Add the amount we padded to the end and other in makeFFDCuserDataSection()
|
H A D | manager.cpp | 344 case Create::FFDCFormat::CBOR: in convertToPelFFDC() 345 pf.format = UserDataFormat::cbor; in convertToPelFFDC()
|
H A D | README.md | 162 - 'CBOR'
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libcbor/ |
H A D | libcbor_0.11.0.bb | 1 SUMMARY = "library for CBOR" 2 DESCRIPTION = "C library for parsing and generating CBOR, the general-purpose schema-less binary da…
|
/openbmc/qemu/hw/core/ |
H A D | eif.c | 17 #include <cbor.h> 301 error_setg(errp, "Failed to load signature section data as CBOR"); in get_signature_fingerprint_sha384() 305 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 314 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 320 error_setg(errp, "Invalid signautre CBOR"); in get_signature_fingerprint_sha384() 324 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 329 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 341 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 346 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | cbor-helpers.h | 2 * QEMU CBOR helpers 14 #include <cbor.h>
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/ |
H A D | Create.interface.yaml | 92 - name: CBOR 94 Valid CBOR (Concise Binary Object Representation)
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-cbor2_5.6.5.bb | 1 DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
|
/openbmc/openpower-hw-diags/test/ |
H A D | test-ffdc-file.cpp | 10 files.emplace_back(util::FFDCFormat::CBOR, 2, 2); in TEST()
|
/openbmc/qemu/hw/virtio/ |
H A D | cbor-helpers.c | 2 * QEMU CBOR helpers 11 #include "hw/virtio/cbor-helpers.h"
|
H A D | meson.build | 57 specific_virtio_ss.add(when: 'CONFIG_VIRTIO_NSM', if_true: [files('virtio-nsm.c', 'cbor-helpers.c')… 74 virtio_pci_ss.add(when: 'CONFIG_VIRTIO_NSM', if_true: [files('virtio-nsm-pci.c', 'cbor-helpers.c'),…
|
H A D | virtio-nsm.c | 19 #include "hw/virtio/cbor-helpers.h" 1311 * where [0] protected header is a serialized CBOR blob of the structure: 1319 * [2] payload is serialized CBOR blob of the structure:
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/qcbor/ |
H A D | qcbor_1.4.1.bb | 2 QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | pel_test.cpp | 572 ffdc.format = UserDataFormat::cbor; in getCBORFFDC() 583 // Convert the JSON to CBOR and write it to a file in getCBORFFDC() 602 static_cast<uint8_t>(UserDataFormatVersion::cbor)); in TEST_F() 603 EXPECT_EQ(ud->header().subType, static_cast<uint8_t>(UserDataFormat::cbor)); in TEST_F() 607 // Pull the CBOR back out of the PEL section in TEST_F()
|
/openbmc/qemu/ |
H A D | MAINTAINERS | 2320 F: hw/virtio/cbor-helpers.c 2323 F: include/hw/virtio/cbor-helpers.h
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |
H A D | opengrok0.0.log | [all...] |