Searched refs:cf_flags (Results 1 – 19 of 19) sorted by relevance
98 local_flags.cf_flags = 0; in PyRun_InteractiveLoopFlags()133 if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) in PARSER_FLAGS()135 if (flags->cf_flags & PyCF_IGNORE_COOKIE) in PARSER_FLAGS()137 if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) in PARSER_FLAGS()145 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \147 | ((flags)->cf_flags & CO_FUTURE_WITH_STATEMENT ? \1017 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file()1037 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringObject()1080 flags.cf_flags = 0; in Py_SymtableStringObject()1119 localflags.cf_flags = 0; in PyParser_ASTFromStringObject()[all …]
627 cf->cf_flags |= PyCF_IGNORE_COOKIE; in source_as_string()705 cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8; in builtin_compile_impl()896 cf.cf_flags = PyCF_SOURCE_IS_UTF8; in builtin_eval_impl()980 cf.cf_flags = PyCF_SOURCE_IS_UTF8; in builtin_exec_impl()
324 local_flags.cf_flags = 0; in PyAST_CompileObject()327 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_CompileObject()329 flags->cf_flags = merged; in PyAST_CompileObject()5190 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags()
4669 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags()4676 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags()4681 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags()
4302 cf.cf_flags = PyCF_ONLY_AST; in fstring_compile_expr()
764 local_flags.cf_flags = 0; in PyRun_InteractiveLoopFlags()791 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \797 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \799 | (((flags)->cf_flags & CO_FUTURE_PRINT_FUNCTION) ? \801 | (((flags)->cf_flags & CO_FUTURE_UNICODE_LITERALS) ? \1408 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file()1428 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags()1448 flags.cf_flags = 0; in Py_SymtableString()1474 localflags.cf_flags = 0; in PyParser_ASTFromString()1478 flags->cf_flags |= iflags & PyCF_MASK; in PyParser_ASTFromString()[all …]
488 cf.cf_flags = supplied_flags; in builtin_compile()550 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_compile()687 cf.cf_flags = 0; in builtin_eval()695 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_eval()809 cf.cf_flags = 0; in builtin_execfile()1259 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()1918 if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_import()1976 !(c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_from_import()2218 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in binop()2285 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in inplace_binop()3786 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags()
4162 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags()4169 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags()4174 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags()5058 cf.cf_flags = 0; in exec_statement()5070 cf.cf_flags = 0; in exec_statement()5077 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()
877 flags.cf_flags = 0; in parse_source_module()
256 cf.cf_flags = 0; in Py_Main()350 cf.cf_flags |= CO_FUTURE_DIVISION; in Py_Main()
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()
19 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ member
22 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ member
374 o->st_flags.cf_flags = 0; in parser_newstobject()619 ((PyST_Object *)res)->st_flags.cf_flags = flags & PyCF_MASK; in parser_do_parse()
370 cf.cf_flags = 0; in Py_Main()
310 Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated as315 int cf_flags;
377 Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated as382 int cf_flags;