/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 149 decoded = self.raw[offset:offset+m['len']] 153 [ decoded ] = format.unpack_from(self.raw, offset) 156 decoded = self.formatted_string(decoded, m.display_hint) 157 value[m.name] = decoded 493 decoded = attr.as_struct(members) 496 decoded[m.name] = self._decode_enum(decoded[m.name], m) 498 decoded = attr.as_c_array(attr_spec.sub_type) 500 decoded = attr.as_bin() 502 decoded = NlAttr.formatted_string(decoded, attr_spec.display_hint) 503 return decoded [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/ |
H A D | CVE-2019-7575.patch | 9 If a WAV format defines shorter audio stream and decoded MS ADPCM data chunk 31 - Uint8 *freeable, *encoded, *encoded_end, *decoded; 32 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end; 39 decoded = *audio_buf; 40 + decoded_end = decoded + *audio_len; 57 + if (decoded + 4 + (stereo ? 4 : 0) > decoded_end) goto invalid_size; 58 decoded[0] = state[0]->iSamp2&0xFF; 59 decoded[1] = state[0]->iSamp2>>8; 60 decoded += 2; 67 + if (decoded + 4 > decoded_end) goto invalid_size;
|
H A D | CVE-2019-7572.patch | 53 - Uint8 *freeable, *encoded, *encoded_end, *decoded; 54 + Uint8 *freeable, *encoded, *encoded_end, *decoded, *decoded_end; 61 decoded = *audio_buf; 62 + decoded_end = decoded + *audio_len; 70 + if (decoded + 2 > decoded_end) goto invalid_size; 71 decoded[0] = (Uint8)(state[c].sample&0xFF); 72 decoded[1] = (Uint8)(state[c].sample>>8); 73 decoded += 2; 78 + if (decoded + 4 * 4 * channels > decoded_end) 80 Fill_IMA_ADPCM_block(decoded, encoded,
|
H A D | CVE-2019-7574.patch | 29 - Uint8 *freeable, *encoded, *decoded; 30 + Uint8 *freeable, *encoded, *encoded_end, *decoded; 55 Fill_IMA_ADPCM_block(decoded, encoded,
|
H A D | CVE-2019-7577.patch | 13 This patch fixes it by checking a MS ADPCM data to be decoded are not 64 - Uint8 *freeable, *encoded, *decoded; 65 + Uint8 *freeable, *encoded, *encoded_end, *decoded; 100 decoded[0] = new_sample&0xFF;
|
/openbmc/qemu/tests/unit/ |
H A D | check-qjson.c | 795 int64_t decoded; in int_number() member 817 g_assert_cmpint(ival, ==, test_cases[i].decoded); in int_number() 818 if (test_cases[i].decoded >= 0) { in int_number() 820 g_assert_cmpuint(uval, ==, (uint64_t)test_cases[i].decoded); in int_number() 825 (double)test_cases[i].decoded); in int_number() 840 uint64_t decoded; in uint_number() member 859 g_assert_cmpuint(uval, ==, test_cases[i].decoded); in uint_number() 862 (double)test_cases[i].decoded); in uint_number() 877 double decoded; in float_number() member 899 g_assert_cmpfloat(qnum_get_double(qnum), ==, test_cases[i].decoded); in float_number() [all …]
|
/openbmc/libcper/sections/ |
H A D | cper-section-cxl-protocol.c | 282 UINT8 *decoded; in ir_section_cxl_protocol_to_cper() 295 decoded = base64_decode( in ir_section_cxl_protocol_to_cper() 300 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 305 decoded, decoded_len); in ir_section_cxl_protocol_to_cper() 306 free(decoded); in ir_section_cxl_protocol_to_cper() 341 decoded = base64_decode(json_object_get_string(encodedsrc), in ir_section_cxl_protocol_to_cper() 344 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 348 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper() 350 free(decoded); in ir_section_cxl_protocol_to_cper() 357 decoded 265 UINT8 *decoded; ir_section_cxl_protocol_to_cper() local [all...] |
H A D | cper-section-dmar-iommu.c | 103 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() 106 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 109 memcpy(section_cper->EventLogEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 110 free(decoded); in ir_section_dmar_iommu_to_cper() 116 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() 119 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 122 memcpy(section_cper->DeviceTableEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 123 free(decoded); in ir_section_dmar_iommu_to_cper() 98 UINT8 *decoded = base64_decode(json_object_get_string(encoded), ir_section_dmar_iommu_to_cper() local
|
H A D | cper-section-dmar-vtd.c | 188 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() 191 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 194 memcpy(section_cper->RootEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 195 free(decoded); in ir_section_dmar_vtd_to_cper() 202 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() 205 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 209 memcpy(section_cper->ContextEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 210 free(decoded); in ir_section_dmar_vtd_to_cper() 183 UINT8 *decoded = base64_decode(json_object_get_string(encoded), ir_section_dmar_vtd_to_cper() local
|
H A D | cper-section-pcie.c | 336 UINT8 *decoded = NULL; in ir_section_pcie_to_cper() 343 UINT8 *decoded = base64_decode( in ir_section_pcie_to_cper() 346 if (decoded == NULL) { in ir_section_pcie_to_cper() 350 memcpy(section_cper->Capability.PcieCap, decoded, in ir_section_pcie_to_cper() 352 free(decoded); in ir_section_pcie_to_cper() 357 decoded = NULL; in ir_section_pcie_to_cper() 365 decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() 369 if (decoded == NULL) { in ir_section_pcie_to_cper() 373 memcpy(section_cper->AerInfo.PcieAer, decoded, in ir_section_pcie_to_cper() 375 free(decoded); in ir_section_pcie_to_cper() 328 UINT8 *decoded = NULL; ir_section_pcie_to_cper() local 335 UINT8 *decoded = base64_decode( ir_section_pcie_to_cper() local [all...] |
H A D | cper-section-ccix-per.c | 121 UINT8 *decoded = base64_decode( in ir_section_ccix_per_to_cper() 124 if (decoded == NULL) { 128 fwrite(decoded, decoded_len, 1, out); 130 free(decoded); 110 UINT8 *decoded = base64_decode( ir_section_ccix_per_to_cper() local
|
H A D | cper-section-cxl-component.c | 148 //CXL component event log, decoded from base64. in ir_section_cxl_component_to_cper() 166 UINT8 *decoded = base64_decode( in ir_section_cxl_component_to_cper() 170 if (decoded == NULL) { 174 fwrite(decoded, decoded_len, 1, out); 176 free(decoded); 153 UINT8 *decoded = base64_decode( ir_section_cxl_component_to_cper() local
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype() local 53 if (!decoded.known) in ice_ptype_to_htype() 55 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY4) in ice_ptype_to_htype() 57 if (decoded.payload_layer == ICE_RX_PTYPE_PAYLOAD_LAYER_PAY3) in ice_ptype_to_htype() 59 if (decoded.outer_ip == ICE_RX_PTYPE_OUTER_L2) in ice_ptype_to_htype() 103 struct ice_rx_ptype_decoded decoded; in ice_rx_csum() local 110 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum() 124 if (!(decoded.known && decoded.outer_ip)) in ice_rx_csum() 127 ipv4 = (decoded.outer_ip == ICE_RX_PTYPE_OUTER_IP) && in ice_rx_csum() 128 (decoded.outer_ip_ver == ICE_RX_PTYPE_OUTER_IPV4); in ice_rx_csum() [all …]
|
/openbmc/linux/arch/arm64/kernel/probes/ |
H A D | decode-insn.c | 138 enum probe_insn decoded; in arm_kprobe_decode_insn() local 146 decoded = INSN_GOOD_NO_SLOT; in arm_kprobe_decode_insn() 149 decoded = INSN_GOOD_NO_SLOT; in arm_kprobe_decode_insn() 151 decoded = arm_probe_decode_insn(insn, &asi->api); in arm_kprobe_decode_insn() 171 if (decoded != INSN_REJECTED && scan_end) in arm_kprobe_decode_insn() 175 return decoded; in arm_kprobe_decode_insn()
|
/openbmc/u-boot/fs/jffs2/ |
H A D | mini_inflate.c | 30 stream->decoded = 0; in init_stream() 115 stream->decoded += length; in decompress_none() 150 stream->decoded++; in decompress_huffman() 172 stream->decoded += length; in decompress_huffman() 360 if (btype == NO_COMP) decompress_none(&stream, dest + stream.decoded); in decompress_block() 362 decompress_dynamic(&stream, dest + stream.decoded); in decompress_block() 363 else if (btype == FIXED_COMP) decompress_fixed(&stream, dest + stream.decoded); in decompress_block() 370 putLabeledWord("stream.decoded = ",stream.decoded); in decompress_block() 374 return stream.error ? -stream.error : stream.decoded; in decompress_block()
|
/openbmc/libcper/tests/ |
H A D | base64_test.cpp | 20 UINT8 *decoded = base64_decode(data.data(), data.size(), &decoded_len); in TEST() local 22 ASSERT_EQ(decoded[0], 'f'); in TEST() 23 free(decoded); in TEST()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-stateless-decoder.rst | 10 between processed frames. This means that each frame is decoded independently 15 has to do is to provide the raw encoded stream and dequeue decoded frames in 29 Depending on the encoded formats supported by the decoder, a single decoded 100 destination buffers parsed/decoded from the bytestream. 110 frame buffer resolution for the decoded frames. 113 pixel format for decoded frames. 162 frame buffer resolution of the decoded stream; typically unchanged from 201 for the stream to be properly decoded (taking e.g. reference frames 239 controls relevant to the format being decoded. 246 If there is a possibility that the decoded frame will require one or more [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/audiofile/files/ |
H A D | 0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch | 23 @@ -169,7 +169,7 @@ int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded) 30 *decoded++ = m_adpcmState[c].previousValue; 32 @@ -210,7 +210,7 @@ int IMA::decodeBlockQT(const uint8_t *encoded, int16_t *decoded)
|
H A D | 0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch | 8 decoded block if an error occurs. 105 @@ -212,13 +248,16 @@ int MSADPCM::decodeBlock(const uint8_t *encoded, int16_t *decoded) 115 *decoded++ = newSample; 121 *decoded++ = newSample;
|
/openbmc/libbej/test/ |
H A D | bej_encoder_test.cpp | 372 std::string decoded = decoder.getOutput(); in TEST_P() local 373 nlohmann::json jsonDecoded = nlohmann::json::parse(decoded); in TEST_P() 402 std::string decoded = decoder.getOutput(); in TEST_P() local 403 nlohmann::json jsonDecoded = nlohmann::json::parse(decoded); in TEST_P() 420 decoded = decoder.getOutput(); in TEST_P() 421 jsonDecoded = nlohmann::json::parse(decoded); in TEST_P()
|
H A D | bej_decoder_test.cpp | 73 std::string decoded = decoder.getOutput(); in TEST_P() local 74 nlohmann::json jsonDecoded = nlohmann::json::parse(decoded); in TEST_P()
|
/openbmc/linux/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 181 bool decoded = true; in main() local 188 decoded = false; in main() 192 if (!decoded) in main()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/libb64/ |
H A D | 0001-example-Do-not-run-the-tests.patch | 23 - ./c-example2 loremgibson.txt encoded.txt decoded.txt 24 - diff -q loremgibson.txt decoded.txt
|
/openbmc/libcper/ |
H A D | ir-parse.c | 193 UINT8 *decoded = base64_decode( in ir_section_to_cper() 196 if (decoded == NULL) { in ir_section_to_cper() 200 fwrite(decoded, decoded_len, 1, out); 201 free(decoded); in ir_section_descriptor_to_cper() 188 UINT8 *decoded = base64_decode( ir_section_to_cper() local
|
/openbmc/u-boot/doc/device-tree-bindings/spi/ |
H A D | spi-zynq.txt | 19 - is-decoded-cs : Flag to indicate whether decoder is used or not. 30 is-decoded-cs = <0>;
|