Searched refs:frac (Results 1 – 1 of 1) sorted by relevance
283 float frac = std::stof(output[1]); in SetProgress() local285 if (frac >= -EPSINON && frac <= EPSINON) { in SetProgress()288 tmpProgressValue = static_cast<int>(frac * g_percentage); in SetProgress()290 if (frac >= FULL_EPSINON && g_tmpValue + g_percentage < FULL_PERCENT_PROGRESS) { in SetProgress()340 float frac; in HandleChildOutput() local346 frac = std::stof(progress[0]); in HandleChildOutput()347 g_percentage = static_cast<int>(frac * FULL_PERCENT_PROGRESS); in HandleChildOutput()