Home
last modified time | relevance | path

Searched refs:startswith (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/openbmc/openbmc/poky/meta/lib/oe/
H A Dclassextend.py26 if name.startswith("kernel-") or name == "virtual/kernel":
28 if name.startswith("rtld"):
34 if name.startswith("virtual/"):
39 if not subs.startswith(self.extname):
42 if name.startswith("/") or (name.startswith("${") and name.endswith("}")):
44 if not name.startswith(self.extname):
68 if v.startswith("^" + self.extname):
70 elif v.startswith("^"):
88 if dep.startswith(v):
127 if pkg.startswith(self.extname):
[all …]
H A Ddata.py31 if key.startswith("_"):
33 elif key.startswith("BB"):
35 elif key.startswith("B_pn"):
37 elif key.startswith("do_"):
/openbmc/openbmc/poky/scripts/
H A Dopkg-query-helper.py39 if line.startswith("Package:"):
44 if line.startswith("Architecture:"):
48 if line.startswith("Version:"):
50 elif line.startswith("Architecture:"):
54 if line.startswith("Version:"):
56 elif line.startswith("Architecture:"):
60 if line.startswith("Depends:"):
66 elif line.startswith("Recommends:"):
H A Dbuildhistory-collect-srcrevs79 if line.startswith('# SRCREV = '):
81 elif line.startswith('# SRCREV_'):
85 elif line.startswith('SRCREV ='):
87 elif line.startswith('SRCREV_'):
H A Drelocate_sdk.py98 if fname.startswith(b("/lib/")) or fname.startswith(b("/lib64/")) or \
99 fname.startswith(b("/lib32/")) or fname.startswith(b("/usr/lib32/")) or \
100 fname.startswith(b("/usr/lib32/")) or fname.startswith(b("/usr/lib64/")):
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dlinuxloader.bbclass12 if targetarch.startswith("microblaze"):
14 elif targetarch.startswith("mips"):
18 elif targetarch.startswith("powerpc64"):
24 elif targetarch.startswith("arm"):
26 elif targetarch.startswith("aarch64"):
28 elif targetarch.startswith("riscv64"):
30 elif targetarch.startswith("riscv32"):
47 elif targetarch.startswith("mips"):
49 elif targetarch.startswith("loongarch64"):
61 elif targetarch.startswith("aarch64"):
[all …]
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_kernel.py37 while newlines[-1].startswith('#'):
56 if line.startswith('VERSION ='):
58 elif line.startswith('PATCHLEVEL ='):
60 elif line.startswith('SUBLEVEL ='):
62 elif line.startswith('EXTRAVERSION ='):
73 while newlines[-1].startswith('#'):
76 while newlines[-1].startswith('#'):
H A Dcreate_buildsys.py155 if splitname[0].lower().startswith(pkg.lower()):
249 if not lib.startswith('$'):
255 … in ['HINTS', 'PATHS', 'PATH_SUFFIXES', 'DOC', 'NAMES_PER_DIR'] or lib.startswith(('NO_', 'CMAKE_'…
258 if not lib.startswith('$'):
260 if line.lower().startswith('useswig'):
360 if line.startswith('VERSION=') or line.startswith('PACKAGE_VERSION='):
364 elif line.startswith('PACKAGE_NAME=') or line.startswith('PACKAGE='):
448 if value.startswith('m4_esyscmd(') or value.startswith('m4_esyscmd_s('):
457 elif value.startswith('m4_'):
521 if not prog.startswith('$'):
[all …]
H A Dcreate_kmod.py68 if line.startswith('install:'):
72 elif line.startswith('modules_install:'):
76 elif line.startswith('modules:'):
79 elif line.startswith(('all:', 'default:')):
128 elif kdirpath.startswith('/lib/'):
H A Dappend.py75 if line.startswith('PN:'):
77 elif line.startswith('FILES_INFO'):
83 elif line.startswith('pkg_preinst:') or line.startswith('pkg_postinst:'):
113 if not srcpath.startswith('/'):
116 if srcpath.startswith(unpackdir):
171 if elem.startswith('-'):
205 if (line.startswith('install ') and ' -m' in line) or line.startswith('cp '):
252 if pn.startswith('?'):
254 elif pn.startswith('!'):
/openbmc/openbmc-build-scripts/config/gitlint/
H A Dblock_comment.py27 line.startswith("'''")
28 or line.startswith('"""')
29 or line.startswith("```")
48 if line.startswith("Signed-off-by:"):
52 if line.startswith("Fixes:"):
/openbmc/qemu/tests/tcg/multiarch/system/
H A Dvalidate-memory-counts.py34 if line.startswith("Test data start:"):
36 elif line.startswith("Test data end:"):
38 elif line.startswith("Test data read:"):
40 elif line.startswith("Test data write:"):
66 if line.startswith("Region Base"):
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Dregression.py90 …return all(test_has_at_least_one_matching_tag(test_result, tag_list) or test_name.startswith("ptes…
96 …return all( result[test]['status'] == "SKIPPED" for test in result if test.startswith(test_prefix))
113 elif all(result.startswith("reproducible") for result in results):
179 …if base_configuration.get('TEST_TYPE') == 'runtime' and any(result.startswith("ltpresult") for res…
180 …ret = target_configuration.get('TEST_TYPE') == 'runtime' and any(result.startswith("ltpresult") fo…
234 …new_pass_count = sum(test['target'] is not None and test['target'].startswith("PASS") for test in …
239 if not result[k]['target'] or not result[k]['target'].startswith("PASS"):
242 key = '.'.join(key_parts[:2]) if k.startswith('ptest') else key_parts[0]
287 …if test.startswith(("ptestresult.lttng-tools.", "ptestresult.babeltrace.", "ptestresult.babeltrace…
289 elif test.startswith(("ptestresult.curl.")) and "__" in test:
[all …]
/openbmc/qemu/scripts/rust/
H A Drustc_args.py39 name.startswith("CONFIG_")
40 or name.startswith("TARGET_")
41 or name.startswith("HAVE_")
47 config = [l.split()[1:] for l in cfg if l.startswith("#define")]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dimport.py53 if member.name.startswith('appends'):
55 elif member.name.startswith('recipes'):
85 if member.name.startswith('appends/%s' % nonimp) or \
86 member.name.startswith('recipes/%s' % nonimp) or \
87 member.name.startswith('sources/%s' % pn):
105 if member.name.startswith('appends'):
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Doverlayfs.py69 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
71 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output)
107 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output)
130 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output)
202 self.assertTrue(line and line.startswith("tmpfs"), msg=output)
205 self.assertTrue(line and line.startswith("overlay"), msg=output)
208 self.assertTrue(line and line.startswith("overlay"), msg=output)
409 …self.assertTrue(line and line.startswith("/data/overlay-etc/upper on /etc type overlay"), msg=outp…
420 self.assertTrue(line and line.startswith(testFile), msg=output)
426 self.assertTrue(line and line.startswith(testFile), msg=output)
/openbmc/openbmc/poky/meta/lib/patchtest/
H A Dmbox.py20 assert self.handle.readline().startswith(b'From ')
35 if line == b'' or line.startswith(b'From '):
101 invalid = lbranch.startswith('patch') or \
102 lbranch.startswith('rfc') or \
103 lbranch.startswith('resend') or \
/openbmc/qemu/target/hexagon/
H A Dgen_idef_parser_funcs.py102 if tag.startswith("Y"):
104 if tag.startswith("V6_"):
106 if ( tag.startswith("F") and
120 if ( tag.startswith('R6_release_') ):
/openbmc/openbmc/meta-openembedded/contrib/
H A Doe-stylize.py264 if line.lstrip().startswith('#'):
265 return line.startswith('#')
396 if line.startswith('}'):
401 if line.lstrip().startswith('#'):
415 if line.startswith(k):
447 if addEmptyLine and not k.startswith(previourVarPrefix):
/openbmc/bmcweb/scripts/
H A Dupdate_schemas.py57 if version.startswith("v"):
78 if zip_file.filename.startswith(VERSION + "/csdl/"):
80 elif zip_file.filename.startswith(VERSION + "/json-schema/"):
84 elif zip_file.filename.startswith(VERSION + "/openapi/"):
86 elif zip_file.filename.startswith(VERSION + "/dictionaries/"):
H A Dreplace_logs.py75 if (log_piece.startswith('"') and log_piece.endswith('"')) or (
76 log_piece.startswith("'") and log_piece.endswith("'")
80 if log_piece == "this" or log_piece.startswith("&"):
/openbmc/linux/scripts/
H A Dbloat-o-meter36 if line.startswith("\n") or ":" in line:
41 if name.startswith("__mod_"): continue
42 if name.startswith("__se_sys"): continue
43 if name.startswith("__se_compat_sys"): continue
44 if name.startswith("__addressable_"): continue
/openbmc/openbmc-build-scripts/config/lib/
H A Dignore-filter25 if line.startswith("#"):
30 if line.startswith("/"):
32 elif line.startswith("./"):
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dengine.py314 if part.fstype.startswith(fstype):
336 if self.partitions[pnum].fstype.startswith('ext'):
349 if self.partitions[pnum].fstype.startswith('ext'):
384 if line.startswith("rm:"):
405 if rmdir_line.startswith("rmdir:"):
416 if self.partitions[pnum].fstype.startswith('ext'):
483 if line.startswith("Unpartitioned space ") and line.endswith("sectors"):
526 if fstype.startswith('ext') or fstype.startswith('fat') or \
527 fstype.startswith('linux-swap'):
533 if fstype.startswith('ext'):
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dos_utils_keywords.py126 if line.startswith("#"):
130 if line.startswith("-") and parse_walk is False:
135 elif line.startswith("-"):

12345678910>>...16