/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 | 265 UINT8 *decoded; in ir_section_cxl_protocol_to_cper() local 278 decoded = base64_decode( in ir_section_cxl_protocol_to_cper() 283 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 287 decoded, decoded_len); in ir_section_cxl_protocol_to_cper() 288 free(decoded); in ir_section_cxl_protocol_to_cper() 323 decoded = base64_decode(json_object_get_string(encodedsrc), in ir_section_cxl_protocol_to_cper() 326 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 329 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper() 331 free(decoded); in ir_section_cxl_protocol_to_cper() 338 decoded = base64_decode(json_object_get_string(encodederr), in ir_section_cxl_protocol_to_cper() [all …]
|
H A D | cper-section-dmar-iommu.c | 98 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() local 101 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 104 memcpy(section_cper->EventLogEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 105 free(decoded); in ir_section_dmar_iommu_to_cper() 111 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper() 114 if (decoded == NULL) { in ir_section_dmar_iommu_to_cper() 117 memcpy(section_cper->DeviceTableEntry, decoded, decoded_len); in ir_section_dmar_iommu_to_cper() 118 free(decoded); in ir_section_dmar_iommu_to_cper()
|
H A D | cper-section-dmar-vtd.c | 183 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() local 186 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 189 memcpy(section_cper->RootEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 190 free(decoded); in ir_section_dmar_vtd_to_cper() 197 decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper() 200 if (decoded == NULL) { in ir_section_dmar_vtd_to_cper() 204 memcpy(section_cper->ContextEntry, decoded, decoded_len); in ir_section_dmar_vtd_to_cper() 205 free(decoded); in ir_section_dmar_vtd_to_cper()
|
H A D | cper-section-pcie.c | 328 UINT8 *decoded = NULL; in ir_section_pcie_to_cper() local 335 UINT8 *decoded = base64_decode( in ir_section_pcie_to_cper() local 338 if (decoded == NULL) { in ir_section_pcie_to_cper() 341 memcpy(section_cper->Capability.PcieCap, decoded, in ir_section_pcie_to_cper() 343 free(decoded); in ir_section_pcie_to_cper() 348 decoded = NULL; in ir_section_pcie_to_cper() 356 decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() 360 if (decoded == NULL) { in ir_section_pcie_to_cper() 363 memcpy(section_cper->AerInfo.PcieAer, decoded, in ir_section_pcie_to_cper() 365 free(decoded); in ir_section_pcie_to_cper()
|
H A D | cper-section-ccix-per.c | 110 UINT8 *decoded = base64_decode( in ir_section_ccix_per_to_cper() local 113 if (decoded == NULL) { in ir_section_ccix_per_to_cper() 116 fwrite(decoded, decoded_len, 1, out); in ir_section_ccix_per_to_cper() 118 free(decoded); in ir_section_ccix_per_to_cper()
|
H A D | cper-section-cxl-component.c | 153 UINT8 *decoded = base64_decode( in ir_section_cxl_component_to_cper() local 157 if (decoded == NULL) { in ir_section_cxl_component_to_cper() 160 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper() 162 free(decoded); in ir_section_cxl_component_to_cper()
|
/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 | 188 UINT8 *decoded = base64_decode( in ir_section_to_cper() local 191 if (decoded == NULL) { in ir_section_to_cper() 194 fwrite(decoded, decoded_len, 1, out); in ir_section_to_cper() 195 free(decoded); in ir_section_to_cper()
|
/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>;
|