Home
last modified time | relevance | path

Searched refs:infunc (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_code_module.py23 self.infunc = stack.enter_context(mock.patch('code.input',
35 self.infunc.side_effect = EOFError('Finished')
43 self.infunc.side_effect = EOFError('Finished')
51 self.infunc.side_effect = ["'antioch'", "", EOFError('Finished')]
60 self.infunc.side_effect = ["undefined", EOFError('Finished')]
69 self.infunc.side_effect = ["raise ValueError('')",
78 self.infunc.side_effect = EOFError('Finished')
86 self.infunc.side_effect = EOFError('Finished')
92 self.infunc.side_effect = EOFError('Finished')
101 self.infunc.side_effect = EOFError('Finished')
[all …]
/external/one-true-awk/
Dlex.c33 extern int infunc;
313 if (c == '(' || c == '[' || (infunc && isarg(buf) >= 0)) { in yylex()
474 if (infunc) in word()
478 if (!infunc) in word()
489 if (c != '(' && infunc && (n=isarg(w)) >= 0) { in word()
Dawkgram.y35 int infunc = 0; /* = 1 if in arglist or body of func */ variable
184 | FUNC funcname '(' varlist rparen {infunc++;} lbrace stmtlist '}'
185 { infunc--; curfname=0; defn((Cell *)$2, $4, $8); $$ = 0; }
329 | NEXT st { if (infunc)
332 | NEXTFILE st { if (infunc)
Dytab.c76 int infunc = 0; /* = 1 if in arglist or body of func */ variable
2694 {infunc++;} in yyparse()
2700 …{ infunc--; curfname=0; defn((Cell *)(yyvsp[-7].p), (yyvsp[-5].p), (yyvsp[-1].p)); (yyval.p) = 0; } in yyparse()
3054 { if (infunc) in yyparse()
3062 { if (infunc) in yyparse()