Home
last modified time | relevance | path

Searched refs:stored_value (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config.cc134 const std::string* stored_value = in device_iot_config_get_hex() local
136 if (!stored_value) return false; in device_iot_config_get_hex()
140 int result = strtoul(stored_value->c_str(), &endptr, 16); in device_iot_config_get_hex()
141 if (stored_value->c_str() == endptr) return false; in device_iot_config_get_hex()
182 int stored_value = 0; in device_iot_config_set_hex_if_greater() local
183 bool ret = device_iot_config_get_hex(section, key, stored_value); in device_iot_config_set_hex_if_greater()
184 if (ret && stored_value >= value) return true; in device_iot_config_set_hex_if_greater()
200 const std::string* stored_value = in device_iot_config_get_str() local
203 if (!stored_value) return false; in device_iot_config_get_str()
205 strlcpy(value, stored_value->c_str(), *size_bytes); in device_iot_config_get_str()
Ddevice_iot_config_int.cc221 const std::string* stored_value = in device_iot_config_has_key_value() local
224 if (!stored_value || value_str.compare(*stored_value) != 0) return false; in device_iot_config_has_key_value()