Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/shell/
Dcm.c60 static const struct cm_flag_string flag_strings[] = { variable
71 for (int i = 0; i < ARRAY_SIZE(flag_strings); i++) { in flag_name()
72 if (flag_strings[i].flag == flag) { in flag_name()
73 return flag_strings[i].name; in flag_name()
84 for (int i = 0; i < ARRAY_SIZE(flag_strings); i++) { in cm_print_flags()
85 PR("\t%s,\n", flag_strings[i].name); in cm_print_flags()
277 for (int i = 0; i < ARRAY_SIZE(flag_strings); i++) { in parse_flag()
278 if (strcasecmp(arg, flag_strings[i].name) == 0) { in parse_flag()
280 *result = flag_strings[i].flag; in parse_flag()