Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/multiprocessing/
Dspawn.py187 main_path = getattr(main_module, '__file__', None)
188 if main_path is not None:
189 if (not os.path.isabs(main_path) and
191 main_path = os.path.join(process.ORIGINAL_DIR, main_path)
192 d['init_main_from_path'] = os.path.normpath(main_path)
265 def _fixup_main_from_path(main_path): argument
273 main_name = os.path.splitext(os.path.basename(main_path))[0]
279 if getattr(current_main, '__file__', None) == main_path:
287 main_content = runpy.run_path(main_path,
293 def import_main_path(main_path): argument
[all …]
Dforkserver.py167 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument
170 if '__main__' in preload and main_path is not None:
173 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/llvm-project/lldb/test/API/tools/lldb-vscode/breakpoint/
DTestVSCode_setBreakpoints.py24 self.main_path = self.getBuildArtifact(self.main_basename)
35 source_folder = os.path.dirname(self.main_path)
46 shutil.move(self.main_path, new_main_path)
119 response = self.vscode.request_setBreakpoints(self.main_path, lines)
144 response = self.vscode.request_setBreakpoints(self.main_path, lines)
182 response = self.vscode.request_setBreakpoints(self.main_path, lines)
198 response = self.vscode.request_setBreakpoints(self.main_path, lines)
241 response = self.vscode.request_setBreakpoints(self.main_path, lines)
258 response = self.vscode.request_setBreakpoints(self.main_path, lines)
279 breakpoint_ids = self.set_source_breakpoints(self.main_path, [loop_line])
[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.h156 const std::string &id, const std::string &main_path,
Db_frontend_action.cc1352 const std::string &main_path, in BFrontendAction() argument
1361 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;
/external/tensorflow/tensorflow/python/autograph/operators/
Dcontrol_flow.py662 def main_path(): function
679 control_flow_ops.cond(has_next, main_path, noop_path))
748 def main_path(): function
759 extra_cond, main_path, lambda: loop_vars)
763 new_loop_vars = main_path()