Searched refs:cper_file (Results 1 – 6 of 6) sorted by relevance
/openbmc/libcper/cli-app/ |
H A D | cper-convert.c | 86 FILE *cper_file = fopen(in_file, "r"); in cper_to_json() local 87 if (cper_file == NULL) { in cper_to_json() 96 ir = cper_single_section_to_ir(cper_file); in cper_to_json() 98 ir = cper_to_ir(cper_file); in cper_to_json() 100 fclose(cper_file); in cper_to_json() 186 FILE *cper_file = fopen(out_file, "w"); in json_to_cper() local 187 if (cper_file == NULL) { in json_to_cper() 196 ir_to_cper(ir, cper_file); in json_to_cper() 198 ir_single_section_to_cper(ir, cper_file); in json_to_cper() 200 fclose(cper_file); in json_to_cper()
|
/openbmc/libcper/generator/ |
H A D | cper-generate-cli.c | 64 FILE *cper_file = fopen(out_file, "w"); in main() local 65 if (cper_file == NULL) { in main() 76 generate_single_section_record(single_section, cper_file); in main() 78 generate_cper_record(sections, num_sections, cper_file); in main() 89 fclose(cper_file); in main()
|
/openbmc/libcper/ |
H A D | cper-parse.c | 27 json_object *cper_to_ir(FILE *cper_file) in cper_to_ir() argument 30 long base_pos = ftell(cper_file); in cper_to_ir() 35 cper_file) != 1) { in cper_to_ir() 57 cper_file) != 1) { in cper_to_ir() 72 cper_section_to_ir(cper_file, base_pos, in cper_to_ir() 86 char *cper_to_str_ir(FILE *cper_file) in cper_to_str_ir() argument 88 json_object *jobj = cper_to_ir(cper_file); in cper_to_str_ir() 97 FILE *cper_file = fmemopen((void *)cper, size, "r"); in cperbuf_to_str_ir() local 99 return cper_file ? cper_to_str_ir(cper_file) : NULL; in cperbuf_to_str_ir()
|
H A D | cper-parse.i | 11 cper_to_ir(FILE *cper_file);
|
H A D | README.md | 50 json_object* cper_to_ir(FILE* cper_file);
|
/openbmc/libcper/include/libcper/ |
H A D | cper-parse.h | 40 json_object *cper_to_ir(FILE *cper_file);
|