Searched refs:good (Results 1 – 14 of 14) sorted by relevance
280 while (fin.good() && fin.peek() == fin.widen('\n') && fin.tellg() > 0 && count < maxLen) { in GetLastLine()284 if (!fin.good() || count >= maxLen) { in GetLastLine()291 while (fin.good() && fin.peek() != fin.widen('\n') && fin.tellg() > 0 && count < maxLen) { in GetLastLine()295 if (!fin.good() || count >= maxLen) { in GetLastLine()
162 if (!logFile.good()) { in WriteStackTraceFromLog()262 if (!logFile.good()) { in ParseFaultLogInfoFromFile()291 if (!logFile.good()) { in WriteLogToFile()
63 if (!file.good()) { in CreateWatchFile()
208 napi_value good = nullptr; in CreateEnumHealthState() local215 napi_create_int32(env, (int32_t)BatteryHealthState::HEALTH_STATE_GOOD, &good); in CreateEnumHealthState()223 DECLARE_NAPI_STATIC_PROPERTY("GOOD", good), in CreateEnumHealthState()
173 if (logFile.good()) { in ReadLogFromFile()
67 if (!file.good()) { in CreateWatchFile()
50 return f.good(); in IsFileExist()
89 if (!inFile.good()) { in LoadFromIndex()
61 if (!LogUtil::ReadFileBuff(featureSet_.fullPath, buffer) || !buffer.good() || buffer.eof()) { in Extract()
115 if (!inFile.good()) { in LoadFromIndex()
1226 if (!file.good()) { in CheckTzDataFilePath()
166 if (!inFile.good()) { in TestLoadFromIndex()
122 if (!inFile.good()) { in TestLoadFromIndex()
134 if (file.good()) { in GeneratorFile()