Home
last modified time | relevance | path

Searched refs:collections (Results 1 – 25 of 150) sorted by relevance

123456

/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78/
H A D0005-Fixup-compatibility-of-mozbuild-with-Python-3.10.patch42 -class ConfigSettings(collections.Mapping):
43 +class ConfigSettings(collections.abc.Mapping):
47 @@ -190,7 +190,7 @@ class ConfigSettings(collections.Mapping):
51 - class ConfigSection(collections.MutableMapping, object):
52 + class ConfigSection(collections.abc.MutableMapping, object):
64 - if not isinstance(command.conditions, collections.Iterable):
65 + if not isinstance(command.conditions, collections.abc.Iterable):
77 -from collections import Iterable, OrderedDict
78 +from collections import OrderedDict
79 +from collections.abc import Iterable
[all …]
/OK3568_Linux_fs/yocto/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
8 the collections module in Python 3.10.
24 -import collections
25 +import collections.abc
33 - assert(func is None or isinstance(func, collections.Callable))
34 + assert(func is None or isinstance(func, collections.abc.Callable))
41 - isinstance(authfail_callback, collections.Callable))
42 + isinstance(authfail_callback, collections.abc.Callable))
54 -import collections
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/gyp/gyp/
H A D0001-Fix-for-Python-3.10-compatibility.patch6 The collections.abc module replaces collections for Python 3.10
21 -import collections
22 +import collections.abc
30 -class OrderedSet(collections.MutableSet):
31 +class OrderedSet(collections.abc.MutableSet):
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/
H A D0001-Fix-collections.abc-deprecation-warning-in-downloadu.patch4 Subject: [PATCH] Fix collections.abc deprecation warning in downloadutils
9 …: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.…
10 if path and isinstance(getattr(path, 'write', None), collections.Callable):
26 -import collections
34 - if path and isinstance(getattr(path, 'write', None), collections.Callable):
/OK3568_Linux_fs/yocto/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 …]
/OK3568_Linux_fs/yocto/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()
H A Dbuildhistory-collect-srcrevs11 import collections
60 all_srcrevs = collections.defaultdict(list)
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dsbom.py5 import collections
7 DepRecipe = collections.namedtuple("DepRecipe", ("doc", "doc_sha1", "recipe"))
8 DepSource = collections.namedtuple("DepSource", ("doc", "doc_sha1", "recipe", "file"))
/OK3568_Linux_fs/u-boot/tools/binman/
H A Dentry_test.py9 import collections
22 Node = collections.namedtuple('Node', ['name', 'path'])
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dpersist_data.py14 import collections
15 import collections.abc
22 from collections.abc import Mapping
32 class SQLTable(collections.abc.MutableMapping):
H A Dnamedtuple_with_abc.py38 import collections
44 _namedtuple = collections.namedtuple
79 collections.namedtuple = namedtuple
H A Dcookerdata.py388 collections = (data.getVar('BBFILE_COLLECTIONS') or "").split()
399 if (l in collections and not invert) or (l not in collections and invert):
405 collections_tmp = collections[:]
406 for c in collections:
H A Dcommand.py21 from collections import OrderedDict, defaultdict
420 return (-command.cooker.collections[mc].calc_bbfile_priority(realfn)[0], vfn)
431 return list(command.cooker.collections[mc].overlayed.items())
440 return command.cooker.collections[mc].get_file_appends(fn)
448 return command.cooker.collections[mc].bbappends
557 appendfiles = command.cooker.collections[mc].get_file_appends(fn)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-cachetools_5.0.0.bb1 SUMMARY = "Extensible memoizing collections and decorators"
4 collections and decorators, including variants of the \
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/
H A Dcreate_manifest3.py46 import collections
63 new_manifest = collections.OrderedDict()
106 old_manifest = json.loads(manifest_str, object_pairs_hook=collections.OrderedDict)
222 new_manifest[pypkg] = collections.OrderedDict()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bblayers/
H A Daction.py150 for f in self.tinfoil.cooker.collections[mc].overlayed.keys():
151 for of in self.tinfoil.cooker.collections[mc].overlayed[f]:
182 … appends |= set(self.tinfoil.cooker.collections[mc].get_file_appends(f1full))
192 bbappends |= set(self.tinfoil.cooker.collections[mc].bbappends)
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H A Dmem-phys-addr.py14 import collections
26 load_mem_type_cnt = collections.Counter()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dbuildstats-summary.bbclass3 import collections
11 built = collections.defaultdict(lambda: [set(), set()])
/OK3568_Linux_fs/kernel/tools/testing/kunit/
H A Dkunit_config.py9 import collections
15 KconfigEntryBase = collections.namedtuple('KconfigEntryBase', ['name', 'value'])
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/hdf5/
H A Dhdf5_1.8.21.bb1 SUMMARY = "Management suite for extremely large and complex data collections"
3 extremely large and complex data collections"
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/gdb/python/gdb/
H A Dframes.py23 import collections
206 sliced = collections.deque()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/gdb/python/gdb/
H A Dframes.py23 import collections
206 sliced = collections.deque()
/OK3568_Linux_fs/u-boot/tools/dtoc/
H A Dtest_dtoc.py12 import collections
102 Prop = collections.namedtuple('Prop', ['value'])
103 Node = collections.namedtuple('Node', ['props'])
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dmetadata.py8 from collections import OrderedDict
9 from collections.abc import MutableMapping
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Duievent.py14 import collections, logging, pickle, socket, threading
47 if isinstance(ret, collections.abc.Iterable):

123456