/libcore/luni/src/main/java/javax/crypto/ |
H A D | Cipher.java | 45 * <li><i>"algorithm/mode/padding"</i></li> or 48 * <i>algorithm</i> is the name of a cryptographic algorithm, <i>mode</i> is the 49 * name of a feedback mode and <i>padding</i> is the name of a padding scheme. 50 * If <i>mode</i> and/or <i>padding</i> values are omitted, provider specific 57 * When a block cipher is requested in in stream cipher mode, the number of bits 59 * mode name. e.g. <i>"AES/CFB8/NoPadding"</i>. If no number is specified, a 65 * Constant for decryption operation mode. 70 * Constant for encryption operation mode. 90 * Constant for key unwrapping operation mode. 95 * Constant for key wrapping operation mode 99 private int mode; field in class:Cipher 523 checkMode(int mode) argument [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | FileOutputStream.java | 61 /** File access mode */ 62 private final int mode; field in class:FileOutputStream 87 this.mode = O_WRONLY | O_CREAT | (append ? O_APPEND : O_TRUNC); 88 this.fd = IoBridge.open(file.getAbsolutePath(), mode); 104 this.mode = O_WRONLY; 105 this.channel = NioUtils.newFileChannel(this, fd, mode); 172 channel = NioUtils.newFileChannel(this, fd, mode);
|
H A D | RandomAccessFile.java | 38 * opened in read/write mode, write operations are available as well. The 54 private int mode; field in class:RandomAccessFile 62 * it according to the access string in {@code mode}. 64 * {@code mode} may have one of following values: 68 * <td>The file is opened in read-only mode. An {@code IOException} is 91 * @param mode 92 * the file access <a href="#accessmode">mode</a>, either {@code 96 * mode}. 98 * if {@code mode} is not {@code "r"}, {@code "rw"}, {@code 101 public RandomAccessFile(File file, String mode) throw argument 149 RandomAccessFile(String fileName, String mode) argument [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertificateFactorySpi.java | 47 // mode: false - list of encodings is empty 48 // mode: true - list of encodings consists of 2 elements 50 private static boolean mode; field in class:MyCertificateFactorySpi 56 mode = true; 63 mode = newMode; 117 if (mode) { 126 if (mode) { 134 if (!mode) {
|
/libcore/luni/src/main/java/java/nio/ |
H A D | NioUtils.java | 46 public static FileChannel newFileChannel(Object stream, FileDescriptor fd, int mode) { argument 47 return new FileChannelImpl(stream, fd, mode);
|
H A D | FileChannelImpl.java | 55 private final int mode; field in class:FileChannelImpl 62 * fd and operates in the specified mode. 64 public FileChannelImpl(Object stream, FileDescriptor fd, int mode) { argument 67 this.mode = mode; 77 if ((mode & O_ACCMODE) == O_WRONLY) { 83 if ((mode & O_ACCMODE) == O_RDONLY) { 95 int accessMode = (mode & O_ACCMODE); 203 if ((mode & O_ACCMODE) != O_RDONLY) { 224 int accessMode = (mode [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 306 int mode = NONE, unicode = 0, count = 0, nextChar; 311 if (mode == UNICODE) { 319 mode = NONE; 325 if (mode == SLASH) { 326 mode = NONE; 329 mode = CONTINUE; // Look for a following \n 332 mode = IGNORE; // Ignore whitespace on the next line 350 mode = UNICODE; 368 if (mode == CONTINUE) { // Part of a \r\n sequence 369 mode [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | DOMImplementationLS.java | 48 * @param mode The <code>mode</code> argument is either 50 * <code>mode</code> is <code>MODE_SYNCHRONOUS</code> then the 52 * mode, if it's <code>MODE_ASYNCHRONOUS</code> then the 54 * mode. 71 * depending on the value of the <code>mode</code> argument. 81 * NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is 84 public LSParser createLSParser(short mode, argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativeNormalizer.cpp | 31 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); local 34 Normalizer::normalize(src.unicodeString(), mode, 0, dst, status); 44 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); local 46 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, status);
|
/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 281 int mode = NONE, unicode = 0, count = 0; 300 if (mode == UNICODE) { 310 mode = NONE; 316 if (mode == SLASH) { 317 mode = NONE; 320 mode = CONTINUE; // Look for a following \n 323 mode = IGNORE; // Ignore whitespace on the next line 341 mode = UNICODE; 364 if (mode == CONTINUE) { // Part of a \r\n sequence 365 mode [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | Collator.java | 62 * decomposition mode and one that does not use any decomposition. The 63 * compatibility decomposition mode 65 * canonical decomposition mode is set, {@code Collator} handles un-normalized 162 * Returns a new collator with the same decomposition mode and 335 private int decompositionMode_Java_ICU(int mode) { argument 336 switch (mode) { 342 throw new IllegalArgumentException("Bad mode: " + mode); 345 private int decompositionMode_ICU_Java(int mode) { argument 346 int javaMode = mode; [all...] |
/libcore/luni/src/main/java/java/math/ |
H A D | RoundingMode.java | 27 * Rounding mode where positive values are rounded towards positive infinity 35 * Rounding mode where the values are rounded towards zero. 42 * Rounding mode to round towards positive infinity. For positive values 43 * this rounding mode behaves as {@link #UP}, for negative values as 51 * Rounding mode to round towards negative infinity. For positive values 52 * this rounding mode behaves as {@link #DOWN}, for negative values as 60 * Rounding mode where values are rounded towards the nearest neighbor. Ties 66 * Rounding mode where values are rounded towards the nearest neighbor. Ties 72 * Rounding mode where values are rounded towards the nearest neighbor. Ties 78 * Rounding mode wher 100 valueOf(int mode) argument [all...] |
/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | DeclHandler.java | 89 * @param mode A string representing the attribute defaulting mode 99 String mode, 96 attributeDecl(String eName, String aName, String type, String mode, String value) argument
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLCipher.java | 77 * The current cipher mode. 79 private Mode mode = Mode.ECB; field in class:OpenSSLCipher 92 * Current cipher mode: encrypting or decrypting. 102 * The block size of the current mode. 108 * calling "doFinal()" in decryption mode without processing any updates. 115 protected OpenSSLCipher(Mode mode, Padding padding) { argument 116 this.mode = mode; 128 * cipher {@code mode}. 130 protected abstract String getCipherName(int keySize, Mode mode); argument 142 checkSupportedMode(Mode mode) argument 523 AES(Mode mode, Padding padding) argument 630 checkSupportedMode(Mode mode) argument 663 getCipherName(int keyLength, Mode mode) argument 676 DESEDE(Mode mode, Padding padding) argument 758 getCipherName(int keySize, Mode mode) argument 781 checkSupportedMode(Mode mode) argument 822 getCipherName(int keySize, Mode mode) argument 831 checkSupportedMode(Mode mode) argument [all...] |
H A D | SSLServerSocketImpl.java | 33 // as well as the information about client/server mode of 160 public void setUseClientMode(boolean mode) { argument 161 sslParameters.setUseClientMode(mode);
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | CertificateFactory2Test.java | 84 private void checkResult(CertificateFactory certFactory, boolean mode) argument 86 MyCertificateFactorySpi.putMode(mode); 97 if (!mode) { 101 if (mode) { 112 if (mode) { 116 if (!mode) { 156 if (mode) { 162 if (!mode) { 167 if (mode) { 181 public void GetInstance01(boolean mode) throw argument 215 GetInstance02(boolean mode) argument 280 GetInstance03(boolean mode) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyPairGenerator2Test.java | 88 private void checkResult(KeyPairGenerator keyPairGen, int mode) argument 91 switch (mode) { 184 private void GetInstance01(int mode) throws NoSuchAlgorithmException, argument 205 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 207 checkResult(kpG, mode); 222 public void GetInstance02(int mode) throws NoSuchAlgorithmException, argument 266 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 269 checkResult(kpG, mode); 282 private void GetInstance03(int mode) throws NoSuchAlgorithmException, argument 313 .toUpperCase(), (mode < [all...] |
/libcore/crypto/src/main/native/ |
H A D | sub.mk | 1 # -*- mode: makefile -*-
|
/libcore/dalvik/src/main/native/ |
H A D | sub.mk | 1 # -*- mode: makefile -*-
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | CipherBenchmark.java | 61 @Param private Mode mode; field in class:CipherBenchmark 103 cipherAlgorithm = algorithm.toString() + "/" + mode.toString() + "/" 126 if (mode != Mode.ECB) {
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLServerSocket.java | 149 * Sets whether server-mode connections will be configured to require client 165 * Returns whether server-mode connections will be configured to require 174 * Sets whether server-mode connections will be configured to request client 190 * Returns whether server-mode connections will be configured to request 199 * Sets whether new connections should act in client mode when handshaking. 201 * @param mode 202 * {@code true} if new connections should act in client mode, 205 public abstract void setUseClientMode(boolean mode); argument 208 * Returns whether new connection will act in client mode when handshaking. 210 * @return {@code true} if new connections will act in client mode whe [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
H A D | CipherThread.java | 34 private String mode = null; field in class:CipherThread 80 mode = getNextMode(); 134 return mode; 138 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode +
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | OsConstants.java | 22 public static boolean S_ISBLK(int mode) { return (mode & S_IFMT) == S_IFBLK; } argument 23 public static boolean S_ISCHR(int mode) { return (mode & S_IFMT) == S_IFCHR; } argument 24 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } argument 25 public static boolean S_ISFIFO(int mode) { return (mode & S_IFMT) == S_IFIFO; } argument 26 public static boolean S_ISREG(int mode) { return (mode argument 27 S_ISLNK(int mode) argument 28 S_ISSOCK(int mode) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | SynchronousQueue.java | 64 * The (Lifo) stack is used for non-fair mode, and the (Fifo) 65 * queue for fair mode. The performance of the two is generally 76 * queues is that any operation can figure out which mode the 97 * the ones here use mode bits in nodes, leading to a number 185 * nodes (with FULFILLING bit set in mode) to reserve a spot 206 int mode; field in class:SynchronousQueue.TransferStack.SNode 207 // Note: item and mode fields don't need to be volatile 286 static SNode snode(SNode s, Object e, SNode next, int mode) { argument 288 s.mode = mode; [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | RuleBasedCollatorICU.java | 74 public void setDecomposition(int mode) { argument 75 NativeCollation.setAttribute(address, DECOMPOSITION_MODE, mode);
|