| /openbmc/bmcweb/http/ |
| H A D | complete_response_fields.hpp | 74 std::array<ContentType, 3> allowed{ContentType::CBOR, ContentType::JSON, in completeResponseFields() 82 else if (preferred == ContentType::CBOR) in completeResponseFields() 85 "application/cbor"); in completeResponseFields() 86 std::string cbor; in completeResponseFields() local 87 nlohmann::json::to_cbor(res.jsonValue, cbor); in completeResponseFields() 88 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/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 | 89 * @brief Return a JSON string from the passed in CBOR data. 95 * @param[in] data - The CBOR data 102 // The CBOR parser needs the pad bytes added to 4 byte align in getCBORJSON() 137 * @param[in] data - The CBOR data 205 case static_cast<uint8_t>(UserDataFormat::cbor): in getBuiltinFormatJSON()
|
| H A D | pel.cpp | 989 // CBOR case. in makeFFDCuserDataSection() 997 // For JSON, CBOR, and Text use our component ID, subType, and version, in makeFFDCuserDataSection() 1009 case UserDataFormat::cbor: in makeFFDCuserDataSection() 1010 subType = static_cast<uint8_t>(UserDataFormat::cbor); in makeFFDCuserDataSection() 1011 version = static_cast<uint8_t>(UserDataFormatVersion::cbor); in makeFFDCuserDataSection() 1013 // The CBOR parser will fail on the extra pad bytes since they in makeFFDCuserDataSection() 1014 // aren't CBOR. Add the amount we padded to the end and other in makeFFDCuserDataSection()
|
| H A D | manager.cpp | 337 case Create::FFDCFormat::CBOR: in convertToPelFFDC() 338 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.12.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/include/hw/virtio/ |
| H A D | cbor-helpers.h | 2 * QEMU CBOR helpers 14 #include <cbor.h>
|
| /openbmc/bmcweb/include/ |
| H A D | http_utility.hpp | 33 CBOR, enumerator 51 {"application/cbor", ContentType::CBOR}, in getContentType() 89 {"application/cbor", ContentType::CBOR}, in getPreferredContentType()
|
| /openbmc/qemu/hw/core/ |
| H A D | eif.c | 17 #include <cbor.h> 333 error_setg(errp, "Failed to load signature section data as CBOR"); in get_signature_fingerprint_sha384() 337 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 346 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 352 error_setg(errp, "Invalid signautre CBOR"); in get_signature_fingerprint_sha384() 356 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 361 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 373 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384() 378 error_setg(errp, "Invalid signature CBOR"); in get_signature_fingerprint_sha384()
|
| /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/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/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 | 61 system_virtio_ss.add(when: 'CONFIG_VIRTIO_NSM', if_true: [files('cbor-helpers.c'), libcbor]) 77 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" 1318 * where [0] protected header is a serialized CBOR blob of the structure: 1326 * [2] payload is serialized CBOR blob of the structure:
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | pel_test.cpp | 560 ffdc.format = UserDataFormat::cbor; in getCBORFFDC() 571 // Convert the JSON to CBOR and write it to a file in getCBORFFDC() 590 static_cast<uint8_t>(UserDataFormatVersion::cbor)); in TEST_F() 591 EXPECT_EQ(ud->header().subType, static_cast<uint8_t>(UserDataFormat::cbor)); in TEST_F() 595 // Pull the CBOR back out of the PEL section in TEST_F()
|
| /openbmc/qemu/ |
| H A D | MAINTAINERS | 2444 F: hw/virtio/cbor-helpers.c 2447 F: include/hw/virtio/cbor-helpers.h
|