Lines Matching refs:clusterIndex

510     for (auto clusterIndex = fClusterRange.start + 1; clusterIndex < fClusterRange.end; ++clusterIndex) {
512 auto& cluster = fOwner->cluster(clusterIndex);
912 for (auto clusterIndex = fGhostClusterRange.start; clusterIndex < fGhostClusterRange.end; ++clusterIndex) {
913 auto& cluster = fOwner->cluster(clusterIndex);
965 for (auto clusterIndex = fGhostClusterRange.end; clusterIndex > fGhostClusterRange.start; --clusterIndex) {
966 auto& cluster = fOwner->cluster(clusterIndex - 1);
1010 fClusterRange.end = clusterIndex;
1043 for (auto clusterIndex = fGhostClusterRange.start; clusterIndex < fGhostClusterRange.end; ++clusterIndex) {
1044 auto& cluster = fOwner->cluster(clusterIndex);
1069 fClusterRange.start = clusterIndex;
1298 Cluster* start = &fOwner->cluster(fOwner->clusterIndex(textRange.start));
1299 Cluster* end = &fOwner->cluster(fOwner->clusterIndex(textRange.end - (textRange.width() == 0 ? 0 : 1)));
2278 for (auto clusterIndex = range.end - 1; clusterIndex >= range.start; clusterIndex--) {
2279 if (!owner->cluster(clusterIndex).isWhitespaceBreak()) {
2284 if (clusterIndex == range.start) {
2335 auto clusterIndex = range.start - 1;
2336 prevRunIndex = owner->cluster(clusterIndex).runIndex();
2342 for (; clusterIndex >= 0; clusterIndex--) {
2343 RunIndex runIndex = owner->cluster(clusterIndex).runIndex();
2351 if (clusterIndex == 0) {
2380 for (auto clusterIndex = range.start; clusterIndex < range.end; clusterIndex++) {
2381 RunIndex runIndex = owner->cluster(clusterIndex).runIndex();
2386 auto run = owner->cluster(clusterIndex).runOrNull();
2422 for (auto clusterIndex = fGhostClusterRange.start; clusterIndex < fGhostClusterRange.end; clusterIndex++) {
2423 if (fOwner->cluster(clusterIndex).isWhitespaceBreak()) {
2424 startWhitespaceAdvance += fOwner->cluster(clusterIndex).width();
2470 for (auto clusterIndex = fGhostClusterRange.start; clusterIndex < fGhostClusterRange.end; ++clusterIndex) {
2471 double characterWidth = fOwner->cluster(clusterIndex).width();
2493 size_t clusterIndex = fGhostClusterRange.start;
2494 while (clusterIndex < fGhostClusterRange.end) {
2495 offset += fOwner->cluster(clusterIndex).width();
2496 if (++clusterIndex == index) {
2509 for (auto clusterIndex = fGhostClusterRange.start; clusterIndex < fGhostClusterRange.end; ++clusterIndex) {
2510 auto& cluster = fOwner->cluster(clusterIndex);
2514 offsetMap[clusterIndex] = offset;