/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
factory.py | 96 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, options=options, **kwargs [all...] |
mac.py | 42 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-'):]
|
factory_unittest.py | 43 """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='win-xp', cls=win.WinPort [all...] |
browser_test.py | 36 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:
|
builders.py | 35 # * 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": "mac-lion", "specifiers": ['Lion', 'Release']} [all...] |
linux_unittest.py | 40 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)
|
mac_unittest.py | 39 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')
|
win.py | 51 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.index('win-') + len('win-'): [all...] |
win_unittest.py | 41 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')
|
linux.py | 44 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')
|
browser_test_unittest.py | 70 port_name = 'linux' variable in class:BrowserTestLinuxTest 77 port_name = 'win' variable in class:BrowserTestWinTest 88 port_name = 'mac' variable in class:BrowserTestMacTest
|
port_testcase.py | 53 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 = port_name or self.port_nam [all...] |
mock_drt.py | 61 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=port_name, options=options [all...] |
mock_drt_unittest.py | 51 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, '-']
|
base_unittest.py | 50 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/ |
queries.py | 115 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 in port_names [all...] |
rebaseline.py | 120 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_name) [all...] |
/external/lldb/source/Core/ |
ConnectionMachPort.cpp | 127 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/ |
ConnectionMachPort.h | 59 BootstrapCheckIn (const char *port_name, 63 BootstrapLookup (const char *port_name,
|
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
spooler_win.h | 85 const wchar_t* port_name); 89 const wchar_t* port_name);
|
port_monitor.h | 81 const wchar_t* port_name);
|
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 63 char port_name[VND_PORT_NAME_MAXLEN]; member in struct:__anon19222 178 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", \ 241 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); 243 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) 245 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); 371 strcpy(vnd_userial.port_name, p_conf_value);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
bot_test_expectations.py | 111 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/ |
baselineoptimizer.py | 59 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/ |
serial_io_handler_win.cc | 376 std::string SerialIoHandler::MaybeFixUpPortName(const std::string& port_name) { 379 if (port_name.length() > std::string("COM9").length()) 380 return std::string("\\\\.\\").append(port_name); 382 return port_name;
|