Home
last modified time | relevance | path

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

/scripts/
Dspdxcheck.py16 def __init__(self, tok, txt): argument
17 self.tok = tok
130 def validate(self, tok): argument
131 id = tok.value.upper()
132 if tok.type == 'ID':
134 raise ParserException(tok, 'Invalid License ID')
136 elif tok.type == 'EXC':
138 raise ParserException(tok, 'Invalid Exception ID')
140 raise ParserException(tok, 'Exception not valid for license %s' %self.lastid)
142 elif tok.type != 'WITH':
[all …]
/scripts/kconfig/
Dexpr.h202 #define for_all_properties(sym, st, tok) \ argument
204 if (st->type == (tok))
Dmenu.c763 enum prop_type tok, const char *prefix) in get_symbol_props_str() argument
768 for_all_properties(sym, prop, tok) { in get_symbol_props_str()