/external/python/cpython3/Include/ |
D | compile.h | 30 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ member 35 (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
|
/external/python/cpython2/Python/ |
D | pythonrun.c | 773 local_flags.cf_flags = 0; in PyRun_InteractiveLoopFlags() 800 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \ 806 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \ 808 | (((flags)->cf_flags & CO_FUTURE_PRINT_FUNCTION) ? \ 810 | (((flags)->cf_flags & CO_FUTURE_UNICODE_LITERALS) ? \ 1417 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file() 1437 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringFlags() 1457 flags.cf_flags = 0; in Py_SymtableString() 1483 localflags.cf_flags = 0; in PyParser_ASTFromString() 1487 flags->cf_flags |= iflags & PyCF_MASK; in PyParser_ASTFromString() [all …]
|
D | bltinmodule.c | 489 cf.cf_flags = supplied_flags; in builtin_compile() 551 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_compile() 688 cf.cf_flags = 0; in builtin_eval() 696 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in builtin_eval() 810 cf.cf_flags = 0; in builtin_execfile() 1260 cf.cf_flags = 0; in builtin_input()
|
D | compile.c | 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() 1926 if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_import() 1979 !(c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) in compiler_from_import() 2220 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in binop() 2287 if (c->c_flags && c->c_flags->cf_flags & CO_FUTURE_DIVISION) in inplace_binop() 3787 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags()
|
D | ceval.c | 4182 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags() 4189 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags() 4194 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags() 5097 cf.cf_flags = 0; in exec_statement() 5109 cf.cf_flags = 0; in exec_statement() 5116 cf.cf_flags |= PyCF_SOURCE_IS_UTF8; in exec_statement()
|
D | ast.c | 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()
|
D | import.c | 899 flags.cf_flags = 0; in parse_source_module()
|
/external/python/cpython3/Python/ |
D | pythonrun.c | 156 if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) in PARSER_FLAGS() 158 if (flags->cf_flags & PyCF_IGNORE_COOKIE) in PARSER_FLAGS() 160 if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) in PARSER_FLAGS() 162 if (flags->cf_flags & PyCF_TYPE_COMMENTS) in PARSER_FLAGS() 170 ((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \ 172 | ((flags)->cf_flags & CO_FUTURE_WITH_STATEMENT ? \ 1186 flags->cf_flags |= (co->co_flags & PyCF_MASK); in run_pyc_file() 1209 if (flags && (flags->cf_flags & PyCF_ONLY_AST)) { in Py_CompileStringObject() 1249 cf->cf_flags |= PyCF_IGNORE_COOKIE; in _Py_SourceAsString() 1350 flags->cf_flags |= iflags & PyCF_MASK; in PyParser_ASTFromStringObject() [all …]
|
D | bltinmodule.c | 735 cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8; in builtin_compile_impl() 948 cf.cf_flags = PyCF_SOURCE_IS_UTF8; in builtin_eval_impl() 1039 cf.cf_flags = PyCF_SOURCE_IS_UTF8; in builtin_exec_impl()
|
D | compile.c | 342 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_CompileObject() 344 flags->cf_flags = merged; in PyAST_CompileObject() 2685 if (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT){ in compiler_async_for() 4669 if (c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT){ in compiler_async_with() 4880 if (!(c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT)){ in compiler_visit_expr1() 5821 flags |= (c->c_flags->cf_flags & PyCF_MASK); in compute_code_flags() 5823 if ((c->c_flags->cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT) && in compute_code_flags()
|
D | ceval.c | 4860 int result = cf->cf_flags != 0; in PyEval_MergeCompilerFlags() 4867 cf->cf_flags |= compilerflags; in PyEval_MergeCompilerFlags() 4872 cf->cf_flags |= CO_GENERATOR_ALLOWED; in PyEval_MergeCompilerFlags()
|
D | ast.c | 4890 cf.cf_flags = PyCF_ONLY_AST; in fstring_compile_expr()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 36 cf.cf_flags = PyCF_SOURCE_IS_UTF8; in _symtable_symtable_impl()
|
D | parsermodule.c | 584 ((PyST_Object *)res)->st_flags.cf_flags = flags & PyCF_MASK; in parser_do_parse()
|
/external/python/cpython2/Modules/ |
D | main.c | 266 cf.cf_flags = 0; in Py_Main() 360 cf.cf_flags |= CO_FUTURE_DIVISION; in Py_Main()
|
D | parsermodule.c | 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()
|
/external/python/cpython2/Include/ |
D | pythonrun.h | 19 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ member
|
/external/python/cpython3/Doc/c-api/ |
D | veryhigh.rst | 389 Whenever ``PyCompilerFlags *flags`` is ``NULL``, :attr:`cf_flags` is treated as 393 .. c:member:: int cf_flags 403 ``PyCF_ONLY_AST`` flag is set in *cf_flags*.
|
/external/python/cpython2/Doc/c-api/ |
D | veryhigh.rst | 310 Whenever ``PyCompilerFlags *flags`` is *NULL*, :attr:`cf_flags` is treated as 315 int cf_flags;
|
/external/python/cffi/c/ |
D | _cffi_backend.c | 229 unsigned char cf_flags; /* BF_... */ member 715 {"flags", T_UBYTE, OFF(cf_flags), READONLY}, 1514 while (cf != NULL && (cf->cf_flags & BF_IGNORE_IN_CTOR)) in convert_struct_from_object() 4791 cf->cf_flags = flags; in _add_field() 5021 cfsrc->cf_flags | fflags); in b_complete_struct_or_union()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1998 *cf_flags*.
|