Searched refs:init_path (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_api.py | 273 init_path = os.path.join(cwd, name, '__init__.py') 274 cached = self.util.cache_from_source(init_path) 277 '__file__': init_path, 279 '__path__': [os.path.dirname(init_path)], 283 os.rename(path, init_path) 292 self.assertEqual(loader.path, init_path) 332 init_path = os.path.join(cwd, name, '__init__.py') 333 cached = self.util.cache_from_source(init_path) 336 '__file__': init_path, 338 '__path__': [os.path.dirname(init_path)], [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pydoc.py | 402 init_path = os.path.join(test_dir, 'dt.py') 403 with open(init_path, 'w') as fobj: 412 py_compile.compile(init_path) 413 synopsis = pydoc.synopsis(init_path, {}) 420 init_path = os.path.join(test_dir, 'foomod42.py') 422 with open(init_path, 'w') as fobj: 424 py_compile.compile(init_path) 425 synopsis = pydoc.synopsis(init_path, {})
|
/external/selinux/libselinux/src/ |
D | audit2why.c | 192 static int __policy_init(const char *init_path) in __policy_init() argument 202 if (init_path) { in __policy_init() 203 strncpy(path, init_path, PATH_MAX-1); in __policy_init() 294 char *init_path=NULL; in init() local 299 if (!PyArg_ParseTuple(args,(char *)"|s:policy_init",&init_path)) in init() 301 result = __policy_init(init_path); in init()
|
/external/python/cpython3/Lib/test/ |
D | test_pydoc.py | 592 init_path = os.path.join(test_dir, 'foomod42.py') 593 cached_path = importlib.util.cache_from_source(init_path) 594 with open(init_path, 'w') as fobj: 596 py_compile.compile(init_path) 597 synopsis = pydoc.synopsis(init_path, {}) 622 init_path = os.path.join(test_dir, '__init__.py') 623 open(init_path, 'w').close() 625 os.remove(init_path) 819 init_path = os.path.join(pkgdir, '__init__.py') 820 with open(init_path, 'w') as fobj:
|
/external/python/setuptools/ |
D | setup.py | 30 init_path = os.path.join(here, cmd_module_path) 31 with open(init_path) as init_file:
|
/external/python/cpython3/Lib/ |
D | imp.py | 205 init_path = os.path.join(path, '__init__' + extension) 206 if os.path.exists(init_path): 207 path = init_path
|
/external/avb/examples/uefi/ |
D | uefi_avb_ops.c | 408 EFI_DEVICE_PATH* init_path; in get_disk_block_io() local 410 init_path = DevicePathFromHandle(block_handle); in get_disk_block_io() 412 if (!init_path) { in get_disk_block_io() 416 walker_path = init_path; in get_disk_block_io() 420 err = walk_path(init_path, walker_path, &(*io_path), &path_bytes); in get_disk_block_io()
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 1121 init_path = os.path.join(pkg_path, '__init__.py') 1122 with open(init_path, 'w') as f: 1128 return init_path, bar_path 1131 init_path, bar_path = self._setup_broken_package("", "1/0") 1141 init_path, bar_path = self._setup_broken_package("", "1/0") 1151 init_path, bar_path = self._setup_broken_package("1/0", "") 1158 self.assert_traceback(tb, [__file__, init_path]) 1161 init_path, bar_path = self._setup_broken_package("1/0", "") 1168 self.assert_traceback(tb, [__file__, init_path])
|