/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/main/java/java/math/ |
D | Division.java | 56 long temp = (rem << 32) | (dividend[i] & 0xffffffffL); in divideArrayByInt() local 58 if (temp >= 0) { in divideArrayByInt() 59 quot = (temp / bLong); in divideArrayByInt() 60 rem = (temp % bLong); in divideArrayByInt() 66 long aPos = temp >>> 1; in divideArrayByInt() 71 rem = (rem << 1) + (temp & 1); in divideArrayByInt()
|
D | Conversion.java | 83 int[] temp = new int[numberLength]; in bigInteger2String() local 84 System.arraycopy(digits, 0, temp, 0, numberLength); in bigInteger2String() 93 resDigit = Division.divideArrayByInt(temp, temp, tempLen, in bigInteger2String() 104 for (i = tempLen - 1; (i > 0) && (temp[i] == 0); i--) { in bigInteger2String() 108 if ((tempLen == 1) && (temp[0] == 0)) { // the quotient is 0 in bigInteger2String() 202 int[] temp = new int[numberLength]; in toDecimalScaledString() local 204 System.arraycopy(digits, 0, temp, 0, tempLen); in toDecimalScaledString() 212 + (temp[i1] & 0xFFFFFFFFL); in toDecimalScaledString() 214 temp[i1] = (int) res; in toDecimalScaledString() 227 for (; temp[j] == 0; j--) { in toDecimalScaledString()
|
D | BigInteger.java | 1076 BigInteger temp = this; 1101 int digit = -temp.digits[digitIndex]; 1110 digit = ~temp.digits[digitIndex]; 1121 int digit = temp.digits[digitIndex];
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
D | SHA1Impl.java | 81 int temp; in computeHash() local 93 temp = arrW[t-3] ^ arrW[t-8] ^ arrW[t-14] ^ arrW[t-16]; in computeHash() 94 arrW[t] = ( temp<<1 ) | ( temp>>>31 ); in computeHash() 99 temp = ( ( a<<5 ) | ( a>>>27 ) ) + in computeHash() 106 a = temp; in computeHash() 110 temp = ((( a<<5 ) | ( a>>>27 ))) + (b ^ c ^ d) + (e + arrW[t] + 0x6ED9EBA1) ; in computeHash() 115 a = temp; in computeHash() 119 temp = (( a<<5 ) | ( a>>>27 )) + ((b & c) | (b & d) | (c & d)) + in computeHash() 125 a = temp; in computeHash() 129 temp = ((( a<<5 ) | ( a>>>27 ))) + (b ^ c ^ d) + (e + arrW[t] + 0xCA62C1D6) ; in computeHash() [all …]
|
/libcore/ojluni/src/main/native/ |
D | java_props_md.c | 116 char *temp = malloc(strlen(envstring) + strlen(current) + 2); in setPathEnvironment() local 117 strcpy(temp, name); in setPathEnvironment() 118 strcat(temp, "="); in setPathEnvironment() 119 strcat(temp, current); in setPathEnvironment() 120 strcat(temp, ":"); in setPathEnvironment() 121 strcat(temp, value); in setPathEnvironment() 122 putenv(temp); in setPathEnvironment() 138 char temp[64]; in ParseLocale() local 168 strcpy(temp, lc); in ParseLocale() 169 p = strstr(temp, "@euro"); in ParseLocale() [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/text/ |
D | DigitList.java | 163 StringBuffer temp = getStringBuffer(); in getDouble() local 164 temp.append('.'); in getDouble() 165 temp.append(digits, 0, count); in getDouble() 166 temp.append('E'); in getDouble() 167 temp.append(decimalAt); in getDouble() 168 return Double.parseDouble(temp.toString()); in getDouble() 189 StringBuffer temp = getStringBuffer(); in getLong() local 190 temp.append(digits, 0, count); in getLong() 192 temp.append('0'); in getLong() 194 return Long.parseLong(temp.toString()); in getLong()
|
/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 | 190 HashMap<String,Object> temp = new HashMap<>(contents.length); in loadLookup() local 198 temp.put(key, value); in loadLookup() 200 lookup = temp; in loadLookup()
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
D | OpenListResourceBundle.java | 126 Map temp = createMap(contents.length); in loadLookup() local 134 temp.put(key, value); in loadLookup() 136 lookup = temp; in loadLookup()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PollArrayWrapper.java | 104 PollArrayWrapper temp = new PollArrayWrapper(newSize); in grow() local 108 replaceEntry(this, i, temp, i); in grow() 112 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/x509/ |
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()
|
D | AVA.java | 178 StringBuilder temp = new StringBuilder(); in AVA() local 190 temp.append((char)c); in AVA() 193 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap); in AVA() 200 temp.setLength(0); in AVA() 223 value = parseQuotedString(in, temp); in AVA() 225 value = parseString(in, c, format, temp); in AVA() 317 (Reader in, StringBuilder temp) throws IOException { in parseQuotedString() argument 357 temp.append(hexString); in parseQuotedString() 363 temp.append((char)c); in parseQuotedString() 370 temp.append(hexString); in parseQuotedString() [all …]
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS9Attribute.java | 604 DerOutputStream temp = new DerOutputStream(); in derEncode() local 605 temp.putOID(oid); in derEncode() 608 temp.write((byte[])value); in derEncode() 621 temp.putOrderedSetOf(DerValue.tag_Set, temps); in derEncode() 629 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 637 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 645 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 650 temp.putOrderedSetOf(DerValue.tag_Set, (DerEncoder[]) value); in derEncode() 657 temp.write(DerValue.tag_Set, temp2.toByteArray()); in derEncode() 671 temp.putOrderedSetOf(DerValue.tag_Set, temps); in derEncode() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketInputStream.java | 50 private byte temp[]; field in SocketInputStream 205 temp = new byte[1]; in read() 206 int n = read(temp, 0, 1); in read() 210 return temp[0] & 0xff; in read()
|
D | SocketOutputStream.java | 48 private byte temp[] = new byte[1]; field in SocketOutputStream 135 temp[0] = (byte)b; in write() 136 socketWrite(temp, 0, 1); in write()
|
/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/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/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/ojluni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 1407 char temp = value[j]; in reverse() local 1410 hasSurrogate = (temp >= Character.MIN_SURROGATE && temp <= Character.MAX_SURROGATE) in reverse() 1414 value[n - j] = temp; in reverse()
|