Searched refs:open (Results 1 - 25 of 137) sorted by relevance

123456

/pkg/src/modules/lint/
H A Dconfig.py65 # error reporting, so we'll just try to open
67 open(config_file, "r").close()
84 open("/usr/share/lib/pkg/pkglintrc"))
87 open("/usr/share/lib/pkg/pkglintrc"))
/pkg/src/tests/cli/
H A Dt_pkgfmt.py1295 with open(os.path.join(self.test_root, "source_file"),
1299 with open(os.path.join(self.test_root, "needs_fmt_file"),
1329 with open(man, "r") as f:
1338 with open(man, "r") as f:
1362 with open(man, "w") as f:
1368 with open(man, "w") as f:
1370 with open(man2, "w") as f:
H A Dt_publish_api.py69 t.open()
95 t.open()
H A Dt_pkg_initinstall.py42 open core-os@1.0
88 return open(os.path.join(self.get_img_path(), path))
H A Dt_util_merge.py50 open pkg:/scheme@1.0,5.11-0
55 open tree@1.0,5.11-0
60 open amber@1.0,5.11-0
66 open amber@2.0,5.11-0
72 open bronze@1.0,5.11-0
87 open bronze@2.0,5.11-0
185 m = open(mpath, "r")
210 m = open(mpath, "r")
H A Dt_pkgsend.py119 self.pkgsend(durl, "-@ open foo@1.0,5.11-0", exit=2)
123 self.pkgsend(durl, "open -en foo@1.0", exit=2)
124 self.pkgsend(durl, "open -ne foo@1.0", exit=2)
139 """open shouldnotexist@1.0,5.11-0
163 self.pkgsend(scheme + "://", "open notarepo@1.0",
165 self.pkgsend(scheme + ":", "open notarepo@1.0",
167 self.pkgsend(scheme, "open notarepo@1.0", exit=1)
179 "open nosuchdir@1.0", exit=1)
183 self.pkgsend(dfurl, "open notarepo@1.0", exit=1)
192 self.pkgsend(dhurl, "open nosuchdi
[all...]
/pkg/src/modules/
H A Dpkggzip.py58 f = open(path, "rb")
H A Dsysvpkg.py130 f = open(path)
166 self.datastream = CpioFile.open(mode="r|", fileobj=fo)
203 fp = open(self.pkgpath + "/install/depend")
235 fp = open(self.pkgpath + "/pkginfo")
270 fp = open(self.pkgpath + "/pkgmap")
H A Dsysattr.py67 fd = os.open(filename, os.O_RDONLY)
166 fd = os.open(filename, os.O_RDONLY)
/pkg/src/util/log-scripts/
H A Dtranslate.py43 infile = open(sys.argv[1], "r")
44 outfile = open(sys.argv[2], "w")
H A Dan_report.py60 pklfile = open(host_props["file_name"], 'rb')
68 pklfile = open(host_props["file_name"], 'wb')
114 f = open("{0}.png".format(fileprefix), "w")
127 f = open("{0}-{1}.dat".format(fileprefix, reportname), "w")
132 f = open("{0}-summary.html".format(fileprefix), "w")
H A Dan_ip_active.py118 # open, trunc
119 pklfile = open("{0}.{1}.pkl".format(stem, timestamp), "wb")
/pkg/src/tests/api/
H A Dt_indexer.py48 ind._sort_fh = open(os.path.join(ind._tmp_dir,
108 self.assertTrue(len(open(os.path.join(ind._tmp_dir,
H A Dt_pkgtarfile.py52 wfp = open(create_path, "wb")
59 tarfp = tarfile.open(self.tarfile, 'w')
H A Dt_unix_usergrp.py49 grpfile = open(os.path.join(self.test_root, "etc", "group"), "w")
93 grpfile = open(os.path.join(self.test_root, "etc", "group"), "w")
131 grpfile = open(os.path.join(self.test_root, "etc", "group"), "w")
160 passwd = open(os.path.join(self.test_root, "etc", "passwd"), "w")
208 passwd = open(os.path.join(self.test_root, "etc", "passwd"), "w")
246 passwd = open(os.path.join(self.test_root, "etc", "passwd"), "w")
H A Dt_printengine.py82 f = open(tpath[0], "w")
/pkg/src/tests/
H A Dbaseline.py101 f = open(self.__filename, "w")
105 print("Failed to open {0}: {1}".format(
127 f = open(self.__filename, "r")
131 print("Failed to open {0}: {1}".format(
H A Dcertgenerator.py39 with open(self.cnf_file, "w") as fh:
43 fh = open(os.path.join(self.base_dir, "index"), "w")
46 fh = open(os.path.join(self.base_dir, "serial"), "w")
80 fh = open(out_pth, "w")
/pkg/src/tests/interactive/
H A Drunprintengine.py61 output_file = open(argv[0], "w")
H A Drunprogress.py70 outputdev = open(outputdevname, "w")
/pkg/src/zoneproxy/zoneproxy-adm/
H A Dzoneproxy-adm.c57 fd = open(ZP_DOOR_PATH, O_RDONLY);
/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py154 open(timestamp_path, "wb").close()
158 open(timestamp_path, "wb").close()
192 return open(cat_path, "rb")
206 return open(cat_path, "rb")
216 return open(cat_path, "rb")
251 with open(os.path.join(cat_dir, "catalog.attrs"),
/pkg/src/modules/actions/
H A Dlegacy.py104 with open(pkginfo, "w") as pfile:
115 open(os.path.join(pkgplan.image.get_root(),
/pkg/src/tests/ro_data/signing_certs/
H A Dgenerate_certs.py164 fhw = open(os.path.join(output_dir, "combined_cas.pem"), "w")
170 fhr = open(fn, "r")
/pkg/src/util/publish/
H A Dpkgmogrify.py107 printfile = open(printfilename, "w")
119 outfile = open(outfilename, "w")

Completed in 82 milliseconds

123456