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.cpp10 int32_t encoded_len = 0; in TEST() local
12 char *encoded = base64_encode(data.data(), data.size(), &encoded_len); in TEST()
13 EXPECT_EQ(encoded_len, 4); in TEST()
14 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()
442 int32_t encoded_len = 0; in cper_arm_processor_context_to_ir() local
445 &encoded_len); in cper_arm_processor_context_to_ir()
452 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.c339 int32_t encoded_len = 0; in cper_section_to_ir() local
341 section, descriptor->SectionLength, &encoded_len); in cper_section_to_ir()
347 encoded, encoded_len)); in cper_section_to_ir()
/openbmc/qemu/migration/
H A Dram.c599 int encoded_len = 0, bytes_xbzrle; in save_xbzrle_page() local
637 encoded_len = xbzrle_encode_buffer(prev_cached_page, XBZRLE.current_buf, in save_xbzrle_page()
645 if (!rs->last_stage && encoded_len != 0) { in save_xbzrle_page()
655 if (encoded_len == 0) { in save_xbzrle_page()
658 } else if (encoded_len == -1) { in save_xbzrle_page()
669 qemu_put_be16(file, encoded_len); in save_xbzrle_page()
670 qemu_put_buffer(file, XBZRLE.encoded_buf, encoded_len); in save_xbzrle_page()
671 bytes_xbzrle += encoded_len + 1 + 2; in save_xbzrle_page()