Home
last modified time | relevance | path

Searched refs:good (Results 1 – 14 of 14) sorted by relevance

/base/hiviewdfx/hiview/base/utility/
Dfile_util.cpp280 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()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_formatter.cpp162 if (!logFile.good()) { in WriteStackTraceFromLog()
262 if (!logFile.good()) { in ParseFaultLogInfoFromFile()
291 if (!logFile.good()) { in WriteLogToFile()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/
Dbundle_event_source_example.cpp63 if (!file.good()) { in CreateWatchFile()
/base/powermgr/battery_manager/frameworks/napi/
Dbattery_info.cpp208 napi_value good = nullptr; in CreateEnumHealthState() local
215 napi_create_int32(env, (int32_t)BatteryHealthState::HEALTH_STATE_GOOD, &good); in CreateEnumHealthState()
223 DECLARE_NAPI_STATIC_PROPERTY("GOOD", good), in CreateEnumHealthState()
/base/hiviewdfx/hiview/base/
Daudit.cpp173 if (logFile.good()) { in ReadLogFromFile()
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
Devent_source_example.cpp67 if (!file.good()) { in CreateWatchFile()
/base/update/updateservice/services/core/ability/utils/src/
Dfile_utils.cpp50 return f.good(); in IsFileExist()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dhap_resource.cpp89 if (!inFile.good()) { in LoadFromIndex()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dfeature_analysis.cpp61 if (!LogUtil::ReadFileBuff(featureSet_.fullPath, buffer) || !buffer.good() || buffer.eof()) { in Extract()
/base/global/resource_management/frameworks/resmgr/src/
Dhap_resource.cpp115 if (!inFile.good()) { in LoadFromIndex()
/base/global/i18n/frameworks/intl/src/
Di18n_timezone.cpp1226 if (!file.good()) { in CheckTzDataFilePath()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dresource_manager_performance_test.cpp166 if (!inFile.good()) { in TestLoadFromIndex()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dresource_manager_performance_test.cpp122 if (!inFile.good()) { in TestLoadFromIndex()
/base/security/crypto_framework/test/unittest/src/
Dcrypto_aes_cipher_test.cpp134 if (file.good()) { in GeneratorFile()