Searched refs:mFilePath (Results  1 – 2 of 2) sorted by relevance
| /openthread-latest/src/posix/platform/ | 
| D | config_file.cpp | 47     : mFilePath(aFilePath)  in ConfigFile()49     assert(mFilePath != nullptr);  in ConfigFile()
 50     VerifyOrDie(strlen(mFilePath) + strlen(kSwapSuffix) < kFilePathMaxSize, OT_EXIT_FAILURE);  in ConfigFile()
 60 bool ConfigFile::DoesExist(void) const { return (access(mFilePath, 0) == 0); }  in DoesExist()
 72     VerifyOrExit((fp = fopen(mFilePath, "r")) != nullptr, error = OT_ERROR_NOT_FOUND);  in Get()
 138     VerifyOrDie((path = strdup(mFilePath)) != nullptr, OT_EXIT_ERROR_ERRNO);  in Add()
 146     VerifyOrDie((fp = fopen(mFilePath, "at")) != NULL, OT_EXIT_ERROR_ERRNO);  in Add()
 172     VerifyOrDie((fp = fopen(mFilePath, "r")) != NULL, OT_EXIT_ERROR_ERRNO);  in Clear()
 173     snprintf(swapFile, sizeof(swapFile), "%s%s", mFilePath, kSwapSuffix);  in Clear()
 207         VerifyOrDie(rename(swapFile, mFilePath) == 0, OT_EXIT_ERROR_ERRNO);  in Clear()
 
 | 
| D | config_file.hpp | 116     const char *mFilePath;  member in ot::Posix::ConfigFile
 |