Lines Matching refs:array
27 // m or n = 61: actual length follows in the next edits array unit.
28 // m or n = 62..63: actual length follows in the next two edits array units.
37 if (array != stackArray) {
38 uprv_free(array);
55 array = newArray;
59 uprv_memcpy(array, other.array, (size_t)length * 2);
71 array = src.array;
73 src.array = src.stackArray;
78 array = stackArray;
81 uprv_memcpy(array, src.array, (size_t)length * 2);
186 array[limit++] = (uint16_t)(0x8000 | oldLength);
189 array[limit++] = (uint16_t)(0x8000 | (oldLength >> 15));
190 array[limit++] = (uint16_t)(0x8000 | oldLength);
196 array[limit++] = (uint16_t)(0x8000 | newLength);
199 array[limit++] = (uint16_t)(0x8000 | (newLength >> 15));
200 array[limit++] = (uint16_t)(0x8000 | newLength);
202 array[length] = (uint16_t)head;
209 array[length++] = (uint16_t)r;
215 if (array == stackArray) {
237 uprv_memcpy(newArray, array, (size_t)length * 2);
239 array = newArray;
398 array(a), index(0), length(len), remaining(0),
408 U_ASSERT(array[index] >= 0x8000);
409 return array[index++] & 0x7fff;
412 U_ASSERT(array[index] >= 0x8000);
413 U_ASSERT(array[index + 1] >= 0x8000);
415 ((int32_t)(array[index] & 0x7fff) << 15) |
416 (array[index + 1] & 0x7fff);
448 // and post-increment-read array units to assemble a new span.
449 // Leaves the array index one after the last unit of that span.
480 int32_t u = array[index++];
485 while (index < length && (u = array[index]) <= MAX_UNCHANGED) {
527 while (index < length && (u = array[index]) > MAX_UNCHANGED) {
543 // Backward iteration: Pre-decrement-read array units to assemble a new span,
545 // Leaves the array index on the head unit of that span.
567 int32_t u = array[index];
579 int32_t u = array[--index];
584 while (index > 0 && (u = array[index - 1]) <= MAX_UNCHANGED) {
620 while ((u = array[--index]) > 0x7fff) {}
633 while (index > 0 && (u = array[index - 1]) > MAX_UNCHANGED) {
677 int32_t u = array[index];