Lines Matching refs:value

37     private char[] value;
47 return value;
55 return value;
70 value = val;
75 value = new char[INITIAL_CAPACITY];
82 value = new char[capacity];
88 value = new char[count + INITIAL_CAPACITY];
89 string._getChars(0, count, value, 0);
93 int newCount = ((value.length >> 1) + value.length) + 2;
95 System.arraycopy(value, 0, newData, 0, count);
96 value = newData;
102 if (newCount > value.length) {
105 value[count++] = 'n';
106 value[count++] = 'u';
107 value[count++] = 'l';
108 value[count++] = 'l';
113 if (newCount > value.length) {
116 System.arraycopy(chars, 0, value, count, chars.length);
123 if (newCount > value.length) {
126 System.arraycopy(chars, offset, value, count, length);
131 if (count == value.length) {
134 value[count++] = ch;
144 if (newCount > value.length) {
147 string._getChars(0, length, value, count);
161 if (newCount > value.length) {
164 value = value.clone();
169 ((String) s)._getChars(start, end, value, count);
172 System.arraycopy(other.value, start, value, count, length);
176 value[j++] = s.charAt(i);
191 return value.length;
199 * @return the char value.
208 return value[index];
231 System.arraycopy(value, end, value, start, length);
233 char[] newData = new char[value.length];
234 System.arraycopy(value, 0, newData, 0, start);
235 System.arraycopy(value, end, newData, start, length);
236 value = newData;
254 System.arraycopy(value, index + 1, value, index, length);
256 char[] newData = new char[value.length];
257 System.arraycopy(value, 0, newData, 0, index);
258 System.arraycopy(value, index + 1, newData, index, length);
259 value = newData;
271 * value of either the {@code minimumCapacity} or the current capacity
279 if (min > value.length) {
280 int ourMin = value.length*2 + 2;
308 System.arraycopy(value, start, dst, dstStart, end - start);
317 System.arraycopy(chars, 0, value, index, chars.length);
328 System.arraycopy(chars, start, value, index, length);
345 value[index] = ch;
357 string._getChars(0, min, value, index);
386 if (value.length - count >= size) {
389 System.arraycopy(value, index, value, index + size, count - index);
392 newCount = value.length;
394 newCount = Math.max(count + size, value.length*2 + 2);
398 System.arraycopy(value, 0, newData, 0, index);
400 System.arraycopy(value, index, newData, index + size, count - index);
401 value = newData;
416 System.arraycopy(value, end, value, start
419 char[] newData = new char[value.length];
420 System.arraycopy(value, 0, newData, 0, start);
422 System.arraycopy(value, end, newData, start
424 value = newData;
431 value = value.clone();
434 string._getChars(0, stringLength, value, start);
455 char frontHigh = value[0];
456 char endLow = value[end];
459 char frontLow = value[i + 1];
460 char endHigh = value[end - 1];
474 value[end] = frontLow;
475 value[end - 1] = frontHigh;
476 value[i] = endHigh;
477 value[i + 1] = endLow;
478 frontHigh = value[i + 2];
479 endLow = value[end - 2];
484 value[end] = frontHigh;
485 value[i] = endLow;
492 value[end] = frontLow;
493 value[i] = endLow;
498 value[end] = frontHigh;
499 value[i] = endHigh;
506 value[end] = allowFrontSur ? endLow : frontHigh;
509 char[] newData = new char[value.length];
511 char high = value[i];
513 char low = value[i + 1];
521 value = newData;
542 value = value.clone();
545 value[index] = ch;
549 * Sets the current length to a new value. If the new length is larger than
551 * will contain the {@code char} value of {@code \u0000}.
563 if (length > value.length) {
567 char[] newData = new char[value.length];
568 System.arraycopy(value, 0, newData, 0, count);
569 value = newData;
573 Arrays.fill(value, count, length, (char) 0);
581 * Returns the String value of the subsequence from the {@code start} index
598 return new String(value, start, count - start);
604 * Returns the String value of the subsequence from the {@code start} index
623 return new String(value, start, end - start);
639 int wasted = value.length - count;
642 return new String(value, 0, count);
645 return new String(0, count, value);
709 if (value[i] == firstChar) {
718 while (++o2 < subCount && value[++o1] == subString.charAt(o2)) {
776 if (value[i] == firstChar) {
786 && value[++o1] == subString.charAt(o2)) {
807 if (count < value.length) {
809 System.arraycopy(value, 0, newValue, 0, count);
810 value = newValue;
816 * Retrieves the Unicode code point value at the {@code index}.
820 * @return the Unicode code point value.
832 return Character.codePointAt(value, index, count);
836 * Retrieves the Unicode code point value that precedes the {@code index}.
840 * @return the Unicode code point value.
852 return Character.codePointBefore(value, index);
876 return Character.codePointCount(value, start, end - start);
899 return Character.offsetByCodePoints(value, 0, count, index,