Searched refs:fileName (Results 1 – 2 of 2) sorted by relevance
/openthread-latest/examples/platforms/simulation/ |
D | flash.c | 56 char fileName[sizeof(OPENTHREAD_CONFIG_POSIX_SETTINGS_PATH) + 32]; in otPlatFlashInit() local 73 snprintf(fileName, sizeof(fileName), "%s/%s_%d.flash", path, offset, gNodeId); in otPlatFlashInit() 75 if (access(fileName, 0)) in otPlatFlashInit() 80 sFlashFd = open(fileName, O_RDWR | O_CREAT | O_CLOEXEC, 0600); in otPlatFlashInit()
|
/openthread-latest/src/posix/platform/ |
D | settings_file.cpp | 70 char fileName[kMaxFilePathSize]; in Init() local 72 GetSettingsFilePath(fileName, false); in Init() 73 mSettingsFd = open(fileName, O_RDWR | O_CREAT | O_CLOEXEC, 0600); in Init() 315 char fileName[kMaxFilePathSize]; in SwapOpen() local 318 GetSettingsFilePath(fileName, true); in SwapOpen() 320 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0600); in SwapOpen()
|