Home
last modified time | relevance | path

Searched refs:nvh (Results 1 - 2 of 2) sorted by relevance

/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-file.c127 nvs_handle nvh; in lws_find_string_in_file() local
142 ESP_ERROR_CHECK(nvs_open(filename, NVS_READWRITE, &nvh)); in lws_find_string_in_file()
145 n = nvs_get_str(nvh, buf, result, &s); in lws_find_string_in_file()
146 nvs_close(nvh); in lws_find_string_in_file()
159 nvs_handle nvh; in lws_plat_write_file() local
162 if (nvs_open("lws-station", NVS_READWRITE, &nvh)) { in lws_plat_write_file()
167 n = nvs_set_blob(nvh, filename, buf, len); in lws_plat_write_file()
169 nvs_commit(nvh); in lws_plat_write_file()
171 nvs_close(nvh); in lws_plat_write_file()
195 nvs_handle nvh; in lws_plat_read_file() local
[all...]
/third_party/libwebsockets/lib/tls/
H A Dtls.c226 nvs_handle nvh; in alloc_file() local
230 ESP_ERROR_CHECK(nvs_open("lws-station", NVS_READWRITE, &nvh)); in alloc_file()
231 if (nvs_get_blob(nvh, filename, NULL, &s) != ESP_OK) { in alloc_file()
240 if (nvs_get_blob(nvh, filename, (char *)*buf, &s) != ESP_OK) { in alloc_file()
252 nvs_close(nvh); in alloc_file()
516 nvs_handle nvh; in lws_tls_use_any_upgrade_check_extant()
519 if (nvs_open("lws-station", NVS_READWRITE, &nvh)) { in lws_tls_use_any_upgrade_check_extant()
524 n = nvs_get_blob(nvh, name, NULL, &s); in lws_tls_use_any_upgrade_check_extant()
525 nvs_close(nvh); in lws_tls_use_any_upgrade_check_extant()

Completed in 1 milliseconds