/third_party/python/Lib/test/ |
D | test_codeop.py | 305 self.assertEqual(compile_command("a = 1\n", "abc").co_filename, 306 compile("a = 1\n", "abc", 'single').co_filename) 307 self.assertNotEqual(compile_command("a = 1\n", "abc").co_filename, 308 compile("a = 1\n", "def", 'single').co_filename)
|
D | test_marshal.py | 126 self.assertEqual(co1.co_filename, "f1") 127 self.assertEqual(co2.co_filename, "f2") 136 self.assertIs(co.co_filename, obj.co_filename)
|
D | test_code.py | 169 self.assertEqual(co.co_filename, "filename") 226 co.co_filename,
|
D | test_compile.py | 447 self.assertEqual(co2.co_filename, '%s3' % fname) 475 self.assertEqual(code.co_filename, 'file.py') 479 self.assertEqual(code.co_filename, 'file.py') 488 self.assertIs(obj.co_filename, c.co_filename)
|
D | test_bdb.py | 116 filename = code.co_filename 322 fname = self.canonic(self.frame.f_code.co_filename) 377 lineno = self.lno_rel2abs(self.frame.f_code.co_filename,
|
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 162 PyObject *co_cellvars, PyObject *co_filename, 186 PyObject *co_filename = self->co_filename; in code_replace() local 328 co_filename = args[13]; in code_replace() 352 …, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_li… in code_replace()
|
/third_party/python/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
|
/third_party/python/Python/ |
D | traceback.c | 566 code->co_filename != last_file || in tb_printinternal() 572 last_file = code->co_filename; in tb_printinternal() 579 err = tb_displayline(f, code->co_filename, tb->tb_lineno, in tb_printinternal() 779 if (code->co_filename != NULL in dump_frame() 780 && PyUnicode_Check(code->co_filename)) in dump_frame() 783 _Py_DumpASCII(fd, code->co_filename); in dump_frame()
|
D | import.c | 824 pathname = ((PyCodeObject *)co)->co_filename; in PyImport_ExecCodeModuleObject() 851 if (PyUnicode_Compare(co->co_filename, oldname)) in update_code_filenames() 855 Py_XSETREF(co->co_filename, newname); in update_code_filenames() 872 if (PyUnicode_Compare(co->co_filename, newname) == 0) in update_compiled_module() 875 oldname = co->co_filename; in update_compiled_module() 1292 now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) || in remove_importlib_frames() 1293 _PyUnicode_EqualToASCIIString(code->co_filename, external_filename); in remove_importlib_frames()
|
/third_party/python/Objects/ |
D | codeobject.c | 257 co->co_filename = filename; in PyCode_NewWithPosOnlyArgs() 396 {"co_filename", T_OBJECT, OFF(co_filename), READONLY}, 663 Py_XDECREF(co->co_filename); in code_dealloc() 729 PyObject *co_cellvars, PyObject *co_filename, in code_replace_impl() argument 751 co_code, co_filename, co_name, co_argcount, in code_replace_impl() 760 co_varnames, co_freevars, co_cellvars, co_filename, co_name, in code_replace_impl() 772 if (co->co_filename && PyUnicode_Check(co->co_filename)) { in code_repr() 775 co->co_name, co, co->co_filename, lineno); in code_repr()
|
/third_party/python/Lib/ |
D | trace.py | 469 filename = code.co_filename 554 filename = frame.f_code.co_filename 569 filename = frame.f_code.co_filename 581 filename = frame.f_code.co_filename 706 sys.argv = [code.co_filename, *opts.arguments] 709 '__file__': code.co_filename,
|
D | bdb.py | 223 filename = self.canonic(frame.f_code.co_filename) 254 return self.canonic(frame.f_code.co_filename) in self.breaks 562 filename = self.canonic(frame.f_code.co_filename) 867 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))
|
D | pdb.py | 257 if (self.mainpyfile != self.canonic(frame.f_code.co_filename) 667 filename = code.co_filename 694 filename = self.curframe.f_code.co_filename 1250 filename = self.curframe.f_code.co_filename 1267 filename = self.curframe.f_code.co_filename 1546 self.mainpyfile = self.canonic(code.co_filename)
|
D | warnings.py | 274 filename = frame.f_code.co_filename 317 filename = frame.f_code.co_filename
|
D | cProfile.py | 126 return (code.co_filename, code.co_firstlineno, code.co_name)
|
/third_party/mindspore/mindspore/ |
D | log.py | 446 log_file = os.path.normcase(f.f_code.co_filename) 451 filename = os.path.normcase(co.co_filename) 457 rv = (co.co_filename, f.f_lineno, co.co_name, sinfo)
|
/third_party/python/Lib/asyncio/ |
D | format_helpers.py | 14 return (code.co_filename, code.co_firstlineno)
|
D | base_tasks.py | 66 filename = co.co_filename
|
D | coroutines.py | 247 filename = coro_code.co_filename or '<empty co_filename>'
|
/third_party/python/Include/cpython/ |
D | code.h | 39 PyObject *co_filename; /* unicode (where it was loaded from) */ member
|
/third_party/python/Lib/test/test_importlib/ |
D | test_abc.py | 535 self.assertEqual(code.co_filename, path) 542 self.assertEqual(code.co_filename, '<string>') 659 self.assertEqual(code.co_filename, path) 689 self.assertEqual(code.co_filename, '<string>')
|
/third_party/python/Tools/gdb/ |
D | libpython.py | 867 self.co_filename = self.co.pyop_field('co_filename') 933 return self.co_filename.proxyval(set()) 990 self.co_filename.proxyval(visited), 1013 % (self.co_filename.proxyval(visited),
|
/third_party/python/Lib/logging/ |
D | __init__.py | 181 _srcfile = os.path.normcase(addLevelName.__code__.co_filename) 1027 while (frame and os.path.dirname(frame.f_code.co_filename) == 1568 filename = os.path.normcase(co.co_filename) 1581 rv = (co.co_filename, f.f_lineno, co.co_name, sinfo)
|