Home
last modified time | relevance | path

Searched refs:tool_name (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/debuginfo-tests/dexter/dex/tools/
DMain.py103 tool_name = options.tool
104 if tool_name is None:
105 tool_name = 'no_tool_'
107 _is_valid_tool_name(tool_name)
108 return tool_name
111 def _is_valid_tool_name(tool_name): argument
116 if tool_name not in valid_tools:
118 tool_name,
122 def _import_tool_module(tool_name): argument
127 tool_name = tool_name.replace('-', '_')
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/
Dlit.common.cfg.py10 if config.tool_name == "asan":
13 elif config.tool_name == "tsan":
16 elif config.tool_name == "msan":
20 elif config.tool_name == "lsan":
23 elif config.tool_name == "ubsan":
27 lit_config.fatal("Unknown tool for sanitizer_common tests: %r" % config.tool_name)
29 config.available_features.add(config.tool_name)
31 if config.host_os == 'Linux' and config.tool_name == "lsan" and config.target_arch == 'i386':
38 if config.tool_name == "tsan":
66 config.substitutions.append( ("%tool_name", config.tool_name) )
Dlit.site.cfg.py.in5 config.tool_name = "@SANITIZER_COMMON_LIT_TEST_MODE@"
/external/libchrome/build/android/pylib/
Dvalgrind_tools.py93 def CreateTool(tool_name, device): argument
102 if not tool_name:
105 ctor = TOOL_REGISTRY.get(tool_name)
110 tool_name, ', '.join(sorted(TOOL_REGISTRY.keys())))
113 def PushFilesForTool(tool_name, device): argument
120 if not tool_name:
123 clazz = TOOL_REGISTRY.get(tool_name)
128 tool_name, ', '.join(sorted(TOOL_REGISTRY.keys())))
/external/compiler-rt/test/sanitizer_common/
Dlit.common.cfg9 if config.tool_name == "asan":
12 elif config.tool_name == "tsan":
15 elif config.tool_name == "msan":
18 elif config.tool_name == "lsan":
22 lit_config.fatal("Unknown tool for sanitizer_common tests: %r" % config.tool_name)
24 config.available_features.add(config.tool_name)
46 config.substitutions.append( ("%tool_name", config.tool_name) )
Dlit.site.cfg.in5 config.tool_name = "@SANITIZER_COMMON_LIT_TEST_MODE@"
/external/llvm-project/debuginfo-tests/dexter/dex/tools/help/
DTool.py42 for tool_name in sorted(self._visible_tool_names):
43 internal_name = tool_name.replace('-', '_')
49 s += '<g>{}</>\n{}\n\n'.format(tool_name, tool_doc)
57 tool_name = self.context.options.tool.replace('-', '_')
59 module_info = imp.find_module(tool_name, [tools_directory])
60 module = imp.load_module(tool_name, *module_info)
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_tools_data.cc221 const absl::string_view tool_name) { in ConvertMultiXSpacesToToolData() argument
222 if (tool_name == "trace_viewer") { in ConvertMultiXSpacesToToolData()
224 } else if (tool_name == "overview_page") { in ConvertMultiXSpacesToToolData()
226 } else if (tool_name == "input_pipeline_analyzer") { in ConvertMultiXSpacesToToolData()
228 } else if (tool_name == "tensorflow_stats") { in ConvertMultiXSpacesToToolData()
230 } else if (tool_name == "kernel_stats") { in ConvertMultiXSpacesToToolData()
232 } else if (tool_name == "memory_profile") { in ConvertMultiXSpacesToToolData()
234 } else if (tool_name == "pod_viewer") { in ConvertMultiXSpacesToToolData()
236 } else if (tool_name == "tf_data_bottleneck_analysis") { in ConvertMultiXSpacesToToolData()
239 LOG(WARNING) << "Can not find tool: " << tool_name << ". Please update to " in ConvertMultiXSpacesToToolData()
Dxplane_to_profile_response.cc56 void AddToolData(absl::string_view tool_name, const Proto& tool_output, in AddToolData() argument
59 tool_data->set_name(string(tool_name)); in AddToolData()
Dxplane_to_tools_data.h33 const absl::string_view tool_name);
/external/libaom/libaom/test/
Dtools_common.sh156 local tool_name="$1"
160 ${root_path}/${tool_name}${suffix} \
161 ${root_path}/../${tool_name}${suffix} \
162 ${root_path}/tools/${tool_name}${suffix} \
163 ${root_path}/../tools/${tool_name}${suffix}"
180 local tool_name="$1"
181 local tool="${LIBAOM_BIN_PATH}/${tool_name}${AOM_TEST_EXE_SUFFIX}"
/external/llvm-project/llvm/utils/lit/lit/llvm/
Dsubst.py113 tool_name = tool_match.group(4)
127 'Did not find ' + tool_name + ' in %s' % search_dirs)
129 config.config.llvm_tools_dir, tool_name)
134 'Did not find ' + tool_name + ' in %s' % search_dirs)
/external/angle/src/compiler/
Dgenerate_parser_tools.py19 def get_tool_path_platform(tool_name, platform): argument
22 return os.path.join(exe_path, tool_name)
25 def get_tool_path(tool_name): argument
34 return get_tool_path_platform(tool_name + ext, platform)
/external/perfetto/tools/
Dgen_amalgamated121 tool_name = os.path.basename(__file__) variable
138 """ % tool_name
347 '// %s begin header: %s' % (tool_name, normalize_path(full_path)))
367 '// %s begin source: %s' % (tool_name, normalize_path(full_path)))
385 '// %s begin header: %s' % (tool_name, normalize_path(full_path)))
405 '// %s begin header: %s' % (tool_name, normalize_path(full_path)))
432 result.append('// %s removed: %s' % (tool_name, line))
434 result.append('// %s expanded: %s' % (tool_name, line))
448 result.append('// %s removed: %s' % (tool_name, line))
450 result.append('// %s expanded: %s' % (tool_name, line))
[all …]
/external/libvpx/libvpx/test/
Dtools_common.sh153 local tool_name="$1"
154 local tool_path="${LIBVPX_BIN_PATH}/${tool_name}${VPX_TEST_EXE_SUFFIX}"
158 tool_path="${LIBVPX_BIN_PATH}/../${tool_name}${VPX_TEST_EXE_SUFFIX}"
170 local tool_name="$1"
171 local tool="${LIBVPX_BIN_PATH}/${tool_name}${VPX_TEST_EXE_SUFFIX}"
/external/libyuv/files/tools_libyuv/valgrind/
Dvalgrind_test.py282 tool_name = self.ToolName()
289 proc = [path, "--tool=%s" % tool_name]
314 logfilename = self.log_dir + ("/%s." % tool_name) + "%p"
506 def Create(self, tool_name): argument
507 if tool_name == "memcheck":
513 raise RuntimeError, "Unknown tool (tool=%s, platform=%s)" % (tool_name,
Dchrome_tests.py107 tool_name = tool.ToolName();
108 suppression_file = os.path.join(script_dir, tool_name, "suppressions.txt")
114 os.path.join(script_dir, tool_name, 'suppressions_%s.txt' % platform)
118 if tool_name == "drmemory":
148 "an uninstrumented executable." % tool_name)
/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dsave_profile.cc132 const std::string& tool_name, in SaveGzippedToolData() argument
141 ProfilerJoinPath(run_dir, absl::StrCat(host_prefix, tool_name)); in SaveGzippedToolData()
143 LOG(INFO) << "Dumped gzipped tool data for " << tool_name << " to " << path; in SaveGzippedToolData()
Dsave_profile.h49 const std::string& tool_name,
/external/llvm/test/
Dlit.cfg234 tool_name = tool_match.group(4)
237 tool_path = lit_config.params.get(tool_name)
239 tool_path = lit.util.which(tool_name, llvm_tools_dir)
241 return tool_name, tool_path, tool_pipe
242 if (tool_name == "llc" and
246 if (tool_name == "llvm-go"):
248 return tool_name, tool_path, tool_pipe
294 tool_name, tool_path, tool_pipe = find_tool_substitution(pattern)
297 lit_config.note('Did not find ' + tool_name + ' in ' + llvm_tools_dir)
298 tool_path = llvm_tools_dir + '/' + tool_name
[all …]
/external/tensorflow/tensorflow/core/util/
Dcommand_line_flags_test.cc274 const string tool_name = "some_tool_name"; in TEST() local
275 string usage = Flags::Usage(tool_name + "<flags>", in TEST()
291 usage = Flags::Usage(tool_name, {}); in TEST()
/external/tensorflow/tensorflow/python/profiler/internal/
Dprofiler_wrapper.cc138 std::string tool_name = std::string(py_tool_name); in PYBIND11_MODULE() local
141 tool_name); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/lite/tools/
Dcommand_line_flags_test.cc212 const std::string tool_name = "some_tool_name"; in TEST() local
214 tool_name, in TEST()
234 usage = Flags::Usage(tool_name, {}); in TEST()
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dbuilder.py665 def get_upload_line(self, tool_name, serial_port=False): argument
667 tool_namespace = "tools.{}".format(tool_name)
668 pattern = "tools.{}.upload.pattern".format(tool_name)
671 _LOG.error("Error: upload tool '%s' does not exist.", tool_name)
680 if tool_name == "teensyloader":
/external/tensorflow/tensorflow/core/profiler/
Dprofiler_analysis.proto50 string tool_name = 3; field

12