Home
last modified time | relevance | path

Searched refs:currentChar (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/math/
DConversion.java80 int currentChar = resLengthInChars; in bigInteger2String() local
95 int previous = currentChar; in bigInteger2String()
97 result[--currentChar] = Character.forDigit( in bigInteger2String()
99 } while (((resDigit /= radix) != 0) && (currentChar != 0)); in bigInteger2String()
100 int delta = charsPerInt - previous + currentChar; in bigInteger2String()
101 for (i = 0; i < delta && currentChar > 0; i++) { in bigInteger2String()
102 result[--currentChar] = '0'; in bigInteger2String()
115 for (int j = 0; (j < 8) && (currentChar > 0); j++) { in bigInteger2String()
117 result[--currentChar] = Character.forDigit(resDigit, 16); in bigInteger2String()
121 while (result[currentChar] == '0') { in bigInteger2String()
[all …]
/libcore/luni/src/main/java/java/io/
DStreamTokenizer.java264 int currentChar = peekChar == -2 ? read() : peekChar; in nextToken() local
266 if (lastCr && currentChar == '\n') { in nextToken()
268 currentChar = read(); in nextToken()
270 if (currentChar == -1) { in nextToken()
274 byte currentType = currentChar > 255 ? TOKEN_WORD in nextToken()
275 : tokenTypes[currentChar]; in nextToken()
280 if (currentChar == '\r') { in nextToken()
287 if ((currentChar = read()) == '\n') { in nextToken()
288 currentChar = read(); in nextToken()
290 } else if (currentChar == '\n') { in nextToken()
[all …]
DLineNumberInputStream.java120 int currentChar = lastChar; in read() local
121 if (currentChar == -1) { in read()
122 currentChar = in.read(); in read()
126 switch (currentChar) { in read()
128 currentChar = '\n'; in read()
137 return currentChar; in read()
162 int currentChar; in read() local
164 currentChar = read(); in read()
171 if (currentChar == -1) { in read()
174 buffer[byteOffset + i] = (byte) currentChar; in read()
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
DArray.java82 char currentChar = (char)(currentByte & 0xffff); in toString() local
85 (Character.isISOControl(currentChar) ? '.' : currentChar)); in toString()