/libcore/luni/src/main/java/javax/crypto/ |
D | Cipher.java | 100 private int mode; field in Cipher 391 if (mode == 0) { in getOutputSize() 512 mode = opmode; in init() 515 private void checkMode(int mode) { in checkMode() argument 516 … if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE && mode != UNWRAP_MODE && mode != WRAP_MODE) { in checkMode() 517 throw new InvalidParameterException("Invalid mode: " + mode); in checkMode() 608 mode = opmode; in init() 699 mode = opmode; in init() 816 mode = opmode; in init() 834 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Configuration.java | 365 int mode = NONE, unicode = 0, count = 0, nextChar; in load() local 370 if (mode == UNICODE) { in load() 378 mode = NONE; in load() 384 if (mode == SLASH) { in load() 385 mode = NONE; in load() 388 mode = CONTINUE; // Look for a following \n in load() 391 mode = IGNORE; // Ignore whitespace on the next line in load() 409 mode = UNICODE; in load() 427 if (mode == CONTINUE) { // Part of a \r\n sequence in load() 428 mode = IGNORE; // Ignore whitespace on the next line in load() [all …]
|
/libcore/sqlite-jdbc/src/main/java/SQLite/ |
D | Database.java | 28 public void open(String filename, int mode) throws SQLite.Exception { in open() argument 29 if ((mode & 0200) != 0) { in open() 30 mode = SQLite.Constants.SQLITE_OPEN_READWRITE | in open() 32 } else if ((mode & 0400) != 0) { in open() 33 mode = SQLite.Constants.SQLITE_OPEN_READONLY; in open() 37 _open4(filename, mode, null, false); in open() 43 _open(filename, mode); in open() 56 public void open(String filename, int mode, String vfs) in open() argument 58 if ((mode & 0200) != 0) { in open() 59 mode = SQLite.Constants.SQLITE_OPEN_READWRITE | in open() [all …]
|
D | Shell.java | 22 int mode; field in Shell 54 s.mode = mode; in clone() 177 switch (mode) { in newrow() 233 if (mode == Shell.MODE_Semi) { in newrow() 355 mode = Shell.MODE_Line; in do_meta() 357 mode = Shell.MODE_Column; in do_meta() 359 mode = Shell.MODE_List; in do_meta() 361 mode = Shell.MODE_Html; in do_meta() 363 mode = Shell.MODE_Insert; in do_meta() 532 s.mode = Shell.MODE_List; in main() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 50 private static boolean mode; field in MyCertificateFactorySpi 56 mode = true; in MyCertificateFactorySpi() 63 mode = newMode; in putMode() 117 if (mode) { in engineGenerateCertPath() 126 if (mode) { in engineGenerateCertPath() 134 if (!mode) { in engineGetCertPathEncodings()
|
/libcore/luni/src/main/java/java/util/ |
D | Properties.java | 299 int mode = NONE, unicode = 0, count = 0; in load() local 318 if (mode == UNICODE) { in load() 328 mode = NONE; in load() 334 if (mode == SLASH) { in load() 335 mode = NONE; in load() 338 mode = CONTINUE; // Look for a following \n in load() 341 mode = IGNORE; // Ignore whitespace on the next line in load() 359 mode = UNICODE; in load() 382 if (mode == CONTINUE) { // Part of a \r\n sequence in load() 383 mode = IGNORE; // Ignore whitespace on the next line in load() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/ |
D | ReadWriteFileChannel.java | 34 public final MappedByteBuffer map(MapMode mode, long position, long size) throws IOException { in map() argument 36 if (mode == null) { in map() 42 return mapImpl(mode, position, size); in map()
|
D | ReadOnlyFileChannel.java | 81 public final MappedByteBuffer map(MapMode mode, long position, long size) throws IOException { in map() argument 83 if (mode == null) { in map() 89 if (mode != MapMode.READ_ONLY) { in map() 92 return super.mapImpl(mode, position, size); in map()
|
D | WriteOnlyFileChannel.java | 89 public MappedByteBuffer map(MapMode mode, long position, long size) in map() argument 92 if (mode == null) { in map()
|
/libcore/luni/src/main/native/ |
D | NativeNormalizer.cpp | 27 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); in NativeNormalizer_normalizeImpl() local 30 Normalizer::normalize(src.unicodeString(), mode, 0, dst, errorCode); in NativeNormalizer_normalizeImpl() 37 UNormalizationMode mode = static_cast<UNormalizationMode>(intMode); in NativeNormalizer_isNormalizedImpl() local 39 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, errorCode); in NativeNormalizer_isNormalizedImpl()
|
D | org_apache_harmony_luni_platform_OSFileSystem.cpp | 379 int mode = 0; in OSFileSystem_open() local 385 mode = 0; in OSFileSystem_open() 389 mode = 0600; in OSFileSystem_open() 393 mode = 0600; in OSFileSystem_open() 397 mode = 0600; in OSFileSystem_open() 401 mode = 0600; in OSFileSystem_open() 411 jint rc = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in OSFileSystem_open()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory2Test.java | 89 private void checkResult(CertificateFactory certFactory, boolean mode) in checkResult() argument 91 MyCertificateFactorySpi.putMode(mode); in checkResult() 102 if (!mode) { in checkResult() 106 if (mode) { in checkResult() 117 if (mode) { in checkResult() 121 if (!mode) { in checkResult() 161 if (mode) { in checkResult() 167 if (!mode) { in checkResult() 172 if (mode) { in checkResult() 186 public void GetInstance01(boolean mode) throws CertificateException, CRLException { in GetInstance01() argument [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/nio/ |
D | FileChannelFactory.java | 36 public static FileChannel getFileChannel(Object stream, int fd, int mode) { in getFileChannel() argument 37 switch (mode) { in getFileChannel() 49 throw new RuntimeException("Unknown file channel type " + mode); in getFileChannel()
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
D | ElemApplyTemplates.java | 66 public void setMode(QName mode) in setMode() argument 68 m_mode = mode; in setMode() 162 QName mode = transformer.getMode(); in execute() local 166 if (((null == mode) && (null != m_mode)) in execute() 167 || ((null != mode) &&!mode.equals(m_mode))) in execute() 275 final QName mode = transformer.getMode(); in transformSelectedNodes() local 277 ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, in transformSelectedNodes()
|
D | TemplateList.java | 495 QName mode, in getTemplateFast() argument 560 && head.matchMode(mode)) in getTemplateFast() 563 checkConflicts(head, xctxt, targetNode, mode); in getTemplateFast() 595 QName mode, in getTemplate() argument 618 && head.matchMode(mode)) in getTemplate() 621 checkConflicts(head, xctxt, targetNode, mode); in getTemplate() 659 QName mode, in getTemplate() argument 689 && head.matchMode(mode)) in getTemplate() 692 checkConflicts(head, xctxt, targetNode, mode); in getTemplate() 727 XPathContext xctxt, int targetNode, QName mode) in checkConflicts() argument
|
D | TemplateSubPatternAssociation.java | 151 public boolean matches(XPathContext xctxt, int targetNode, QName mode) in matches() argument 158 && matchModes(mode, m_template.getMode()); in matches()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherThread.java | 34 private String mode = null; field in CipherThread 66 mode = getNextMode(); in launcher() 120 return mode; in getMode() 124 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode + in getCipherParameters()
|
/libcore/luni/src/main/java/java/text/ |
D | Collator.java | 339 private int decompositionMode_Java_ICU(int mode) { in decompositionMode_Java_ICU() argument 340 switch (mode) { in decompositionMode_Java_ICU() 349 private int decompositionMode_ICU_Java(int mode) { in decompositionMode_ICU_Java() argument 350 int javaMode = mode; in decompositionMode_ICU_Java() 351 switch (mode) { in decompositionMode_ICU_Java()
|
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 100 public static RoundingMode valueOf(int mode) { in valueOf() argument 101 switch (mode) { in valueOf()
|
/libcore/luni/src/main/java/java/io/ |
D | RandomAccessFile.java | 101 public RandomAccessFile(File file, String mode) throws FileNotFoundException { in RandomAccessFile() argument 105 if (mode.equals("r")) { in RandomAccessFile() 109 } else if (mode.equals("rw") || mode.equals("rws") || mode.equals("rwd")) { in RandomAccessFile() 113 if (mode.equals("rws")) { in RandomAccessFile() 116 } else if (mode.equals("rwd")) { in RandomAccessFile() 121 throw new IllegalArgumentException("Invalid mode: " + mode); in RandomAccessFile() 171 public RandomAccessFile(String fileName, String mode) in RandomAccessFile() argument 173 this(new File(fileName), mode); in RandomAccessFile()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairGenerator2Test.java | 94 private void checkResult(KeyPairGenerator keyPairGen, int mode) in checkResult() argument 97 switch (mode) { in checkResult() 190 private void GetInstance01(int mode) throws NoSuchAlgorithmException, in GetInstance01() argument 211 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance01() 213 checkResult(kpG, mode); in GetInstance01() 228 public void GetInstance02(int mode) throws NoSuchAlgorithmException, in GetInstance02() argument 272 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance02() 275 checkResult(kpG, mode); in GetInstance02() 288 private void GetInstance03(int mode) throws NoSuchAlgorithmException, in GetInstance03() argument 319 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance03() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | SynchronousQueue.java | 211 int mode; field in SynchronousQueue.TransferStack.SNode 284 static SNode snode(SNode s, Object e, SNode next, int mode) { in snode() argument 286 s.mode = mode; in snode() 317 int mode = (e == null)? REQUEST : DATA; in transfer() local 321 if (h == null || h.mode == mode) { // empty or same-mode in transfer() 327 } else if (casHead(h, s = snode(s, e, h, mode))) { in transfer() 335 return mode == REQUEST? m.item : s.item; in transfer() 337 } else if (!isFulfilling(h.mode)) { // try to fulfill in transfer() 340 else if (casHead(h, s=snode(s, e, h, FULFILLING|mode))) { in transfer() 351 return (mode == REQUEST)? m.item : s.item; in transfer() [all …]
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
D | DOMImplementationLS.java | 84 public LSParser createLSParser(short mode, in createLSParser() argument
|
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
D | PlatformAddressFactory.java | 107 public static PlatformAddress allocMap(int fd, long start, long size, MapMode mode) in allocMap() argument 114 int osAddress = OSMemory.mmap(fd, start, size, mode); in allocMap()
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | DeclHandler.java | 99 String mode, in attributeDecl() argument
|