/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 40 File temp = cache.get(url); in getLocalFile() local 41 if (temp == null) { in getLocalFile() 43 temp = File.createTempFile("hyts_local", ".tmp", null); in getLocalFile() 44 temp.deleteOnExit(); in getLocalFile() 45 FileOutputStream out = new FileOutputStream(temp); in getLocalFile() 53 cache.put(url, temp); in getLocalFile() 55 return temp; in getLocalFile() 60 File temp = cache.get(url); in getExternalLocalFile() local 61 if (temp == null) { in getExternalLocalFile() 63 temp = File.createTempFile("hyts_local", ".tmp", null); in getExternalLocalFile() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 140 File temp = File.createTempFile("AFCTest_tempfile", ""); in createTemporaryFile() local 143 try (FileOutputStream fos = new FileOutputStream(temp)) { in createTemporaryFile() 151 return temp; in createTemporaryFile() 155 File temp = File.createTempFile("AFCTest_tempfile", ""); in createTemporaryFile() local 157 try (FileOutputStream fos = new FileOutputStream(temp)) { in createTemporaryFile() 161 return temp; in createTemporaryFile() 166 File temp = createTemporaryFile(256); in testOpen_truncate() local 167 assertEquals(256, temp.length()); in testOpen_truncate() 169 AsynchronousFileChannel afc = AsynchronousFileChannel.open(temp.toPath(), in testOpen_truncate() 173 assertEquals(0, temp.length()); in testOpen_truncate() [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/ |
D | NullArgsTestCase.java | 59 Object[] temp = Arrays.copyOf(args, args.length); in throwWithNull() local 60 temp[i] = null; in throwWithNull() 62 sink.accept(temp); in throwWithNull()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAdjusters.java | 351 Temporal temp = temporal.with(DAY_OF_MONTH, 1); in dayOfWeekInMonth() 352 int curDow = temp.get(DAY_OF_WEEK); in dayOfWeekInMonth() 355 return temp.plus(dowDiff, DAYS); in dayOfWeekInMonth() 359 … Temporal temp = temporal.with(DAY_OF_MONTH, temporal.range(DAY_OF_MONTH).getMaximum()); in dayOfWeekInMonth() 360 int curDow = temp.get(DAY_OF_WEEK); in dayOfWeekInMonth() 364 return temp.plus(daysDiff, DAYS); in dayOfWeekInMonth()
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 98 BigInteger temp = this.rp.clearBit(0).clearBit(m); in ECFieldF2m() local 101 int index = temp.getLowestSetBit(); in ECFieldF2m() 103 temp = temp.clearBit(index); in ECFieldF2m()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ListResourceBundle.java | 196 HashMap<String,Object> temp = new HashMap<>(contents.length); in loadLookup() local 204 temp.put(key, value); in loadLookup() 206 lookup = temp; in loadLookup()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 174 StringBuilder temp = new StringBuilder(); in AVA() local 186 temp.append((char)c); in AVA() 189 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap); in AVA() 196 temp.setLength(0); in AVA() 219 value = parseQuotedString(in, temp); in AVA() 221 value = parseString(in, c, format, temp); in AVA() 313 (Reader in, StringBuilder temp) throws IOException { in parseQuotedString() argument 352 temp.append(hexString); in parseQuotedString() 358 temp.append((char)c); in parseQuotedString() 365 temp.append(hexString); in parseQuotedString() [all …]
|
D | GeneralNames.java | 119 DerOutputStream temp = new DerOutputStream(); in encode() local 121 gn.encode(temp); in encode() 123 out.write(DerValue.tag_Sequence, temp); in encode()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PollArrayWrapper.java | 102 PollArrayWrapper temp = new PollArrayWrapper(newSize); in grow() local 106 replaceEntry(this, i, temp, i); in grow() 110 pollArray = temp.pollArray; in grow()
|
D | AbstractPollSelectorImpl.java | 149 SelectionKeyImpl temp[] = new SelectionKeyImpl[newSize]; in implRegister() local 152 temp[i] = channelArray[i]; in implRegister() 153 channelArray = temp; in implRegister()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS9Attribute.java | 605 DerOutputStream temp = new DerOutputStream(); in derEncode() local 606 temp.putOID(oid); in derEncode() 609 temp.write((byte[])value); in derEncode() 622 temp.putOrderedSetOf(DerValue.tag_Set, temps); in derEncode() 630 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 638 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 646 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 651 temp.putOrderedSetOf(DerValue.tag_Set, (DerEncoder[]) value); in derEncode() 658 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 672 temp.putOrderedSetOf(DerValue.tag_Set, temps); in derEncode() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketInputStream.java | 54 private byte temp[]; field in SocketInputStream 228 temp = new byte[1]; in read() 229 int n = read(temp, 0, 1); in read() 233 return temp[0] & 0xff; in read()
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
D | OpenListResourceBundle.java | 138 Map<String, Object> temp = createMap(contents.length); in loadLookup() local 146 temp.put(key, value); in loadLookup() 150 lookup = temp; in loadLookup()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FilterInputStreamTest.java | 99 File temp = File.createTempFile("FilterInputStreamTest", "tst"); in setUp() local 100 fileName = temp.getAbsolutePath(); in setUp() 101 OutputStream fos = new FileOutputStream(temp.getAbsolutePath()); in setUp()
|
D | ObjectStreamFieldTest.java | 292 private ObjectStreamClass temp = null; field in MockObjectInputStream 308 temp = osc; in readClassDescriptor() 314 return temp; in getObjectStreamClass()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | LRUCache.java | 56 V[] temp = (V[])new Object[size]; in forName() local 57 oa = temp; in forName()
|
/libcore/ojluni/src/main/java/java/io/ |
D | DataOutputStream.java | 68 int temp = written + value; in incCount() local 69 if (temp < 0) { in incCount() 70 temp = Integer.MAX_VALUE; in incCount() 72 written = temp; in incCount()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 658 Object[] temp = new Object[len]; in removeAll() local 662 temp[newlen++] = element; in removeAll() 665 setArray(Arrays.copyOf(temp, newlen)); in removeAll() 697 Object[] temp = new Object[len]; in retainAll() local 701 temp[newlen++] = element; in retainAll() 704 setArray(Arrays.copyOf(temp, newlen)); in retainAll() 1371 Object[] temp = new Object[n]; in removeAll() local 1375 temp[newSize++] = element; in removeAll() 1380 System.arraycopy(temp, 0, newElements, lo, newSize); in removeAll() 1407 Object[] temp = new Object[n]; in retainAll() local [all …]
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 775 int temp[] = new int[resultLen]; in add() local 778 System.arraycopy(result, 0, temp, 1, result.length); in add() 779 temp[0] = 1; in add() 780 result = temp; in add() 841 int temp[] = new int[resultLen]; in addShifted() local 844 System.arraycopy(result, 0, temp, 1, result.length); in addShifted() 845 temp[0] = 1; in addShifted() 846 result = temp; in addShifted() 2105 MutableBigInteger temp = null; 2125 temp = f; f = g; g = temp; [all …]
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 151 File temp = new File(resources.toString() + "/local.tmp"); in getExternalLocalFile() local 152 copyLocalFileto(temp, in); in getExternalLocalFile() 153 return temp; in getExternalLocalFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetEncoderTest.java | 598 byte[] temp = new byte[surrogate.length + expected.length]; in addSurrogate() 599 System.arraycopy(surrogate, 0, temp, 0, surrogate.length); in addSurrogate() 600 System.arraycopy(expected, 0, temp, surrogate.length, in addSurrogate() 602 expected = temp; in addSurrogate() 768 ByteBuffer temp = ByteBuffer.allocate(200); in testEncodeCharBufferByteBufferboolean() local 770 temp.put(out); in testEncodeCharBufferByteBufferboolean() 771 out = temp; in testEncodeCharBufferByteBufferboolean() 787 temp = ByteBuffer.allocate(200); in testEncodeCharBufferByteBufferboolean() 789 temp.put(out); in testEncodeCharBufferByteBufferboolean() 790 out = temp; in testEncodeCharBufferByteBufferboolean()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarEntryTest.java | 178 List<?> temp = certs_bob; in test_getCodeSigners() local 180 certs_alice = temp; in test_getCodeSigners()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 287 File temp = File.createTempFile("foo", "bar"); in testOpen() local 291 FileDescriptor fd = Os.open(temp.getPath(), OsConstants.O_RDWR, 0); in testOpen() 297 fd = Os.open(temp.getPath(), OsConstants.O_RDONLY, 0); in testOpen()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | AVA.java | 86 java.io.Reader in, java.lang.StringBuilder temp) throws java.io.IOException { in parseQuotedString() argument 91 java.io.Reader in, int c, int format, java.lang.StringBuilder temp) in parseString() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerTest.java | 901 BigInteger[] temp = i1.divideAndRemainder(i2); in testDiv() local 904 .equals(temp[0])); in testDiv() 906 .equals(temp[1])); in testDiv()
|