Searched refs:main_path (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 176 main_path = getattr(main_module, '__file__', None) 177 if main_path is not None: 178 if (not os.path.isabs(main_path) and 180 main_path = os.path.join(process.ORIGINAL_DIR, main_path) 181 d['init_main_from_path'] = os.path.normpath(main_path) 254 def _fixup_main_from_path(main_path): argument 262 main_name = os.path.splitext(os.path.basename(main_path))[0] 268 if getattr(current_main, '__file__', None) == main_path: 276 main_content = runpy.run_path(main_path, 282 def import_main_path(main_path): argument [all …]
|
D | forkserver.py | 135 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument 138 if '__main__' in preload and main_path is not None: 141 spawn.import_main_path(main_path)
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 409 main_path = getattr(sys.modules['__main__'], '__file__', None) 410 if not main_path and sys.argv[0] not in ('', '-c'): 411 main_path = sys.argv[0] 412 if main_path is not None: 413 if not os.path.isabs(main_path) and \ 415 main_path = os.path.join(process.ORIGINAL_DIR, main_path) 416 d['main_path'] = os.path.normpath(main_path) 479 main_path = data['main_path'] 480 main_name = os.path.splitext(os.path.basename(main_path))[0] 482 main_name = os.path.basename(os.path.dirname(main_path)) [all …]
|
/external/replicaisland/tools/ |
D | ExtractPoints.js | 57 var main_path = pathList[pathIndex]; variable 58 if (main_path) { 59 var itemList = main_path.subPathItems;
|