Lines Matching refs:key

168 bool btif_config_exist(const char *section, const char *key) {  in btif_config_exist()  argument
171 assert(key != NULL); in btif_config_exist()
174 bool ret = config_has_key(config, section, key); in btif_config_exist()
180 bool btif_config_get_int(const char *section, const char *key, int *value) { in btif_config_get_int() argument
183 assert(key != NULL); in btif_config_get_int()
187 bool ret = config_has_key(config, section, key); in btif_config_get_int()
189 *value = config_get_int(config, section, key, *value); in btif_config_get_int()
195 bool btif_config_set_int(const char *section, const char *key, int value) { in btif_config_set_int() argument
198 assert(key != NULL); in btif_config_set_int()
201 config_set_int(config, section, key, value); in btif_config_set_int()
207 bool btif_config_get_str(const char *section, const char *key, char *value, int *size_bytes) { in btif_config_get_str() argument
210 assert(key != NULL); in btif_config_get_str()
215 const char *stored_value = config_get_string(config, section, key, NULL); in btif_config_get_str()
227 bool btif_config_set_str(const char *section, const char *key, const char *value) { in btif_config_set_str() argument
230 assert(key != NULL); in btif_config_set_str()
234 config_set_string(config, section, key, value); in btif_config_set_str()
240 bool btif_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) { in btif_config_get_bin() argument
243 assert(key != NULL); in btif_config_get_bin()
248 const char *value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin()
268 size_t btif_config_get_bin_length(const char *section, const char *key) { in btif_config_get_bin_length() argument
271 assert(key != NULL); in btif_config_get_bin_length()
274 const char *value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin_length()
284 bool btif_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length)… in btif_config_set_bin() argument
289 assert(key != NULL); in btif_config_set_bin()
304 config_set_string(config, section, key, str); in btif_config_set_bin()
333 bool btif_config_remove(const char *section, const char *key) { in btif_config_remove() argument
336 assert(key != NULL); in btif_config_remove()
339 bool ret = config_remove_key(config, section, key); in btif_config_remove()