/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/openbox/files/ |
H A D | 0001-openbox-xdg-autostart-convert-to-python3.patch | 27 - 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/linux/kernel/time/ |
H A D | timeconst.bc | 44 print "/* Automatically generated by kernel/time/timeconst.bc */\n" 45 print "/* Time conversion constants for HZ == ", hz, " */\n" 46 print "\n" 48 print "#ifndef KERNEL_TIMECONST_H\n" 49 print "#define KERNEL_TIMECONST_H\n\n" 51 print "#include <linux/param.h>\n" 52 print "#include <linux/types.h>\n\n" 54 print "#if HZ != ", hz, "\n" 55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n" 56 print "#endif\n\n" [all …]
|
/openbmc/linux/tools/workqueue/ |
H A D | wq_dump.py | 61 print(s, file=sys.stderr, flush=True) 95 print('Affinity Scopes') 96 print('===============') 98 print(f'wq_unbound_cpumask={cpumask_str(wq_unbound_cpumask)}') 101 print(f' nr_pods {pt.nr_pods.value_()}') 103 print(' pod_cpus', end='') 105 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='') 106 print('') 108 print(' pod_node', end='') 110 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='') [all …]
|
/openbmc/linux/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 31 print "Error: " awkchecked > "/dev/stderr" 32 print "Please try to use gawk." > "/dev/stderr" 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 38 print "/* Do not change this code. */\n" 107 print "Semantic error at " NR ": " msg > "/dev/stderr" 112 print "DEBUG: " msg 123 print "/* " $0 " */" 153 print "/* " $0 " */" 162 print "const insn_attr_t " name " = {" 166 print " [" id "] = " tbl[id] "," [all …]
|
/openbmc/linux/tools/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 31 print "Error: " awkchecked > "/dev/stderr" 32 print "Please try to use gawk." > "/dev/stderr" 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 38 print "/* Do not change this code. */\n" 107 print "Semantic error at " NR ": " msg > "/dev/stderr" 112 print "DEBUG: " msg 123 print "/* " $0 " */" 153 print "/* " $0 " */" 162 print "const insn_attr_t " name " = {" 166 print " [" id "] = " tbl[id] "," [all …]
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/ |
H A D | test.pl-adjust-for-ptest.patch | 25 -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/qemu/scripts/ |
H A D | analyse-9p-simpletrace.py | 2 # Pretty print 9p simpletrace log 82 print("Pretty printing 9p simpletrace log ...") 85 … print("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, ")") 94 …print("TATTACH (tag =", tag, ", fid =", fid, ", afid =", afid, ", uname =", uname, ", aname =", an… 97 …print("RATTACH (tag =", tag, ", qid={type =", type, ", version =", version, ", path =", path, "})") 100 print("TSTAT (tag =", tag, ", fid =", fid, ")") 103 …print("RSTAT (tag =", tag, ", mode =", mode, ", atime =", atime, ", mtime =", mtime, ", length =",… 106 … print("TGETATTR (tag =", tag, ", fid =", fid, ", request_mask =", hex(request_mask), ")") [all …]
|
H A D | vmstate-static-checker.py | 184 print("Section \"" + sec + "\",", end=' ') 185 print("Description " + "\"" + desc + "\":", end=' ') 186 print("expected field \"" + s_item["field"] + "\",", end=' ') 187 print("while dest has no further fields") 205 print("Section \"" + sec + "\",", end=' ') 206 print("Description \"" + desc + "\":", end=' ') 207 print("unused size mismatch near \"", end=' ') 208 print(s_item["field"] + "\"") 219 print("Section \"" + sec + "\",", end=' ') 220 print("Description \"" + desc + "\":", end=' ') [all …]
|
H A D | modinfo-generate.py | 11 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 D | mtest2make.py | 23 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}') 74 …print(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/poky/bitbake/lib/bb/ |
H A D | namedtuple_with_abc.py | 33 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/linux/scripts/ |
H A D | get_feat.pl | 62 print STDERR "Warning: file $file#$ln:\n\t$msg"; 65 print STDERR ". Line\n\t\t$data"; 67 print STDERR "\n"; 119 print STDERR "Opening $file\n" if ($debug > 1); 214 print "=" x length($title) . "\n"; 215 print "$title\n"; 216 print "=" x length($title) . "\n\n"; 218 print "=" x $max_size_subsys; 219 print " "; 220 print "=" x $max_size_name; [all …]
|
H A D | extract-module-sig.pl | 40 print STDERR "Read ", $len, " bytes from module file\n"; 53 print STDERR "Found magic number at $len\n"; 62 print STDERR "Found PGP key identifier\n"; 64 print STDERR "Found X.509 cert identifier\n"; 66 print STDERR "Found PKCS#7/CMS encapsulation\n"; 68 print STDERR "Found unsupported identifier type $id_type\n"; 87 print STDERR "Found $sig_len bytes of signature ["; 92 print STDERR "]\n"; 96 print STDERR "Found $kid_len bytes of key identifier ["; 101 print STDERR "]\n"; [all …]
|
/openbmc/linux/lib/ |
H A D | build_OID_registry | 17 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n"; 40 print C_FILE "/*\n"; 43 print C_FILE " * Automatically generated by ", $scriptname, ". Do not edit\n"; 44 print C_FILE " */\n"; 78 print C_FILE "\n"; 80 print C_FILE "static const unsigned char oid_index[OID__NR + 1] = {\n"; 82 print C_FILE "static const unsigned short oid_index[OID__NR + 1] = {\n"; 85 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n" 87 print C_FILE "\t[OID__NR] = ", $total_length, "\n"; 88 print C_FILE "};\n"; [all …]
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-hashclient | 49 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/openbmc/meta-openembedded/meta-oe/recipes-support/libteam/libteam/ |
H A D | 0001-team_basic_test.py-switch-to-python3.patch | 27 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/poky/scripts/tiny/ |
H A D | ksum.py | 28 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 D | test-qapi.py | 28 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/meta-arm/scripts/ |
H A D | layer-overview.py | 4 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-tools/check_journal/ |
H A D | check_journal | 52 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/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck-rcuscale-ftrace.sh | 44 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)"; 60 print "No ftrace records found???" 73 print "Histogram bucket size: " div; 82 print last, count; 88 print last, count; 89 print "Distribution of grace periods across tasks:"; 91 print "\t" i, gptaskcnt[i]; 95 print "Distribution of piggybacking across tasks:"; 97 print "\t" i, piggybackcnt[i]; 100 print "Average grace-period duration: " sum / newNR " microseconds"; [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
H A D | abat.patch | 10 - 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/linux/tools/net/ynl/ |
H A D | ethtool.py | 20 print(f'no attributes, expected: {valid_attrs}') 27 print(f'expected value for \'{attr}\'') 31 print(f'invalid attribute \'{attr}\', expected: {valid_attrs}') 41 Pretty-print a set of fields from the reply. desc specifies the 62 print(f'{name}: {value}') 66 Print out the speed-like strings from the value dict. 70 print(f'{name}: {" ".join(speed)}') 102 print(f"Not supported for device {args.device}") 162 print("not implemented") 176 print("not implemented") [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | of_unittest_expect | 75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n"; 83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n"; 94 print STDERR 100 -h print program usage 101 --help print program usage 107 --version print program version and exit 177 print STDERR "\n"; 178 print STDERR "ERROR processing command line options\n"; 179 print STDERR "\n"; 180 print STDERR "For help, type '$script_name --help'\n"; [all …]
|
/openbmc/linux/tools/testing/selftests/size/ |
H A D | get_size.c | 21 * number output and print routines, and using __builtin_strlen() 35 static int print(const char *s) in print() function 65 return print(num_to_str(num, num_buf, sizeof(num_buf))); in print_num() 73 print(s); in print_k_value() 79 print("\n"); in print_k_value() 91 print("TAP version 13\n"); in _start() 92 print("# Testing system size.\n"); in _start() 96 print("not ok 1"); in _start() 97 print(test_name); in _start() 98 print(" ---\n reason: \"could not get sysinfo\"\n ...\n"); in _start() [all …]
|