Searched defs:nChars (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedWriter.java71 private int nChars, nextChar; field in class:BufferedWriter
106 nChars = sz;
142 if (nextChar >= nChars)
183 if (len >= nChars) {
194 int d = min(nChars - nextChar, t - b);
198 if (nextChar >= nChars)
225 int d = min(nChars - nextChar, t - b);
229 if (nextChar >= nChars)
H A DBufferedReader.java68 private int nChars, nextChar; field in class:BufferedReader
99 nextChar = nChars = 0;
148 nextChar = nChars = delta;
157 nChars = dst + n;
174 if (nextChar >= nChars) {
176 if (nextChar >= nChars)
196 if (nextChar >= nChars) {
207 if (nextChar >= nChars) return -1;
212 if (nextChar >= nChars)
214 if (nextChar >= nChars)
[all...]
H A DConsole.java405 private int nChars, nextChar; field in class:Console.LineReader
410 nextChar = nChars = 0;
432 if (nextChar >= nChars) { //fill
438 nChars = n;
463 while (nextChar < nChars) {
482 if (nextChar == nChars && in.ready()) {
490 nChars = in.read(cb, 0, cb.length);
493 if (nextChar < nChars && cb[nextChar] == '\n') {
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java830 int nChars; field in class:InputField
844 nChars = 0;
847 nChars = initValue.length();
863 nChars = sval.length();
884 if (nChars > 0) {
885 nChars--;
886 sval = new String(buffer, 0, nChars);
893 if (nChars < maxchars && ch >= '0') {
894 buffer[nChars++] = ch;
895 sval = new String(buffer, 0, nChars);
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmstypes.c4965 cmsUInt32Number nChars; local
4977 nChars = e ->Sizes[i] / sizeof(cmsUInt16Number);
4980 *wcstr = (wchar_t*) _cmsMallocZero(e ->ContextID, (nChars + 1) * sizeof(wchar_t));
4983 if (!_cmsReadWCharArray(io, nChars, *wcstr)) {
4989 (*wcstr)[nChars] = 0;

Completed in 84 milliseconds