| /tools/u_boot_pylib/ |
| A D | tout.py | 85 msg = _color.build(color, msg) 89 print(msg) 103 def fatal(msg): argument 111 def error(msg): argument 119 def warning(msg): argument 127 def notice(msg): argument 135 def info(msg): argument 141 _output(INFO, msg) 143 def detail(msg): argument 151 def debug(msg): argument [all …]
|
| A D | gitutil.py | 75 raise ValueError(msg) 160 return upstream, msg 185 return None, msg 187 return rstr, msg 222 return None, msg 624 raise OSError(msg) 625 print(col.build(col.RED, msg)) 632 print(col.build(col.RED, msg)) 843 msg = lines[empty + 1:] 844 unindented = [line[4:] for line in msg] [all …]
|
| A D | command.py | 22 def __init__(self, msg, result): argument 28 super().__init__(msg)
|
| A D | tools.py | 389 msg = "Please install tool '%s'" % name 392 msg += " (e.g. from package '%s')" % package 393 raise ValueError(msg)
|
| /tools/patman/ |
| A D | cseries.py | 57 if msg: 58 tout.info(msg) 69 msg = 'Added' 79 msg += f" v{version}" 89 msg = None 98 if msg: 99 tout.info(msg) 719 msg = 'Cannot rename' 724 raise ValueError(msg) 770 if msg: [all …]
|
| A D | cser_helper.py | 310 msg = None 317 return name, series, version, msg 360 tout.warning(msg) 811 if msg is None: 812 msg = commit.message 957 vals.msg = commit.message 992 vals.msg = vals.msg + f'\n{CHANGE_ID_TAG}: {change_id}' 1075 vals.msg = '\n'.join(out) + '\n' 1081 vals.msg = patchstream.insert_tags(vals.msg.rstrip(), 1241 msg = gitutil.show_commit( [all …]
|
| A D | send.py | 151 msg = 'No commits found to process - please use -c flag, or run:\n' \ 153 sys.exit(col.build(col.RED, msg))
|
| A D | checkpatch.py | 229 def get_warning_msg(col, msg_type, fname, line, msg): argument 245 return '%s:%s: %s: %s\n' % (fname, line_str, msg_type, msg)
|
| A D | func_test.py | 1325 msg = '''first line 1334 new_msg = patchstream.insert_tags(msg, tags) 1335 self.assertEqual(msg + '\n\n' + tag_str, new_msg) 1337 new_msg = patchstream.insert_tags(msg + '\n', tags) 1338 self.assertEqual(msg + '\n\n' + tag_str, new_msg) 1340 msg += '\n\n' + signoff 1341 new_msg = patchstream.insert_tags(msg, tags) 1342 self.assertEqual(msg + '\n' + tag_str, new_msg)
|
| A D | patchstream.py | 113 self.msg = None # Full commit message including subject 207 self.commit.msg = '\n'.join(lines[1:]) + '\n' 690 def insert_tags(msg, tags_to_emit): argument 707 for line in msg.splitlines():
|
| A D | test_checkpatch.py | 416 def check_single_message(self, pm, msg, pmtype = 'warning'): argument 432 self.assertIn(msg, result.problems[0]['cptype'])
|
| A D | status.py | 351 msg = ' (use -d to write them to a new branch)' 353 msg = ''
|
| /tools/ |
| A D | rmboard.py | 118 msg = '''arm: Remove %s board 125 msg += 'Patch-cc: %s\n' % name 128 stdout = command.output('git', 'commit', '-s', '-m', msg)
|
| A D | fdt_add_pubkey.c | 13 static void __attribute__((__noreturn__)) print_usage(const char *msg) in print_usage() argument 15 fprintf(stderr, "Error: %s\n", msg); in print_usage()
|
| A D | bmp_logo.c | 45 static int error(char *msg, FILE *fp) in error() argument 47 fprintf (stderr, "ERROR: %s\n", msg); in error()
|
| A D | proftool.c | 846 static int push_len(struct twriter *tw, int base, const char *msg, int size) in push_len() argument 851 fprintf(stderr, "Length-stack overflow: %s\n", msg); in push_len() 856 msg); in push_len() 880 static int pop_len(struct twriter *tw, const char *msg) in pop_len() argument 886 fprintf(stderr, "Length-stack underflow: %s\n", msg); in pop_len() 1627 static struct flame_node *create_node(const char *msg) in create_node() argument 1633 fprintf(stderr, "Out of memory for %s\n", msg); in create_node()
|
| /tools/binman/ |
| A D | elf.py | 191 def GetPackString(sym, msg): argument 211 (msg, sym.size)) 264 msg = ("Section '%s': entry '%s'" % 288 msg = ("Section '%s': Symbol '%s'\n in entry '%s'" % 303 pack_string = GetPackString(sym, msg) 309 msg, base_addr) 315 (msg, name, offset, value, len(value_bytes))) 324 def GetSymbolValue(sym, data, msg): argument 342 pack_string = GetPackString(sym, msg)
|
| A D | control.py | 91 def _FinishTag(tag, msg, result): argument 93 result[tag] = msg.rstrip() 95 msg = '' 96 return tag, msg 102 msg = '' 107 _, msg = _FinishTag(tag, msg, result) 110 msg += line + '\n' 111 _FinishTag(tag, msg, result) 962 msg = 'Some images are invalid' 964 tout.warning(msg) [all …]
|
| A D | image.py | 155 def Raise(self, msg): argument 157 raise ValueError("Image '%s': %s" % (self._node.path, msg)) 386 def GetImageSymbolValue(self, sym_name, optional, msg, base_addr): argument 425 return self.GetSymbolValue(sym_name, optional, msg, base_addr,
|
| A D | entry.py | 567 def Raise(self, msg): argument 569 raise ValueError("Node '%s': %s" % (self._node.path, msg)) 571 def Info(self, msg): argument 574 tout.detail('%30s: %s' % (tag, msg)) 576 def Detail(self, msg): argument 579 tout.detail('%30s: %s' % (tag, msg)) 1374 def mark_absent(self, msg): argument 1375 tout.info("Entry '%s' marked absent: %s" % (self._node.path, msg))
|
| /tools/buildman/ |
| A D | control.py | 83 msg = (f"{'Summary of' if is_summary else 'Building'} " 85 msg += (f' ({threads} thread{get_plural(threads)}, ' 87 return msg 234 count, msg = gitutil.count_commits_in_range(git_dir, branch) 236 count, msg = gitutil.count_commits_in_branch(git_dir, branch) 238 sys.exit(col.build(col.RED, msg)) 242 if msg: 243 print(col.build(col.YELLOW, msg)) 247 msg = (f"No commits found to process in branch '{branch}': " 249 sys.exit(col.build(col.RED, msg))
|
| A D | kconfiglib.py | 1216 msg = None 1230 if not msg: 3830 self._warn(msg) 3968 self._warn(msg) 3976 msg = "warning: " + msg 3978 msg = "{}:{}: {}".format(filename, linenr, msg) 4990 self.kconfig._warn(msg) 5976 self.msg = msg 5981 return self.msg 6715 raise KconfigError(msg) [all …]
|
| A D | builder.py | 1083 tprint(msg, colour=color) 1105 msg = ' %s %+d' % (name, diff) 1110 tprint(msg, colour=colour, newline=False) 1214 msg = ' %s %+1.1f' % (name, avg_diff) 1219 tprint(msg, colour=color, newline=False) 1620 msg = '%02d: %s' % (commit_upto + 1, 1622 tprint(msg, colour=self.col.BLUE) 1848 msg = 'Completed: %d total built' % self.count 1850 msg += ' (%d previously' % self.already_done 1853 msg += ')' [all …]
|
| /tools/binman/test/ |
| A D | 168_fit_missing_blob.dts | 37 missing-msg = "wibble";
|
| /tools/binman/etype/ |
| A D | section.py | 221 def _Raise(self, msg): argument 229 raise ValueError("Section '%s': %s" % (self._node.path, msg)) 570 def LookupEntry(self, entries, sym_name, msg): argument 600 (msg, sym_name)) 614 def GetSymbolValue(self, sym_name, optional, msg, base_addr, entries=None): argument 650 entry, entry_name, prop_name = self.LookupEntry(entries, sym_name, msg) 653 (msg, entry_name, ','.join(entries.keys()))) 668 raise ValueError("%s: No such property '%s'" % (msg, prop_name))
|