| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/ |
| H A D | tables.py | 34 def __init__(self, *args, **kwargs): argument 35 super(LayersTable, self).__init__(*args, **kwargs) 39 def get_context_data(self, **kwargs): argument 40 context = super(LayersTable, self).get_context_data(**kwargs) 42 project = Project.objects.get(pk=kwargs['pid']) 47 def setup_filters(self, *args, **kwargs): argument 48 project = Project.objects.get(pk=kwargs['pid']) 74 def setup_queryset(self, *args, **kwargs): argument 75 prj = Project.objects.get(pk = kwargs['pid']) 83 def setup_columns(self, *args, **kwargs): argument [all …]
|
| H A D | buildtables.py | 19 def get_context_data(self, **kwargs): argument 22 context = ToasterTable.get_context_data(self, **kwargs) 23 context['build'] = Build.objects.get(pk=kwargs['build_id']) 29 def __init__(self, *args, **kwargs): argument 30 super(BuiltPackagesTableBase, self).__init__(*args, **kwargs) 34 def setup_queryset(self, *args, **kwargs): argument 35 build = Build.objects.get(pk=kwargs['build_id']) 41 def setup_columns(self, *args, **kwargs): argument 42 super(BuiltPackagesTableBase, self).setup_columns(*args, **kwargs) 134 def __init__(self, *args, **kwargs): argument [all …]
|
| H A D | api.py | 51 def get(self, request, *args, **kwargs): argument 76 def post(self, request, *args, **kwargs): argument 95 project = Project.objects.get(pk=kwargs['pid']) 142 def get(self, request, *args, **kwargs): argument 145 def post(self, request, *args, **kwargs): argument 161 project = Project.objects.get(pk=kwargs['pid']) 176 return xhrBuildRequest.post(request, *args, **kwargs) 185 def get(self, request, *args, **kwargs): argument 188 def post(self, request, *args, **kwargs): argument 204 project = Project.objects.get(pk=kwargs['pid']) [all …]
|
| H A D | widgets.py | 49 def __init__(self, *args, **kwargs): argument 51 if 'template_name' in kwargs: 52 self.template_name = kwargs['template_name'] 68 def dispatch(self, *args, **kwargs): argument 69 return super(ToasterTable, self).dispatch(*args, **kwargs) 71 def get_context_data(self, **kwargs): argument 72 context = super(ToasterTable, self).get_context_data(**kwargs) 86 def get(self, request, *args, **kwargs): argument 89 self.setup_queryset(*args, **kwargs) 91 if 'pid' in kwargs: [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | __init__.py | 39 def __init__(self, *args, **kwargs): argument 47 def _debug_helper(self, *args, **kwargs): argument 48 return self.bbdebug(1, *args, **kwargs) 50 def debug2(self, *args, **kwargs): argument 51 return self.bbdebug(2, *args, **kwargs) 53 def debug3(self, *args, **kwargs): argument 54 return self.bbdebug(3, *args, **kwargs) 56 def bbdebug(self, level, msg, *args, **kwargs): argument 63 return self.log(loglevel, msg, *args, **kwargs) 65 def plain(self, msg, *args, **kwargs): argument [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/ |
| H A D | concurrencytest.py | 62 def _add_result_with_semaphore(self, method, test, *args, **kwargs): argument 82 …super(BBThreadsafeForwardingResult, self)._add_result_with_semaphore(method, test, *args, **kwargs) 90 def _addResult(self, method, test, *args, exception = False, **kwargs): argument 91 return method(test, *args, **kwargs) 93 def addError(self, test, err = None, **kwargs): argument 95 self._addResult(self.result.addError, test, err, exception = True, **kwargs) 97 def addFailure(self, test, err = None, **kwargs): argument 99 self._addResult(self.result.addFailure, test, err, exception = True, **kwargs) 101 def addSuccess(self, test, **kwargs): argument 102 self._addResult(self.result.addSuccess, test, **kwargs) [all …]
|
| /OK3568_Linux_fs/u-boot/tools/patman/ |
| H A D | command.py | 45 raise_on_error=True, cwd=None, **kwargs): argument 71 kwargs['stdout'] = None 72 kwargs['stderr'] = None 76 kwargs['stdin'] = last_pipe.stdout 78 kwargs['stdin'] = open(infile, 'rb') 80 kwargs['stdout'] = cros_subprocess.PIPE 82 kwargs['stdout'] = open(outfile, 'wb') 84 kwargs['stderr'] = cros_subprocess.PIPE 87 last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs) 107 def Output(*cmd, **kwargs): argument [all …]
|
| H A D | settings.py | 103 def get(self, section, option, *args, **kwargs): argument 114 *args, **kwargs 118 self, section, option, *args, **kwargs 121 def items(self, section, *args, **kwargs): argument 136 self, "%s_%s" % (self._project_name, section), *args, **kwargs 145 self, section, *args, **kwargs
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/ |
| H A D | argparse_oe.py | 17 def __init__(self, *args, **kwargs): argument 18 kwargs.setdefault('formatter_class', OeHelpFormatter) 20 super(ArgumentParser, self).__init__(*args, **kwargs) 46 def add_subparsers(self, *args, **kwargs): argument 47 if 'dest' not in kwargs: 48 kwargs['dest'] = '_subparser_name' 50 ret = super(ArgumentParser, self).add_subparsers(*args, **kwargs) 96 def __init__(self, *args, **kwargs): argument 97 if 'group' in kwargs: 98 self._group = kwargs.pop('group') [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-git/ |
| H A D | 0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch | 155 - def _clone_repo(cls, repo: 'Repo', url: str, path: PathLike, name: str, **kwargs: Any) -> 'Rep… 157 + allow_unsafe_options: bool = False, allow_unsafe_protocols: bool = False,**kwargs: Any… 165 - clone = git.Repo.clone_from(url, module_checkout_path, **kwargs) 167 + allow_unsafe_protocols=allow_unsafe_protocols, **kwargs) 183 kwargs['multi_options'] = clone_multi_options 185 # _clone_repo(cls, repo, url, path, name, **kwargs): 186 - mrepo = cls._clone_repo(repo, url, path, name, env=env, **kwargs) 188 + allow_unsafe_protocols=allow_unsafe_protocols, **kwargs) 244 - def set_url(self, new_url: str, old_url: Optional[str] = None, **kwargs: Any) -> 'Remote': 246 + allow_unsafe_protocols: bool = False, **kwargs: Any) -> 'Remote': [all …]
|
| H A D | 0001-python3-git-CVE-2022-24439-fix-from-PR-1518.patch | 52 universal_newlines=True, v=verbose, **kwargs) 58 kwargs = add_progress(kwargs, self.repo.git, progress) 61 universal_newlines=True, v=True, **kwargs) 67 kwargs = add_progress(kwargs, self.repo.git, progress) 72 **kwargs) 83 v=True, universal_newlines=True, **add_progress(kwargs, git, progress)) 90 - self.git.archive(treeish, *path, **kwargs) 91 + self.git.archive("--", treeish, *path, **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/ |
| H A D | __init__.py | 84 **kwargs): argument 89 if 'convertEntities' in kwargs: 95 if 'markupMassage' in kwargs: 96 del kwargs['markupMassage'] 102 if 'smartQuotesTo' in kwargs: 103 del kwargs['smartQuotesTo'] 109 if 'selfClosingTags' in kwargs: 110 del kwargs['selfClosingTags'] 116 if 'isHTML' in kwargs: 117 del kwargs['isHTML'] [all …]
|
| H A D | element.py | 405 def find_next(self, name=None, attrs={}, text=None, **kwargs): argument 408 return self._find_one(self.find_all_next, name, attrs, text, **kwargs) 412 **kwargs): argument 416 **kwargs) 419 def find_next_sibling(self, name=None, attrs={}, text=None, **kwargs): argument 423 **kwargs) 427 **kwargs): argument 431 self.next_siblings, **kwargs) 435 def find_previous(self, name=None, attrs={}, text=None, **kwargs): argument 439 self.find_all_previous, name, attrs, text, **kwargs) [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/decorator/ |
| H A D | __init__.py | 20 def __init__(self, *args, **kwargs): argument 25 if attr in kwargs: 26 value = kwargs[attr] 33 def wrapped_f(*args, **kwargs): argument 35 return func(*args, **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | spdx.py | 47 def __init__(self, **kwargs): argument 48 super().__init__(**kwargs) 71 def __init__(self, cls, **kwargs): argument 72 super().__init__(**kwargs) 98 def __init__(self, prop, **kwargs): argument 99 super().__init__(**kwargs) 125 def __init__(self, **kwargs): argument 126 super().__init__(_String(), **kwargs) 134 def __init__(self, cls, **kwargs): argument 135 super().__init__(_Object(cls), **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | compression.py | 74 def do_open(self, *args, **kwargs): argument 75 with bb.compress.lz4.open(*args, **kwargs) as f: 86 def do_open(self, *args, **kwargs): argument 87 with bb.compress.zstd.open(*args, **kwargs) as f: 98 def do_open(self, *args, **kwargs): argument 99 with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/ |
| H A D | zstd.py | 11 def open(*args, **kwargs): argument 12 return bb.compress._pipecompress.open_wrap(ZstdFile, *args, **kwargs) 16 def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs): argument 19 super().__init__(*args, **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | decorators.py | 63 def wrapped_f(*args, **kwargs): argument 67 return f(*args, **kwargs) 78 def wrapped_f(*args, **kwargs): argument 82 return f(*args, **kwargs) 93 def wrapped_f(*args, **kwargs): argument 99 return f(*args, **kwargs) 110 def wrapped_f(*args, **kwargs): argument 111 return func(*args, **kwargs) 243 def tag(*args, **kwargs): argument 250 for name, value in kwargs.items():
|
| H A D | gitarchive.py | 172 def get_test_runs(log, repo, tag_name, **kwargs): argument 176 undef_fields = [f for f in field_names if f not in kwargs.keys()] 180 str_fields.update(kwargs) 194 fixed_fields = dict([(k, v.replace('(', r'\(').replace(')', r'\)')) for k, v in kwargs.items()]) 208 def get_test_revs(log, repo, tag_name, **kwargs): argument 210 fields, runs = get_test_runs(log, repo, tag_name, **kwargs)
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | python.c | 575 PyObject *args, PyObject *kwargs) in pyrf_cpu_map__init() argument 580 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|s", in pyrf_cpu_map__init() 644 PyObject *args, PyObject *kwargs) in pyrf_thread_map__init() argument 649 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iii", in pyrf_thread_map__init() 713 PyObject *args, PyObject *kwargs) in pyrf_evsel__init() argument 774 if (!PyArg_ParseTupleAndKeywords(args, kwargs, in pyrf_evsel__init() 828 PyObject *args, PyObject *kwargs) in pyrf_evsel__open() argument 837 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOii", kwlist, in pyrf_evsel__open() 897 PyObject *args, PyObject *kwargs __maybe_unused) in pyrf_evlist__init() 919 PyObject *args, PyObject *kwargs) in pyrf_evlist__mmap() argument [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/ |
| H A D | 9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch | 61 def __init__(self, hook, args, kwargs, hookable=None): 68 @@ -174,7 +174,7 @@ def add_hook_hookable(self, hook, *args, **kwargs): 69 self.__add_hook(hook, self, *args, **kwargs) 71 def __add_hook(self, hook, _hookable, *args, **kwargs): 75 hookentry = _HookEntry(hook, args, kwargs, hookable=_hookable)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/ |
| H A D | context.py | 94 def getTarget(target_type, logger, target_ip, server_ip, **kwargs): argument 101 kwargs['port'] = target_ip_port[1] 107 kwargs['server_port'] = int(server_ip_port[1]) 110 target = OESSHTarget(logger, target_ip, server_ip, **kwargs) 112 target = OEQemuTarget(logger, server_ip, **kwargs) 124 target = controller(logger, target_ip, server_ip, **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/builder/ |
| H A D | _htmlparser.py | 134 def __init__(self, *args, **kwargs): argument 136 kwargs['strict'] = False 138 kwargs['convert_charrefs'] = False 139 self.parser_args = (args, kwargs) 160 args, kwargs = self.parser_args 161 parser = BeautifulSoupHTMLParser(*args, **kwargs)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/buildperf/ |
| H A D | base.py | 92 def __init__(self, out_dir, *args, **kwargs): argument 93 super(BuildPerfTestResult, self).__init__(*args, **kwargs) 250 def __init__(self, *args, **kwargs): argument 251 super(BuildPerfTestCase, self).__init__(*args, **kwargs) 285 def run(self, *args, **kwargs): argument 288 super(BuildPerfTestCase, self).run(*args, **kwargs) 310 def _worker(data_q, cmd, **kwargs): argument 314 ret = runCmd2(cmd, **kwargs) 498 def __init__(self, out_dir, *args, **kwargs): argument 499 super(BuildPerfTestRunner, self).__init__(*args, **kwargs)
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | func_test.py | 221 def _RunControl(self, *args, **kwargs): argument 226 clean_dir=kwargs.get('clean_dir', True)) 332 def _HandleCommand(self, **kwargs): argument 342 pipe_list = kwargs['pipe_list'] 348 print 'invalid pipe', kwargs 366 print 'unknown command', kwargs 373 def _HandleMake(self, commit, brd, stage, cwd, *args, **kwargs): argument
|