Home
last modified time | relevance | path

Searched refs:tool (Results 1 – 25 of 1255) sorted by relevance

12345678910>>...51

/external/chromium_org/tools/grit/grit/
Dgrit_runner.py24 import grit.tool.build
25 return grit.tool.build.RcBuilder()
28 import grit.tool.buildinfo
29 return grit.tool.buildinfo.DetermineBuildInfo()
32 import grit.tool.count
33 return grit.tool.count.CountMessage()
36 import grit.tool.diff_structures
37 return grit.tool.diff_structures.DiffStructures()
40 import grit.tool.menu_from_parts
41 return grit.tool.menu_from_parts.MenuTranslationsFromParts()
[all …]
Dtest_suite_all.py71 import grit.tool.android2grd_unittest
72 import grit.tool.build_unittest
73 import grit.tool.buildinfo_unittest
74 import grit.tool.postprocess_unittest
75 import grit.tool.preprocess_unittest
76 import grit.tool.rc2grd_unittest
77 import grit.tool.transl2tc_unittest
78 import grit.tool.xmb_unittest
142 grit.tool.android2grd_unittest.Android2GrdUnittest,
143 grit.tool.build_unittest.BuildUnittest,
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-inject.c24 struct perf_tool tool; member
40 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
43 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__repipe_synth()
62 static int perf_event__repipe_op2_synth(struct perf_tool *tool, in perf_event__repipe_op2_synth() argument
67 return perf_event__repipe_synth(tool, event); in perf_event__repipe_op2_synth()
70 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr() argument
76 ret = perf_event__process_attr(tool, event, pevlist); in perf_event__repipe_attr()
80 return perf_event__repipe_synth(tool, event); in perf_event__repipe_attr()
83 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe() argument
88 return perf_event__repipe_synth(tool, event); in perf_event__repipe()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
Drebaseline_unittest.py39 from webkitpy.tool.commands.rebaseline import *
40 from webkitpy.tool.mocktool import MockTool, MockOptions
50 self.tool = MockTool()
52 self.command.bind_to_tool(self.tool)
53 self.lion_port = self.tool.port_factory.get_from_builder_name("WebKit Mac10.7")
55 …self.tool.filesystem.write_text_file(self.tool.filesystem.join(self.lion_port.layout_tests_dir(), …
64 if self.tool.filesystem.isabs(path):
66 return self.tool.filesystem.join(self.lion_port.layout_tests_dir(), path)
69 return self.tool.filesystem.read_text_file(self._expand(path))
72 self.tool.filesystem.write_text_file(self._expand(path), contents)
[all …]
Dflakytests_unittest.py8 from webkitpy.tool.commands.commandtest import CommandsTest
9 from webkitpy.tool.mocktool import MockTool, MockOptions
36 tool = MockTool()
42 … self.assert_execute_outputs(command, options=options, tool=tool, expected_stdout=expected_stdout)
44 port = tool.port_factory.get()
45 …self.assertEqual(tool.filesystem.read_text_file(tool.filesystem.join(port.layout_tests_dir(), 'Fla…
49 tool = MockTool()
50 tool.scm = ChangedExpectationsMockSCM
56 … self.assert_execute_outputs(command, options=options, tool=tool, expected_stdout=expected_stdout)
57 self.assertEqual(tool.executive.calls,
[all …]
Dqueries_unittest.py34 from webkitpy.tool.commands.queries import *
35 from webkitpy.tool.mocktool import MockTool, MockOptions
42 tool = MockTool()
43 tool.port_factory.all_port_names = lambda: TestPort.ALL_BASELINE_VARIANTS
45 command.bind_to_tool(tool)
50 command.execute(options, tests, tool)
107 self.tool = MockTool()
108 self.test_port = self.tool.port_factory.get('test-win-xp')
109 self.tool.port_factory.get = lambda port_name=None: self.test_port
110 self.tool.port_factory.all_port_names = lambda: TestPort.ALL_BASELINE_VARIANTS
[all …]
D__init__.py3 from webkitpy.tool.commands.commitannouncer import CommitAnnouncerCommand
4 from webkitpy.tool.commands.flakytests import FlakyTests
5 from webkitpy.tool.commands.prettydiff import PrettyDiff
6 from webkitpy.tool.commands.queries import *
7 from webkitpy.tool.commands.rebaseline import Rebaseline
8 from webkitpy.tool.commands.rebaselineserver import RebaselineServer
9 from webkitpy.tool.commands.layouttestsserver import LayoutTestsServer
Dstepsequence.py32 from webkitpy.tool import steps
41 def handle_script_error(cls, tool, patch, script_error): argument
45 def handle_checkout_needs_update(cls, tool, state, options, error): argument
64 def _run(self, tool, options, state): argument
66 step(tool, options).run(state)
76 def run_and_handle_errors(self, tool, options, state=None): argument
80 self._run(tool, options, state)
85 command = tool.command_by_name(options.parent_command)
86 command.handle_script_error(tool, state, e)
Dflakytests.py31 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
82 def _commit_and_upload(self, tool, options): argument
83 files = tool.scm().changed_files()
100 tool.filesystem.join(tool.scm().checkout_root, flaky_tests_path)]
101 tool.executive.run_and_throw_if_fail(git_cmd)
105 tool.executive.run_and_throw_if_fail(git_cmd)
107 def execute(self, options, args, tool): argument
120 port = tool.port_factory.get()
122 fs = tool.filesystem
134 return self._commit_and_upload(tool, options)
/external/chromium_org/tools/gn/
Dfunction_toolchain.cc29 Tool* tool, in ReadBool() argument
38 (tool->*set)(v->boolean_value()); in ReadBool()
46 Tool* tool, in ReadString() argument
55 (tool->*set)(v->string_value()); in ReadString()
80 Tool* tool, in ReadPattern() argument
95 (tool->*set)(pattern); in ReadPattern()
99 bool ReadOutputExtension(Scope* scope, Tool* tool, Err* err) { in ReadOutputExtension() argument
114 tool->set_default_output_extension(value->string_value()); in ReadOutputExtension()
118 bool ReadDepsFormat(Scope* scope, Tool* tool, Err* err) { in ReadDepsFormat() argument
126 tool->set_depsformat(Tool::DEPS_GCC); in ReadDepsFormat()
[all …]
Dninja_toolchain_writer.cc73 const Tool* tool = toolchain_->GetTool(tool_type); in WriteRules() local
74 if (tool) in WriteRules()
75 WriteToolRule(tool_type, tool, rule_prefix); in WriteRules()
81 const Tool* tool, in WriteToolRule() argument
90 CHECK(!tool->command().empty()) << "Command should not be empty"; in WriteToolRule()
91 WriteRulePattern("command", tool->command(), options); in WriteToolRule()
93 WriteRulePattern("description", tool->description(), options); in WriteToolRule()
94 WriteRulePattern("rspfile", tool->rspfile(), options); in WriteToolRule()
95 WriteRulePattern("rspfile_content", tool->rspfile_content(), options); in WriteToolRule()
97 if (tool->depsformat() == Tool::DEPS_GCC) { in WriteToolRule()
[all …]
Dtarget.cc166 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); in GetComputedOutputName() local
167 const std::string& prefix = tool->output_prefix(); in GetComputedOutputName()
182 const Tool* tool = toolchain->GetToolForTargetFinalOutput(this); in SetToolchain() local
183 if (tool) in SetToolchain()
277 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); in FillOutputFiles() local
295 CHECK_GE(tool->outputs().list().size(), 1u); in FillOutputFiles()
298 this, tool, tool->outputs().list()[0]); in FillOutputFiles()
303 CHECK(tool->outputs().list().size() >= 1); in FillOutputFiles()
306 this, tool, tool->outputs().list()[0]); in FillOutputFiles()
309 CHECK(tool->outputs().list().size() >= 1); in FillOutputFiles()
[all …]
/external/chromium_org/build/
Dcompiler_version.py32 tool = args[1]
35 if tool not in ('assembler', 'compiler', 'linker'):
36 raise Exception('Invalid tool: %s' % tool)
37 return mode, tool
48 def GetVersion(compiler, tool): argument
50 cache_key = (compiler, tool)
56 if tool == "compiler":
60 elif tool == "assembler":
66 elif tool == "linker":
78 raise Exception("Unknown tool %s" % tool)
[all …]
/external/chromium_org/tools/grit/grit/tool/
Drc2grd_unittest.py19 from grit.tool import rc2grd
24 tool = rc2grd.Rc2Grd()
26 msg = tool.Placeholderize(original)
31 tool = rc2grd.Rc2Grd()
33 msg = tool.Placeholderize(original)
64 tool = rc2grd.Rc2Grd()
72 tool.not_localizable_re = re.compile('')
73 tool.o = DummyNode()
76 tool.AddMessages(rc_text, tool.o)
77 self.failUnless(tool.o.node.GetCdata().find('Set As Homepage') != -1)
[all …]
Dandroid2grd_unittest.py22 from grit.tool import android2grd
31 tool = android2grd.Android2Grd()
32 msg = tool.CreateTclibMessage(self.__Parse(r'''
35 msg = tool.CreateTclibMessage(self.__Parse(r'''
40 msg = tool.CreateTclibMessage(self.__Parse(r'''
43 msg = tool.CreateTclibMessage(self.__Parse(r'''
46 msg = tool.CreateTclibMessage(self.__Parse(r'''
52 msg = tool.CreateTclibMessage(self.__Parse(
56 msg = tool.CreateTclibMessage(self.__Parse(
66 msg = tool.CreateTclibMessage(self.__Parse(r'''
[all …]
Dpreprocess_unittest.py18 import grit.tool.preprocess_interface
19 from grit.tool import rc2grd
25 tool = rc2grd.Rc2Grd()
29 tool.o = DummyOpts()
30 tool.pre_process = 'grit.tool.preprocess_unittest.DummyPreProcessor'
31 result = tool.Process('', '.\resource.rc')
36 class DummyPreProcessor(grit.tool.preprocess_interface.PreProcessor):
Dpostprocess_unittest.py19 import grit.tool.postprocess_interface
20 from grit.tool import rc2grd
33 tool = rc2grd.Rc2Grd()
37 tool.o = DummyOpts()
38 tool.post_process = 'grit.tool.postprocess_unittest.DummyPostProcessor'
39 result = tool.Process(rctext, '.\resource.rc')
46 class DummyPostProcessor(grit.tool.postprocess_interface.PostProcessor):
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/
Dmulticommandtool_unittest.py35 from webkitpy.tool.multicommandtool import MultiCommandTool, Command, TryAgain
44 def execute(self, options, args, tool): argument
61 def execute(self, options, args, tool): argument
120 tool = TrivialTool()
121 self.assertEqual(tool.command_by_name("trivial").name, "trivial")
122 self.assertEqual(tool.command_by_name("bar"), None)
124 …def _assert_tool_main_outputs(self, tool, main_args, expected_stdout, expected_stderr = "", expect… argument
125 …exit_code = OutputCapture().assert_outputs(self, tool.main, [main_args], expected_stdout=expected_…
130 tool = TrivialTool(commands=[likes_to_retry])
131 tool.main(["tool", "likes-to-retry"])
[all …]
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java235 protected Tool tool; field in Antlr3Mojo
305 tool = new Tool(); in execute()
315 tool.setDebug(debug); in execute()
316 tool.setGenerate_DFA_dot(dfa); in execute()
317 tool.setGenerate_NFA_dot(nfa); in execute()
318 tool.setProfile(profile); in execute()
319 tool.setReport(report); in execute()
320 tool.setPrintGrammar(printGrammar); in execute()
321 tool.setTrace(trace); in execute()
322 tool.setVerbose(verbose); in execute()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsession.c111 struct perf_tool *tool) in perf_session__new() argument
150 if (tool && tool->ordering_requires_timestamps && in perf_session__new()
151 tool->ordered_samples && !perf_evlist__sample_id_all(self->evlist)) { in perf_session__new()
153 tool->ordered_samples = false; in perf_session__new()
201 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub()
212 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
221 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
231 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
240 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
249 static int process_finished_round(struct perf_tool *tool,
[all …]
/external/chromium_org/native_client_sdk/src/resources/
Dcommon.js21 function isHostToolchain(tool) { argument
22 return tool == 'win' || tool == 'linux' || tool == 'mac';
32 function mimeTypeForTool(tool) { argument
35 if (isHostToolchain(tool)) {
42 } else if (tool == 'pnacl') {
55 function browserSupportsNaCl(tool) { argument
59 if (isHostToolchain(tool)) {
62 var mimetype = mimeTypeForTool(tool);
123 function createNaClModule(name, tool, path, width, height, attrs) { argument
139 var mimetype = mimeTypeForTool(tool);
[all …]
/external/chromium_org/chrome/installer/mac/
Ddirpatcher.sh63 local tool="${script_dir}/${tool_name}"
64 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
65 echo "${tool}"
72 tool="${BASH_REMATCH[1]}/src/out/Release/${tool_name}"
73 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
74 echo "${tool}"
78 tool="${BASH_REMATCH[1]}/src/out/Debug/${tool_name}"
79 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
80 echo "${tool}"
/external/clang/tools/diag-build/
Ddiag-build.sh69 tool=$1
72 if [[ -z "$tool" ]]; then
75 elif [[ "$tool" == "xcodebuild" ]]; then
78 elif [[ "$tool" == "make" ]]; then
82 echo "Warning: unknown build system '$tool'" 1>&2
97 eval $tool $dry_run $set_compiler $@ 2>/dev/null |
109 if [[ "$tool" != "xcodebuild" ]]; then
/external/chromium_org/build/toolchain/win/
DBUILD.gn13 # Its arguments are the VS path and the compiler wrapper tool. It will write
40 tool("cc") {
52 tool("cxx") {
65 tool("rc") {
66 …command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {{include_dirs}} /fo{{outp…
73 tool("asm") {
74 …command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} /c /Fo {…
81 tool("alink") {
83 …command = "$python_path gyp-win-tool link-wrapper $env False lib.exe /nologo /ignore:4221 /OUT:{{o…
96 tool("solink") {
[all …]
/external/chromium_org/build/android/pylib/
Dforwarder.py66 def Map(port_pairs, device, tool=None): argument
85 if not tool:
86 tool = valgrind_tools.CreateTool(None, device)
88 instance = Forwarder._GetInstanceLocked(tool)
89 instance._InitDeviceLocked(device, tool)
107 Forwarder._KillDeviceLocked(device, tool)
159 tool = valgrind_tools.CreateTool(None, device)
160 Forwarder._KillDeviceLocked(device, tool)
183 def _GetInstanceLocked(tool): argument
193 Forwarder._instance = Forwarder(tool)
[all …]

12345678910>>...51