Home
last modified time | relevance | path

Searched refs:f_locals (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_frame.py135 outer_locals = outer.f_locals
138 inner_locals = inner.f_locals
146 self.assertEqual(outer.f_locals, {})
147 self.assertEqual(inner.f_locals, {})
152 outer.f_locals
153 inner.f_locals
156 self.assertEqual(outer.f_locals, {})
157 self.assertEqual(inner.f_locals, {})
Dtest_traceback.py854 self.assertEqual(len(inner_frame.f_locals), 1)
860 self.assertEqual(len(inner_frame.f_locals), 0)
/external/python/cpython3/Objects/
Dframeobject.c29 Py_INCREF(f->f_locals); in frame_getlocals()
30 return f->f_locals; in frame_getlocals()
481 Py_CLEAR(f->f_locals); in frame_dealloc()
509 Py_VISIT(f->f_locals); in frame_traverse()
742 f->f_locals = NULL; in _PyFrame_New_NoTrack()
762 f->f_locals = locals; in _PyFrame_New_NoTrack()
768 f->f_locals = locals; in _PyFrame_New_NoTrack()
929 locals = f->f_locals; in PyFrame_FastToLocalsWithError()
931 locals = f->f_locals = PyDict_New(); in PyFrame_FastToLocalsWithError()
999 locals = f->f_locals; in PyFrame_LocalsToFast()
/external/python/cpython2/Objects/
Dframeobject.c59 Py_INCREF(f->f_locals); in WARN_GET_SET()
60 return f->f_locals; in WARN_GET_SET()
505 Py_CLEAR(f->f_locals); in frame_dealloc()
536 Py_VISIT(f->f_locals); in frame_traverse()
743 f->f_locals = NULL; in PyFrame_New()
764 f->f_locals = locals; in PyFrame_New()
770 f->f_locals = locals; in PyFrame_New()
914 locals = f->f_locals; in PyFrame_FastToLocals()
916 locals = f->f_locals = PyDict_New(); in PyFrame_FastToLocals()
966 locals = f->f_locals; in PyFrame_LocalsToFast()
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py149 f_locals = frame[0].f_locals
150 f_self = f_locals.get("self", None)
/external/python/cpython2/Lib/
Dbdb.py370 if '__args__' in frame.f_locals:
371 args = frame.f_locals['__args__']
378 if '__return__' in frame.f_locals:
379 rv = frame.f_locals['__return__']
594 frame.f_locals)
Dpdb.py124 self.curframe_locals = self.curframe.f_locals
188 frame.f_locals['__return__'] = return_value
198 frame.f_locals['__exception__'] = exc_type, exc_value
640 self.curframe_locals = self.curframe.f_locals
651 self.curframe_locals = self.curframe.f_locals
/external/python/cpython3/Lib/
Dtraceback.py353 f_locals = f.f_locals
355 f_locals = None
357 filename, lineno, name, lookup_line=False, locals=f_locals))
Dbdb.py549 if '__args__' in frame.f_locals:
550 args = frame.f_locals['__args__']
557 if '__return__' in frame.f_locals:
558 rv = frame.f_locals['__return__']
821 val = eval(b.cond, frame.f_globals, frame.f_locals)
Dpdb.py107 if inspect.isframe(obj) and obj.f_globals is obj.f_locals:
220 self.curframe_locals = self.curframe.f_locals
291 frame.f_locals['__return__'] = return_value
301 frame.f_locals['__exception__'] = exc_type, exc_value
928 self.curframe_locals = self.curframe.f_locals
1170 return eval(arg, frame.f_globals, frame.f_locals)
/external/python/cpython3/Lib/idlelib/
Dstackviewer.py87 if frame.f_globals is not frame.f_locals:
88 item = VariablesTreeItem("<locals>", frame.f_locals, self.flist)
Ddebugger_r.py135 dict = frame.f_locals
/external/python/cpython2/Lib/idlelib/
DStackViewer.py85 if frame.f_globals is not frame.f_locals:
86 item = VariablesTreeItem("<locals>", frame.f_locals, self.flist)
DRemoteDebugger.py138 dict = frame.f_locals
/external/python/cpython2/Include/
Dframeobject.h22 PyObject *f_locals; /* local symbol table (any mapping) */ member
/external/python/cpython3/Include/
Dframeobject.h23 PyObject *f_locals; /* local symbol table (any mapping) */ member
/external/python/cpython3/Python/
Dceval.c1926 PyObject *ns = f->f_locals; in _PyEval_EvalFrameDefault()
1946 PyObject *ns = f->f_locals; in _PyEval_EvalFrameDefault()
2059 PyObject *locals = f->f_locals; in _PyEval_EvalFrameDefault()
2187 PyObject *name, *value, *locals = f->f_locals; in _PyEval_EvalFrameDefault()
2393 if (f->f_locals == NULL) { in _PyEval_EvalFrameDefault()
2399 if (PyDict_CheckExact(f->f_locals)) { in _PyEval_EvalFrameDefault()
2400 ann_dict = _PyDict_GetItemId(f->f_locals, in _PyEval_EvalFrameDefault()
2408 err = _PyDict_SetItemId(f->f_locals, in _PyEval_EvalFrameDefault()
2422 ann_dict = PyObject_GetItem(f->f_locals, ann_str); in _PyEval_EvalFrameDefault()
2432 err = PyObject_SetItem(f->f_locals, ann_str, ann_dict); in _PyEval_EvalFrameDefault()
[all …]
/external/python/setuptools/setuptools/command/
Dsdist.py110 tb.tb_next.tb_frame.f_locals['template'].close()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py263 for v in itertools.chain(caller_frame.f_locals.values(),
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dmodule.py29 frame_locals = frame.f_locals
/external/python/cpython2/Python/
Dceval.c2086 if ((x = f->f_locals) != NULL) in PyEval_EvalFrameEx()
2184 if ((x = f->f_locals) != NULL) { in PyEval_EvalFrameEx()
2206 if ((x = f->f_locals) != NULL) { in PyEval_EvalFrameEx()
2305 if ((v = f->f_locals) == NULL) { in PyEval_EvalFrameEx()
2621 f->f_locals == NULL ? in PyEval_EvalFrameEx()
2622 Py_None : f->f_locals, in PyEval_EvalFrameEx()
2630 f->f_locals == NULL ? in PyEval_EvalFrameEx()
2631 Py_None : f->f_locals, in PyEval_EvalFrameEx()
2656 if ((x = f->f_locals) == NULL) { in PyEval_EvalFrameEx()
4151 return current_frame->f_locals; in PyEval_GetLocals()
[all …]
/external/libchrome/third_party/jinja2/
Ddebug.py234 locals = get_jinja_locals(tb.tb_frame.f_locals)
/external/python/cpython2/Doc/library/
Dtypes.rst234 as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as
/external/libchrome/third_party/ply/
Dlex.py437 if f.f_globals != f.f_locals:
438 ldict.update(f.f_locals)
/external/ply/ply/ply/
Dlex.py452 if f.f_globals != f.f_locals:
453 ldict.update(f.f_locals)

123