/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,
|
/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() 95 * @ptype: the packet type decoded by hardware 103 struct ice_rx_ptype_decoded decoded; in ice_rx_csum() local 110 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum() 120 /* check if HW has decoded the packet and checksum */ in ice_rx_csum() 124 if (!(decoded.known && decoded.outer_ip)) in ice_rx_csum() [all …]
|
/openbmc/libcper/sections/ |
H A D | cper-section-cxl-protocol.c | 231 UINT8 *decoded; in ir_section_cxl_protocol_to_cper() local 241 decoded = base64_decode(json_object_get_string(encoded), in ir_section_cxl_protocol_to_cper() 245 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 249 decoded, decoded_len); in ir_section_cxl_protocol_to_cper() 250 free(decoded); in ir_section_cxl_protocol_to_cper() 269 decoded = base64_decode(json_object_get_string(encoded), in ir_section_cxl_protocol_to_cper() 272 if (decoded == NULL) { in ir_section_cxl_protocol_to_cper() 275 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_protocol_to_cper() 277 free(decoded); in ir_section_cxl_protocol_to_cper() 284 decoded = base64_decode(json_object_get_string(encoded), 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-cxl-component.c | 129 //CXL component event log, decoded from base64. in ir_section_cxl_component_to_cper() 136 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_cxl_component_to_cper() local 140 if (decoded == NULL) { in ir_section_cxl_component_to_cper() 143 fwrite(decoded, decoded_len, 1, out); in ir_section_cxl_component_to_cper() 145 free(decoded); in ir_section_cxl_component_to_cper()
|
H A D | cper-section-pcie.c | 282 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() local 285 if (decoded == NULL) { in ir_section_pcie_to_cper() 288 memcpy(section_cper->Capability.PcieCap, decoded, decoded_len); in ir_section_pcie_to_cper() 289 free(decoded); in ir_section_pcie_to_cper() 297 decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper() 301 if (decoded == NULL) { in ir_section_pcie_to_cper() 304 memcpy(section_cper->AerInfo.PcieAer, decoded, decoded_len); in ir_section_pcie_to_cper() 305 free(decoded); in ir_section_pcie_to_cper()
|
H A D | cper-section-ccix-per.c | 88 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_ccix_per_to_cper() local 91 if (decoded == NULL) { in ir_section_ccix_per_to_cper() 94 fwrite(decoded, decoded_len, 1, out); in ir_section_ccix_per_to_cper() 96 free(decoded); in ir_section_ccix_per_to_cper()
|
/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 …]
|
H A D | dev-decoder.rst | 51 decoded frames; for encoders, the queue of buffers containing an encoded 82 the order in which frames are decoded; may differ from display order if the 96 Decoded Picture Buffer; an H.264/HEVC term for a buffer that stores a decoded 107 an encoded frame that does not reference frames decoded earlier, i.e. 108 can be decoded fully on its own. 369 initialization sequence completes and the frame is decoded. 398 No decoded frames are produced during this phase. 406 destination buffers parsed/decoded from the bytestream. 416 frame buffer resolution for the decoded frames. 419 pixel format for decoded frames. [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereex/ |
H A D | frontend.json | 3 "BriefDescription": "Instructions decoded", 5 "EventName": "MACRO_INSTS.DECODED", 10 "BriefDescription": "Macro-fused instructions decoded", 17 "BriefDescription": "Two Uop instructions decoded",
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-sp/ |
H A D | frontend.json | 3 "BriefDescription": "Instructions decoded", 5 "EventName": "MACRO_INSTS.DECODED", 10 "BriefDescription": "Macro-fused instructions decoded", 17 "BriefDescription": "Two Uop instructions decoded",
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemex/ |
H A D | frontend.json | 3 "BriefDescription": "Instructions decoded", 5 "EventName": "MACRO_INSTS.DECODED", 10 "BriefDescription": "Macro-fused instructions decoded", 17 "BriefDescription": "Two Uop instructions decoded",
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/ |
H A D | frontend.json | 3 "BriefDescription": "Instructions decoded", 5 "EventName": "MACRO_INSTS.DECODED", 10 "BriefDescription": "Macro-fused instructions decoded", 17 "BriefDescription": "Two Uop instructions decoded",
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemep/ |
H A D | frontend.json | 3 "BriefDescription": "Instructions decoded", 5 "EventName": "MACRO_INSTS.DECODED", 10 "BriefDescription": "Macro-fused instructions decoded", 17 "BriefDescription": "Two Uop instructions decoded",
|
/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 54 * @crop: cropping window inside decoded frame (1920x1080@0,0 112 * struct delta_frameinfo - information about decoded frame 187 #define DELTA_FRAME_DEC 0x04 /* contains decoded content */ 231 * @pixelformat: pixel format of decoded frame that this decoder support 241 * @get_frameinfo: get decoded frame related infos, see below 242 * @set_frameinfo: (optional) set decoded frame related infos, see below 245 * @get_frame: get the next decoded frame available, see below 289 * in this case the next bitstream access unit must be decoded till 296 * get_frameinfo() - get decoded frame related infos 306 * set_frameinfo() - set decoded frame related infos [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qmi_encdec.c | 426 * @buf_dst: Buffer to store the decoded element. 428 * @elem_len: Number of elements to be decoded. 429 * @elem_size: Size of a single instance of the element to be decoded. 433 * the decoded elements in the destination buffer "buf_dst". The elements are 435 * function returns the number of bytes of decoded information. 437 * Return: The total size of the decoded data elements, in bytes. 455 * @buf_dst: Buffer to store the decoded element. 457 * @elem_len: Number of elements to be decoded. 464 * and stores the decoded elements in the destination buffer "buf_dst". The 466 * function returns the number of bytes of decoded information. [all …]
|
/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/qemu/include/qemu/ |
H A D | base64.h | 30 * @out_len: filled with length of decoded data 43 * If decoding is successful, the decoded data will 45 * number of bytes in the decoded data. The caller 49 * Returns: the decoded data or NULL
|
/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/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/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 7 // will send this IR to the receiver side, where we try to read the decoded 181 bool decoded = true; in main() local 187 ksft_test_result_error("no scancode decoded: %m\n"); in main() 188 decoded = false; in main() 192 if (!decoded) in main() 196 ksft_test_result_error("decoded protocol is different: %d\n", in main() 200 ksft_test_result_error("decoded scancode is different: %llx\n", in main()
|
/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() 347 /* returns the number of bytes decoded, < 0 if there was an error. Note that 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()
|