• Home
  • Raw
  • Download

Lines Matching full:locals

542     /* locals */  in frame_traverse()
575 /* locals */ in frame_clear()
659 PyObject *locals) in PyFrame_New() argument
668 (locals != NULL && !PyMapping_Check(locals))) { in PyFrame_New()
759 locals = PyDict_New(); in PyFrame_New()
760 if (locals == NULL) { in PyFrame_New()
764 f->f_locals = locals; in PyFrame_New()
767 if (locals == NULL) in PyFrame_New()
768 locals = globals; in PyFrame_New()
769 Py_INCREF(locals); in PyFrame_New()
770 f->f_locals = locals; in PyFrame_New()
806 /* Convert between "fast" version of locals and dictionary version.
849 /* Copy values from the "locals" dict into the fast locals.
905 /* Merge fast locals into f->f_locals */ in PyFrame_FastToLocals()
906 PyObject *locals, *map; in PyFrame_FastToLocals() local
914 locals = f->f_locals; in PyFrame_FastToLocals()
915 if (locals == NULL) { in PyFrame_FastToLocals()
916 locals = f->f_locals = PyDict_New(); in PyFrame_FastToLocals()
917 if (locals == NULL) { in PyFrame_FastToLocals()
932 map_to_dict(map, j, locals, fast, 0); in PyFrame_FastToLocals()
937 locals, fast + co->co_nlocals, 1); in PyFrame_FastToLocals()
944 into the locals dict used by the class. in PyFrame_FastToLocals()
948 locals, fast + co->co_nlocals + ncells, 1); in PyFrame_FastToLocals()
957 /* Merge f->f_locals into fast locals */ in PyFrame_LocalsToFast()
958 PyObject *locals, *map; in PyFrame_LocalsToFast() local
966 locals = f->f_locals; in PyFrame_LocalsToFast()
969 if (locals == NULL) in PyFrame_LocalsToFast()
979 dict_to_map(co->co_varnames, j, locals, fast, 0, clear); in PyFrame_LocalsToFast()
984 locals, fast + co->co_nlocals, 1, clear); in PyFrame_LocalsToFast()
988 locals, fast + co->co_nlocals + ncells, 1, in PyFrame_LocalsToFast()