Home
last modified time | relevance | path

Searched full:print (Results 1 – 25 of 1891) sorted by relevance

12345678910>>...76

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/openbox/files/
H A D0001-openbox-xdg-autostart-convert-to-python3.patch27 - print
28 - print >>sys.stderr, "ERROR:", ME, "requires PyXDG to be installed"
29 - print
30 + print()
31 + print("ERROR:", ME, "requires PyXDG to be installed", file=sys.stderr)
32 + print()
40 - print "Invalid .desktop file: " + path
41 + print("Invalid .desktop file: " + path)
49 - print "\t ", str
50 + print("\t ", str)
[all …]
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/
H A Dtest.pl-adjust-for-ptest.patch25 -BEGIN {print "1..5\n";}
26 -END {print "not ok 1\n" unless $loaded;}
27 +BEGIN {print "Start testing for libauthen-radius-perl\n";}
28 +END {print "\nFAIL: test1\n" unless $loaded;}
31 -print "ok 1\n";
32 +print "\nPASS: test1\n";
36 @@ -19,26 +19,31 @@ print "ok 1\n";
45 print "Make sure this machine is in your Radius clients file!\n";
46 -print "Enter hostname[:port] of your Radius server: "; chomp ($host = <STDIN>);
47 -print "Enter shared-secret of your Radius server: "; chomp ($secret = <STDIN>);
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dnamedtuple_with_abc.py33 print(Credentials("alice", "Alice's password"))
97 print(rec)
98 print(rec._my_custom_method())
99 print(rec._replace(y=222))
100 print(rec._replace(y=222)._my_custom_method())
111 print(exc)
127 print(rec2)
128 print(rec2._my_custom_method())
129 print(rec2._replace(b=222))
130 print(rec2._replace(b=222)._my_custom_method())
[all …]
/openbmc/qemu/scripts/
H A Danalyse-9p-simpletrace.py2 # Pretty print 9p simpletrace log
82 print("Pretty printing 9p simpletrace log ...")
85print("RERROR (tag =", tag, ", id =", symbol_9p[id], ", err = \"", os.strerror(err), "\")")
88 print("TVERSION (tag =", tag, ", msize =", msize, ", version =", version, ")")
91 print("RVERSION (tag =", tag, ", msize =", msize, ", version =", version, ")")
94print("TATTACH (tag =", tag, ", fid =", fid, ", afid =", afid, ", uname =", uname, ", aname =", an…
97print("RATTACH (tag =", tag, ", qid={type =", type, ", version =", version, ", path =", path, "})")
100 print("TSTAT (tag =", tag, ", fid =", fid, ")")
103print("RSTAT (tag =", tag, ", mode =", mode, ", atime =", atime, ", mtime =", mtime, ", length =",…
106print("TGETATTR (tag =", tag, ", fid =", fid, ", request_mask =", hex(request_mask), ")")
[all …]
H A Dmodinfo-generate.py11 print(" .%s = ((const char*[]){ %s, NULL })," % (name, list))
55 print(" /* module {} isn't enabled in Kconfig. */"
57 print("/* },{ */")
60 print("unknown:", kind)
63 print(" .name = \"%s\"," % name)
65 print(" .arch = %s," % arch)
69 print("},{")
73 print("/* generated by scripts/modinfo-generate.py */")
74 print("#include \"qemu/osdep.h\"")
75 print("#include \"qemu/module.h\"")
[all …]
H A Dvmstate-static-checker.py186 print("Section \"" + sec + "\",", end=' ')
187 print("Description " + "\"" + desc + "\":", end=' ')
188 print("expected field \"" + s_item["field"] + "\",", end=' ')
189 print("while dest has no further fields")
207 print("Section \"" + sec + "\",", end=' ')
208 print("Description \"" + desc + "\":", end=' ')
209 print("unused size mismatch near \"", end=' ')
210 print(s_item["field"] + "\"")
221 print("Section \"" + sec + "\",", end=' ')
222 print("Description \"" + desc + "\":", end=' ')
[all …]
H A Dmtest2make.py23 print('''
37 .check.mtestargs = $(MTESTARGS) $(.mtestargs) $(if $(V),--verbose,--print-errorlogs)
71 print()
72 print(f'all-{prefix}-targets = {all_targets}')
73 print(f'all-{prefix}-xml = {all_xml}')
74print(f'.PHONY: {prefix} do-meson-{prefix} {prefix}-report.junit.xml $(all-{prefix}-targets) $(all…
75 print(f'ifeq ($(filter {prefix}, $(MAKECMDGOALS)),)')
76 print(f'.{prefix}.mtestargs += $(call .speed.$(SPEED), $(.{prefix}.mtest-suites))')
77 print(f'endif')
78 print(f'{prefix}-build: run-ninja')
[all …]
/openbmc/openbmc/meta-arm/scripts/
H A Dlayer-overview.py4 Print an overview of the layer to help writing release notes.
25 Print a summary of the layer.
27 print(layer.name)
31 print(" Machines")
33 print(f" {m.stem}")
34 print()
38 print(" Recipes")
42 print(f" {pn} {pv}")
44 print(f" {r.stem}")
45 print()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libteam/libteam/
H A D0001-team_basic_test.py-switch-to-python3.patch27 Print usage of this app
29 - print "Usage: team_basic_test.py [OPTION...]"
30 - print ""
31 - print " -h, --help print this message"
32 - print " -c, --loop-count=NUMBER number of loops (default 1)"
33 - print " -p, --port=NETDEV port device (can be defined multiple times)"
34 + print("Usage: team_basic_test.py [OPTION...]")
35 + print("")
36 + print(" -h, --help print this message")
37 + print(" -c, --loop-count=NUMBER number of loops (default 1)")
[all …]
/openbmc/openbmc-tools/check_journal/
H A Dcheck_journal52 print("Checking paging")
54 print(f"Checking {len(members)} pages with top {top}")
64 print(f"Fail, size didn't match. Size was {len(members3)}")
67 print("Skipping entries created after golden page")
70 print(f"Fail {page_uri} ")
71 print(json.dumps(members3[0], indent=4))
72 print("Returned Does not equal expected")
73 print(json.dumps(members[page], indent=4))
77 print(f"Checked {page_uri}")
79 print("Checking individual lookup")
[all …]
/openbmc/openbmc/poky/scripts/tiny/
H A Dksum.py28 print('Usage: %s [OPTION]...' % prog)
29 print(' -v, display sizes for each file')
30 print(' -h, --help display this help and exit')
31 print('')
32 print('Run %s from the top-level Linux kernel build directory.' % prog)
65 print("Collecting object files recursively from %s..." % os.getcwd())
73 print("Collecting object files [DONE]")
81 print(" %10d %10d %10d %10d\t" % \
83 print("%s" % filename[len(os.getcwd()) + 1:])
97 print(" %10d %10d %10d %10d\t" % \
[all …]
/openbmc/qemu/tests/qapi-schema/
H A Dtest-qapi.py28 print('module %s' % name)
31 print('include %s' % name)
34 print('enum %s' % name)
36 print(' prefix %s' % prefix)
38 print(' member %s' % m.name)
47 print('array %s %s' % (name, element_type.name))
52 print('object %s' % name)
54 print(' base %s' % base.name)
56 print(' member %s: %s optional=%s'
66 print('alternate %s' % name)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/manual/
H A Dabat.patch10 - XPID=$( ps ax | awk '{print $1, $5}' | grep glxgears | awk '{print $1}')
11 + XPID=$( ps | awk '{print $1, $5}' | grep glxgears | awk '{print $1}')
23 -XPID=$( ps ax | awk '{print $1, $5}' | egrep "X$|Xorg$" | awk '{print $1}')
24 +XPID=$( ps | awk '{print $1, $6}' | egrep "X$|Xorg$" | awk '{print $1}')
36 -PXID=$(ps ax |awk '{print $1,$5}' |egrep "Xorg$|X$" |grep -v grep | awk '{print $1}')
37 +PXID=$(ps |awk '{print $1,$6}' |egrep "Xorg$|X$" |grep -v grep | awk '{print $1}')
59 - XPID=$( ps ax | awk '{print $1, $5}' | egrep "X$|Xorg$" |grep -v grep| awk '{print $1}')
60 + XPID=$( ps | awk '{print $1, $6}' | egrep "X$|Xorg$" |grep -v grep| awk '{print $1}')
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-hashclient49 print(f"Username: {u['username']}")
51 print("Permissions: " + " ".join(u["permissions"]))
53 print(f"Token: {u['token']}")
62 print(json.dumps(result, sort_keys=True, indent=4))
70 print(json.dumps(result, sort_keys=True, indent=4))
78 print(json.dumps(s, sort_keys=True, indent=4))
127 print(f"Number of clients: {args.clients}")
128 print(f"Requests per client: {args.requests}")
129 print(f"Number of requests: {len(times)}")
130 print(f"Total elapsed time: {total_elapsed:.3f}s")
[all …]
/openbmc/u-boot/doc/imx/habv4/script_examples/
H A DgenIVT.pl4 print $out pack("V", 0x412000D1); # Signature
5 print $out pack("V", 0x80800000); # Load Address (*load_address)
6 print $out pack("V", 0x0); # Reserved
7 print $out pack("V", 0x0); # DCD pointer
8 print $out pack("V", 0x0); # Boot Data
9 print $out pack("V", 0x80EEA000); # Self Pointer (*ivt)
10 print $out pack("V", 0x80EEA020); # CSF Pointer (*csf)
11 print $out pack("V", 0x0); # Reserved
/openbmc/openbmc/poky/meta/lib/patchtest/selftest/
H A Dselftest23 print("============================================================================")
24 print("Testsuite summary for %s" % os.path.basename(topdir))
25 print("============================================================================")
26 print("# TOTAL: %s" % str(total))
27 print("# XPASS: %s" % str(xpasscount))
28 print("# XFAIL: %s" % str(xfailcount))
29 print("# XSKIP: %s" % str(xskipcount))
30 print("# PASS: %s" % str(passcount))
31 print("# FAIL: %s" % str(failcount))
32 print("# SKIP: %s" % str(skipcount))
[all …]
/openbmc/qemu/util/
H A Dqemu-print.c2 * Print to stream or current monitor
15 #include "qemu/qemu-print.h"
18 * Print like vprintf().
19 * Print to current monitor if we have one, else to stdout.
31 * Print like printf().
32 * Print to current monitor if we have one, else to stdout.
46 * Print like vfprintf()
47 * Print to @stream if non-null, else to current monitor.
58 * Print like fprintf().
59 * Print to @stream if non-null, else to current monitor.
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A Ddiagnose.py27 print(("Diagnostic running on Beautiful Soup %s" % __version__))
28 print(("Python version %s" % sys.version))
37 print((
45 print(("Found lxml version %s" % ".".join(map(str,etree.LXML_VERSION))))
47 print(
54 print(("Found html5lib version %s" % html5lib.__version__))
56 print(
63 print(("Trying to parse your markup with %s" % parser))
69 print(("%s could not parse the markup." % parser))
72 print(("Here's what %s did with the markup:" % parser))
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_ipmi_fru.pl82 print $fh $fruID.":";
83 print $fh "\n";
146 print $fh " ".$instancePath.":";
147 print $fh "\n";
148 print $fh " "."entityID: ".$fruTypeConfig->{$fruType}->{'EntityID'};
149 print $fh "\n";
150 print $fh " "."entityInstance: ";
151 print $fh $entityInfoDict{$fruTypeConfig->{$fruType}->{'EntityID'}};
152 print $fh "\n";
153 print $fh " "."interfaces:";
[all …]
H A Dgen_fru_properties.pl89 print $fh $defaultPaths{$type}.":";
90 print $fh "\n";
93 print $fh " ".$interface.":";
94 print $fh "\n";
98 print $fh " ".$property.": ".$value;
99 print $fh "\n";
109 print $fh $item->{OBMC_NAME}.":";
110 print $fh "\n";
113 print $fh " ".$interface.":";
114 print $fh "\n";
[all …]
/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dtest_regexps.py21 print(RE_FUN_CALL)
23 print(RE_TI_FIELD_INIT)
30 print(RE_MACRO_DEFINE)
40 print(RE_CHECK_MACRO)
41 print(CPP_SPACE)
50 print(RE_CHECK_MACRO)
58 print(RE_TYPEINFO_START)
76 print(RE_ARRAY_ITEM)
86 print(RE_COMMENT)
91 print(RE_TI_FIELDS)
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A Dqcow2.py35 print()
48 print("'%s' is not a valid number" % value)
53 print("'%s' is not a known header field" % name)
65 print("'%s' is not a valid magic number" % magic)
83 print("'%s' is not a valid magic number" % magic)
95 print("No such header extension")
107 print("'%s' is not a valid bit number in range [0, 64)" % bit)
118 print("'%s' is not a valid group, try "
151 print("Unknown command '%s'" % cmd)
157 print("Usage: %s <file> <cmd> [<arg>, ...] [<key>, ...]" % sys.argv[0])
[all …]
/openbmc/openbmc/poky/scripts/
H A Dgen-lockedsig-cache55 print("Incorrect number of arguments specified")
56print("syntax: gen-lockedsig-cache <locked-sigs.inc> <input-cachedir> <output-cachedir> <nativelsb…
61 print('Reading filter file %s' % sys.argv[5])
67 print('Reading %s' % sys.argv[1])
74 print('Filtering out %s' % task)
78 print('Gathering file list')
95 print("Gathering file list took %.1fs" % elapsed)
97 print('Processing files')
102 print('skipping')
112 print('linking')
[all …]
/openbmc/u-boot/include/
H A Ddisplay_options.h13 * print_size() - Print a size with a suffix
15 * Print sizes as "xxx KiB", "xxx.y KiB", "xxx MiB", "xxx.y MiB",
19 * @size: Size to print
20 * @suffix String to print after the size
25 * print_freq() - Print a frequency with a suffix
27 * Print frequencies as "x.xx GHz", "xxx KHz", etc as needed; allow for
30 * @freq: Frequency to print in Hz
31 * @suffix String to print after the frequency
36 * print_buffer() - Print data buffer in hex and ascii form
45 * @linelen: Number of values to print per line; specify 0 for default length
/openbmc/u-boot/tools/
H A Drkmux.py46 print self
47 print
68 print '/* %s */' % self.name
69 print 'enum {'
72 print '};';
77 #print 'field:', field
87 #print 'bad field %s' % field
100 print
104 #print 'lines: %s', lines
156 #print
[all …]

12345678910>>...76