Searched refs:clex (Results 1 – 5 of 5) sorted by relevance
/external/python/pycparser/tests/ |
D | test_c_lexer.py | 9 def token_list(clex): argument 10 return list(iter(clex.token, None)) 13 def token_types(clex): argument 14 return [i.type for i in token_list(clex)] 38 self.clex = CLexer(self.error_func, lambda: None, lambda: None, 40 self.clex.build(optimize=False) 43 self.clex.input(str) 44 self.assertEqual(token_types(self.clex), types) 135 clex = CLexer(self.error_func, on_lbrace, on_rbrace, 137 clex.build(optimize=False) [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_tab_pip.c | 2476 struct isl_context_lex *clex = (struct isl_context_lex *)context; in context_lex_peek_basic_set() local 2477 if (!clex->tab) in context_lex_peek_basic_set() 2479 return isl_tab_peek_bset(clex->tab); in context_lex_peek_basic_set() 2484 struct isl_context_lex *clex = (struct isl_context_lex *)context; in context_lex_peek_tab() local 2485 return clex->tab; in context_lex_peek_tab() 2491 struct isl_context_lex *clex = (struct isl_context_lex *)context; in context_lex_add_eq() local 2492 if (isl_tab_extend_cons(clex->tab, 2) < 0) in context_lex_add_eq() 2494 if (add_lexmin_eq(clex->tab, eq) < 0) in context_lex_add_eq() 2497 int v = tab_has_valid_sample(clex->tab, eq, 1); in context_lex_add_eq() 2501 clex->tab = check_integer_feasible(clex->tab); in context_lex_add_eq() [all …]
|
/external/python/pycparser/pycparser/ |
D | c_parser.py | 79 self.clex = lexer( 85 self.clex.build( 89 self.tokens = self.clex.tokens 145 self.clex.filename = filename 146 self.clex.reset_lineno() 151 lexer=self.clex, 215 return self.clex.last_token 1861 column=self.clex.find_tok_column(p))) 1863 self._parse_error('At end of input', self.clex.filename)
|
D | plyparser.py | 51 file=self.clex.filename,
|
/external/ply/ply/example/ansic/ |
D | cparse.py | 8 import clex 12 tokens = clex.tokens
|