Searched defs:misc (Results 1 - 25 of 109) sorted by relevance

12345

/pkg/src/tests/interactive/
H A Drunprogress.py33 import pkg.misc as misc namespace
36 misc.setlocale(locale.LC_ALL, "", None)
H A Drunprintengine.py36 import pkg.misc as misc namespace
39 misc.setlocale(locale.LC_ALL, "", None)
/pkg/src/modules/actions/
H A Dhardlink.py37 from pkg import misc namespace
77 mode=misc.PKG_DIR_MODE,
H A Dlegacy.py40 from pkg import misc namespace
68 os.makedirs(pkgdir, misc.PKG_DIR_MODE)
121 os.chmod(pkginfo, misc.PKG_FILE_MODE)
H A Dlink.py41 from pkg import misc namespace
68 mode=misc.PKG_DIR_MODE,
/pkg/src/modules/client/
H A Dfirmware.py31 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 Dmediator.py28 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 Dlockfile.py33 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 DSolarisPackageDatastreamBundle.py29 import pkg.misc as misc namespace
159 timestamp=misc.time_to_timestamp(int(mapline.modtime)))
H A DTarBundle.py31 import pkg.misc as misc namespace
64 timestamp=misc.time_to_timestamp(tarinfo.mtime))
H A DDirectoryBundle.py31 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 DSolarisPackageDirBundle.py31 import pkg.misc as misc namespace
178 timestamp=misc.time_to_timestamp(int(mapline.modtime)))
/pkg/src/tests/perf/
H A Dmembench.py38 import pkg.misc as misc namespace
65 startusage = misc.__getvmusage()
73 endusage = misc.__getvmusage()
/pkg/src/util/publish/
H A Dupdate_file_layout.py38 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 Dmdetect.py30 import pkg.misc as misc namespace
136 if not misc.valid_pub_url(url):
/pkg/src/tests/api/
H A Dt_file_manager.py39 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 Dt_misc.py41 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 Dt_p5i.py38 import pkg.misc as misc namespace
170 os.write(fd1, misc.force_bytes(fobj.read()))
H A Dt_publisher.py43 import pkg.misc as misc namespace
/pkg/src/tests/cli/
H A Dt_https.py40 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 Dt_pkg_hydrate.py33 import pkg.misc as misc namespace
710 def assert_mediation_matches(expected, mediators=misc.EmptyI):
H A Dt_util_merge.py35 import pkg.misc as misc namespace
/pkg/src/util/qual-simulator/
H A Dscenario.py34 import pkg.misc as misc namespace
105 misc.setlocale(locale.LC_ALL)
/pkg/src/tests/testsuite/
H A Dt_setup_teardown.py34 from pkg import misc namespace
/pkg/src/modules/server/
H A Dface.py38 import pkg.misc as misc namespace
74 return misc.force_bytes(template.render(g_vars={ "base": base,

Completed in 283 milliseconds

12345