/external/python/cpython2/Lib/plat-mac/ |
D | appletrawmain.py | 41 __file__ = os.path.join(_dir, '__main__.py') variable 42 if os.path.exists(__file__): 46 sys.argv[0] = __file__ 48 execfile(__file__) 50 __file__ = os.path.join(_dir, '__main__.pyc') variable 51 if os.path.exists(__file__): 55 sys.argv[0] = __file__ 56 _fp = open(__file__, 'rb')
|
/external/python/cpython2/Lib/test/ |
D | test_trace.py | 23 modname = os.path.splitext(os.path.basename(__file__))[0] 24 return fix_ext_py(__file__), modname 106 self.my_py_filename = fix_ext_py(__file__) 138 (fix_ext_py(testmod.__file__), 2): 1, 139 (fix_ext_py(testmod.__file__), 3): 1, 192 self.my_py_filename = fix_ext_py(__file__) 197 code = compile(code, __file__, 'exec') 239 (fix_ext_py(testmod.__file__), 'testmod', 'func'): 1, 265 ((os.path.splitext(trace.__file__)[0] + '.py', 'trace', 'Trace.runfunc'), 274 (fix_ext_py(testmod.__file__), 'testmod', 'func')): 1, [all …]
|
D | test_doctest3.txt | 2 Here we check that `__file__` is provided: 4 >>> type(__file__)
|
D | test_warnings.py | 282 filename = warning_tests.__file__ 284 del warning_tests.__file__ 291 warning_tests.__file__ = filename 297 filename = warning_tests.__file__ 300 del warning_tests.__file__ 308 warning_tests.__file__ = filename 314 filename = warning_tests.__file__ 318 del warning_tests.__file__ 327 warning_tests.__file__ = filename 335 file_name = warning_tests.__file__ [all …]
|
D | test_startfile.py | 27 empty = path.join(path.dirname(__file__), "empty.vbs") 36 empty = path.join(path.dirname(__file__), "empty.vbs")
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_returnfuncptrs.py | 12 dll = CDLL(_ctypes_test.__file__) 22 dll = CDLL(_ctypes_test.__file__) 36 dll = CDLL(_ctypes_test.__file__) 52 return CDLL(_ctypes_test.__file__) 58 BadSequence(("my_strchr", CDLL(_ctypes_test.__file__))))
|
/external/autotest/site_utils/ |
D | test_droid.py | 30 os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 34 sys.exit(os.execv(__file__, sys.argv)) 111 os.path.realpath(__file__))) 113 realpath = os.path.realpath(__file__)
|
/external/pdfium/ |
D | update_pdfium.py | 40 COPY_FILES = [os.path.basename(__file__), ".git", "MODULE_LICENSE_BSD", "NOTICE"] + MAKE_FILES 41 REMOVE_FILES = [os.path.basename(__file__), ".git", ".gitignore"] + OWNERS_FILES 119 targetDir = os.path.dirname(os.path.realpath(__file__))
|
/external/v8/testing/gmock/scripts/generator/ |
D | gmock_gen.py | 26 sys.path.append(os.path.dirname(__file__)) 30 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
|
/external/googletest/googlemock/scripts/generator/ |
D | gmock_gen.py | 26 sys.path.append(os.path.dirname(__file__)) 30 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
|
/external/google-breakpad/src/testing/scripts/generator/ |
D | gmock_gen.py | 26 sys.path.append(os.path.dirname(__file__)) 30 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
|
/external/autotest/frontend/client/ |
D | gwt_dir | 10 os.path.dirname(__file__), '..', '..', 'site-packages', 'gwt')) 17 sys.stderr.write('(%s): GWT not installed?\n' % __file__)
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | update_systrace_trace_viewer.py | 15 os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir)) 22 os.path.abspath(os.path.dirname(__file__)), 50 cwd=os.path.dirname(os.path.abspath(__file__))).strip()
|
/external/chromium-trace/catapult/common/battor/bin/ |
D | run_py_tests | 10 os.path.dirname(__file__), '..', '..', '..')) 12 os.path.dirname(__file__), '..'))
|
/external/chromium-trace/catapult/devil/bin/ |
D | run_py_tests | 10 os.path.dirname(__file__), '..', '..')) 12 os.path.dirname(__file__), '..'))
|
D | run_py_devicetests | 10 os.path.dirname(__file__), '..', '..')) 12 os.path.dirname(__file__), '..'))
|
/external/libmojo/third_party/catapult/devil/bin/ |
D | run_py_tests | 10 os.path.dirname(__file__), '..', '..')) 12 os.path.dirname(__file__), '..'))
|
/external/llvm/bindings/python/llvm/tests/ |
D | base.py | 35 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_file") 38 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test.bc")
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_dep_util.py | 17 old_file = os.path.abspath(__file__) 40 three = os.path.abspath(__file__) # I am the old file 56 old_file = os.path.abspath(__file__)
|
/external/python/cpython2/Lib/lib2to3/ |
D | pygram.py | 15 _GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "Grammar.txt") 16 _PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__),
|
/external/autotest/server/ |
D | crashcollect.py | 132 __file__, "autotest_lib.server.site_crashcollect", "get_site_crashdumps", 135 __file__, "autotest_lib.server.site_crashcollect", "get_site_crashinfo", 138 __file__, "autotest_lib.server.site_crashcollect", "report_crashdumps", 141 __file__, "autotest_lib.server.site_crashcollect", "fetch_orphaned_crashdumps", 144 __file__, "autotest_lib.server.site_crashcollect", "get_host_infodir",
|
/external/chromium-trace/catapult/common/eslint/bin/ |
D | run_tests | 11 os.path.join(os.path.dirname(__file__), 16 os.path.join(os.path.dirname(__file__), os.path.pardir))
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/ |
D | gen_archrast.py | 171 curdir = os.path.dirname(os.path.abspath(__file__)) 181 curdir = os.path.dirname(os.path.abspath(__file__)) 191 curdir = os.path.dirname(os.path.abspath(__file__)) 202 curdir = os.path.dirname(os.path.abspath(__file__))
|
/external/autotest/client/ |
D | setup_modules.py | 6 dirname = os.path.dirname(sys.modules[__name__].__file__) 94 logging_py = os.path.join(os.path.dirname(__file__), "common_lib", 123 os.path.exists(os.path.join(os.path.dirname(__file__),
|
/external/v8/tools/clang/plugins/tests/ |
D | test.py | 11 script_dir = os.path.dirname(os.path.realpath(__file__)) 44 os.path.dirname(os.path.realpath(__file__)),
|