Home
last modified time | relevance | path

Searched refs:iterable (Results 1 – 7 of 7) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dfield_values_filter.py9 def field_values(iterable, field): argument
17 for item in iterable:
H A Dobjects_to_dictionaries_filter.py9 def objects_to_dictionaries(iterable, fields): argument
30 for item in iterable:
/openbmc/openbmc/poky/bitbake/lib/progressbar/
H A Dprogressbar.py139 def __call__(self, iterable): argument
143 self.maxval = len(iterable)
148 self.__iterable = iter(iterable)
/openbmc/qemu/docs/sphinx/
H A Dqapidoc.py54 def intersperse(iterable, separator): argument
56 iterable = iter(iterable)
57 yield next(iterable)
58 for item in iterable:
/openbmc/openbmc/poky/bitbake/bin/
H A Dgit-make-shallow108 def iter_extend(iterable, length, obj=None): argument
110 return itertools.islice(itertools.chain(iterable, itertools.repeat(obj)), length)
/openbmc/openbmc/poky/meta/classes/
H A Duseradd-staticids.bbclass15 def list_extend(iterable, length, obj = None):
16 """Ensure that iterable is the specified length by extending with obj
18 return list(itertools.islice(itertools.chain(iterable, itertools.repeat(obj)), length))
/openbmc/linux/Documentation/bpf/
H A Dbpf_iterators.rst255 subset of iterable kernel objects, such as only iterating tasks within a