Lines Matching refs:i
27 for ($i=$colspan->column; $i < $colspan->column+$colspan->size; $i++) {
28 $spanned_widths[] = $widths[$i];
29 $spanned_resizable[] = ($minwc[$i] != $maxwc[$i]);
36 for ($i=0; $i<count($spanned_widths); $i++) {
37 $spanned_widths[$i] = EPSILON;
38 $spanned_resizable[$i] = true;
45 for ($i=0; $i<count($spanned_widths); $i++) {
46 $any_resizable |= $spanned_resizable[$i];
49 for ($i=0; $i<count($spanned_widths); $i++) {
50 $spanned_resizable[$i] = true;
85 for ($i=0; $i<count($minw); $i++) {
86 $cwc = $table->get_cwc($i);
95 $minwc[$i] = max($minw[$i], $cwc->apply($minw[$i]-$extra, $table_width) + $extra);
96 $maxwc[$i] = max($minw[$i], $cwc->apply($maxw[$i]-$extra, $table_width) + $extra);
113 for ($i=0; $i < $columns; $i++) {
114 if ($table->is_constrained_column($i)) {
115 $widths[$i] = $minwc[$i];
126 for ($i=0; $i < $columns; $i++) {
127 if ($table->is_constrained_column($i)) {
128 $sum_cw += $widths[$i];
130 $sum_ucw += $minwc[$i];
163 for ($i=0; $i < $columns; $i++) {
164 if (!$table->is_constrained_column($i)) {
171 $current_max = max($maxw[$i], $maxwc[$i]);
185 …nt_max = min($current_max * $rest / $sum_max_cw, $rest - $sum_min_cw + max($minwc[$i], $minw[$i]));
189 $current_max = max($current_max, $minw[$i] == 0 ? $minwc[$i] : $minw[$i]);
191 $widths[$i] = $current_max;
198 for ($i=0; $i<count($widths); $i++) {
199 $widths[$i] = 0.01;
218 for ($i=0; $i<count($widths); $i++) {
219 if ($widths[$i] == 0) { $widths[$i] = EPSILON; };
229 for ($i=0; $i<count($flags); $i++) { $flags[$i] = true; };