Home
last modified time | relevance | path

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

/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/
H A Dcper-parse.c253 json_object_new_uint64(section_descriptor->SectionLength)); in cper_section_descriptor_to_ir()
333 void *section = malloc(descriptor->SectionLength); in cper_section_to_ir()
334 if (fread(section, descriptor->SectionLength, 1, handle) != 1) { in cper_section_to_ir()
336 descriptor->SectionLength, descriptor->SectionOffset); in cper_section_to_ir()
370 section, descriptor->SectionLength, &encoded_len); in cper_section_to_ir()
H A Dir-parse.c202 descriptor->SectionLength = (UINT32)json_object_get_uint64( in ir_section_descriptor_to_cper()
/openbmc/libcper/sections/
H A Dcper-section-arm.c62 json_object_new_uint64(record->SectionLength)); in cper_section_arm_to_ir()
127 if (cur_pos < (uint8_t *)section + record->SectionLength) { in cper_section_arm_to_ir()
130 (uint8_t *)section + record->SectionLength - cur_pos; in cper_section_arm_to_ir()
515 section_cper->SectionLength = json_object_get_uint64( in ir_section_arm_to_cper()
/openbmc/libcper/generator/
H A Dcper-generate.c139 descriptor->SectionLength = (UINT32)lengths[index]; in generate_section_descriptor()
/openbmc/libcper/include/libcper/
H A DCper.h322 UINT32 SectionLength; member
1449 UINT32 SectionLength; member