Searched refs:co_filename (Results 1 – 25 of 50) sorted by relevance
12
/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
|
D | test_code.py | 111 self.assertEqual(co.co_filename, "filename")
|
D | test_inspect.py | 299 linecache.cache[co.co_filename] = (1, None, "None", co.co_filename) 421 linecache.cache[co.co_filename] = (1, None, lines, co.co_filename)
|
D | test_import.py | 508 code.co_names, code.co_varnames, code.co_filename, 515 self.assertEqual(mod.constant.co_filename, foreign_code.co_filename)
|
D | test_new.py | 119 filename = c.co_filename
|
D | test_exceptions.py | 172 self.assertTrue(co.co_filename.endswith('test_exceptions'+os.extsep+'py')) 184 self.assertTrue(co.co_filename.endswith('test_exceptions'+os.extsep+'py'))
|
/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
|
D | ScriptBinding.py | 150 interp.restart_subprocess(with_cwd=False, filename=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))
|
D | cProfile.py | 159 return (code.co_filename, code.co_firstlineno, code.co_name)
|
D | pdb.py | 153 if (self.mainpyfile != self.canonic(frame.f_code.co_filename) 400 filename = code.co_filename 429 filename = self.curframe.f_code.co_filename 806 filename = self.curframe.f_code.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/cpython2/Include/ |
D | code.h | 23 PyObject *co_filename; /* string (where it was loaded from) */ member
|
/external/python/cpython2/Lib/hotshot/ |
D | stats.py | 81 self.co_filename = filename
|
/external/libmojo/third_party/ply/ |
D | lex.py | 360 func_code(func).co_filename, func_code(func).co_firstlineno, 683 file = func_code(t).co_filename 731 file = func_code(f).co_filename 801 file = func_code(f).co_filename 935 file = func_code(f).co_filename
|
/external/ply/ply/ply/ |
D | lex.py | 362 func.__code__.co_filename, func.__code__.co_firstlineno, 697 file = t.__code__.co_filename 735 file = f.__code__.co_filename 804 file = f.__code__.co_filename 953 file = f.__code__.co_filename
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 837 self.co_filename = self.co.pyop_field('co_filename') 903 return self.co_filename.proxyval(set()) 945 self.co_filename.proxyval(visited), 966 % (self.co_filename.proxyval(visited),
|
/external/python/cpython2/Python/ |
D | import.c | 724 v = ((PyCodeObject *)co)->co_filename; in PyImport_ExecCodeModuleEx() 979 if (!_PyString_Eq(co->co_filename, oldname)) in update_code_filenames() 982 tmp = co->co_filename; in update_code_filenames() 983 co->co_filename = newname; in update_code_filenames() 984 Py_INCREF(co->co_filename); in update_code_filenames() 1002 if (strcmp(PyString_AsString(co->co_filename), pathname) == 0) in update_compiled_module() 1009 oldname = co->co_filename; in update_compiled_module()
|
D | traceback.c | 245 tb->tb_frame->f_code->co_filename), in tb_printinternal()
|
/external/python/cpython2/Lib/logging/ |
D | __init__.py | 77 _srcfile = os.path.normcase(currentframe.__code__.co_filename) 1246 filename = os.path.normcase(co.co_filename) 1250 rv = (co.co_filename, f.f_lineno, co.co_name)
|
12