/dalvik/libcore/json/src/main/java/org/json/ |
D | JSONStringer.java | 73 private char mode; field in JSONStringer 97 this.mode = 'i'; in JSONStringer() 112 if (this.mode == 'o' || this.mode == 'a') { in append() 113 if (this.comma && this.mode == 'a') { in append() 117 if (this.mode == 'o') { in append() 118 this.mode = 'k'; in append() 136 if (this.mode == 'i' || this.mode == 'o' || this.mode == 'a') { in array() 153 if (this.mode != m) { in end() 196 if (this.mode == 'k') { in key() 203 this.mode = 'o'; in key() [all …]
|
/dalvik/libcore/support/src/test/java/tests/support/ |
D | Support_Configuration.java | 379 int mode = NONE, unicode = 0, count = 0, nextChar; in load() local 384 if (mode == UNICODE) { in load() 392 mode = NONE; in load() 398 if (mode == SLASH) { in load() 399 mode = NONE; in load() 402 mode = CONTINUE; // Look for a following \n in load() 405 mode = IGNORE; // Ignore whitespace on the next line in load() 423 mode = UNICODE; in load() 441 if (mode == CONTINUE) { // Part of a \r\n sequence in load() 442 mode = IGNORE; // Ignore whitespace on the next line in load() [all …]
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
D | Cipher.java | 119 private int mode; field in Cipher 420 if (mode == 0) { in getOutputSize() 553 mode = opmode; in init() 649 mode = opmode; in init() 747 mode = opmode; in init() 871 mode = opmode; in init() 890 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 925 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 1013 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 1068 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() [all …]
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
D | ReadWriteFileChannel.java | 36 public final MappedByteBuffer map(MapMode mode, long position, long size) in map() argument 39 if (mode == null) { in map() 46 if (mode == MapMode.READ_ONLY) { in map() 48 } else if (mode == MapMode.READ_WRITE) { in map()
|
D | ReadOnlyFileChannel.java | 83 public final MappedByteBuffer map(MapMode mode, long position, long size) in map() argument 86 if (mode == null) { in map() 92 if (mode != MapMode.READ_ONLY) { in map()
|
D | WriteOnlyFileChannel.java | 88 public MappedByteBuffer map(MapMode mode, long position, long size) in map() argument 91 if (mode == null) { in map()
|
/dalvik/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()
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | Properties.java | 304 int mode = NONE, unicode = 0, count = 0; in load() local 325 if (mode == UNICODE) { in load() 339 mode = NONE; in load() 345 if (mode == SLASH) { in load() 346 mode = NONE; in load() 349 mode = CONTINUE; // Look for a following \n in load() 352 mode = IGNORE; // Ignore whitespace on the next line in load() 370 mode = UNICODE; in load() 398 if (mode == CONTINUE) { // Part of a \r\n sequence in load() 399 mode = IGNORE; // Ignore whitespace on the next line in load() [all …]
|
/dalvik/libcore/security/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 …]
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
D | FileChannelFactory.java | 39 public static FileChannel getFileChannel(Object stream, int fd, int mode) { in getFileChannel() argument 40 switch(mode){ in getFileChannel() 53 throw new RuntimeException(Messages.getString("nio.09", mode)); //$NON-NLS-1$ in getFileChannel()
|
/dalvik/libcore/crypto/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()
|
/dalvik/libcore/sql/src/main/java/SQLite/ |
D | Shell.java | 22 int mode; field in Shell 54 s.mode = mode; in clone() 173 switch (mode) { in newrow() 229 if (mode == Shell.MODE_Semi) { in newrow() 351 mode = Shell.MODE_Line; in do_meta() 353 mode = Shell.MODE_Column; in do_meta() 355 mode = Shell.MODE_List; in do_meta() 357 mode = Shell.MODE_Html; in do_meta() 359 mode = Shell.MODE_Insert; in do_meta() 518 s.mode = Shell.MODE_List; in main() [all …]
|
/dalvik/libcore/text/src/main/java/java/text/ |
D | Collator.java | 438 private int decompositionMode_Java_ICU(int mode) { in decompositionMode_Java_ICU() argument 439 int icuDecomp = mode; in decompositionMode_Java_ICU() 440 switch (mode) { in decompositionMode_Java_ICU() 451 private int decompositionMode_ICU_Java(int mode) { in decompositionMode_ICU_Java() argument 452 int javaMode = mode; in decompositionMode_ICU_Java() 453 switch (mode) { in decompositionMode_ICU_Java()
|
/dalvik/vm/mterp/x86/ |
D | cvtfp_int.S | 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/math/src/main/java/java/math/ |
D | RoundingMode.java | 122 public static RoundingMode valueOf(int mode) { in valueOf() argument 126 switch (mode) { in valueOf()
|
/dalvik/libcore/security/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 …]
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
D | MappedByteBuffer.java | 58 MappedByteBuffer(PlatformAddress addr, int capa, int offset, int mode) { in MappedByteBuffer() argument 60 mapMode = mode; in MappedByteBuffer()
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | RandomAccessFile.java | 112 public RandomAccessFile(File file, String mode) in RandomAccessFile() argument 120 if (mode.equals("r")) { //$NON-NLS-1$ in RandomAccessFile() 124 …} else if (mode.equals("rw") || mode.equals("rws") || mode.equals("rwd")) { //$NON-NLS-1$ //$NON-N… in RandomAccessFile() 128 if (mode.equals("rws")) { //$NON-NLS-1$ in RandomAccessFile() 131 } else if (mode.equals("rwd")) { //$NON-NLS-1$ in RandomAccessFile() 184 public RandomAccessFile(String fileName, String mode) in RandomAccessFile() argument 186 this(new File(fileName), mode); in RandomAccessFile()
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
D | NativeConverter.java | 225 boolean mode); in setSubstitutionModeCharToByte() argument 235 boolean mode); in setSubstitutionModeByteToChar() argument
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
D | PlatformAddressFactory.java | 106 …public static PlatformAddress allocMap(int fd, long start, long size, int mode) throws IOException{ in allocMap() argument 107 int osAddress = PlatformAddress.osMemory.mmap(fd, start, size, mode); in allocMap()
|
D | OSFileSystem.java | 225 public int open(byte[] fileName, int mode) throws FileNotFoundException { in open() argument 229 int handler = openImpl(fileName, mode); in open() 236 private native int openImpl(byte[] fileName, int mode); in openImpl() argument
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/ext/ |
D | DeclHandler.java | 99 String mode, in attributeDecl() argument
|
/dalvik/libcore/luni/src/main/native/ |
D | org_apache_harmony_luni_platform_OSFileSystem.cpp | 566 int mode = 0; in harmony_io_openImpl() local 576 mode = 0; in harmony_io_openImpl() 580 mode = 0600; in harmony_io_openImpl() 584 mode = 0600; in harmony_io_openImpl() 588 mode = 0600; in harmony_io_openImpl() 592 mode = 0600; in harmony_io_openImpl() 613 cc = open(pathCopy, flags, mode); in harmony_io_openImpl()
|
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
D | SSLServerSocket.java | 227 public abstract void setUseClientMode(boolean mode); in setUseClientMode() argument
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
D | ZipFile.java | 100 public ZipFile(File file, int mode) throws IOException { in ZipFile() argument 101 if (mode == (OPEN_READ | OPEN_DELETE)) in ZipFile() 103 else if (mode != OPEN_READ) in ZipFile()
|