/openbmc/libcper/tests/ |
H A D | base64_test.cpp | 8 int32_t encoded_len = 0; in TEST() local 10 char *encoded = base64_encode(data.data(), data.size(), &encoded_len); in TEST() 11 EXPECT_EQ(encoded_len, 4); in TEST() 12 ASSERT_EQ(std::string_view(encoded, encoded_len), "Zg=="); in TEST()
|
/openbmc/libcper/sections/ |
H A D | cper-section-dmar-iommu.c | 34 int32_t encoded_len = 0; in cper_section_dmar_iommu_to_ir() local 37 &encoded_len); in cper_section_dmar_iommu_to_ir() 45 encoded_len)); in cper_section_dmar_iommu_to_ir() 49 encoded_len = 0; in cper_section_dmar_iommu_to_ir() 52 &encoded_len); in cper_section_dmar_iommu_to_ir() 59 encoded_len)); in cper_section_dmar_iommu_to_ir()
|
H A D | cper-section-cxl-protocol.c | 108 int32_t encoded_len = 0; in cper_section_cxl_protocol_to_ir() local 112 60, &encoded_len); in cper_section_cxl_protocol_to_ir() 119 encoded_len)); in cper_section_cxl_protocol_to_ir() 135 int32_t encoded_len = 0; in cper_section_cxl_protocol_to_ir() local 139 &encoded_len); in cper_section_cxl_protocol_to_ir() 145 encoded_len)); in cper_section_cxl_protocol_to_ir() 154 encoded_len = 0; in cper_section_cxl_protocol_to_ir() 157 &encoded_len); in cper_section_cxl_protocol_to_ir() 165 encoded_len)); in cper_section_cxl_protocol_to_ir()
|
H A D | cper-section-dmar-vtd.c | 85 int32_t encoded_len = 0; in cper_section_dmar_vtd_to_ir() local 88 base64_encode((UINT8 *)vtd_error->RootEntry, 16, &encoded_len); in cper_section_dmar_vtd_to_ir() 91 encoded_len)); in cper_section_dmar_vtd_to_ir() 95 encoded_len = 0; in cper_section_dmar_vtd_to_ir() 97 &encoded_len); in cper_section_dmar_vtd_to_ir() 103 encoded_len)); in cper_section_dmar_vtd_to_ir()
|
H A D | cper-section-pcie.c | 106 int32_t encoded_len = 0; in cper_section_pcie_to_ir() local 109 60, &encoded_len); in cper_section_pcie_to_ir() 116 encoded_len)); in cper_section_pcie_to_ir() 125 encoded_len = 0; in cper_section_pcie_to_ir() 128 &encoded_len); in cper_section_pcie_to_ir() 134 encoded_len)); in cper_section_pcie_to_ir()
|
H A D | cper-section-ccix-per.c | 42 int32_t encoded_len = 0; in cper_section_ccix_per_to_ir() local 45 remaining_length, &encoded_len); in cper_section_ccix_per_to_ir() 51 encoded, encoded_len)); in cper_section_ccix_per_to_ir()
|
H A D | cper-section-cxl-component.c | 67 int32_t encoded_len = 0; in cper_section_cxl_component_to_ir() local 70 &encoded_len); in cper_section_cxl_component_to_ir() 77 encoded_len)); in cper_section_cxl_component_to_ir()
|
H A D | cper-section-arm.c | 124 int32_t encoded_len = 0; in cper_section_arm_to_ir() local 126 base64_encode(cur_pos, input_size, &encoded_len); in cper_section_arm_to_ir() 132 encoded_len)); in cper_section_arm_to_ir() 444 int32_t encoded_len = 0; in cper_arm_processor_context_to_ir() local 447 &encoded_len); in cper_arm_processor_context_to_ir() 454 encoded_len)); in cper_arm_processor_context_to_ir()
|
H A D | cper-section-ia32x64.c | 393 int32_t encoded_len = 0; in cper_ia32x64_processor_context_info_to_ir() local 396 &encoded_len); in cper_ia32x64_processor_context_info_to_ir() 403 encoded, encoded_len)); in cper_ia32x64_processor_context_info_to_ir()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/ |
H A D | CVE-2019-7574.patch | 31 Sint32 encoded_len, samplesleft; 36 encoded_len = *audio_len; 38 + encoded_end = encoded + encoded_len; 40 *audio_len = (encoded_len/IMA_ADPCM_state.wavefmt.blockalign) * 43 while ( encoded_len >= IMA_ADPCM_state.wavefmt.blockalign ) {
|
H A D | CVE-2019-7577.patch | 66 Sint32 encoded_len, samplesleft; 71 encoded_len = *audio_len; 73 + encoded_end = encoded + encoded_len; 75 *audio_len = (encoded_len/MS_ADPCM_state.wavefmt.blockalign) * 79 while ( encoded_len >= MS_ADPCM_state.wavefmt.blockalign ) {
|
H A D | CVE-2019-7575.patch | 33 Sint32 encoded_len, samplesleft; 46 while ( encoded_len >= MS_ADPCM_state.wavefmt.blockalign ) {
|
H A D | CVE-2019-7572.patch | 55 Sint32 encoded_len, samplesleft; 65 while ( encoded_len >= IMA_ADPCM_state.wavefmt.blockalign ) {
|
/openbmc/libcper/ |
H A D | cper-parse.c | 368 int32_t encoded_len = 0; in cper_section_to_ir() local 370 section, descriptor->SectionLength, &encoded_len); in cper_section_to_ir() 377 encoded, encoded_len)); in cper_section_to_ir()
|
/openbmc/qemu/migration/ |
H A D | ram.c | 618 int encoded_len = 0, bytes_xbzrle; in save_xbzrle_page() local 656 encoded_len = xbzrle_encode_buffer(prev_cached_page, XBZRLE.current_buf, in save_xbzrle_page() 664 if (!rs->last_stage && encoded_len != 0) { in save_xbzrle_page() 674 if (encoded_len == 0) { in save_xbzrle_page() 677 } else if (encoded_len == -1) { in save_xbzrle_page() 688 qemu_put_be16(file, encoded_len); in save_xbzrle_page() 689 qemu_put_buffer(file, XBZRLE.encoded_buf, encoded_len); in save_xbzrle_page() 690 bytes_xbzrle += encoded_len + 1 + 2; in save_xbzrle_page()
|