Lines Matching refs:append
53 out.append(" " * indent)
58 out.append(parts[0]+"\n")
64 out.append(m.group(1)+"\n")
85 self.script.append(cmd)
96 self.script.append(cmd)
107 self.script.append(cmd)
112 self.script.append(
124 self.script.append(cmd)
132 self.script.append(self.WordWrap(cmd))
138 self.script.append("show_progress(%f, %d);" % (frac, int(dur)))
144 self.script.append("set_progress(%f);" % (frac,))
150 self.script.append(
158 self.script.append('assert(sha1_check(read_file("%s")' % (filename,) +
165 self.script.append(('apply_patch_space(%d) || abort("Not enough free space '
187 self.script.append('mount("%s", "%s", "%s", "%s", "%s");' % (
195 self.script.append('package_extract_dir("%s", "%s");' % (src, dst))
199 self.script.append("")
201 self.script.append("# " + i)
202 self.script.append("")
206 self.script.append('ui_print("%s");' % (message,))
214 self.script.append(
226 self.script.append('format("%s", "%s", "%s", "%s", "%s");' %
237 self.script.append('wipe_block_device("%s", %s);' % (device, size))
244 self.script.append(self.WordWrap(cmd))
253 self.script.append(self.WordWrap(cmd))
258 self.script.append('rename("%s", "%s");' % (srcfile, tgtfile))
267 self.script.append(self.WordWrap(cmd))
278 cmd.append(',\0%s, package_extract_file("%s")' % patchpairs[i:i+2])
279 cmd.append(');')
281 self.script.append(self.WordWrap(cmd))
293 self.script.append(
299 self.script.append(
302 self.script.append(
311 self.script.append('set_perm(%d, %d, 0%o, "%s");' % (uid, gid, mode, fn))
320 self.script.append(cmd)
326 self.script.append('set_perm_recursive(%d, %d, 0%o, 0%o, "%s");'
337 self.script.append(cmd)
343 by_dest.setdefault(d, []).append(l)
348 self.script.append(self.WordWrap(cmd))
352 self.script.append(extra)
355 self.script.append('unmount("%s");' % mount_point)
360 self.script.append('unmount("%s");' % (p,))