Home
last modified time | relevance | path

Searched refs:compiler_unit (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dcompile.c97 struct compiler_unit { struct
144 struct compiler_unit *u; /* compiler state for current block */ argument
419 compiler_unit_check(struct compiler_unit *u) in compiler_unit_check()
439 compiler_unit_free(struct compiler_unit *u) in compiler_unit_free()
467 struct compiler_unit *u; in compiler_enter_scope()
469 u = (struct compiler_unit *)PyObject_Malloc(sizeof( in compiler_enter_scope()
470 struct compiler_unit)); in compiler_enter_scope()
475 memset(u, 0, sizeof(struct compiler_unit)); in compiler_enter_scope()
549 … c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, COMPILER_CAPSULE_NAME_COMPILER_UNIT); in compiler_exit_scope()
569 struct compiler_unit *u; in compiler_new_block()
[all …]
/external/python/cpython3/Python/
Dcompile.c103 struct compiler_unit { struct
161 struct compiler_unit *u; /* compiler state for current block */
494 compiler_unit_check(struct compiler_unit *u) in compiler_unit_check()
514 compiler_unit_free(struct compiler_unit *u) in compiler_unit_free()
543 struct compiler_unit *u; in compiler_enter_scope()
546 u = (struct compiler_unit *)PyObject_Malloc(sizeof( in compiler_enter_scope()
547 struct compiler_unit)); in compiler_enter_scope()
552 memset(u, 0, sizeof(struct compiler_unit)); in compiler_enter_scope()
661 c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME); in compiler_exit_scope()
679 struct compiler_unit *u = c->u; in compiler_set_qualname()
[all …]