Searched refs:init_path (Results 1 – 10 of 10) 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/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/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker.cc | 865 PathFromRoot init_path; in BuildFlamegraph() local 867 FindPathFromRoot(context_->storage.get(), root, &init_path); in BuildFlamegraph() 870 std::vector<int32_t> node_to_cumulative_size(init_path.nodes.size()); in BuildFlamegraph() 871 std::vector<int32_t> node_to_cumulative_count(init_path.nodes.size()); in BuildFlamegraph() 873 for (size_t i = init_path.nodes.size() - 1; i > 0; --i) { in BuildFlamegraph() 874 const PathFromRoot::Node& node = init_path.nodes[i]; in BuildFlamegraph() 882 std::vector<FlamegraphId> node_to_id(init_path.nodes.size()); in BuildFlamegraph() 884 for (size_t i = 1; i < init_path.nodes.size(); ++i) { in BuildFlamegraph() 885 const PathFromRoot::Node& node = init_path.nodes[i]; in BuildFlamegraph()
|
/external/python/cpython3/Lib/test/ |
D | test_pydoc.py | 731 init_path = os.path.join(test_dir, 'foomod42.py') 732 cached_path = importlib.util.cache_from_source(init_path) 733 with open(init_path, 'w') as fobj: 735 py_compile.compile(init_path) 736 synopsis = pydoc.synopsis(init_path, {}) 752 init_path = os.path.join(test_dir, '__init__.py') 753 open(init_path, 'w').close() 755 os.remove(init_path) 949 init_path = os.path.join(pkgdir, '__init__.py') 950 with open(init_path, 'w') as fobj:
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 1196 init_path = os.path.join(pkg_path, '__init__.py') 1197 with open(init_path, 'w') as f: 1203 return init_path, bar_path 1206 init_path, bar_path = self._setup_broken_package("", "1/0") 1216 init_path, bar_path = self._setup_broken_package("", "1/0") 1226 init_path, bar_path = self._setup_broken_package("1/0", "") 1233 self.assert_traceback(tb, [__file__, init_path]) 1236 init_path, bar_path = self._setup_broken_package("1/0", "") 1243 self.assert_traceback(tb, [__file__, init_path])
|
/external/tensorflow/tensorflow/python/training/ |
D | checkpoint_management_test.py | 583 init_path = init_ckpt.save(init_prefix) 593 init_fn=lambda: checkpoint.restore(init_path).run_restore_ops())
|