Home
last modified time | relevance | path

Searched refs:ff_features (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Python/
Dfuture.c33 ff->ff_features |= CO_FUTURE_DIVISION; in future_check_features()
35 ff->ff_features |= CO_FUTURE_ABSOLUTE_IMPORT; in future_check_features()
37 ff->ff_features |= CO_FUTURE_WITH_STATEMENT; in future_check_features()
39 ff->ff_features |= CO_FUTURE_PRINT_FUNCTION; in future_check_features()
41 ff->ff_features |= CO_FUTURE_UNICODE_LITERALS; in future_check_features()
129 ff->ff_features = 0; in PyFuture_FromAST()
Dcompile.c279 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_Compile()
280 c.c_future->ff_features = merged; in PyAST_Compile()
/external/python/cpython3/Python/
Dfuture.c43 ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL; in future_check_features()
47 ff->ff_features |= CO_FUTURE_ANNOTATIONS; in future_check_features()
135 ff->ff_features = 0; in PyFuture_FromASTObject()
Dast_opt.c611 if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) { in astfold_arg()
625 if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) { in astfold_stmt()
633 if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) { in astfold_stmt()
659 if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) { in astfold_stmt()
Dcompile.c347 merged = c.c_future->ff_features | flags->cf_flags; in PyAST_CompileObject()
348 c.c_future->ff_features = merged; in PyAST_CompileObject()
357 state.ff_features = merged; in PyAST_CompileObject()
2031 if (c->c_future->ff_features & CO_FUTURE_ANNOTATIONS) { in compiler_visit_argannotation()
5263 if (c->c_future->ff_features & CO_FUTURE_ANNOTATIONS) { in compiler_annassign()
/external/python/cpython3/Include/
Dcompile.h49 int ff_features; /* flags set by future statements */ member
96 int ff_features; member
/external/python/cpython2/Include/
Dcompile.h18 int ff_features; /* flags set by future statements */ member