Lines Matching refs:buf
100 char[] buf = new char[len];
103 buf[i] = (i < idx) ? c : toLower(c);
105 return new String(buf);
120 char[] buf = new char[len];
123 buf[i] = (i < idx) ? c : toUpper(c);
125 return new String(buf);
145 char[] buf = new char[len];
149 buf[i] = toUpper(c);
151 buf[i] = c;
153 buf[i] = toLower(c);
156 return new String(buf);