Home
last modified time | relevance | path

Searched refs:rstrip (Results 1 – 25 of 167) sorted by relevance

1234567

/openbmc/u-boot/scripts/
H A Dmailmapper63 toplevel = toplevel.rstrip()
93 mail = '<' + mail.rstrip()
95 _, name = tmp.rstrip().split(None, 1)
122 config_mailmap = config_mailmap.rstrip()
H A Dfill_scrapyard.py99 toplevel = toplevel.rstrip()
157 line = line.rstrip() + '\n'
/openbmc/openbmc-test-automation/gui/lib/
H A Dutils_get_version.py73 "Not installed" if rc == 0x7F else version.rstrip("\n")
87 "Not installed" if not version else version.rstrip("\n")
91 versions["host OS"] = "Failed" if not version else version.rstrip("\n")
/openbmc/openbmc/meta-openembedded/contrib/
H A Doe-stylize.py238 if line.rstrip().endswith('\\'):
245 return line.rstrip()
369 line = line.expandtabs().rstrip()
383 line = line.rstrip()
427 print("## Warning: unknown variable/routine \"%s\"" % originalLine.rstrip('\n'))
/openbmc/u-boot/tools/buildman/
H A Dtest.py232 errors[0].rstrip().replace('\n', '\nw+'))
244 errors[1].rstrip().replace('\n', '\n+'))
261 errors[1].rstrip().replace('\n', '\n-'))
265 errors[2].rstrip().replace('\n', '\nw+'))
275 expect = errors[3].rstrip().split('\n')
281 errors[2].rstrip().replace('\n', '\nw-'))
289 expect = errors[3].rstrip().split('\n')
295 errors[0].rstrip().replace('\n', '\nw-'))
302 expect_str = errors[4].rstrip().replace('%(basedir)s', '').split('\n')
/openbmc/qemu/tests/qemu-iotests/
H A D207124 shell=True).rstrip().decode('ascii').split('\n')
134 shell=True).rstrip().decode('ascii')
138 shell=True).rstrip().decode('ascii')
142 shell=True).rstrip().decode('ascii')
/openbmc/u-boot/cmd/
H A Dini.c39 static char *rstrip(char *s) in rstrip() function
136 start = lskip(rstrip(line)); in ini_parse()
173 name = rstrip(start); in ini_parse()
178 rstrip(value); in ini_parse()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dftools.py15 wdata = data.rstrip() + "\n"
23 wdata = data.rstrip() + "\n"
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dutilcmds.py116 cmake_cmd = cmake_cmd + ' ' + line.strip().rstrip('\\')
120 cmake_cmd = line.strip().rstrip('\\')
144 %s''' % (cmake_do_configure.rstrip(), extra_oecmake)
152 }''' % do_configure.rstrip()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dfitimage.py213 sigs[itsdotpath][key.rstrip()] = value.lstrip().rstrip(';')
531 sigs[itsdotpath][key.rstrip()] = value.lstrip().rstrip(';')
679 sigs[itsdotpath][key.rstrip()] = value.lstrip().rstrip(';')
843 print("checking configuration " + cfg_str.rstrip(" {"))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libteam/libteam/
H A D0001-team_basic_test.py-switch-to-python3.patch54 cmd = cmd.rstrip(" ")
65 - output = data_stdout.rstrip()
66 + output = (data_stdout.rstrip()).decode()
/openbmc/openbmc-test-automation/lib/
H A Dutilities.py215 rows = out_buf.rstrip("\n").split("\n")
225 row["row_num"] = row_list[0].rstrip(".")
227 row["loss"] = row_list[2].rstrip("%")
H A Dgen_misc.py95 r"Executing: ", "Issuing: shutil.", print_string.rstrip("\n")
142 file_path = out_buf.rstrip("\n")
167 new_path = new_path.rstrip("/")
343 line = line.rstrip("\n")
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu-targets.inc21 return softmmuonly + ''.join([arch + "-softmmu" + "," for arch in archs]).rstrip(',')
22 …nly + ''.join([arch + "-linux-user" + "," + arch + "-softmmu" + "," for arch in archs]).rstrip(',')
/openbmc/openbmc-test-automation/ffdc/plugins/
H A Dredfish.py124 url = url.rstrip("/")
141 value = value.rstrip("/")
/openbmc/openpower-inventory-upload/
H A Dinventory_upload.py65 rename = rename.rstrip()
67 revalue = revalue.rstrip()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dlsb.py16 key, val = line.rstrip().split('=', 1)
87 data['DISTRIB_RELEASE'] = line[10:].rstrip()
/openbmc/linux/scripts/
H A Dspdxcheck.py44 if bdir == basedir.rstrip('/'):
122 bdir = basedir.lstrip('./').rstrip('/')
213 expr = expr.rstrip('*/').strip()
216 expr = expr.rstrip('-->').strip()
219 expr = expr.rstrip('\"').strip()
252 base = './' + base.rstrip('/')
H A Dbpf_doc.py405 for line in elem.ret.rstrip().split('\n'):
414 version = version.stdout.decode().rstrip()
419 version = version.stdout.decode().rstrip()
431 return date.stdout.decode().rstrip()
826 for line in helper.ret.rstrip().split('\n'):
/openbmc/skeleton/pyinventorymgr/
H A Dinventory_items.py67 p = line.rstrip("\n")
68 parts = line.rstrip("\n").split("=")
/openbmc/openbmc-test-automation/bin/
H A Dprocess_plug_in_packages.py212 cmd_buf = "PATH=" + plug_in_dir_path.rstrip("/") + ":${PATH}"
215 plug_in_dir_path.rstrip("/") + os.pathsep + original_path
/openbmc/openbmc/poky/documentation/tools/
H A Dupdate-documentation-conf72 infos[infolinesplit[0].rstrip()] = infolinesplit[1].lstrip()
95 key = linesplit[0].rstrip()
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-cryptography/
H A Dcheck-memfree.py4 meminfo = dict((i.split()[0].rstrip(':'),int(i.split()[1])) for i in open('/proc/meminfo').readline…
/openbmc/openbmc/poky/scripts/
H A Doe-pkgdata-util56 fields = line.rstrip().split()
92 pn = line.split(': ')[1].rstrip()
100 renamed = line.split(': ')[1].rstrip()
171 val = line.split(': ', 1)[1].rstrip()
224 fields = line.rstrip().split(': ')
359 fields = line.rstrip().split(': ')
/openbmc/linux/scripts/clang-tools/
H A Dgen_compile_commands.py141 obj = line.rstrip()
149 yield to_cmdfile(mod_line.rstrip())

1234567