Searched refs:toLong (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 328 long[][] toLong = new long[3][3]; in test_waitJ() local 338 if (count < toLong.length) { in test_waitJ() 339 toLong[count][0] = i; in test_waitJ() 340 toLong[count][1] = before; in test_waitJ() 341 toLong[count][2] = after; in test_waitJ() 344 if (error > (1000 + delay) || count == toLong.length) { in test_waitJ() 348 sb.append(toLong[j][0]); in test_waitJ() 350 sb.append(toLong[j][1]); in test_waitJ() 352 sb.append(toLong[j][2]); in test_waitJ() 354 sb.append(toLong[j][2] - toLong[j][1]); in test_waitJ()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | SetAllTest.java | 74 private static final IntToLongFunction toLong = i -> i << 1; field in SetAllTest 80 { "empty", 0, toLong, lr0 }, 81 { "one", 1, toLong, lr1 }, 82 { "ten", 10, toLong, lr10 },
|
/libcore/json/src/main/java/org/json/ |
D | JSON.java | 72 static Long toLong(Object value) { in toLong() method in JSON
|
D | JSONArray.java | 432 Long result = JSON.toLong(object); in getLong() 453 Long result = JSON.toLong(object); in optLong()
|
D | JSONObject.java | 524 Long result = JSON.toLong(object); in getLong() 548 Long result = JSON.toLong(object); in optLong()
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 177 private long toLong() { in toLong() method in MutableBigInteger 1461 return divideLongMagnitude(v, quotient).toLong(); in divide()
|