/libcore/luni/src/test/java/tests/security/interfaces/ |
D | RSAPrivateCrtKeyTest.java | 30 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()
|
D | DSAPrivateKeyTest.java | 35 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getX()
|
D | DSAKeyTest.java | 36 DSAParams param = new DSAParameterSpec(Util.P, Util.Q, Util.G); in test_getParams()
|
D | DSAPublicKeyTest.java | 45 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getY()
|
D | Util.java | 28 class Util { class 82 private Util() { in Util() method in Util
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixMountEntry.java | 46 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()
|
D | LinuxFileSystem.java | 81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); in getMountEntries()
|
D | LinuxDosFileAttributeView.java | 54 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));
|
D | Util.java | 38 class Util { class 39 private Util() { } in Util() method in Util
|
D | UnixUserPrincipals.java | 118 name = Util.toString(getpwuid(uid)); in fromUid() 129 name = Util.toString(getgrgid(gid)); in fromGid()
|
D | UnixException.java | 64 return Util.toString(UnixNativeDispatcher.strerror(errno())); in errorString()
|
D | UnixFileSystem.java | 52 this.defaultDirectory = Util.toBytes(UnixPath.normalizeAndCheck(dir)); in UnixFileSystem() 207 sm.checkRead(Util.toString(entry.dir()));
|
D | UnixNativeDispatcher.java | 103 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()
|
D | LinuxFileStore.java | 101 byte[] name = Util.toBytes("user.java"); in isExtendedAttributesEnabled()
|
D | UnixPath.java | 123 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()
|
D | UnixFileAttributeViews.java | 138 Util.newSet(basicAttributeNames, PERMISSIONS_NAME, OWNER_NAME, GROUP_NAME); 307 Util.newSet(posixAttributeNames,
|
D | LinuxUserDefinedFileAttributeView.java | 56 byte[] bytes = Util.toBytes(name); in nameAsBytes() 79 String s = Util.toString(value); in asList()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOUtil.java | 58 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()
|
D | SelectorImpl.java | 57 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()
|
D | IOVecWrapper.java | 158 addressSize = Util.unsafe().addressSize();
|
D | DatagramChannelImpl.java | 388 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()
|
D | FileChannelImpl.java | 605 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/ |
D | CompareUpstreams.java | 171 ? 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()
|
D | Util.java | 36 class Util { class 37 private Util() { in Util() method in Util
|
D | StandardRepositories.java | 83 Path androidBuildTop = Util.pathFromEnvOrThrow("ANDROID_BUILD_TOP"); in fromEnv() 84 Path upstreamRoot = Util.pathFromEnvOrThrow("OPENJDK_HOME"); in fromEnv()
|