/external/tensorflow/tensorflow/python/platform/ |
D | tf_logging.py | 51 our_file = f.f_code.co_filename 55 if code.co_filename != our_file: 69 return (code.co_filename, frame.f_lineno, code.co_name, sinfo) 76 return (code.co_filename, frame.f_lineno, code.co_name) 263 return (code.co_filename, f.f_lineno)
|
/external/python/cpython3/Lib/test/ |
D | test_codeop.py | 292 self.assertEqual(compile_command("a = 1\n", "abc").co_filename, 293 compile("a = 1\n", "abc", 'single').co_filename) 294 self.assertNotEqual(compile_command("a = 1\n", "abc").co_filename, 295 compile("a = 1\n", "def", 'single').co_filename)
|
D | test_parser.py | 752 self.assertEqual(code.co_filename, '<syntax-tree>') 754 self.assertEqual(code.co_filename, '<syntax-tree>') 757 self.assertEqual(code.co_filename, 'file.py') 759 self.assertEqual(code.co_filename, 'file.py') 763 self.assertEqual(code.co_filename, 'file.py') 766 self.assertEqual(code.co_filename, 'file.py')
|
D | test_compile.py | 445 self.assertEqual(co2.co_filename, '%s3' % fname) 473 self.assertEqual(code.co_filename, 'file.py') 477 self.assertEqual(code.co_filename, 'file.py') 486 self.assertIs(obj.co_filename, c.co_filename)
|
D | test_marshal.py | 125 self.assertEqual(co1.co_filename, "f1") 126 self.assertEqual(co2.co_filename, "f2") 135 self.assertIs(co.co_filename, obj.co_filename)
|
D | test_code.py | 145 self.assertEqual(co.co_filename, "filename") 162 c.co_varnames, c.co_filename, c.co_name, c.co_firstlineno,
|
/external/python/cpython2/Lib/test/ |
D | test_codeop.py | 293 self.assertEqual(compile_command("a = 1\n", "abc").co_filename, 294 compile("a = 1\n", "abc", 'single').co_filename) 295 self.assertNotEqual(compile_command("a = 1\n", "abc").co_filename, 296 compile("a = 1\n", "def", 'single').co_filename)
|
D | test_traceback.py | 216 file = prn.__code__.co_filename 229 file = fmt.__code__.co_filename 248 file = extract.__code__.co_filename
|
/external/tensorflow/tensorflow/python/util/ |
D | function_utils_test.py | 271 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py') 276 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py') 282 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py') 288 self.assertRegexpMatches(code.co_filename, 'function_utils_test.py')
|
D | tf_stack.py | 63 filename = co.co_filename
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 139 co->co_filename = filename; in PyCode_New() 211 {"co_filename", T_OBJECT, OFF(co_filename), READONLY}, 353 Py_XDECREF(co->co_filename); in code_dealloc() 373 if (co->co_filename && PyString_Check(co->co_filename)) in code_repr() 374 filename = PyString_AS_STRING(co->co_filename); in code_repr()
|
/external/python/cpython3/Lib/idlelib/ |
D | debugger.py | 36 if frame.f_code.co_filename.count('rpc.py'): 40 prev_name = prev_frame.f_code.co_filename 49 filename = code.co_filename 263 filename = code.co_filename 399 filename = code.co_filename 451 filename = code.co_filename
|
D | stackviewer.py | 73 filename = code.co_filename 97 filename = frame.f_code.co_filename
|
/external/python/cpython3/Python/ |
D | traceback.c | 554 tb->tb_frame->f_code->co_filename != last_file || in tb_printinternal() 560 last_file = tb->tb_frame->f_code->co_filename; in tb_printinternal() 568 tb->tb_frame->f_code->co_filename, in tb_printinternal() 751 if (code != NULL && code->co_filename != NULL in dump_frame() 752 && PyUnicode_Check(code->co_filename)) in dump_frame() 755 _Py_DumpASCII(fd, code->co_filename); in dump_frame()
|
/external/python/cpython2/Lib/idlelib/ |
D | Debugger.py | 33 if frame.f_code.co_filename.count('rpc.py'): 37 if prev_frame.f_code.co_filename.count('Debugger.py'): 44 filename = code.co_filename 258 filename = code.co_filename 395 filename = code.co_filename 448 filename = code.co_filename
|
D | StackViewer.py | 71 filename = code.co_filename 95 filename = frame.f_code.co_filename
|
/external/python/cpython2/Lib/ |
D | traceback.py | 64 filename = co.co_filename 98 filename = co.co_filename 303 filename = co.co_filename
|
D | bdb.py | 127 filename = self.canonic(frame.f_code.co_filename) 152 return self.canonic(frame.f_code.co_filename) in self.breaks 364 filename = self.canonic(frame.f_code.co_filename) 623 fn = self.canonic(frame.f_code.co_filename)
|
D | trace.py | 531 filename = code.co_filename 616 filename = frame.f_code.co_filename 631 filename = frame.f_code.co_filename 643 filename = frame.f_code.co_filename
|
D | profile.py | 289 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 371 self.co_filename = filename 377 return repr((self.co_filename, self.co_line, self.co_name))
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 212 co->co_filename = filename; in PyCode_New() 286 {"co_filename", T_OBJECT, OFF(co_filename), READONLY}, 451 Py_XDECREF(co->co_filename); in code_dealloc() 487 if (co->co_filename && PyUnicode_Check(co->co_filename)) { in code_repr() 490 co->co_name, co, co->co_filename, lineno); in code_repr()
|
/external/python/cpython3/Lib/ |
D | trace.py | 468 filename = code.co_filename 553 filename = frame.f_code.co_filename 568 filename = frame.f_code.co_filename 580 filename = frame.f_code.co_filename
|
D | bdb.py | 219 filename = self.canonic(frame.f_code.co_filename) 250 return self.canonic(frame.f_code.co_filename) in self.breaks 543 filename = self.canonic(frame.f_code.co_filename) 849 fn = self.canonic(frame.f_code.co_filename)
|
D | profile.py | 268 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 350 self.co_filename = filename 356 return repr((self.co_filename, self.co_line, self.co_name))
|
/external/python/cpython2/Include/ |
D | code.h | 23 PyObject *co_filename; /* string (where it was loaded from) */ member
|