Home
last modified time | relevance | path

Searched refs:roundTo (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/interface/
H A DDecimalSpinner.cpp20 roundTo(double value, uint32 n) in roundTo() function
323 SetValue(roundTo(atof(TextView()->Text()), Precision())); in SetValueFromText()
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DInode.cpp1773 off_t roundTo = 0; in _GrowStream() local
1778 roundTo = 65536 >> fVolume->BlockShift(); in _GrowStream()
1782 roundTo = (512 * 1024) >> fVolume->BlockShift(); in _GrowStream()
1786 roundTo = size >> (fVolume->BlockShift() + 4); in _GrowStream()
1790 roundTo = 65536 >> fVolume->BlockShift(); in _GrowStream()
1794 roundTo = 4096 >> fVolume->BlockShift(); in _GrowStream()
1796 if (roundTo > 1) { in _GrowStream()
1798 blocksRequested = ((blocksNeeded + roundTo) / roundTo) * roundTo; in _GrowStream()