Lines Matching refs:value
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);
237 template<typename T, typename std::enable_if<std::is_integral<T>::value, void*>::type = nullptr>
240 return static_cast<ItemType>(((std::is_signed<T>::value)?0x10:0x00) | sizeof(T)); in itemTypeOf()
246 template<typename T, typename std::enable_if<std::is_enum<T>::value, int>::type = 0>
249 return static_cast<ItemType>(((std::is_signed<T>::value)?0x10:0x00) | sizeof(T)); in itemTypeOf()
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()