/pkg/src/tests/interactive/ |
H A D | runprogress.py | 33 import pkg.misc as misc namespace 36 misc.setlocale(locale.LC_ALL, "", None)
|
H A D | runprintengine.py | 36 import pkg.misc as misc namespace 39 misc.setlocale(locale.LC_ALL, "", None)
|
/pkg/src/modules/actions/ |
H A D | hardlink.py | 37 from pkg import misc namespace 77 mode=misc.PKG_DIR_MODE,
|
H A D | legacy.py | 40 from pkg import misc namespace 68 os.makedirs(pkgdir, misc.PKG_DIR_MODE) 121 os.chmod(pkginfo, misc.PKG_FILE_MODE)
|
H A D | link.py | 41 from pkg import misc namespace 68 mode=misc.PKG_DIR_MODE,
|
/pkg/src/modules/client/ |
H A D | firmware.py | 31 import pkg.misc as misc namespace 80 buf = [misc.force_str(l) for l in 190 " ".join(buf), misc.signame(-ret))))
|
/pkg/src/modules/ |
H A D | mediator.py | 28 import pkg.misc as misc namespace 147 res = misc.cmp(aprio, bprio) 153 res = misc.cmp(aver, bver) 160 res = misc.cmp(aimpl, bimpl) 164 res = misc.cmp(aver, bver)
|
H A D | lockfile.py | 33 import pkg.misc as misc namespace 38 from pkg.misc import DummyLock 167 lf.write(misc.force_bytes(lock_str))
|
/pkg/src/modules/bundle/ |
H A D | SolarisPackageDatastreamBundle.py | 29 import pkg.misc as misc namespace 159 timestamp=misc.time_to_timestamp(int(mapline.modtime)))
|
H A D | TarBundle.py | 31 import pkg.misc as misc namespace 64 timestamp=misc.time_to_timestamp(tarinfo.mtime))
|
H A D | DirectoryBundle.py | 31 import pkg.misc namespace 85 pubpath = pkg.misc.relpath(path, rootdir) 88 timestamp = pkg.misc.time_to_timestamp(pstat.st_mtime) 131 target = pkg.misc.relpath(self.inodes[inode],
|
H A D | SolarisPackageDirBundle.py | 31 import pkg.misc as misc namespace 178 timestamp=misc.time_to_timestamp(int(mapline.modtime)))
|
/pkg/src/tests/perf/ |
H A D | membench.py | 38 import pkg.misc as misc namespace 65 startusage = misc.__getvmusage() 73 endusage = misc.__getvmusage()
|
/pkg/src/util/publish/ |
H A D | update_file_layout.py | 38 import pkg.misc as misc namespace 41 from pkg.misc import emsg, PipeError, setlocale 96 traceback_str = misc.get_traceback_message() 111 error("\n" + misc.out_of_memory())
|
/pkg/src/modules/client/transport/ |
H A D | mdetect.py | 30 import pkg.misc as misc namespace 136 if not misc.valid_pub_url(url):
|
/pkg/src/tests/api/ |
H A D | t_file_manager.py | 39 import pkg.misc as misc namespace 56 fh.write(misc.force_bytes(data)) 78 self.assertEqual(fh.read(), misc.force_bytes(unmoved)) 169 self.assertEqual(fh.read(), misc.force_bytes(hash4)) 185 self.assertEqual(fh.read(), misc.force_bytes(hash3)) 313 self.assertEqual(f.read(), misc.force_bytes( 325 nfile.write(misc.force_bytes("new-{0}".format(fhash))) 331 self.assertEqual(f.read(), misc.force_bytes(
|
H A D | t_misc.py | 41 import pkg.misc as misc namespace 72 """Verify that misc.valid_pub_prefix returns True or False as 75 self.assertFalse(misc.valid_pub_prefix(None)) 76 self.assertFalse(misc.valid_pub_prefix("")) 77 self.assertFalse(misc.valid_pub_prefix("!@#$%^&*(*)")) 78 self.assertTrue(misc.valid_pub_prefix( 82 """Verify that misc.valid_pub_url returns True or False as 85 self.assertFalse(misc.valid_pub_url(None)) 86 self.assertFalse(misc [all...] |
H A D | t_p5i.py | 38 import pkg.misc as misc namespace 170 os.write(fd1, misc.force_bytes(fobj.read()))
|
H A D | t_publisher.py | 43 import pkg.misc as misc namespace
|
/pkg/src/tests/cli/ |
H A D | t_https.py | 40 import pkg.misc as misc namespace 197 ch = misc.get_data_digest(good_cert_path, 238 ch = misc.get_data_digest(good_cert_path_1, 245 ch = misc.get_data_digest(good_cert_path_2,
|
H A D | t_pkg_hydrate.py | 33 import pkg.misc as misc namespace 710 def assert_mediation_matches(expected, mediators=misc.EmptyI):
|
H A D | t_util_merge.py | 35 import pkg.misc as misc namespace
|
/pkg/src/util/qual-simulator/ |
H A D | scenario.py | 34 import pkg.misc as misc namespace 105 misc.setlocale(locale.LC_ALL)
|
/pkg/src/tests/testsuite/ |
H A D | t_setup_teardown.py | 34 from pkg import misc namespace
|
/pkg/src/modules/server/ |
H A D | face.py | 38 import pkg.misc as misc namespace 74 return misc.force_bytes(template.render(g_vars={ "base": base,
|