• Home
  • Raw
  • Download

Lines Matching refs:p

214       p = Partition()
215 p.mount_point = pieces[0]
216 p.fs_type = pieces[1]
217 p.device = pieces[2]
218 p.length = 0
222 p.device2 = pieces[3]
226 p.device2 = None
229 p.device2 = None
235 p.length = int(i[7:])
237 print "%s: unknown option \"%s\"" % (p.mount_point, i)
239 d[p.mount_point] = p
255 p = Partition()
256 p.device = pieces[0]
257 p.mount_point = pieces[1]
258 p.fs_type = pieces[2]
259 p.device2 = None
260 p.length = 0
265 p.length = int(i[7:])
270 d[p.mount_point] = p
343 p = Run(cmd, stdout=subprocess.PIPE)
344 p.communicate()
345 assert p.returncode == 0, "mkbootimg of %s image failed" % (
351 p = Run(cmd, stdout=subprocess.PIPE)
352 p.communicate()
353 assert p.returncode == 0, "boot_signer of %s image failed" % path
409 p = Run(cmd, stdout=subprocess.PIPE)
410 p.communicate()
411 if p.returncode != 0:
441 p = Run(["openssl", "pkcs8", "-in", k+OPTIONS.private_key_suffix,
446 p.communicate()
447 if p.returncode == 0:
451 p = Run(["openssl", "pkcs8", "-in", k+OPTIONS.private_key_suffix,
456 stdout, stderr = p.communicate()
457 if p.returncode == 0:
507 p = Run(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
510 p.communicate(password)
511 if p.returncode != 0:
512 raise ExternalError("signapk.jar failed: return code %s" % (p.returncode,))
515 p = Run(["zipalign", "-f", str(align), sign_name, output_name])
516 p.communicate()
517 if p.returncode != 0:
518 raise ExternalError("zipalign failed: return code %s" % (p.returncode,))
534 p = info_dict["fstab"][mount_point]
535 fs_type = p.fs_type
536 device = p.device
759 p = Run([self.editor, "+%d" % (first_line,), self.pwfile])
760 _, _ = p.communicate()
942 p = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
945 _, e = p.communicate()
952 p.terminate()
955 p.kill()
958 if err or p.returncode != 0: