Home
last modified time | relevance | path

Searched refs:lng (Results 1 – 3 of 3) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/lang/
DLong.java583 public static long highestOneBit(long lng) { in highestOneBit() argument
584 lng |= (lng >> 1); in highestOneBit()
585 lng |= (lng >> 2); in highestOneBit()
586 lng |= (lng >> 4); in highestOneBit()
587 lng |= (lng >> 8); in highestOneBit()
588 lng |= (lng >> 16); in highestOneBit()
589 lng |= (lng >> 32); in highestOneBit()
590 return (lng & ~(lng >>> 1)); in highestOneBit()
604 public static long lowestOneBit(long lng) { in lowestOneBit() argument
605 return (lng & (-lng)); in lowestOneBit()
[all …]
DStringBuilder.java153 public StringBuilder append(long lng) { in append() argument
154 append0(Long.toString(lng)); in append()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DLongTest.java633 long lng = -128; in test_valueOfJ() local
634 while (lng < 128) { in test_valueOfJ()
635 assertEquals(new Long(lng), Long.valueOf(lng)); in test_valueOfJ()
636 assertSame(Long.valueOf(lng), Long.valueOf(lng)); in test_valueOfJ()
637 lng++; in test_valueOfJ()