Searched refs:port_name (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dfactory.py96 def get(self, port_name=None, options=None, **kwargs):
98 port_name is None, this routine attempts to guess at the most
100 port_name = port_name or self._default_port(options)
104 if port_name == 'chromium':
105 port_name = self._host.platform.os_name
107 if 'browser_test' in port_name:
108 module_name, class_name = port_name.rsplit('.', 1)
113 port_name = cls.determine_full_port_name(self._host, options, class_name)
114 return cls(self._host, port_name, option
[all...]
H A Dmac.py42 port_name = 'mac' variable in class:MacPort
65 def determine_full_port_name(cls, host, options, port_name):
66 if port_name.endswith('mac'):
73 return port_name + '-' + version
74 return port_name
76 def __init__(self, host, port_name, **kwargs):
77 super(MacPort, self).__init__(host, port_name, **kwargs)
78 self._version = port_name[port_name.index('mac-') + len('mac-'):]
H A Dfactory_unittest.py43 """Test that the factory creates the proper port object for given combination of port_name, host.platform, and options."""
50 def assert_port(self, port_name=None, os_name=None, os_version=None, options=None, cls=None):
52 port = factory.PortFactory(host).get(port_name, options=options)
56 self.assert_port(port_name='mac', os_name='mac', os_version='snowleopard',
58 self.assert_port(port_name='chromium', os_name='mac', os_version='lion',
62 self.assert_port(port_name='linux', cls=linux.LinuxPort)
63 self.assert_port(port_name='chromium', os_name='linux', os_version='lucid',
67 self.assert_port(port_name='android', cls=android.AndroidPort)
68 # NOTE: We can't check for port_name=chromium here, as this will append the host's
72 self.assert_port(port_name
[all...]
H A Dlinux_unittest.py40 port_name = 'linux' variable in class:LinuxPortTest
44 def assert_architecture(self, port_name=None, file_output=None, expected_architecture=None):
50 port = self.make_port(host, port_name=port_name)
61 self.assert_architecture(port_name='linux-x86',
63 self.assert_architecture(port_name='linux-x86_64',
73 self.assertRaises(AssertionError, linux.LinuxPort, MockSystemHost(), port_name='x86-linux')
89 self.assertRaises(AssertionError, linux.LinuxPort, host, '%s-foo' % self.port_name)
H A Dmac_unittest.py39 port_name = 'mac' variable in class:MacPortTest
43 def assert_name(self, port_name, os_version_string, expected):
44 port = self.make_port(os_version=os_version_string, port_name=port_name)
64 port = self.make_port(port_name='mac-snowleopard')
67 port = self.make_port(port_name='mac-lion')
70 port = self.make_port(port_name='mac-mountainlion')
73 port = self.make_port(port_name='mac-mavericks')
H A Dbrowser_test.py36 def get_port_class_name(port_name):
37 if 'linux' in port_name:
39 elif 'mac' in port_name:
41 elif 'win' in port_name:
H A Dlinux.py44 port_name = 'linux' variable in class:LinuxPort
92 def determine_full_port_name(cls, host, options, port_name):
93 if port_name.endswith('linux'):
94 return port_name + '-' + cls._determine_architecture(host.filesystem, host.executive, cls._determine_driver_path_statically(host, options))
95 return port_name
97 def __init__(self, host, port_name, **kwargs):
98 super(LinuxPort, self).__init__(host, port_name, **kwargs)
99 (base, arch) = port_name.rsplit('-', 1)
102 assert port_name in ('linux', 'linux-x86', 'linux-x86_64')
H A Dbuilders.py35 # * port_name -- a fully qualified port name
44 "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP', 'Release']},
45 "WebKit Win7": {"port_name": "win-win7", "specifiers": ['Win7', 'Release']},
46 "WebKit Win7 (dbg)": {"port_name": "win-win7", "specifiers": ['Win7', 'Debug']},
47 "WebKit Linux": {"port_name": "linux-x86_64", "specifiers": ['Linux', 'Release']},
48 "WebKit Linux 32": {"port_name": "linux-x86", "specifiers": ['Linux', 'Release']},
49 "WebKit Linux (dbg)": {"port_name": "linux-x86_64", "specifiers": ['Linux', 'Debug']},
50 "WebKit Mac10.6": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopard', 'Release']},
51 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard", "specifiers": ['SnowLeopard', 'Debug']},
52 "WebKit Mac10.7": {"port_name"
[all...]
H A Dwin.py51 port_name = 'win' variable in class:WinPort
64 def determine_full_port_name(cls, host, options, port_name):
65 if port_name.endswith('win'):
72 port_name = port_name + '-' + version
73 return port_name
75 def __init__(self, host, port_name, **kwargs):
76 super(WinPort, self).__init__(host, port_name, **kwargs)
77 self._version = port_name[port_name
[all...]
H A Dwin_unittest.py41 port_name = 'win' variable in class:WinPortTest
69 def assert_name(self, port_name, os_version_string, expected):
70 port = self.make_port(port_name=port_name, os_version=os_version_string)
92 port = self.make_port(port_name='win-xp')
95 port = self.make_port(port_name='win-win7')
H A Dbrowser_test_unittest.py70 port_name = 'linux' variable in class:BrowserTestLinuxTest
77 port_name = 'win' variable in class:BrowserTestWinTest
88 port_name = 'mac' variable in class:BrowserTestMacTest
H A Dmock_drt.py61 port_name = 'mock' variable in class:MockDRTPort
64 def determine_full_port_name(cls, host, options, port_name):
65 return port_name
67 def __init__(self, host, port_name, **kwargs):
68 self.__delegate = PortFactory(host).get(port_name.replace('mock-', ''), **kwargs)
95 def _overriding_cmd_line(original_cmd_line, driver_path, python_exe, this_file, port_name):
99 cmd_line[index:index + 1] = [python_exe, this_file, '--platform', port_name]
178 port_name = None
180 port_name = options.platform
181 self._port = PortFactory(host).get(port_name
[all...]
H A Dport_testcase.py53 port_name = "testwebkitport" variable in class:TestWebKitPort
55 def __init__(self, port_name=None, symbols_string=None,
58 port_name = port_name or TestWebKitPort.port_name
61 super(TestWebKitPort, self).__init__(host, port_name=port_name, **kwargs)
91 port_name = None variable in class:PortTestCase
94 def make_port(self, host=None, port_name=None, options=None, os_name=None, os_version=None, **kwargs):
97 port_name
[all...]
H A Dmock_drt_unittest.py51 return mock_drt.MockDRTPort(host, port_name='mock-mac', options=options)
57 self.assertTrue(mock_drt.MockDRTPort(MockSystemHost(), port_name='mock-test'))
125 port_name = 'test'
128 port = PortFactory(host).get(port_name)
132 args = ['--dump-render-tree', '--platform', port_name, '-']
H A Dbase_unittest.py50 def make_port(self, executive=None, with_tests=False, port_name=None, **kwargs):
57 return Port(host, port_name or 'baseport', **kwargs)
196 port = self.make_port(port_name='foo')
223 port = self.make_port(port_name='foo')
229 port = self.make_port(port_name='foo')
230 port.port_name = 'foo'
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
H A Dqueries.py115 for port_name in port_names:
116 model = self._model(options, port_name, tests)
119 if port_name != port_names[0]:
121 print '\n'.join(self._format_lines(options, port_name, lines))
135 def _format_lines(self, options, port_name, lines):
139 output.append("%s,%s" % (port_name, line.to_csv()))
143 output.append("// For %s" % port_name)
148 def _model(self, options, port_name, tests):
149 port = self._tool.port_factory.get(port_name, options)
189 for port_name i
[all...]
H A Drebaseline.py120 for port_name in port_names:
121 port = self._tool.port_factory.get(port_name)
135 for port in [self._tool.port_factory.get(port_name) for port_name in self._tool.port_factory.all_port_names()]:
458 for port_name in self._tool.port_factory.all_port_names():
459 port = self._tool.port_factory.get(port_name)
572 def _add_tests_to_rebaseline_for_port(self, port_name):
573 builder_name = builders.builder_name_for_port_name(port_name)
576 tests = self._tests_to_rebaseline(self._tool.port_factory.get(port_name)).items()
579 _log.info("Retrieving results for %s from %s." % (port_name, builder_nam
[all...]
/external/lldb/source/Core/
H A DConnectionMachPort.cpp127 name_t port_name; local
128 int len = snprintf(port_name, sizeof(port_name), "%s", port);
129 if (len < sizeof(port_name))
132 port_name,
158 name_t port_name; local
162 if (::snprintf (port_name, sizeof (port_name), "%s", port) >= sizeof (port_name))
183 port_name,
[all...]
/external/lldb/include/lldb/Core/
H A DConnectionMachPort.h59 BootstrapCheckIn (const char *port_name,
63 BootstrapLookup (const char *port_name,
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dspooler_win.h85 const wchar_t* port_name);
89 const wchar_t* port_name);
H A Dport_monitor.h81 const wchar_t* port_name);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dbot_test_expectations.py111 def _results_json_for_port(self, port_name, builder_category):
113 builder = builders.deps_builder_name_for_port_name(port_name)
115 builder = builders.builder_name_for_port_name(port_name)
130 def expectations_for_port(self, port_name, builder_category='layout'):
136 results_json = self._results_json_for_port(port_name, builder_category)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/
H A Dbaselineoptimizer.py59 for port_name in port_names:
60 self._ports[port_name] = host.port_factory.get(port_name)
117 for port_name, port in self._ports.items():
120 results_by_port_name[port_name] = results_by_directory[directory]
180 for port_name, port in self._ports.items():
181 current_result = results_by_port_name.get(port_name)
/external/chromium_org/device/serial/
H A Dserial_io_handler_win.cc376 std::string SerialIoHandler::MaybeFixUpPortName(const std::string& port_name) { argument
379 if (port_name.length() > std::string("COM9").length())
380 return std::string("\\\\.\\").append(port_name);
382 return port_name;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dtest_result_writer_unittest.py44 port = TestPort(host=host, port_name='test-mac-snowleopard', options=optparse.Values())

Completed in 294 milliseconds

12