Home
last modified time | relevance | path

Searched refs:main_path (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/multiprocessing/
Dspawn.py176 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 …]
Dforkserver.py146 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument
149 if '__main__' in preload and main_path is not None:
152 spawn.import_main_path(main_path)
/external/python/cpython2/Lib/multiprocessing/
Dforking.py410 main_path = getattr(sys.modules['__main__'], '__file__', None)
411 if not main_path and sys.argv[0] not in ('', '-c'):
412 main_path = sys.argv[0]
413 if main_path is not None:
414 if not os.path.isabs(main_path) and \
416 main_path = os.path.join(process.ORIGINAL_DIR, main_path)
417 d['main_path'] = os.path.normpath(main_path)
480 main_path = data['main_path']
481 main_name = os.path.splitext(os.path.basename(main_path))[0]
483 main_name = os.path.basename(os.path.dirname(main_path))
[all …]
/external/bcc/src/cc/frontends/clang/
Dloader.cc112 string main_path = "/virtual/main.c"; in parse() local
141 abs_file = main_path; in parse()
203 if (do_compile(mod, ts, in_memory, flags_cstr, flags_cstr_rem, main_path, in parse()
214 if (do_compile(mod, ts, in_memory, flags_cstr, flags_cstr_rem, main_path, in parse()
258 const std::string &main_path, in do_compile() argument
333 invocation0.getPreprocessorOpts().addRemappedFile(main_path, &*main_buf); in do_compile()
336 main_path, FrontendOptions::getInputKindForExtension("c"))); in do_compile()
365 invocation1.getPreprocessorOpts().addRemappedFile(main_path, &*out_buf); in do_compile()
368 main_path, FrontendOptions::getInputKindForExtension("c"))); in do_compile()
376 BFrontendAction bact(os1, flags_, ts, id, main_path, func_src, mod_src, maps_ns); in do_compile()
[all …]
Dloader.h63 const std::string &main_path,
Db_frontend_action.h154 const std::string &id, const std::string &main_path,
Db_frontend_action.cc1344 const std::string &main_path, in BFrontendAction() argument
1353 main_path_(main_path), in BFrontendAction()
/external/replicaisland/tools/
DExtractPoints.js57 var main_path = pathList[pathIndex]; variable
58 if (main_path) {
59 var itemList = main_path.subPathItems;