Searched refs:init_path (Results 1 – 9 of 9) 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/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker.cc | 628 PathFromRoot init_path; in BuildFlamegraph() local 630 FindPathFromRoot(*context_->storage, root, &init_path); in BuildFlamegraph() 635 std::vector<int32_t> node_to_cumulative_size(init_path.nodes.size()); in BuildFlamegraph() 636 std::vector<int32_t> node_to_cumulative_count(init_path.nodes.size()); in BuildFlamegraph() 638 for (size_t i = init_path.nodes.size() - 1; i > 0; --i) { in BuildFlamegraph() 639 const PathFromRoot::Node& node = init_path.nodes[i]; in BuildFlamegraph() 647 std::vector<FlamegraphId> node_to_id(init_path.nodes.size()); in BuildFlamegraph() 649 for (size_t i = 1; i < init_path.nodes.size(); ++i) { in BuildFlamegraph() 650 const PathFromRoot::Node& node = init_path.nodes[i]; in BuildFlamegraph()
|
/external/python/cpython3/Lib/test/ |
D | test_pydoc.py | 730 init_path = os.path.join(test_dir, 'foomod42.py') 731 cached_path = importlib.util.cache_from_source(init_path) 732 with open(init_path, 'w') as fobj: 734 py_compile.compile(init_path) 735 synopsis = pydoc.synopsis(init_path, {}) 751 init_path = os.path.join(test_dir, '__init__.py') 752 open(init_path, 'w').close() 754 os.remove(init_path) 948 init_path = os.path.join(pkgdir, '__init__.py') 949 with open(init_path, 'w') as fobj:
|
/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 | 1189 init_path = os.path.join(pkg_path, '__init__.py') 1190 with open(init_path, 'w') as f: 1196 return init_path, bar_path 1199 init_path, bar_path = self._setup_broken_package("", "1/0") 1209 init_path, bar_path = self._setup_broken_package("", "1/0") 1219 init_path, bar_path = self._setup_broken_package("1/0", "") 1226 self.assert_traceback(tb, [__file__, init_path]) 1229 init_path, bar_path = self._setup_broken_package("1/0", "") 1236 self.assert_traceback(tb, [__file__, init_path])
|