Home
last modified time | relevance | path

Searched defs:self (Results 26 – 50 of 1122) sorted by relevance

12345678910>>...45

/openbmc/u-boot/tools/binman/
H A Dbsection.py50 def __init__(self, name, parent_section, node, image, test=False): argument
76 def _ReadNode(self): argument
101 def _ReadEntries(self): argument
109 def GetFdtSet(self): argument
116 def SetOffset(self, offset): argument
119 def ExpandEntries(self): argument
123 def AddMissingProperties(self): argument
132 def SetCalculatedProperties(self): argument
142 def ProcessFdt(self, fdt): argument
157 def CheckSize(self): argument
[all …]
H A Dimage.py39 def __init__(self, name, node, test=False): argument
50 def _ReadNode(self): argument
58 def GetFdtSet(self): argument
62 def ExpandEntries(self): argument
71 def AddMissingProperties(self): argument
82 def ProcessFdt(self, fdt): argument
90 def GetEntryContents(self): argument
95 def GetEntryOffsets(self): argument
103 def PackEntries(self): argument
107 def CheckSize(self): argument
[all …]
/openbmc/u-boot/tools/buildman/
H A Dkconfiglib.py104 def __init__(self, filename="Kconfig", base_dir=None, print_warnings=True, argument
233 def get_arch(self): argument
240 def get_srcarch(self): argument
247 def get_srctree(self): argument
254 def get_base_dir(self): argument
259 def get_kconfig_filename(self): argument
264 def get_config_filename(self): argument
269 def get_config_header(self): argument
281 def get_mainmenu_text(self): argument
288 def get_defconfig_filename(self): argument
[all …]
H A Dfunc_test.py176 def setUp(self): argument
208 def tearDown(self): argument
211 def setupToolchains(self): argument
215 def _RunBuildman(self, *args): argument
219 def _RunControl(self, *args, **kwargs): argument
228 def testFullHelp(self): argument
239 def testHelp(self): argument
247 def testGitSetup(self): argument
257 def _HandleCommandGitLog(self, args): argument
274 def _HandleCommandGitConfig(self, args): argument
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dtest_dtoc.py75 def _WritePythonString(self, fname, data): argument
86 def _CheckStrings(self, expected, actual): argument
103 def test_name(self): argument
111 def test_tab_to(self): argument
120 def test_get_value(self): argument
131 def test_get_compat_name(self): argument
152 def test_empty_file(self): argument
166 def test_simple(self): argument
270 def test_phandle(self): argument
342 def test_phandle_single(self): argument
[all …]
H A Dfdt.py40 def __init__(self, node, offset, name, bytes): argument
53 def RefreshOffset(self, poffset): argument
56 def Widen(self, newprop): argument
90 def BytesToValue(self, bytes): argument
140 def GetEmpty(self, type): argument
155 def GetOffset(self): argument
164 def SetInt(self, val): argument
178 def SetData(self, bytes): argument
188 def Sync(self, auto_resize=False): argument
225 def __init__(self, fdt, parent, offset, name, path): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Drunqueue.py29 …def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False… argument
56 def test_no_setscenevalid(self): argument
66 def test_single_setscenevalid(self): argument
78 def test_intermediate_setscenevalid(self): argument
89 def test_intermediate_notcovered(self): argument
100 def test_all_setscenevalid(self): argument
111 def test_no_settasks(self): argument
121 def test_mix_covered_notcovered(self): argument
132 def test_mixed_direct_tasks_setscene_tasks(self): argument
146 def test_slow_setscene(self): argument
[all …]
H A Dutils.py17 def test_vercmpstring(self): argument
41 def test_explode_dep_versions(self): argument
56 def test_vercmp_string_op(self): argument
92 def test_unsafe_delete_path(self): argument
109 def test_md5(self): argument
117 def test_sha1(self): argument
125 def test_sha256(self): argument
133 def test_goh1(self): argument
174 def _testeditfile(self, varvalues, compareto, dummyvars=None): argument
200 def test_edit_metadata_file_nochange(self): argument
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dvvfat39 def setUp(self) -> None: argument
100 def tearDown(self) -> None: argument
106 def read_sectors(self, sector: int, num: int = 1) -> bytes: argument
132 def write_sectors(self, sector: int, data: bytes) -> None: argument
151 def init_fat16(self): argument
162 def test_fat_filesystem(self): argument
180 def test_read_root_directory(self): argument
210 def test_direntry_as_bytes(self): argument
226 def test_read_files(self): argument
249 def test_write_file_same_content_direct(self): argument
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D29834 def setUp(self): argument
37 def tearDown(self): argument
47 def check_big(self): argument
50 def check_small(self): argument
55 def test_qemu_img(self): argument
67 def setUp(self): argument
72 def tearDown(self): argument
76 def test_prealloc(self): argument
80 def test_external_snapshot(self): argument
98 def test_reopen_opts(self): argument
[all …]
H A D05734 def __init__(self, *args): argument
38 def _setUp(self, test_img_base_name, image_num): argument
51 def tearDown(self): argument
56 def createSnapshotInTransaction(self, snapshot_num, abort = False): argument
85 def verifySnapshotInfo(self): argument
114 def deleteSnapshot(self, device, id = None, name = None): argument
165 def setUp(self): argument
168 def test_create(self): argument
172 def test_error_name_empty(self): argument
180 def test_error_device(self): argument
[all …]
H A D12453 def __init__(self, name, drive): argument
59 def base_target(self): argument
62 def new_target(self, num=None): argument
74 def last_target(self): argument
79 def del_target(self): argument
84 def cleanup(self): argument
91 def __init__(self, *args): argument
100 def setUp(self): argument
109 def write_default_pattern(self, target): argument
115 def add_node(self, node_id, fmt=iotests.imgfmt, path=None, backup=None): argument
[all …]
/openbmc/qemu/scripts/qapi/
H A Dschema.py51 self, argument
56 def _cgen(self) -> str: argument
59 def gen_if(self) -> str: argument
62 def gen_endif(self) -> str: argument
65 def docgen(self) -> str: argument
68 def is_present(self) -> bool: argument
79 def __init__(self, info: Optional[QAPISourceInfo]): argument
89 def __repr__(self) -> str: argument
92 def check(self, schema: QAPISchema) -> None: argument
96 def connect_doc(self, doc: Optional[QAPIDoc] = None) -> None: argument
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Druncmd.py17 def __init__(self): argument
21 def info(self, msg): argument
24 def error(self, msg): argument
35 def test_result_okay(self): argument
39 def test_result_false(self): argument
43 def test_shell(self): argument
48 def test_no_shell(self): argument
52 def test_list_not_found(self): argument
56 def test_list_okay(self): argument
60 def test_result_assertion(self): argument
[all …]
H A Dincompatible_lic.py11 def lic_test(self, pn, pn_lic, lic, error_msg=None): argument
24 def test_incompatible_alias_spdx_license(self): argument
30 def test_incompatible_alias_spdx_license_wildcard(self): argument
35 def test_incompatible_alias_spdx_license_alias(self): argument
41 def test_incompatible_spdx_license_alias_wildcard(self): argument
47 def test_incompatible_alias_spdx_license_alias_wildcard(self): argument
53 def test_incompatible_spdx_licenses_wildcard(self): argument
59 def test_incompatible_all_licenses_wildcard(self): argument
64 def lic_test(self, pn, pn_lic, lic): argument
75 def test_incompatible_spdx_license(self): argument
[all …]
H A Darchiver.py15 def test_archiver_allows_to_filter_on_recipe_name(self): argument
48 def test_archiver_filters_by_type(self): argument
80 def test_archiver_filters_by_type_and_name(self): argument
123 def test_archiver_multiconfig_shared_unpack_and_patch(self): argument
156 def test_archiver_srpm_mode(self): argument
168 def _test_archiver_mode(self, mode, target_file_name, extra_config=None): argument
188 def test_archiver_mode_original(self): argument
195 def test_archiver_mode_patched(self): argument
202 def test_archiver_mode_configured(self): argument
209 def test_archiver_mode_recipe(self): argument
[all …]
H A Druntime_test.py18 def test_testexport_basic(self): argument
57 def test_testexport_sdk(self): argument
113 def test_testimage_install(self): argument
132 def test_testimage_slirp(self): argument
148 def test_testimage_dnf(self): argument
182 def test_testimage_apt(self): argument
221 def test_testimage_virgl_gtk_sdl(self): argument
263 def test_testimage_virgl_headless(self): argument
295 def init_manager_loop(self, init_manager): argument
331 def test_postinst_rootfs_and_boot_sysvinit(self): argument
[all …]
/openbmc/qemu/scripts/
H A Dminikconf.py38 def __init__(self, msg): argument
41 def __str__(self): argument
51 def __and__(self, rhs): argument
53 def __or__(self, rhs): argument
55 def __invert__(self): argument
59 def add_edges_to(self, var): argument
61 def evaluate(self): argument
65 def __init__(self, lhs, rhs): argument
68 def __str__(self): argument
71 def add_edges_to(self, var): argument
[all …]
H A Danalyze-migration.py36 def __init__(self, filename): argument
40 def read64(self): argument
43 def read32(self): argument
46 def read16(self): argument
49 def read8(self): argument
52 def readstr(self, len = None): argument
55 def readvar(self, size = None): argument
65 def tell(self): argument
68 def seek(self, a, b): argument
73 def read_migration_debug_json(self): argument
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_mem_addr_space.py25 def ensure_64bit_binary(self): argument
44 def test_phybits_low_pse36(self): argument
72 def test_phybits_low_pae(self): argument
90 def test_phybits_ok_pentium_pse36(self): argument
107 def test_phybits_ok_pentium_pae(self): argument
125 def test_phybits_ok_pentium2(self): argument
142 def test_phybits_low_nonpse36(self): argument
163 def test_phybits_low_tcg_q35_70_amd(self): argument
190 def test_phybits_low_tcg_q35_71_amd(self): argument
211 def test_phybits_ok_tcg_q35_70_amd(self): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py24 def __init__(self, version): argument
91 def __init__(self): argument
117 def get_errno(self): argument
123 def str_errno(self): argument
129 def inotify_init(self): argument
132 def inotify_add_watch(self, fd, pathname, mask): argument
138 def inotify_rm_watch(self, fd, wd): argument
143 def __init__(self): argument
147 def init(self): argument
151 def _get_errno(self): argument
[all …]
H A Dcodegen.py87 def __init__(self, indent_with, add_line_information=False): argument
94 def write(self, x): argument
102 def newline(self, node=None, extra=0): argument
108 def body(self, statements): argument
115 def body_or_else(self, node): argument
122 def signature(self, node): argument
144 def decorators(self, node): argument
152 def visit_Assign(self, node): argument
161 def visit_AugAssign(self, node): argument
167 def visit_ImportFrom(self, node): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dserver.py55 def __init__(self, sample): argument
58 def start(self): argument
61 def end(self): argument
64 def __enter__(self): argument
68 def __exit__(self, *args, **kwargs): argument
73 def __init__(self, stats): argument
78 def measure(self): argument
81 def __enter__(self): argument
84 def __exit__(self, *args, **kwargs): argument
87 def add(self, elapsed): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcooker.py63 def __init__(self, info = None, reason = None): argument
83 def __init__(self): argument
86 def setFeature(self, f): argument
92 def __contains__(self, f): argument
95 def __iter__(self): argument
98 def __next__(self): argument
103 def __init__(self, cooker, eventfile): argument
108 def write_variables(self): argument
112 def send(self, event): argument
131 def __init__(self, featureSet=None, server=None): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/
H A D__init__.py20 def __init__(self, message): argument
24 def __str__(self): argument
29 def __init__(self, url, message=""): argument
39 def __init__(self, url, message=""): argument
51 def __init__(self, d): argument
68 def __add__(self, other): argument
83 def _parse_params(self, params): argument
101 def _fetch_url(self, url, username=None, password=None, debuglevel=0): argument
177 …def load_layerindex(self, indexURI, load=['layerDependencies', 'recipes', 'machines', 'distros'], … argument
238 def store_layerindex(self, indexURI, index=None): argument
[all …]

12345678910>>...45