/libcore/luni/src/main/java/java/math/ |
H A D | Division.java | 56 long temp = (rem << 32) | (dividend[i] & 0xffffffffL); 58 if (temp >= 0) { 59 quot = (temp / bLong); 60 rem = (temp % bLong); 66 long aPos = temp >>> 1; 71 rem = (rem << 1) + (temp & 1);
|
H A D | Conversion.java | 83 int[] temp = new int[numberLength]; 84 System.arraycopy(digits, 0, temp, 0, numberLength); 93 resDigit = Division.divideArrayByInt(temp, temp, tempLen, 104 for (i = tempLen - 1; (i > 0) && (temp[i] == 0); i--) { 108 if ((tempLen == 1) && (temp[0] == 0)) { // the quotient is 0 202 int[] temp = new int[numberLength]; 204 System.arraycopy(digits, 0, temp, 0, tempLen); 212 + (temp[i1] & 0xFFFFFFFFL); 214 temp[i [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetLocal.java | 40 File temp = cache.get(url); 41 if (temp == null) { 43 temp = File.createTempFile("hyts_local", ".tmp", null); 44 temp.deleteOnExit(); 45 FileOutputStream out = new FileOutputStream(temp); 53 cache.put(url, temp); 55 return temp; 60 File temp = cache.get(url); 61 if (temp == null) { 63 temp [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/ |
H A D | NullArgsTestCase.java | 59 Object[] temp = Arrays.copyOf(args, args.length); 60 temp[i] = null; 62 sink.accept(temp);
|
/libcore/ojluni/src/main/native/ |
H A D | java_props_md.c | 116 char *temp = malloc(strlen(envstring) + strlen(current) + 2); local 117 strcpy(temp, name); 118 strcat(temp, "="); 119 strcat(temp, current); 120 strcat(temp, ":"); 121 strcat(temp, value); 122 putenv(temp); 138 char temp[64]; local 168 strcpy(temp, lc); 169 p = strstr(temp, " [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | AsynchronousFileChannelTest.java | 140 File temp = File.createTempFile("AFCTest_tempfile", ""); 143 try (FileOutputStream fos = new FileOutputStream(temp)) { 151 return temp; 155 File temp = File.createTempFile("AFCTest_tempfile", ""); 157 try (FileOutputStream fos = new FileOutputStream(temp)) { 161 return temp; 166 File temp = createTemporaryFile(256); 167 assertEquals(256, temp.length()); 169 AsynchronousFileChannel afc = AsynchronousFileChannel.open(temp.toPath(), 173 assertEquals(0, temp [all...] |
/libcore/ojluni/src/main/java/java/security/spec/ |
H A D | ECFieldF2m.java | 98 BigInteger temp = this.rp.clearBit(0).clearBit(m); 101 int index = temp.getLowestSetBit(); 103 temp = temp.clearBit(index);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | ListResourceBundle.java | 196 HashMap<String,Object> temp = new HashMap<>(contents.length); 204 temp.put(key, value); 206 lookup = temp;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | PollArrayWrapper.java | 102 PollArrayWrapper temp = new PollArrayWrapper(newSize); 106 replaceEntry(this, i, temp, i); 110 pollArray = temp.pollArray;
|
H A D | AbstractPollSelectorImpl.java | 149 SelectionKeyImpl temp[] = new SelectionKeyImpl[newSize]; 152 temp[i] = channelArray[i]; 153 channelArray = temp;
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | GeneralNames.java | 119 DerOutputStream temp = new DerOutputStream(); 121 gn.encode(temp); 123 out.write(DerValue.tag_Sequence, temp);
|
H A D | AVA.java | 174 StringBuilder temp = new StringBuilder(); 186 temp.append((char)c); 189 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap); 196 temp.setLength(0); 219 value = parseQuotedString(in, temp); 221 value = parseString(in, c, format, temp); 313 (Reader in, StringBuilder temp) throws IOException { 352 temp.append(hexString); 358 temp.append((char)c); 365 temp 312 parseQuotedString(Reader in, StringBuilder temp) argument 399 parseString(Reader in, int c, int format, StringBuilder temp) argument [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | TemporalAdjusters.java | 351 Temporal temp = temporal.with(DAY_OF_MONTH, 1); 352 int curDow = temp.get(DAY_OF_WEEK); 355 return temp.plus(dowDiff, DAYS); 359 Temporal temp = temporal.with(DAY_OF_MONTH, temporal.range(DAY_OF_MONTH).getMaximum()); 360 int curDow = temp.get(DAY_OF_WEEK); 364 return temp.plus(daysDiff, DAYS);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | SocketOutputStream.java | 52 private byte temp[] = new byte[1]; field in class:SocketOutputStream 139 temp[0] = (byte)b; 140 socketWrite(temp, 0, 1);
|
H A D | SocketInputStream.java | 54 private byte temp[]; field in class:SocketInputStream 228 temp = new byte[1]; 229 int n = read(temp, 0, 1); 233 return temp[0] & 0xff;
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
H A D | OpenListResourceBundle.java | 138 Map<String, Object> temp = createMap(contents.length); 146 temp.put(key, value); 150 lookup = temp;
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | LRUCache.java | 56 V[] temp = (V[])new Object[size]; 57 oa = temp;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FilterInputStreamTest.java | 99 File temp = File.createTempFile("FilterInputStreamTest", "tst"); 100 fileName = temp.getAbsolutePath(); 101 OutputStream fos = new FileOutputStream(temp.getAbsolutePath());
|
H A D | ObjectStreamFieldTest.java | 292 private ObjectStreamClass temp = null; field in class:MockObjectInputStream 308 temp = osc; 314 return temp;
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | DataOutputStream.java | 68 int temp = written + value; 69 if (temp < 0) { 70 temp = Integer.MAX_VALUE; 72 written = temp;
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS9Attribute.java | 605 DerOutputStream temp = new DerOutputStream(); 606 temp.putOID(oid); 609 temp.write((byte[])value); 622 temp.putOrderedSetOf(DerValue.tag_Set, temps); 630 temp.write(DerValue.tag_Set, temp2.toByteArray()); 638 temp.write(DerValue.tag_Set, temp2.toByteArray()); 646 temp.write(DerValue.tag_Set, temp2.toByteArray()); 651 temp.putOrderedSetOf(DerValue.tag_Set, (DerEncoder[]) value); 658 temp.write(DerValue.tag_Set, temp2.toByteArray()); 672 temp [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 661 // temp array holds those elements we know we want to keep 663 Object[] temp = new Object[len]; 667 temp[newlen++] = element; 670 setArray(Arrays.copyOf(temp, newlen)); 700 // temp array holds those elements we know we want to keep 702 Object[] temp = new Object[len]; 706 temp[newlen++] = element; 709 setArray(Arrays.copyOf(temp, newlen)); 1376 Object[] temp = new Object[n]; 1380 temp[newSiz [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | JarEntryTest.java | 178 List<?> temp = certs_bob; 180 certs_alice = temp;
|
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 91 throw new RuntimeException("Unable to create temp folder: " + folder, e); 151 File temp = new File(resources.toString() + "/local.tmp"); 152 copyLocalFileto(temp, in); 153 return temp;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetEncoderTest.java | 598 byte[] temp = new byte[surrogate.length + expected.length]; 599 System.arraycopy(surrogate, 0, temp, 0, surrogate.length); 600 System.arraycopy(expected, 0, temp, surrogate.length, 602 expected = temp; 768 ByteBuffer temp = ByteBuffer.allocate(200); 770 temp.put(out); 771 out = temp; 787 temp = ByteBuffer.allocate(200); 789 temp.put(out); 790 out = temp; [all...] |