Lines Matching refs:key
67 esp_err_t set_item(const char *key, T value);
69 esp_err_t set_string(const char *key, const char* value) = 0;
92 esp_err_t get_item(const char *key, T &value);
120 virtual esp_err_t set_blob(const char *key, const void* blob, size_t len) = 0;
150 virtual esp_err_t get_string(const char *key, char* out_str, size_t len) = 0;
151 virtual esp_err_t get_blob(const char *key, void* out_blob, size_t len) = 0;
158 virtual esp_err_t get_item_size(ItemType datatype, const char *key, size_t &size) = 0;
163 virtual esp_err_t erase_item(const char* key) = 0;
195 …virtual esp_err_t set_typed_item(ItemType datatype, const char *key, const void* data, size_t data…
197 …virtual esp_err_t get_typed_item(ItemType datatype, const char *key, void* data, size_t dataSize) …
260 esp_err_t NVSHandle::set_item(const char *key, T value) { in set_item() argument
261 return set_typed_item(itemTypeOf(value), key, &value, sizeof(value)); in set_item()
265 esp_err_t NVSHandle::get_item(const char *key, T &value) { in get_item() argument
266 return get_typed_item(itemTypeOf(value), key, &value, sizeof(value)); in get_item()