Coverage Report

Created: 2025-08-24 07:10

/work/fu-ihex-struct.c
Line
Count
Source
1
/* auto-generated, do not modify */
2
#include "config.h"
3
4
#include "fu-ihex-struct.h"
5
6
#ifdef G_LOG_DOMAIN
7
  #undef G_LOG_DOMAIN
8
#endif
9
#define G_LOG_DOMAIN "FuStruct"
10
11
const gchar *
12
fu_ihex_firmware_record_type_to_string(FuIhexFirmwareRecordType val)
13
218k
{
14
218k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_DATA)
15
204k
        return "data";
16
13.5k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_EOF)
17
227
        return "eof";
18
13.3k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_EXTENDED_SEGMENT)
19
353
        return "extended-segment";
20
12.9k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_START_SEGMENT)
21
322
        return "start-segment";
22
12.6k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_EXTENDED_LINEAR)
23
511
        return "extended-linear";
24
12.1k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_START_LINEAR)
25
10.7k
        return "start-linear";
26
1.34k
    if (val == FU_IHEX_FIRMWARE_RECORD_TYPE_SIGNATURE)
27
174
        return "signature";
28
1.17k
    return NULL;
29
1.34k
}