Searched refs:cache_from_source (Results 1 – 25 of 117) sorted by relevance
12345
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 570 self.assertEqual(self.util.cache_from_source(path, optimization=''), 577 self.util.cache_from_source('whatever.py') 584 self.assertEqual(self.util.cache_from_source(path, optimization=''), 593 self.assertEqual(self.util.cache_from_source(path, False), 594 self.util.cache_from_source(path, optimization=1)) 595 self.assertEqual(self.util.cache_from_source(path, True), 596 self.util.cache_from_source(path, optimization='')) 600 self.util.cache_from_source(path, False) 602 self.util.cache_from_source(path, True) 607 self.assertEqual(self.util.cache_from_source(path, optimization=''), [all …]
|
D | test_api.py | 257 cached = self.util.cache_from_source(path) 278 cached = self.util.cache_from_source(init_path) 308 cached = self.util.cache_from_source(bad_path) 337 cached = self.util.cache_from_source(init_path)
|
D | test_pkg_import.py | 9 from importlib.util import cache_from_source 42 compiled_path = cache_from_source(self.module_path)
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_compileall.py | 39 return importlib.util.cache_from_source(script, optimization=opt) 58 self.bc_path = importlib.util.cache_from_source(self.source_path) 62 self.bc_path2 = importlib.util.cache_from_source(self.source_path2) 218 cached = importlib.util.cache_from_source(self.source_path, 221 cached2 = importlib.util.cache_from_source(self.source_path2, 224 cached3 = importlib.util.cache_from_source(self.source_path3, 291 pyc_filename = importlib.util.cache_from_source(source) 316 modcode = importlib.util.cache_from_source(mod) 347 bc = importlib.util.cache_from_source(script) 366 bc = importlib.util.cache_from_source(script) [all …]
|
D | test_py_compile.py | 59 self.cache_path = importlib.util.cache_from_source(self.source_path) 139 importlib.util.cache_from_source(bad_coding))) 160 cache_path = importlib.util.cache_from_source(weird_path) 226 self.cache_path = importlib.util.cache_from_source(self.source_path)
|
/aosp_15_r20/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 68 assert not os.path.exists(imp.cache_from_source(mapping[name])) 83 bytecode_path = imp.cache_from_source(module.__file__) 111 os.unlink(imp.cache_from_source(mapping[name])) 113 assert not os.path.exists(imp.cache_from_source(mapping[name])) 124 os.unlink(imp.cache_from_source(module.__file__)) 144 assert os.path.exists(imp.cache_from_source(mapping[name]))
|
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 186 self.assertEqual(self.util.cache_from_source(file_path), 190 pycache = os.path.dirname(self.util.cache_from_source(file_path)) 200 compiled = self.util.cache_from_source(source) 244 pyc = self.util.cache_from_source(source) 276 pyc = self.util.cache_from_source(source) 300 pyc = self.util.cache_from_source(source) 331 pyc = self.util.cache_from_source(source) 392 bytecode_path = self.util.cache_from_source(mapping[name]) 640 bytecode_path = self.util.cache_from_source(mapping['_temp']) 658 bytecode_path = self.util.cache_from_source(mapping['_temp'])
|
/aosp_15_r20/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 384 compiled = importlib.util.cache_from_source(source) 546 cached_path = importlib.util.cache_from_source(path) 565 cached_path = importlib.util.cache_from_source(path) 581 cached_path = importlib.util.cache_from_source(path) 618 os.rename(importlib.util.cache_from_source(path), bytecode_only) 640 compiled_name = importlib.util.cache_from_source(file_name) 881 pyc_path = importlib.util.cache_from_source(self.source) 898 pyc_path = importlib.util.cache_from_source(self.source) 908 pyc_file = importlib.util.cache_from_source(self.source) 937 pyc_file = importlib.util.cache_from_source(TESTFN + '.py') [all …]
|
/aosp_15_r20/external/ply/ply/test/ |
H A D | testlex.py | 20 from importlib.util import cache_from_source 23 cache_from_source = None variable 32 fullpath = cache_from_source(filename, optimization=optimization) 34 fullpath = cache_from_source(filename, ext=='.pyc')
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/distutils/tests/ |
H A D | test_install_lib.py | 48 pyc_file = importlib.util.cache_from_source('foo.py', optimization='') 49 pyc_opt_file = importlib.util.cache_from_source('foo.py',
|
/aosp_15_r20/external/python/cpython3/Lib/distutils/tests/ |
D | test_install_lib.py | 48 pyc_file = importlib.util.cache_from_source('foo.py', optimization='') 49 pyc_opt_file = importlib.util.cache_from_source('foo.py',
|
/aosp_15_r20/external/python/setuptools/setuptools/_distutils/tests/ |
D | test_install_lib.py | 47 pyc_file = importlib.util.cache_from_source('foo.py', optimization='') 48 pyc_opt_file = importlib.util.cache_from_source('foo.py',
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | py_compile.py | 129 cfile = importlib.util.cache_from_source(file, 132 cfile = importlib.util.cache_from_source(file)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/external/python/setuptools/setuptools/_distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | py_compile.py | 129 cfile = importlib.util.cache_from_source(file, 132 cfile = importlib.util.cache_from_source(file)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_distutils/command/ |
D | install_lib.py | 183 importlib.util.cache_from_source(py_file, optimization='') 187 importlib.util.cache_from_source(
|
/aosp_15_r20/external/python/cpython3/Lib/distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/_distutils/command/ |
D | install_lib.py | 183 importlib.util.cache_from_source(py_file, optimization='') 187 importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | py_compile.py | 129 cfile = importlib.util.cache_from_source(file, 132 cfile = importlib.util.cache_from_source(file)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/distutils/command/ |
D | install_lib.py | 168 bytecode_files.append(importlib.util.cache_from_source( 171 bytecode_files.append(importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_distutils/command/ |
D | install_lib.py | 183 importlib.util.cache_from_source(py_file, optimization='') 187 importlib.util.cache_from_source(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | py_compile.py | 129 cfile = importlib.util.cache_from_source(file, 132 cfile = importlib.util.cache_from_source(file)
|
12345