Home
last modified time | relevance | path

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

12345678910>>...134

/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.py68 import grit.tool.android2grd_unittest
69 import grit.tool.build_unittest
70 import grit.tool.buildinfo_unittest
71 import grit.tool.postprocess_unittest
72 import grit.tool.preprocess_unittest
73 import grit.tool.rc2grd_unittest
74 import grit.tool.transl2tc_unittest
75 import grit.tool.xmb_unittest
133 grit.tool.android2grd_unittest.Android2GrdUnittest,
134 grit.tool.build_unittest.BuildUnittest,
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
Drebaseline_unittest.py37 from webkitpy.tool.commands.rebaseline import *
38 from webkitpy.tool.mocktool import MockTool, MockOptions
48 self.tool = MockTool()
50 self.command.bind_to_tool(self.tool)
51 self.lion_port = self.tool.port_factory.get_from_builder_name("WebKit Mac10.7")
60 if self.tool.filesystem.isabs(path):
62 return self.tool.filesystem.join(self.lion_port.layout_tests_dir(), path)
65 return self.tool.filesystem.read_text_file(self._expand(path))
68 self.tool.filesystem.write_text_file(self._expand(path), contents)
71 for port_name in self.tool.port_factory.all_port_names():
[all …]
Dqueries_unittest.py36 from webkitpy.tool.commands.commandtest import CommandsTest
37 from webkitpy.tool.commands.queries import *
38 from webkitpy.tool.mocktool import MockTool, MockOptions
45 tool = MockTool()
46 tool.port_factory.all_port_names = lambda: TestPort.ALL_BASELINE_VARIANTS
48 command.bind_to_tool(tool)
53 command.execute(options, tests, tool)
110 self.tool = MockTool()
111 self.test_port = self.tool.port_factory.get('test-win-xp')
112 self.tool.port_factory.get = lambda port_name=None: self.test_port
[all …]
D__init__.py3 from webkitpy.tool.commands.commitannouncer import CommitAnnouncerCommand
4 from webkitpy.tool.commands.flakytests import FlakyTests
5 from webkitpy.tool.commands.gardenomatic import GardenOMatic
6 from webkitpy.tool.commands.prettydiff import PrettyDiff
7 from webkitpy.tool.commands.queries import *
8 from webkitpy.tool.commands.rebaseline import Rebaseline
9 from webkitpy.tool.commands.rebaselineserver import RebaselineServer
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)
Dadduserstogroups.py29 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
39 def execute(self, options, args, tool): argument
45 groups = tool.user.prompt_with_list(list_title, self.known_groups, can_choose_multiple=True)
50 … login_userid_pairs = tool.bugs.queries.fetch_login_userid_pairs_matching_substring(search_string)
60 if not tool.user.confirm(confirm_message):
65 tool.bugs.add_user_to_groups(user_id, groups)
Dabstractsequencedcommand.py32 from webkitpy.tool.commands.stepsequence import StepSequence
33 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
44 def _prepare_state(self, options, args, tool): argument
47 def execute(self, options, args, tool): argument
49 state = self._prepare_state(options, args, tool)
54 self._sequence.run_and_handle_errors(tool, options, state)
Dqueries.py38 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
53 def execute(self, options, args, tool): argument
54 crash_logs = CrashLogs(tool)
85 def execute(self, options, args, tool): argument
91 port_names = fnmatch.filter(tool.port_factory.all_port_names(), options.platform)
93 default_port = tool.port_factory.get(options.platform)
100 default_port = tool.port_factory.get(port_names[0])
102 default_port = tool.port_factory.get(options=options)
170 def execute(self, options, args, tool): argument
175 default_port = tool.port_factory.get()
[all …]
/external/chromium_org/build/toolchain/win/
DBUILD.gn20 # This will save the environment block and and copy the gyp-win-tool to the
21 # build directory. We pass in the source file of the win tool.
26 stamp_command = "$python_path gyp-win-tool stamp \$out"
27 copy_command = "$python_path gyp-win-tool recursive-mirror \$in \$out"
37 tool("cc") {
44 tool("cxx") {
51 tool("rc") {
52 …command = "$python_path gyp-win-tool rc-wrapper environment.x86 rc.exe \$defines \$includes \$rcfl…
55 tool("asm") {
56 …command = "$python_path gyp-win-tool asm-wrapper environment.x86 ml.exe \$defines \$includes /c /F…
[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 …]
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):
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 …]
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/chromium_org/build/toolchain/linux/
DBUILD.gn33 tool("cc") {
40 tool("cxx") {
47 tool("alink") {
51 tool("solink") {
57 tool("link") {
62 tool("stamp") {
66 tool("copy") {
85 tool("cc") {
92 tool("cxx") {
99 tool("alink") {
[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' && isRelease) {
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/build/toolchain/mac/
DBUILD.gn12 # This will copy the gyp-mac-tool to the build directory. We pass in the source
13 # file of the win tool.
23 tool("cc") {
29 tool("cxx") {
35 tool("objc") {
41 tool("objcxx") {
47 tool("alink") {
48 …command = "rm -f \$out && ./gyp-mac-tool filter-libtool libtool \$libtool_flags -static -o \$out \…
51 tool("solink") {
57 tool("link") {
[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}"
Ddirdiffer.sh120 local tool="${script_dir}/${tool_name}"
121 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
122 echo "${tool}"
129 tool="${BASH_REMATCH[1]}/src/out/Release/${tool_name}"
130 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
131 echo "${tool}"
135 tool="${BASH_REMATCH[1]}/src/out/Debug/${tool_name}"
136 if [[ -f "${tool}" ]] && [[ -x "${tool}" ]]; then
137 echo "${tool}"
/external/clang/tools/diag-build/
Ddiag-build.sh60 tool=$1
63 if [[ -z "$tool" ]]; then
66 elif [[ "$tool" == "xcodebuild" ]]; then
69 elif [[ "$tool" == "make" ]]; then
73 echo "Warning: unknown build system '$tool'" 1>&2
88 eval $tool $dry_run $set_compiler $@ 2>/dev/null |
100 if [[ "$tool" != "xcodebuild" ]]; then
/external/chromium_org/build/android/pylib/
Dforwarder.py65 def Map(port_pairs, adb, tool=None): argument
81 if not tool:
82 tool = valgrind_tools.CreateTool(None, adb)
84 instance = Forwarder._GetInstanceLocked(tool)
85 instance._InitDeviceLocked(adb, tool)
148 tool = valgrind_tools.CreateTool(None, adb)
149 Forwarder._KillDeviceLocked(adb, tool)
174 def _GetInstanceLocked(tool): argument
184 Forwarder._instance = Forwarder(tool)
187 def __init__(self, tool): argument
[all …]
/external/chromium_org/tools/gyp/pylib/gyp/
DMSVSSettings.py48 def _AddTool(tool): argument
56 _msvs_validators[tool.msvs_name] = {}
57 _msbuild_validators[tool.msbuild_name] = {}
58 _msvs_to_msbuild_converters[tool.msvs_name] = {}
59 _msbuild_name_of_tool[tool.msvs_name] = tool.msbuild_name
62 def _GetMSBuildToolSettings(msbuild_settings, tool): argument
64 return msbuild_settings.setdefault(tool.msbuild_name, {})
233 def _Same(tool, name, setting_type): argument
241 _Renamed(tool, name, name, setting_type)
244 def _Renamed(tool, msvs_name, msbuild_name, setting_type): argument
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DBuildDependencyGenerator.java28 package org.antlr.tool;
80 protected Tool tool; field in BuildDependencyGenerator
85 public BuildDependencyGenerator(Tool tool, String grammarFileName) in BuildDependencyGenerator() argument
87 this.tool = tool; in BuildDependencyGenerator()
89 grammar = tool.getRootGrammar(grammarFileName); in BuildDependencyGenerator()
91 generator = new CodeGenerator(tool, grammar, language); in BuildDependencyGenerator()
100 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList()
116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); in getGeneratedFileList()
146 outputDir = tool.getOutputDirectory(g.getFileName()); in getGeneratedFileList()
170 String libdir = tool.getLibraryDirectory(); in getDependenciesFileList()
[all …]

12345678910>>...134