/external/chromium_org/chrome/browser/extensions/api/serial/ |
serial_port_enumerator.cc | 11 const std::string& port_name) { 12 return name_set.count(port_name) == 1;
|
serial_port_enumerator.h | 28 const std::string& port_name);
|
serial_connection_win.cc | 237 const std::string &port_name) { 240 if (port_name.length() > std::string("COM9").length()) 241 return std::string("\\\\.\\").append(port_name); 243 return port_name;
|
/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 111 if port_name.startswith(cls.port_name): 112 port_name = cls.determine_full_port_name(self._host, options, port_name) [all...] |
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...] |
mac.py | 42 port_name = 'mac' variable in class:MacPort 63 def determine_full_port_name(cls, host, options, port_name): 64 if port_name.endswith('mac'): 71 return port_name + '-' + version 72 return port_name 74 def __init__(self, host, port_name, **kwargs): 75 super(MacPort, self).__init__(host, port_name, **kwargs) 76 self._version = port_name[port_name.index('mac-') + len('mac-'):]
|
builders.py | 35 # * port_name -- a fully qualified port name 42 "WebKit XP": {"port_name": "win-xp"}, 43 "WebKit Win7": {"port_name": "win-win7"}, 44 "WebKit Win7 (dbg)": {"port_name": "win-win7"}, 45 "WebKit Linux": {"port_name": "linux-x86_64"}, 46 "WebKit Linux 32": {"port_name": "linux-x86"}, 47 "WebKit Linux (dbg)": {"port_name": "linux-x86_64"}, 48 "WebKit Mac10.6": {"port_name": "mac-snowleopard"}, 49 "WebKit Mac10.6 (dbg)": {"port_name": "mac-snowleopard"}, 50 "WebKit Mac10.7": {"port_name": "mac-lion"} [all...] |
linux_unittest.py | 40 port_name = 'linux' variable in class:LinuxPortTest 43 def assert_architecture(self, port_name=None, file_output=None, expected_architecture=None): 49 port = self.make_port(host, port_name=port_name) 60 self.assert_architecture(port_name='linux-x86', 62 self.assert_architecture(port_name='linux-x86_64', 72 self.assertRaises(AssertionError, linux.LinuxPort, MockSystemHost(), port_name='x86-linux') 88 self.assertRaises(AssertionError, linux.LinuxPort, host, '%s-foo' % self.port_name)
|
mac_unittest.py | 39 port_name = 'mac' variable in class:MacPortTest 42 def assert_name(self, port_name, os_version_string, expected): 43 port = self.make_port(os_version=os_version_string, port_name=port_name) 63 port = self.make_port(port_name='mac-snowleopard') 66 port = self.make_port(port_name='mac-lion') 69 port = self.make_port(port_name='mac-mountainlion') 72 port = self.make_port(port_name='mac-mavericks')
|
win.py | 44 port_name = 'win' variable in class:WinPort 55 def determine_full_port_name(cls, host, options, port_name): 56 if port_name.endswith('win'): 63 port_name = port_name + '-' + version 64 return port_name 66 def __init__(self, host, port_name, **kwargs): 67 super(WinPort, self).__init__(host, port_name, **kwargs) 68 self._version = port_name[port_name.index('win-') + len('win-'): [all...] |
win_unittest.py | 41 port_name = 'win' variable in class:WinPortTest 71 def assert_name(self, port_name, os_version_string, expected): 72 port = self.make_port(port_name=port_name, os_version=os_version_string) 94 port = self.make_port(port_name='win-xp') 97 port = self.make_port(port_name='win-win7')
|
linux.py | 44 port_name = 'linux' variable in class:LinuxPort 90 def determine_full_port_name(cls, host, options, port_name): 91 if port_name.endswith('linux'): 92 return port_name + '-' + cls._determine_architecture(host.filesystem, host.executive, cls._determine_driver_path_statically(host, options)) 93 return port_name 95 def __init__(self, host, port_name, **kwargs): 96 super(LinuxPort, self).__init__(host, port_name, **kwargs) 97 (base, arch) = port_name.rsplit('-', 1) 100 assert port_name in ('linux', 'linux-x86', 'linux-x86_64')
|
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...] |
port_testcase.py | 52 port_name = "testwebkitport" variable in class:TestWebKitPort 54 def __init__(self, port_name=None, symbols_string=None, 57 port_name = port_name or TestWebKitPort.port_name 60 super(TestWebKitPort, self).__init__(host, port_name=port_name, **kwargs) 90 port_name = None variable in class:PortTestCase 92 def make_port(self, host=None, port_name=None, options=None, os_name=None, os_version=None, **kwargs): 95 port_name = port_name or self.port_nam [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')) 122 port_name = 'test' 125 port = PortFactory(host).get(port_name) 129 args = ['--dump-render-tree', '--platform', port_name, '-']
|
/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...] |
flakytests.py | 41 full_port_name = port.determine_full_port_name(tool, options, port.port_name)
|
rebaseline.py | 115 for port_name in port_names: 116 port = self._tool.port_factory.get(port_name) 130 for port in [self._tool.port_factory.get(port_name) for port_name in self._tool.port_factory.all_port_names()]: 424 for port_name in self._tool.port_factory.all_port_names(): 425 port = self._tool.port_factory.get(port_name) 514 def _add_tests_to_rebaseline_for_port(self, port_name): 515 builder_name = builders.builder_name_for_port_name(port_name) 518 tests = self._tests_to_rebaseline(self._tool.port_factory.get(port_name)).items() 521 _log.info("Retrieving results for %s from %s." % (port_name, builder_name) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
baselineoptimizer.py | 72 def _relative_baseline_search_paths(self, port_name, baseline_name): 73 port = self._port_factory.get(port_name) 92 directories = reduce(set.union, map(set, [self._relative_baseline_search_paths(port_name, baseline_name) for port_name in self._port_names])) 102 for port_name in self._port_names: 103 for directory in self._relative_baseline_search_paths(port_name, baseline_name): 105 results_by_port_name[port_name] = results_by_directory[directory] 112 for port_name in self._port_names: 113 port = self._port_factory.get(port_name) 166 for port_name in self._port_names [all...] |
/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:__anon30832 165 snprintf(vnd_userial.port_name, VND_PORT_NAME_MAXLEN, "%s", \ 228 ALOGI("userial vendor open: opening %s", vnd_userial.port_name); 230 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) 232 ALOGE("userial vendor open: unable to open %s", vnd_userial.port_name); 357 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_name = builders.deps_builder_name_for_port_name(port_name) 115 builder_name = builders.builder_name_for_port_name(port_name) 127 def expectations_for_port(self, port_name, builder_category='layout'): 128 results_json = self._results_json_for_port(port_name, builder_category)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
run-blink-httpd | 61 port_obj = host.port_factory.get(port_name='chromium', options=options)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
lint_test_expectations_unittest.py | 75 def get(self, port_name, *args, **kwargs): # pylint: disable=W0613,E0202 76 return self.ports[port_name]
|