/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | ReadWriteFileChannel.java | 36 public final MappedByteBuffer map(MapMode mode, long position, long size) argument 39 if (mode == null) { 46 if (mode == MapMode.READ_ONLY) { 48 } else if (mode == MapMode.READ_WRITE) {
|
H A D | ReadOnlyFileChannel.java | 83 public final MappedByteBuffer map(MapMode mode, long position, long size) argument 86 if (mode == null) { 92 if (mode != MapMode.READ_ONLY) {
|
H A D | WriteOnlyFileChannel.java | 89 public MappedByteBuffer map(MapMode mode, long position, long size) argument 92 if (mode == null) {
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
H A D | FileChannelFactory.java | 38 public static FileChannel getFileChannel(Object stream, int fd, int mode) { argument 39 switch (mode) { 52 throw new RuntimeException(Messages.getString("nio.09", mode)); //$NON-NLS-1$
|
/dalvik/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) {
|
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 365 int mode = NONE, unicode = 0, count = 0, nextChar; 370 if (mode == UNICODE) { 378 mode = NONE; 384 if (mode == SLASH) { 385 mode = NONE; 388 mode = CONTINUE; // Look for a following \n 391 mode = IGNORE; // Ignore whitespace on the next line 409 mode = UNICODE; 427 if (mode == CONTINUE) { // Part of a \r\n sequence 428 mode [all...] |
/dalvik/libcore/icu/src/main/native/ |
H A D | NativeNormalizer.cpp | 24 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); local 27 Normalizer::normalize(src.unicodeString(), mode, 0, dst, errorCode); 34 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); local 36 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, errorCode);
|
/dalvik/libcore/xml/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
|
/dalvik/libcore/math/src/main/java/java/math/ |
H A D | RoundingMode.java | 29 * Rounding mode where positive values are rounded towards positive infinity 37 * Rounding mode where the values are rounded towards zero. 44 * Rounding mode to round towards positive infinity. For positive values 45 * this rounding mode behaves as {@link #UP}, for negative values as 53 * Rounding mode to round towards negative infinity. For positive values 54 * this rounding mode behaves as {@link #DOWN}, for negative values as 62 * Rounding mode where values are rounded towards the nearest neighbor. Ties 68 * Rounding mode where values are rounded towards the nearest neighbor. Ties 74 * Rounding mode where values are rounded towards the nearest neighbor. Ties 80 * Rounding mode wher 102 valueOf(int mode) argument [all...] |
/dalvik/libcore/xml/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
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | CertificateFactory2Test.java | 89 private void checkResult(CertificateFactory certFactory, boolean mode) argument 91 MyCertificateFactorySpi.putMode(mode); 102 if (!mode) { 106 if (mode) { 117 if (mode) { 121 if (!mode) { 161 if (mode) { 167 if (!mode) { 172 if (mode) { 186 public void GetInstance01(boolean mode) throw argument 220 GetInstance02(boolean mode) argument 285 GetInstance03(boolean mode) argument [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | Cipher.java | 48 * <li><i>"algorithm/mode/padding"</i></li> or 51 * <i>algorithm</i> is the name of a cryptographic algorithm, <i>mode</i> is the 52 * name of a feedback mode and <i>padding</i> is the name of a padding scheme. 53 * If <i>mode</i> and/or <i>padding</i> values are omitted, provider specific 60 * When a block cipher is requested in in stream cipher mode, the number of bits 62 * mode name. e.g. <i>"AES/CFB8/NoPadding"</i>. If no number is specified, a 68 * Constant for decryption operation mode. 73 * Constant for encryption operation mode. 93 * Constant for key unwrapping operation mode. 98 * Constant for key wrapping operation mode 102 private int mode; field in class:Cipher [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 292 int mode = NONE, unicode = 0, count = 0; 304 // if mode is UNICODE but has less than 4 hex digits, should 307 if (mode == UNICODE && count < 4) { 310 // if mode is SLASH and no data is read, should append '\u0000' 312 if (mode == SLASH) { 324 if (mode == UNICODE) { 335 mode = NONE; 341 if (mode == SLASH) { 342 mode = NONE; 345 mode [all...] |
/dalvik/vm/mterp/x86/ |
H A D | cvtfp_int.S | 5 * should be zero. Further, the rounding mode is to truncate. This model 18 fnstcw LOCAL0_OFFSET(%ebp) # remember original rounding mode 22 fldcw LOCAL0_OFFSET+2(%ebp) # set "to zero" rounding mode 30 fldcw LOCAL0_OFFSET(%ebp) # restore previous rounding mode
|
/dalvik/libcore/sql/src/main/java/SQLite/ |
H A D | Shell.java | 22 int mode; field in class:Shell 54 s.mode = mode; 173 switch (mode) { 229 if (mode == Shell.MODE_Semi) { 339 pw.println(".mode MODE Set output mode to\n" + 342 pw.println(".mode insert TABLE Generate SQL insert stmts"); 348 if (cmd.compareTo(".mode") == 0) { 351 mode [all...] |
/dalvik/libcore/crypto/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 66 mode = getNextMode(); 120 return mode; 124 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode +
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | MappedByteBuffer.java | 53 MappedByteBuffer(PlatformAddress addr, int capa, int offset, int mode) { argument 55 mapMode = mode;
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
H A D | ElemApplyTemplates.java | 45 * mode %qname; #IMPLIED 56 * mode %qname; #IMPLIED 62 * Set the mode attribute for this element. 64 * @param mode reference, which may be null, to the <a href="http://www.w3.org/TR/xslt#modes">current mode</a>. 66 public void setMode(QName mode) argument 68 m_mode = mode; 72 * Get the mode attribute for this element. 74 * @return The mode attribute for this element 162 QName mode [all...] |
H A D | TemplateSubPatternAssociation.java | 117 * @param m1 mode to match 119 * @return True if the given mode matches this template's mode 129 * @param m1 First mode to match 130 * @param m2 Second mode to match 141 * Return the mode associated with the template. 146 * @param mode reference, which may be null, to the <a href="http://www.w3.org/TR/xslt#modes">current mode</a>. 147 * @return The mode associated with the template. 151 public boolean matches(XPathContext xctxt, int targetNode, QName mode) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | OSFileSystem.java | 148 public int open(byte[] utfPathBytes, int mode) throws FileNotFoundException { argument 152 return openImpl(utfPathBytes, mode); 155 private native int openImpl(byte[] fileName, int mode); argument
|
H A D | PlatformAddressFactory.java | 106 public static PlatformAddress allocMap(int fd, long start, long size, int mode) throws IOException { argument 112 int osAddress = PlatformAddress.osMemory.mmap(fd, start, size, mode);
|
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
H A D | SSLServerSocket.java | 150 * Sets whether server-mode connections will be configured to require client 166 * Returns whether server-mode connections will be configured to require 175 * Sets whether server-mode connections will be configured to request client 191 * Returns whether server-mode connections will be configured to request 200 * Sets whether new connections should act in client mode when handshaking. 202 * @param mode 203 * {@code true} if new connections should act in client mode, 206 public abstract void setUseClientMode(boolean mode); argument 209 * Returns whether new connection will act in client mode when handshaking. 211 * @return {@code true} if new connections will act in client mode whe [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyPairGenerator2Test.java | 94 private void checkResult(KeyPairGenerator keyPairGen, int mode) argument 97 switch (mode) { 190 private void GetInstance01(int mode) throws NoSuchAlgorithmException, argument 211 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 213 checkResult(kpG, mode); 228 public void GetInstance02(int mode) throws NoSuchAlgorithmException, argument 272 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 275 checkResult(kpG, mode); 288 private void GetInstance03(int mode) throws NoSuchAlgorithmException, argument 319 .toUpperCase(), (mode < [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
H A D | NativeConverter.java | 217 * Sets the substitution mode of CharToByte(fromUnicode) for the specified converter 220 * @param mode to set the true/false 225 boolean mode); 227 * Sets the substitution mode of CharToByte(fromUnicode) for the specified converter 230 * @param mode to set the true/false 235 boolean mode); 383 * @param mode call back mode to set. This is either STOP_CALLBACK, SKIP_CALLBACK or SUBSTITUE_CALLBACK 395 * @param mode call back mode t 224 setSubstitutionModeCharToByte(long converterHandle, boolean mode) argument 234 setSubstitutionModeByteToChar(long converterHandle, boolean mode) argument [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | Collator.java | 67 * decomposition mode and one that does not use any decomposition. The 68 * compatibility decomposition mode 70 * canonical decomposition mode is set, {@code Collator} handles un-normalized 201 * Returns a new collator with the same decomposition mode and 395 private int decompositionMode_Java_ICU(int mode) { argument 396 int icuDecomp = mode; 397 switch (mode) { 408 private int decompositionMode_ICU_Java(int mode) { argument 409 int javaMode = mode; 410 switch (mode) { [all...] |