Home
last modified time | relevance | path

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

/openbmc/ipmitool/include/ipmitool/
H A Dhelper.h122 #ifndef __maxlen
123 # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) macro
/openbmc/ipmitool/lib/
H A Dhelper.c397 if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) in str2val()
H A Dipmi_event.c218 strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) in ipmi_event_find_offset()
H A Dipmi_main.c197 if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) in ipmi_cmd_run()
H A Dipmi_sdr.c4506 __maxlen(type, in ipmi_sdr_print_type()
4571 __maxlen(entitystr, entity_id_vals[i].str)) == 0) { in ipmi_sdr_print_entity()
H A Dipmi_dcmi.c597 __maxlen(str, vs[i].str)) == 0) { in str2val2()