Searched refs:totalWeight (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DCalcSpillWeights.cpp117 float totalWeight = 0; local
156 totalWeight += weight;
181 totalWeight *= 1.01F;
199 totalWeight *= 0.5F;
201 li.weight = normalizeSpillWeight(totalWeight, li.getSize());
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkGrid.c1470 int totalWeight; /* Sum of the weights for all the slots. */
1490 totalWeight = 0;
1492 totalWeight += slotPtr[slot].weight;
1495 if (totalWeight == 0) {
1508 slotPtr[slot].offset += diff * weight / totalWeight;
1556 totalWeight = 0;
1562 totalWeight += slotPtr[slot].weight;
1568 if (totalWeight == 0) {
1587 maxDiff = totalWeight * (slotPtr[slot].minSize - current)
1601 slotPtr[slot].offset += newDiff * weight / totalWeight;
1457 int totalWeight; /* Sum of the weights for all the slots. */ local
2159 int totalWeight = 0; /* Sum of the weights for all of the slots in local
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkGrid.c1301 int totalWeight = 0; /* Sum of the weights for all the slots. */
1323 totalWeight += slotPtr[slot].weight;
1326 if (totalWeight == 0 ) {
1339 slotPtr[slot].offset += diff * weight / totalWeight;
1388 for (totalWeight=slot=0; slot < slots; slot++) {
1392 totalWeight += slotPtr[slot].weight;
1398 if (totalWeight == 0) {
1416 maxDiff = totalWeight * (slotPtr[slot].minSize - current)
1429 slotPtr[slot].offset += newDiff * weight / totalWeight;
1997 int totalWeight
1289 int totalWeight = 0; /* Sum of the weights for all the slots. */ local
1982 int totalWeight = 0; /* Sum of the weights for all of the local
[all...]
/macosx-10.9.5/tcl-102/tk/tk/generic/ttk/
H A DttkPanedwindow.c309 int reqSize = 0, totalWeight = 0; local
320 totalWeight += pane->weight * (pane->reqSize != 0);
326 if (totalWeight != 0) {
327 delta = difference / totalWeight;
328 remainder = difference % totalWeight;
331 remainder += totalWeight;
336 /* ASSERT: 0 <= remainder < totalWeight */

Completed in 177 milliseconds