Lines Matching refs:opt
56 Node[] opt = new Node[numBreaks];
57 opt[0] = new Node(-1, 0, 0, 0, false);
58 opt[numBreaks - 1] = new Node(-1, 0, 0, 0, false);
72 int lines = opt[pos].mPrevCount;
82 finalBreak, p.penalty) + opt[pos].mDemerits;
85 bestBreak = new Node(pos, opt[pos].mPrevCount + 1, demerits,
89 bestBreak.mPrevCount = opt[pos].mPrevCount + 1;
103 opt[i] = bestBreak;
110 int lines = opt[lastBreak].mPrevCount;
113 opt[breakIndex] = new Node(lastBreak, lines + 1, 0 /*doesn't matter*/,
123 int count = opt[idx].mPrevCount;
125 while (opt[idx].mPrev != -1) {
130 breakInfo.widths[count] = opt[idx].mWidth;
131 breakInfo.flags [count] = opt[idx].mHasTabs ? TAB_MASK : 0;
132 idx = opt[idx].mPrev;