Searched refs:cf_flags (Results 1 – 20 of 20) sorted by relevance
765 local_flags.cf_flags = 0; in PyRun_InteractiveLoopFlags()792 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \798 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \800 | (((flags)->cf_flags & CO_FUTURE_PRINT_FUNCTION) ? \802 | (((flags)->cf_flags & CO_FUTURE_UNICODE_LITERALS) ? \1403 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file()1423 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags()1443 flags.cf_flags = 0; in Py_SymtableString()1469 localflags.cf_flags = 0; in PyParser_ASTFromString()1473 flags->cf_flags |= iflags & PyCF_MASK; in PyParser_ASTFromString()[all …]
488 cf.cf_flags = supplied_flags; in builtin_compile()548 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_compile()676 cf.cf_flags = 0; in builtin_eval()684 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_eval()798 cf.cf_flags = 0; in builtin_execfile()1248 cf.cf_flags = 0; in builtin_input()
276 local_flags.cf_flags = 0; in PyAST_Compile()279 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_Compile()281 flags->cf_flags = merged; in PyAST_Compile()1960 if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_import()2015 !(c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_from_import()2257 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in binop()2324 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in inplace_binop()3825 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags()
3845 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags()3852 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags()3857 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags()4740 cf.cf_flags = 0; in exec_statement()4752 cf.cf_flags = 0; in exec_statement()4759 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in exec_statement()
225 if (flags && flags->cf_flags & PyCF_SOURCE_IS_UTF8) { in PyAST_FromNode()237 c.c_future_unicode = flags && flags->cf_flags & CO_FUTURE_UNICODE_LITERALS; in PyAST_FromNode()
859 flags.cf_flags = 0; in parse_source_module()
752 local_flags.cf_flags = 0; in PyRun_InteractiveLoopFlags()779 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \785 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \787 | (((flags)->cf_flags & CO_FUTURE_PRINT_FUNCTION) ? \789 | (((flags)->cf_flags & CO_FUTURE_UNICODE_LITERALS) ? \1378 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file()1398 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags()1418 flags.cf_flags = 0; in Py_SymtableString()1444 localflags.cf_flags = 0; in PyParser_ASTFromString()1448 flags->cf_flags |= iflags & PyCF_MASK; in PyParser_ASTFromString()[all …]
482 cf.cf_flags = supplied_flags; in builtin_compile()540 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_compile()668 cf.cf_flags = 0; in builtin_eval()676 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_eval()790 cf.cf_flags = 0; in builtin_execfile()1240 cf.cf_flags = 0; in builtin_input()
273 local_flags.cf_flags = 0; in PyAST_Compile()276 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_Compile()278 flags->cf_flags = merged; in PyAST_Compile()1938 if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_import()1993 !(c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_from_import()2237 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in binop()2304 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in inplace_binop()3801 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags()
3823 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags()3830 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags()3835 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags()4718 cf.cf_flags = 0; in exec_statement()4730 cf.cf_flags = 0; in exec_statement()4737 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in exec_statement()
827 flags.cf_flags = 0; in parse_source_module()
246 cf.cf_flags = 0; in Py_Main()313 cf.cf_flags |= CO_FUTURE_DIVISION; in Py_Main()
272 o->st_flags.cf_flags = 0; in parser_newstobject()561 ((PyST_Object *)res)->st_flags.cf_flags = flags & PyCF_MASK; in parser_do_parse()
252 cf.cf_flags = 0; in Py_Main()347 cf.cf_flags |= CO_FUTURE_DIVISION; in Py_Main()
252 cf.cf_flags = 0; in Py_Main()319 cf.cf_flags |= CO_FUTURE_DIVISION; in Py_Main()
19 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ member
303 o->st_flags.cf_flags = 0; in parser_newstobject()581 ((PyST_Object *)res)->st_flags.cf_flags = flags & PyCF_MASK; in parser_do_parse()