Searched refs:exit_status_mappings (Results 1 – 3 of 3) sorted by relevance
13 const ExitStatusMapping exit_status_mappings[256] = { variable103 if (code < 0 || (size_t) code >= ELEMENTSOF(exit_status_mappings)) in exit_status_to_string()105 return class & exit_status_mappings[code].class ? exit_status_mappings[code].name : NULL; in exit_status_to_string()109 if (code < 0 || (size_t) code >= ELEMENTSOF(exit_status_mappings)) in exit_status_class()112 switch (exit_status_mappings[code].class) { in exit_status_class()129 for (size_t i = 0; i < ELEMENTSOF(exit_status_mappings); i++) in exit_status_from_string()130 if (streq_ptr(s, exit_status_mappings[i].name)) in exit_status_from_string()
101 extern const ExitStatusMapping exit_status_mappings[256];
21 for (size_t i = 0; i < ELEMENTSOF(exit_status_mappings); i++) { in verb_exit_status()22 if (!exit_status_mappings[i].name) in verb_exit_status()26 TABLE_STRING, exit_status_mappings[i].name, in verb_exit_status()40 assert(status >= 0 && (size_t) status < ELEMENTSOF(exit_status_mappings)); in verb_exit_status()42 TABLE_STRING, exit_status_mappings[status].name ?: "-", in verb_exit_status()