Home
last modified time | relevance | path

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

/scripts/
Dspdxcheck.py15 def __init__(self, tok, txt): argument
16 self.tok = tok
100 def validate(self, tok): argument
101 id = tok.value.upper()
102 if tok.type == 'ID':
104 raise ParserException(tok, 'Invalid License ID')
106 elif tok.type == 'EXC':
108 raise ParserException(tok, 'Invalid Exception ID')
110 raise ParserException(tok, 'Exception not valid for license %s' %self.lastid)
112 elif tok.type != 'WITH':
[all …]
/scripts/kconfig/
Dexpr.h205 #define for_all_properties(sym, st, tok) \ argument
207 if (st->type == (tok))
Dmenu.c801 enum prop_type tok, const char *prefix) in get_symbol_props_str() argument
806 for_all_properties(sym, prop, tok) { in get_symbol_props_str()