Searched refs:fake_settings_buf_keys (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/ |
D | main.c | 45 static char fake_settings_buf_keys[CONFIG_WIFI_CREDENTIALS_MAX_ENTRIES][MAX_KEY_LEN]; variable 94 if (strlen(fake_settings_buf_keys[i]) == 0 || in custom_settings_save_one() 95 strcmp(name, fake_settings_buf_keys[i]) == 0) { in custom_settings_save_one() 96 strcpy(fake_settings_buf_keys[i], name); in custom_settings_save_one() 109 if (strcmp(name, fake_settings_buf_keys[i]) == 0) { in custom_settings_delete() 110 memset(fake_settings_buf_keys[i], 0, MAX_KEY_LEN); in custom_settings_delete() 127 if (strncmp(subtree, fake_settings_buf_keys[i], subtree_len) == 0) { in custom_settings_load_subtree_direct() 128 const char *key = fake_settings_buf_keys[i] + subtree_len + 1; in custom_settings_load_subtree_direct() 143 if (strcmp(name, fake_settings_buf_keys[i]) == 0) { in custom_wifi_credentials_cache_ssid() 164 memset(fake_settings_buf_keys, 0, CONFIG_WIFI_CREDENTIALS_MAX_ENTRIES * MAX_KEY_LEN); in wifi_credentials_backend_settings_setup() [all …]
|