Home
last modified time | relevance | path

Searched full:collections (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/
H A D9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch4 Subject: [PATCH] Python 3.10+ fix: Use collections.abc.Callable instead of
5 collections.Callable
7 The deprecated aliases to Collections Abstract Base Classes were removed from
8 the collections module in Python 3.10.
26 -import collections
27 +import collections.abc
35 - assert(func is None or isinstance(func, collections.Callable))
36 + assert(func is None or isinstance(func, collections.abc.Callable))
43 - isinstance(authfail_callback, collections.Callable))
44 + isinstance(authfail_callback, collections.abc.Callable))
[all …]
/openbmc/openbmc/poky/scripts/lib/checklayer/
H A D__init__.py52 collections = (ldata.getVar('BBFILE_COLLECTIONS') or '').split()
53 if not collections:
55 collections = [name]
57 collections = {c: {} for c in collections}
58 for name in collections:
68 collections[name]['priority'] = priority
69 collections[name]['pattern'] = pattern
70 collections[name]['depends'] = ' '.join(depDict.keys())
71 collections[name]['compat'] = compat
73 return collections
[all …]
/openbmc/linux/tools/testing/selftests/
H A Drun_kselftest.sh34 COLLECTIONS=""
48 COLLECTIONS="$COLLECTIONS $2"
68 # Add all selected collections to the explicit test list.
69 if [ -n "$COLLECTIONS" ]; then
70 for collection in $COLLECTIONS ; do
93 collections=$(echo "$available" | cut -d: -f1 | sort | uniq)
94 for collection in $collections ; do
/openbmc/openbmc-test-automation/lib/
H A Dfunc_args.py7 import collections
83 collections.OrderedDict.
87 The result is a collections.OrderedDict object:
96 result = source_to_object("collections.OrderedDict([
139 # Try special case of collections.OrderedDict which accepts a list of tuple pairs.
142 return eval("collections.OrderedDict(" + value + ")")
168 return collections.OrderedDict((k, v) for (k, v) in args.items())
H A Dtally_sheet.py7 import collections
32 boot_results_fields = collections.OrderedDict([('total', 0), ('pass', 0), ('fail', 0)])
85 # If we're running python 2.7 or later, collections has an OrderedDict
89 self.__table = collections.OrderedDict()
152 self.__table[row_key] = collections.OrderedDict(init_fields_dict)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/freerdp/freerdp/
H A D0001-Fix-const-qualifier-error.patch17 winpr/include/winpr/collections.h | 2 +-
42 diff --git a/winpr/include/winpr/collections.h b/winpr/include/winpr/collections.h
44 --- a/winpr/include/winpr/collections.h
45 +++ b/winpr/include/winpr/collections.h
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer17 import collections
46 collections = layer.get("collections", {})
47 if collections:
48 logger.debug("%s collections: %s" % (layer["name"], ", ".join(collections)))
166 results = collections.OrderedDict()
167 results_status = collections.OrderedDict()
/openbmc/linux/tools/net/ynl/lib/
H A Dnlspec.py3 import collections
192 self.attrs = collections.OrderedDict()
193 self.attrs_by_val = collections.OrderedDict()
401 self.attr_sets = collections.OrderedDict()
402 self.msgs = collections.OrderedDict()
403 self.req_by_value = collections.OrderedDict()
404 self.rsp_by_value = collections.OrderedDict()
405 self.ops = collections.OrderedDict()
406 self.ntfs = collections.OrderedDict()
407 self.consts = collections.OrderedDict()
[all …]
/openbmc/bmcweb/
H A DAGGREGATION.md52 bmcweb and appear under top level collections. A top level collection is the
54 following are a few examples of top level collections:
72 Complete support needs to be added for all top level resource collections that
95 ### Aggregating Collections
97 Requests to top level collections are locally processed like normal by the
180 1. Add links to satellite only collections in responses from service root and
/openbmc/openbmc-test-automation/gui/lib/
H A Dutils_get_version.py3 import collections
18 import_versions = collections.OrderedDict()
65 versions = collections.OrderedDict()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dnamedtuple_with_abc.py12 Import this module to patch collections.namedtuple() factory function
18 import collections, namedtuple_with_abc
21 from collections import namedtuple
38 import collections
44 _namedtuple = collections.namedtuple
79 collections.namedtuple = namedtuple
/openbmc/u-boot/tools/binman/
H A Dentry_test.py7 import collections
59 Node = collections.namedtuple('Node', ['name', 'path'])
69 Node = collections.namedtuple('Node', ['name', 'parent'])
H A Dfmap_util.py9 import collections
48 FmapHeader = collections.namedtuple('FmapHeader', FMAP_HEADER_NAMES)
49 FmapArea = collections.namedtuple('FmapArea', FMAP_AREA_NAMES)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-cachetools_5.5.1.bb1 SUMMARY = "Extensible memoizing collections and decorators"
4 collections and decorators, including variants of the \
/openbmc/linux/rust/alloc/
H A Dlib.rs3 //! # The Rust core allocation and collections library
5 //! This library provides smart pointers and collections for managing
44 //! ## Collections
48 //! [standard collections library](../std/collections/index.html).
246 pub mod collections; module
279 let mut hasher = std::collections::hash_map::RandomState::new().build_hasher(); in test_rng()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsbom.py7 import collections
9 DepRecipe = collections.namedtuple("DepRecipe", ("doc", "doc_sha1", "recipe"))
10 DepSource = collections.namedtuple("DepSource", ("doc", "doc_sha1", "recipe", "file"))
/openbmc/openbmc/poky/meta/classes/
H A Dbuildstats-summary.bbclass9 import collections
17 built = collections.defaultdict(lambda: [set(), set()])
/openbmc/linux/tools/perf/
H A Dbuiltin-bench.c5 * General benchmarking collections provided by perf
121 static struct collection collections[] = { variable
139 /* Iterate over all benchmark collections: */
141 for (coll = collections; coll->name; coll++)
186 printf(" # List of all available benchmark collections:\n\n"); in print_usage()
/openbmc/qemu/scripts/
H A Danalyze-migration.py23 import collections
130 self.sizeinfo = collections.OrderedDict()
131 self.data = collections.OrderedDict()
137 self.memory = collections.OrderedDict()
468 self.data = collections.OrderedDict()
562 r = collections.OrderedDict()
654 self.sections = collections.OrderedDict()
698 object_pairs_hook=collections.OrderedDict)
707 r = collections.OrderedDict()
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DCC-BY-ND-3.028 …o incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in …
29 to Distribute and Publicly Perform the Work including as incorporated in Collections.
40 If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been…
41 …ribute or Publicly Perform the Work either by itself or as part of any Collections, You must not d…
50 …f the terms of this License. Individuals or entities who have received Collections from You under …
H A DCC-BY-NC-ND-3.028 …o incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in …
29 to Distribute and Publicly Perform the Work including as incorporated in Collections.
36 If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been…
42 …ribute or Publicly Perform the Work either by itself or as part of any Collections, You must not d…
51 …f the terms of this License. Individuals or entities who have received Collections from You under …
/openbmc/openbmc/meta-arm/meta-arm/lib/fvp/
H A Dterminal.py2 import collections
17 Terminal = collections.namedtuple("Terminal", ["priority", "name", "command"])
/openbmc/phosphor-health-monitor/
H A Dhealth_monitor.cpp31 collections[type] = in startup()
44 for (auto& [type, collection] : collections) in run()
/openbmc/linux/Documentation/hid/
H A Dhiddev.rst119 the number of application collections this device has) the ioctl
121 collections the device has from the num_applications field from the
128 application collections, but all the collections the device has. It
/openbmc/qemu/python/qemu/qmp/
H A Dmessage.py27 Python object is a :py:obj:`~collections.abc.MutableMapping`. It may
78 # https://docs.python.org/3/library/collections.abc.html#collections.abc.MutableMapping

12345678910>>...14