MCPcopy Create free account
hub / github.com/apache/nuttx / tokenize

Function tokenize

tools/kconfig2html.c:804–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802 ****************************************************************************/
803
804static enum token_type_e tokenize(const char *token)
805{
806 struct reserved_s *ptr;
807
808 for (ptr = g_reserved; ptr->tname; ptr++)
809 {
810 if (strcmp(token, ptr->tname) == 0)
811 {
812 break;
813 }
814 }
815
816 return ptr->ttype;
817}
818
819/****************************************************************************
820 * Name: findchar

Callers 5

process_defaultFunction · 0.85
process_configFunction · 0.85
process_choiceFunction · 0.85
process_menuFunction · 0.85
parse_kconfigfileFunction · 0.85

Calls 1

strcmpFunction · 0.50

Tested by

no test coverage detected