Home
last modified time | relevance | path

Searched refs:encoded_len (Results 1 – 15 of 15) sorted by relevance

/openbmc/libcper/tests/
H A Dbase64_test.cpp8 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 Dcper-section-dmar-iommu.c34 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 Dcper-section-cxl-protocol.c108 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 Dcper-section-dmar-vtd.c85 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 Dcper-section-pcie.c106 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 Dcper-section-ccix-per.c42 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 Dcper-section-cxl-component.c67 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 Dcper-section-arm.c124 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 Dcper-section-ia32x64.c393 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 DCVE-2019-7574.patch31 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 DCVE-2019-7577.patch66 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 DCVE-2019-7575.patch33 Sint32 encoded_len, samplesleft;
46 while ( encoded_len >= MS_ADPCM_state.wavefmt.blockalign ) {
H A DCVE-2019-7572.patch55 Sint32 encoded_len, samplesleft;
65 while ( encoded_len >= IMA_ADPCM_state.wavefmt.blockalign ) {
/openbmc/libcper/
H A Dcper-parse.c368 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 Dram.c618 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()