Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 25 of 78) sorted by relevance

1234

/external/chromium/third_party/libjingle/source/talk/site_scons/
Dtalk.py13 def _GenericLibrary(env, static, **kwargs): argument
24 params = CombineDicts(kwargs, {'COMPONENT_STATIC': static})
28 def Library(env, **kwargs): argument
39 return _GenericLibrary(env, True, **kwargs)
42 def DynamicLibrary(env, **kwargs): argument
53 return _GenericLibrary(env, False, **kwargs)
56 def Object(env, **kwargs): argument
57 return ExtendComponent(env, 'ComponentObject', **kwargs)
60 def Unittest(env, **kwargs): argument
71 kwargs['name'] = kwargs['name'] + '_unittest'
[all …]
/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py23 kwargs = {}
24 kwargs['name'] = items.get_string('name')
25 kwargs['parent'] = items.get_optional_string('parent')
27 kwargs['dependencies'] = items.get_list('dependencies')
28 return kwargs
81 kwargs = ComponentInfo.parse_items(items, has_dependencies = False)
82 return GroupComponentInfo(subpath, **kwargs)
99 kwargs = ComponentInfo.parse_items(items)
100 kwargs['library_name'] = items.get_optional_string('library_name')
101 kwargs['required_libraries'] = items.get_list('required_libraries')
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dchromium_gpu.py36 def get(platform=None, port_name='chromium-gpu', **kwargs): argument
52 return ChromiumGpuLinuxPort(port_name=port_name, **kwargs)
54 return ChromiumGpuMacPort(port_name=port_name, **kwargs)
56 return ChromiumGpuWinPort(port_name=port_name, **kwargs)
89 def __init__(self, port_name='chromium-gpu-linux', **kwargs): argument
90 chromium_linux.ChromiumLinuxPort.__init__(self, port_name=port_name, **kwargs)
110 def __init__(self, port_name='chromium-gpu-mac', **kwargs): argument
111 chromium_mac.ChromiumMacPort.__init__(self, port_name=port_name, **kwargs)
130 def __init__(self, port_name='chromium-gpu-win', **kwargs): argument
131 chromium_win.ChromiumWinPort.__init__(self, port_name=port_name, **kwargs)
Dfactory.py57 def get(port_name=None, options=None, **kwargs): argument
63 kwargs['port_name'] = port_name
65 kwargs['options'] = options
66 return _get_kwargs(**kwargs)
69 def _get_kwargs(**kwargs): argument
70 port_to_use = kwargs.get('port_name', None)
71 options = kwargs.get('options', None)
128 return maker(**kwargs)
Dgoogle_chrome.py44 def GetGoogleChromePort(**kwargs): argument
50 port_name = kwargs['port_name']
51 del kwargs['port_name']
70 return GoogleChromeLinux32Port(port_name='chromium-linux-x86', **kwargs)
91 return GoogleChromeLinux64Port(port_name='chromium-linux-x86', **kwargs)
107 return GoogleChromeMacPort(**kwargs)
123 return GoogleChromeWinPort(**kwargs)
Ddryrun.py60 def __init__(self, **kwargs): argument
62 if 'port_name' in kwargs:
63 if kwargs['port_name'].startswith(pfx):
64 kwargs['port_name'] = kwargs['port_name'][len(pfx):]
66 kwargs['port_name'] = None
67 self.__delegate = factory.get(**kwargs)
Dgtk.py43 def __init__(self, **kwargs): argument
44 kwargs.setdefault('port_name', 'gtk')
45 WebKitPort.__init__(self, **kwargs)
Dqt.py46 def __init__(self, **kwargs): argument
47 kwargs.setdefault('port_name', 'qt')
48 WebKitPort.__init__(self, **kwargs)
Dwin.py41 def __init__(self, port_name=None, **kwargs): argument
43 WebKitPort.__init__(self, port_name=port_name, **kwargs)
Dmock_drt.py52 def __init__(self, **kwargs): argument
54 if 'port_name' in kwargs:
55 kwargs['port_name'] = kwargs['port_name'][len(prefix):]
56 self.__delegate = factory.get(**kwargs)
/external/webkit/Tools/Scripts/webkitpy/common/net/
Dtestoutputset.py33 def __init__(self, name, platform, zip_file, **kwargs): argument
37 self._include_expected = kwargs.get('include_expected', True)
101 def outputs_for(self, name, **kwargs): argument
102 target_type = kwargs.get('target_type', None)
103 exact_match = kwargs.get('exact_match', False)
126 def outputs_for(self, name, **kwargs): argument
127 return sum([builder.outputs_for(name, **kwargs) for builder in self._builders], [])
/external/webkit/Tools/Scripts/webkitpy/thirdparty/
DBeautifulSoup.py244 def findNext(self, name=None, attrs={}, text=None, **kwargs): argument
247 return self._findOne(self.findAllNext, name, attrs, text, **kwargs)
250 **kwargs): argument
254 **kwargs)
256 def findNextSibling(self, name=None, attrs={}, text=None, **kwargs): argument
260 **kwargs)
263 **kwargs): argument
267 self.nextSiblingGenerator, **kwargs)
270 def findPrevious(self, name=None, attrs={}, text=None, **kwargs): argument
273 return self._findOne(self.findAllPrevious, name, attrs, text, **kwargs)
[all …]
Dmock.py138 def __call__(self, *args, **kwargs): argument
141 self.call_args = (args, kwargs)
142 self.call_args_list.append((args, kwargs))
147 parent.method_calls.append((name, args, kwargs))
160 ret_val = self.side_effect(*args, **kwargs)
165 return self._wraps(*args, **kwargs)
187 def assert_called_with(self, *args, **kwargs): argument
188 …assert self.call_args == (args, kwargs), 'Expected: %s\nCalled with: %s' % ((args, kwargs), self.c…
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt026actions.py9 def __init__(self, *args, **kwargs): argument
10 base.__init__(self, *args, **kwargs)
29 def __init__(self, *args, **kwargs): argument
30 base.__init__(self, *args, **kwargs)
Dtestbase.py46 def replacement(*args, **kwargs): argument
48 test_method(*args, **kwargs)
103 def __init__(self, *args, **kwargs): argument
104 unittest.TestCase.__init__(self, *args, **kwargs)
311 def getLexer(self, *args, **kwargs): argument
323 lexer = cls(*args, **kwargs)
328 def getParser(self, *args, **kwargs): argument
339 parser = cls(*args, **kwargs)
344 def getWalker(self, *args, **kwargs): argument
351 walker = cls(*args, **kwargs)
Dt044trace.py13 def __init__(self, *args, **kwargs): argument
14 base.__init__(self, *args, **kwargs)
36 def __init__(self, *args, **kwargs): argument
37 base.__init__(self, *args, **kwargs)
Dt050decorate.g8 def decorated(self, *args, **kwargs):
11 return func(self, *args, **kwargs)
Dt052import.py20 def __init__(self, *args, **kwargs): argument
21 base.__init__(self, *args, **kwargs)
47 def __init__(self, *args, **kwargs): argument
48 base.__init__(self, *args, **kwargs)
/external/bluetooth/bluez/test/
Dtest-health15 def sig_received(*args, **kwargs): argument
16 if "member" not in kwargs:
18 if "path" not in kwargs:
20 sig_name = kwargs["member"]
21 path = kwargs["path"]
/external/linux-tools-perf/util/
Dpython.c248 PyObject *args, PyObject *kwargs) in pyrf_cpu_map__init() argument
253 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|s", in pyrf_cpu_map__init()
317 PyObject *args, PyObject *kwargs) in pyrf_thread_map__init() argument
322 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ii", in pyrf_thread_map__init()
386 PyObject *args, PyObject *kwargs) in pyrf_evsel__init() argument
443 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in pyrf_evsel__init()
495 PyObject *args, PyObject *kwargs) in pyrf_evsel__open() argument
504 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOii", kwlist, in pyrf_evsel__open()
560 PyObject *args, PyObject *kwargs __used) in pyrf_evlist__init()
582 PyObject *args, PyObject *kwargs) in pyrf_evlist__mmap() argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/tool/
Dmulticommandtool_unittest.py41 def __init__(self, **kwargs): argument
42 Command.__init__(self, "help text", **kwargs)
57 def __init__(self, **kwargs): argument
58 Command.__init__(self, "help text", **kwargs)
/external/webkit/Tools/Scripts/webkitpy/common/system/
Doutputcapture.py57 …def assert_outputs(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stde… argument
60 return_value = testcase.assertRaises(expected_exception, function, *args, **kwargs)
62 return_value = function(*args, **kwargs)
Dfilesystem.py143 def mkdtemp(self, **kwargs): argument
156 def __init__(self, **kwargs): argument
157 self._kwargs = kwargs
173 return TemporaryDirectory(**kwargs)
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestbase.py14 def replacement(*args, **kwargs): argument
16 test_method(*args, **kwargs)
/external/dbus/test/name-test/
Dtest-wait-for-echo.py28 def sighandler(*args, **kwargs): argument
36 def nullhandler(*args, **kwargs): argument

1234