Lines Matching refs:open
322 with open(self.filename, 'rb') as fRead:
387 with open(self.filename, "ab") as f:
437 fd = os.open(self.filename, os.O_WRONLY | os.O_CREAT)
444 with open(self.filename, "r+b") as f:
456 with open(self.filename, mode) as f:
462 with open(self.filename, mode) as f:
536 with gzip.open(self.filename, "wb") as f:
538 with gzip.open(self.filename, "rb") as f:
545 with gzip.open(self.filename, "wb") as f:
547 with open(self.filename, "rb") as f:
551 with gzip.open(self.filename, "rb") as f:
554 with gzip.open(self.filename, "ab") as f:
556 with open(self.filename, "rb") as f:
561 gzip.open(self.filename, "xb")
563 with gzip.open(self.filename, "xb") as f:
565 with open(self.filename, "rb") as f:
571 with gzip.open(filename, "wb") as f:
573 with gzip.open(filename, "ab") as f:
575 with gzip.open(filename) as f:
582 with gzip.open(self.filename, "w") as f:
584 with open(self.filename, "rb") as f:
588 with gzip.open(self.filename, "r") as f:
591 with gzip.open(self.filename, "a") as f:
593 with open(self.filename, "rb") as f:
598 gzip.open(self.filename, "x")
600 with gzip.open(self.filename, "x") as f:
602 with open(self.filename, "rb") as f:
609 with gzip.open(self.filename, "wt") as f:
611 with open(self.filename, "rb") as f:
614 with gzip.open(self.filename, "rt") as f:
616 with gzip.open(self.filename, "at") as f:
618 with open(self.filename, "rb") as f:
626 with gzip.open(io.BytesIO(compressed), "r") as f:
628 with gzip.open(io.BytesIO(compressed), "rb") as f:
630 with gzip.open(io.BytesIO(compressed), "rt") as f:
636 gzip.open(123.456)
638 gzip.open(self.filename, "wbt")
640 gzip.open(self.filename, "xbt")
642 gzip.open(self.filename, "rb", encoding="utf-8")
644 gzip.open(self.filename, "rb", errors="ignore")
646 gzip.open(self.filename, "rb", newline="\n")
652 with gzip.open(self.filename, "wt", encoding="utf-16") as f:
654 with open(self.filename, "rb") as f:
657 with gzip.open(self.filename, "rt", encoding="utf-16") as f:
662 with gzip.open(self.filename, "wb") as f:
664 with gzip.open(self.filename, "rt", encoding="ascii", errors="ignore") \
671 with gzip.open(self.filename, "wt", newline="\n") as f:
673 with gzip.open(self.filename, "rt", newline="\r") as f:
710 with gzip.open(gzipname, mode='wb') as fp:
714 with open(os.path.join(TEMPDIR, "testgzip"), "rb") as gunziped:
743 with open(local_testgzip, 'wb') as fp: