Searched refs:write (Results 1 - 25 of 83) sorted by relevance

1234

/pkg/src/modules/
H A Dpkggzip.py54 self.fileobj.write(self.magic)
H A Dp5i.py144 def write(fileobj, pubs, pkg_names=None): function
148 'fileobj' is an object that has a 'write' method that accepts data to be
224 fileobj.write("\n")
H A Dpipeutils.py249 def write(self, msg): member in class:PipeFile
253 mf.write(force_str(msg))
350 return self.write(msg)
355 self.write(msg)
574 self.wfile.write(response)
H A Dp5s.py159 def write(fileobj, pubs, cfg): function
163 'fileobj' is an object that has a 'write' method that accepts data to be
281 fileobj.write("\n")
H A Dcpiofile.py27 """Read from and write to cpio format archives.
102 def write(self, s): member in class:_LowLevelFile
103 os.write(self.fd, s)
108 needs to have a read() or write() method and is accessed
171 def write(self, s): member in class:_Stream
187 self.fileobj.write(self.buf[:self.bufsize])
200 self.fileobj.write(self.buf)
203 self.fileobj.write(struct.pack("<l", self.crc))
204 self.fileobj.write(struct.pack("<L", self.pos &
779 raise ReadError("read/write vi
[all...]
H A Dlockfile.py53 is called when the lock operation wants to write
160 # Store information about the lock acquirer and write it.
167 lf.write(misc.force_bytes(lock_str))
/pkg/src/tests/cli/
H A Dt_pkgfmt.py1297 f.write(self.pkgcontents)
1301 f.write(self.needs_formatting)
1363 f.write(contents)
1369 f.write(self.v1_fmt)
1371 f.write(self.v2_fmt)
H A Dt_util_update_file_layout.py60 fh.write(s)
H A Dt_pkgsend.py399 fp.write("foo")
433 mf.write("""file NOHASH mode=0755 owner=root group=bin path=/A
704 f.write("test" + entry)
721 pkginfo.write(pkginfo_contents)
726 prototype.write(prototype_contents)
758 mf.write("set name=pkg.fmri value=nopkg@1.0\n")
1041 f.write(pkg_manifest)
1253 mf.write("""file NOHASH mode=0755 owner=root group=bin path=/A
1262 mf.write("""\
1288 mf.write("""fil
[all...]
H A Dt_pkgmogrify.py161 f.write(self.pkgcontents)
164 f.write(self.pkgcontents2)
167 f.write(self.pkgcontents3)
176 # transform contents to embed those pathnames, and write the
181 f.write(self.transforms[name])
/pkg/src/tests/api/
H A Dt_unix_usergrp.py50 grpfile.write( \
94 grpfile.write( \
132 grpfile.write( \
161 passwd.write( \
209 passwd.write( \
247 passwd.write( \
H A Dt_p5i.py125 p5i.write(fobj, [pub], pkg_names=pnames)
170 os.write(fd1, misc.force_bytes(fobj.read()))
209 repository configuration omitted will still parse and write
231 p5i.write(fobj, [pub])
278 p5i.write(fobj, [pub])
H A Dt_pkgtarfile.py54 wfp.write(buf)
H A Dt_plat.py67 os.write(fd1, b"foo")
69 os.write(fd2, b"bar")
101 os.write(fd1, b"foo")
H A Dt_file_manager.py56 fh.write(misc.force_bytes(data))
118 # Test a FileManager that can write to the file system.
224 rh2_fh.write(hash2)
325 nfile.write(misc.force_bytes("new-{0}".format(fhash)))
H A Dt_misc.py49 # make the parent directory read-write
60 # are read-write, and the leaf is readonly.
67 # change it back to read/write so we can delete it
160 f.write(waste_mem_py)
/pkg/src/modules/client/
H A Dprintengine.py118 self._out_file.write(self.__putp_re.sub("", force_str(string)))
139 self._out_file.write(self.__nchars_printed * ' ')
180 self._out_file.write(outmsg)
196 write a newline in order to allow clean output after flush()."""
199 self._out_file.write("\n")
238 # write out, stripping the newline
244 self._stringio.write(line)
/pkg/src/modules/client/linkedimage/
H A Dsystem.py123 self.__img.cfg.write()
/pkg/src/modules/portable/
H A Dos_sunos.py59 t_fh.write(os.path.join(a.attrs[PD_LOCAL_PATH]) + "\n")
/pkg/src/tests/
H A Dpkg5unittest.py825 c_fh.write(prog_text)
881 fh.write(content)
884 fh.write(content)
939 t_fh.write("set name=pkg.fmri value={0}\n".format(pfmri))
940 t_fh.write(content)
1100 conf.write(new_rcfile)
1133 self.stream.write("\n")
1139 self.stream.write(self.separator1 + "\n")
1140 self.stream.write("{0}: {1}\n".format(
1142 self.stream.write(sel
[all...]
H A Dbaseline.py115 f.write("{0}|{1}{2}".format(
/pkg/src/modules/flavor/
H A Ddepthlimitedmf.py394 sys.stdout.write("DEP {0}\n".format(res))
398 sys.stdout.write("ERR {0}\n".format(e))
400 sys.stdout.write("{0}\n".format(e))
/pkg/src/
H A Ddepot-config.py200 runtime_dir where we write httpd.conf files
201 log_dir where Apache should write its log files
203 cache_dir where Apache should write its cache and wsgi search idx
209 fragment True if we should only write a file to drop into conf.d/
320 conf_file.write(conf_text)
326 _("Unable to write Apache configuration: {host}: "
331 _("Unable to write depot_httpd.conf: {0}").format(err))
343 versions_file.write(
350 _("Unable to write versions response: {0}").format(err))
358 # write individua
[all...]
/pkg/src/modules/actions/
H A Dlegacy.py106 pfile.write("{0}={1}\n".format(k, v))
/pkg/src/tests/ro_data/signing_certs/
H A Dgenerate_certs.py171 fhw.write(fhr.read())

Completed in 47 milliseconds

1234