Searched refs:frac (Results 1 – 1 of 1) sorted by relevance
240 float frac = std::stof(output[1]); in SetProgress() local242 if (frac >= -EPSINON && frac <= EPSINON) { in SetProgress()245 tmpProgressValue = static_cast<int>(frac * g_percentage); in SetProgress()247 if (frac >= FULL_EPSINON && g_tmpValue + g_percentage < FULL_PERCENT_PROGRESS) { in SetProgress()298 float frac; in HandleChildOutput() local304 frac = std::stof(progress[0]); in HandleChildOutput()305 g_percentage = static_cast<int>(frac * FULL_PERCENT_PROGRESS); in HandleChildOutput()