Home
last modified time | relevance | path

Searched refs:Util (Results 1 – 25 of 34) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/interfaces/
DRSAPrivateCrtKeyTest.java30 key = (RSAPrivateCrtKey) gen.generatePrivate(Util.rsaCrtParam); in setUp()
39 Util.rsaCrtParam.getCrtCoefficient(), key.getCrtCoefficient()); in test_getCrtCoefficient()
48 Util.rsaCrtParam.getPrimeExponentP(), key.getPrimeExponentP()); in test_getPrimeExponentP()
57 Util.rsaCrtParam.getPrimeExponentQ(), key.getPrimeExponentQ()); in test_getPrimeExponentQ()
66 Util.rsaCrtParam.getPrimeP(), key.getPrimeP()); in test_getPrimeP()
75 Util.rsaCrtParam.getPrimeQ(), key.getPrimeQ()); in test_getPrimeQ()
84 Util.rsaCrtParam.getPublicExponent(), key.getPublicExponent()); in test_getPublicExponent()
DDSAPrivateKeyTest.java35 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getX()
DDSAKeyTest.java36 DSAParams param = new DSAParameterSpec(Util.P, Util.Q, Util.G); in test_getParams()
DDSAPublicKeyTest.java45 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getY()
DUtil.java28 class Util { class
82 private Util() { in Util() method in Util
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixMountEntry.java46 return Util.toString(name); in name()
51 fstypeAsString = Util.toString(fstype); in fstype()
68 optionsAsString = Util.toString(opts); in hasOption()
69 for (String opt: Util.split(optionsAsString, ',')) { in hasOption()
DLinuxFileSystem.java81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); in getMountEntries()
DLinuxDosFileAttributeView.java54 private static final byte[] DOS_XATTR_NAME_AS_BYTES = Util.toBytes(DOS_XATTR_NAME);
63 Util.newSet(basicAttributeNames, READONLY_NAME, ARCHIVE_NAME, SYSTEM_NAME, HIDDEN_NAME);
232 String value = Util.toString(buf);
270 byte[] value = Util.toBytes("0x" + Integer.toHexString(newValue));
DUtil.java38 class Util { class
39 private Util() { } in Util() method in Util
DUnixUserPrincipals.java118 name = Util.toString(getpwuid(uid)); in fromUid()
129 name = Util.toString(getgrgid(gid)); in fromGid()
DUnixException.java64 return Util.toString(UnixNativeDispatcher.strerror(errno())); in errorString()
DUnixFileSystem.java52 this.defaultDirectory = Util.toBytes(UnixPath.normalizeAndCheck(dir)); in UnixFileSystem()
207 sm.checkRead(Util.toString(entry.dir()));
DUnixNativeDispatcher.java103 NativeBuffer modeBuffer = NativeBuffers.asNativeBuffer(Util.toBytes(mode)); in fopen()
476 NativeBuffer buffer = NativeBuffers.asNativeBuffer(Util.toBytes(name)); in getpwnam()
491 NativeBuffer buffer = NativeBuffers.asNativeBuffer(Util.toBytes(name)); in getgrnam()
DLinuxFileStore.java101 byte[] name = Util.toBytes("user.java"); in isExtendedAttributesEnabled()
DUnixPath.java123 ce = Util.jnuEncoding().newEncoder() in encode()
189 return Util.toString(getByteArrayForSysCalls()); in getPathForPermissionCheck()
761 stringValue = fs.normalizeJavaPath(Util.toString(path)); // platform encoding in toString()
832 if (Util.followLinks(options)) { in toRealPath()
DUnixFileAttributeViews.java138 Util.newSet(basicAttributeNames, PERMISSIONS_NAME, OWNER_NAME, GROUP_NAME);
307 Util.newSet(posixAttributeNames,
DLinuxUserDefinedFileAttributeView.java56 byte[] bytes = Util.toBytes(name); in nameAsBytes()
79 String s = Util.toString(value); in asList()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java58 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in write()
72 Util.offerFirstTemporaryDirectBuffer(bb); in write()
130 ByteBuffer shadow = Util.getTemporaryDirectBuffer(rem); in write()
164 Util.offerLastTemporaryDirectBuffer(shadow); in write()
178 Util.offerLastTemporaryDirectBuffer(shadow); in write()
195 ByteBuffer bb = Util.getTemporaryDirectBuffer(dst.remaining()); in read()
203 Util.offerFirstTemporaryDirectBuffer(bb); in read()
263 ByteBuffer shadow = Util.getTemporaryDirectBuffer(rem); in read()
298 Util.offerLastTemporaryDirectBuffer(shadow); in read()
312 Util.offerLastTemporaryDirectBuffer(shadow); in read()
DSelectorImpl.java57 if (Util.atBugLevel("1.4")) { in SelectorImpl()
62 publicSelectedKeys = Util.ungrowableSet(selectedKeys); in SelectorImpl()
67 if (!isOpen() && !Util.atBugLevel("1.4")) in keys()
73 if (!isOpen() && !Util.atBugLevel("1.4")) in selectedKeys()
DIOVecWrapper.java158 addressSize = Util.unsafe().addressSize();
DDatagramChannelImpl.java388 bb = Util.getTemporaryDirectBuffer(dst.remaining()); in receive()
414 Util.releaseTemporaryDirectBuffer(bb); in receive()
436 ByteBuffer bb = Util.getTemporaryDirectBuffer(newSize); in receive()
447 Util.releaseTemporaryDirectBuffer(bb); in receive()
535 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem); in send()
549 Util.releaseTemporaryDirectBuffer(bb); in send()
DFileChannelImpl.java605 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferToArbitraryChannel()
609 Util.erase(bb); in transferToArbitraryChannel()
631 Util.releaseTemporaryDirectBuffer(bb); in transferToArbitraryChannel()
715 ByteBuffer bb = Util.getTemporaryDirectBuffer(c); in transferFromArbitraryChannel()
719 Util.erase(bb); in transferFromArbitraryChannel()
741 Util.releaseTemporaryDirectBuffer(bb); in transferFromArbitraryChannel()
/libcore/tools/upstream/src/main/java/libcore/
DCompareUpstreams.java171 ? Util.pathFromEnvOrThrow("OJLUNI_UPSTREAMS") in run()
178 List<String> linesB = Util.readLines(ojluniFile); in run()
199 List<String> linesA = Util.readLines(upstreamFile); in run()
200 int distance = Util.editDistance(linesA, linesB); in run()
DUtil.java36 class Util { class
37 private Util() { in Util() method in Util
DStandardRepositories.java83 Path androidBuildTop = Util.pathFromEnvOrThrow("ANDROID_BUILD_TOP"); in fromEnv()
84 Path upstreamRoot = Util.pathFromEnvOrThrow("OPENJDK_HOME"); in fromEnv()

12