Lines Matching +defs:val +defs:buf
139 char buf[] = new char[33];
148 buf[charPos--] = digits[-(i % radix)];
151 buf[charPos] = digits[-i];
154 buf[--charPos] = '-';
157 return new String(buf, charPos, (33 - charPos));
259 char[] buf = new char[32];
264 buf[--charPos] = digits[i & mask];
268 return new String(buf, charPos, (32 - charPos));
331 char[] buf = new char[size];
332 getChars(i, size, buf);
333 return new String(buf, true);
338 * character array buf. The characters are placed into
345 static void getChars(int i, int index, char[] buf) {
361 buf [--charPos] = DigitOnes[r];
362 buf [--charPos] = DigitTens[r];
370 buf [--charPos] = digits [r];
375 buf [--charPos] = sign;
824 * {@code getInteger(nm, new Integer(val))}
831 * return (result == null) ? new Integer(val) : result;
838 * @param val default value.
843 public static Integer getInteger(String nm, int val) {
845 return (result == null) ? Integer.valueOf(val) : result;
878 * @param val default value.
884 public static Integer getInteger(String nm, Integer val) {
897 return val;
1158 * right rotation: {@code rotateLeft(val, -distance) == rotateRight(val,
1161 * ignored, even if the distance is negative: {@code rotateLeft(val,
1162 * distance) == rotateLeft(val, distance & 0x1F)}.
1180 * left rotation: {@code rotateRight(val, -distance) == rotateLeft(val,
1183 * ignored, even if the distance is negative: {@code rotateRight(val,
1184 * distance) == rotateRight(val, distance & 0x1F)}.