Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DLong.java127 int charPos = 64; in toString() local
135 buf[charPos--] = Integer.digits[(int)(-(i % radix))]; in toString()
138 buf[charPos] = Integer.digits[(int)(-i)]; in toString()
141 buf[--charPos] = '-'; in toString()
144 return new String(buf, charPos, (65 - charPos)); in toString()
375 int charPos = len; in formatUnsignedLong() local
379 buf[offset + --charPos] = Integer.digits[((int) val) & mask]; in formatUnsignedLong()
381 } while (val != 0 && charPos > 0); in formatUnsignedLong()
383 return charPos; in formatUnsignedLong()
437 int charPos = index; in getChars() local
[all …]
DInteger.java142 int charPos = 32; in toString() local
149 buf[charPos--] = digits[-(i % radix)]; in toString()
152 buf[charPos] = digits[-i]; in toString()
155 buf[--charPos] = '-'; in toString()
158 return new String(buf, charPos, (33 - charPos)); in toString()
333 int charPos = len; in formatUnsignedInt() local
337 buf[offset + --charPos] = Integer.digits[val & mask]; in formatUnsignedInt()
339 } while (val != 0 && charPos > 0); in formatUnsignedInt()
341 return charPos; in formatUnsignedInt()
469 int charPos = index;
[all …]
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java3391 int charPos = cmpCharArray.length;
3398 cmpCharArray[--charPos] = DIGIT_ONES[r];
3399 cmpCharArray[--charPos] = DIGIT_TENS[r];
3409 cmpCharArray[--charPos] = DIGIT_ONES[r];
3410 cmpCharArray[--charPos] = DIGIT_TENS[r];
3413 cmpCharArray[--charPos] = DIGIT_ONES[i2];
3415 cmpCharArray[--charPos] = DIGIT_TENS[i2];
3417 return charPos;