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()
349 json_object_new_uint64(section_descriptor->SectionLength)); in cper_section_descriptor_to_ir()
460 if (descriptor->SectionLength > size) { in cper_buf_section_to_ir()
483 descriptor->SectionLength, in cper_buf_section_to_ir()
531 if (section_begin + section_descriptor->SectionLength > cper_end) { in cper_buf_single_section_to_ir()
542 section, section_descriptor->SectionLength, section_descriptor); in cper_buf_single_section_to_ir()
579 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.c87 json_object_new_uint64(record->SectionLength)); in cper_section_arm_to_ir()
254 if (cur_pos < (uint8_t *)section + record->SectionLength) { in cper_section_arm_to_ir()
257 record->SectionLength - cur_pos; in cper_section_arm_to_ir()
963 section_cper.SectionLength = json_object_get_uint64( in ir_section_arm_to_cper()
/openbmc/libcper/include/libcper/
H A DCper.h283 UINT32 SectionLength; member
1431 UINT32 SectionLength; member