Home
last modified time | relevance | path

Searched refs:SectionLength (Results 1 – 6 of 6) sorted by relevance

/openbmc/libcper/
H A Dcper-parse.c119 if (section_descriptor->SectionLength <= 0) { in cper_buf_to_ir()
126 UINT_MAX - section_descriptor->SectionLength) { in cper_buf_to_ir()
133 section_descriptor->SectionLength > in cper_buf_to_ir()
150 section_begin, section_descriptor->SectionLength, in cper_buf_to_ir()
337 section_descriptor->SectionLength); in cper_section_descriptor_to_ir()
442 if (descriptor->SectionLength > size) { in cper_buf_section_to_ir()
465 descriptor->SectionLength); in cper_buf_section_to_ir()
502 if (section_begin + section_descriptor->SectionLength > cper_end) { in cper_buf_single_section_to_ir()
513 section, section_descriptor->SectionLength, section_descriptor); in cper_buf_single_section_to_ir()
550 void *section = malloc(section_descriptor.SectionLength); in cper_single_section_to_ir()
[all …]
H A Dir-parse.c213 descriptor->SectionLength = (UINT32)json_object_get_uint64( in ir_section_descriptor_to_cper()
/openbmc/pldm/oem/ampere/event/
H A Dcper.cpp56 len = proc->SectionLength - in decodeSecArm()
62 "LENGTH", static_cast<int>(proc->SectionLength)); in decodeSecArm()
121 char* section = new char[secDesc->SectionLength]; in decodeCperSection()
122 std::memcpy(section, &data[pos], secDesc->SectionLength); in decodeCperSection()
123 pos += secDesc->SectionLength; in decodeCperSection()
/openbmc/libcper/generator/
H A Dcper-generate.c141 descriptor->SectionLength = (UINT32)lengths[index]; in generate_section_descriptor()
/openbmc/libcper/sections/
H A Dcper-section-arm.c90 add_uint(section_ir, "sectionLength", record->SectionLength); in cper_section_arm_to_ir()
256 if (cur_pos < (uint8_t *)section + record->SectionLength) { in cper_section_arm_to_ir()
259 record->SectionLength - cur_pos; in cper_section_arm_to_ir()
903 section_cper.SectionLength = json_object_get_uint64( in ir_section_arm_to_cper()
/openbmc/libcper/include/libcper/
H A DCper.h288 UINT32 SectionLength; member
1440 UINT32 SectionLength; member