Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_config.c348 const char *value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin() local
351 if (!value_str) in btif_config_get_bin()
354 size_t value_len = strlen(value_str); in btif_config_get_bin()
359 if (!isxdigit(value_str[i])) in btif_config_get_bin()
362 for (*length = 0; *value_str; value_str += 2, *length += 1) in btif_config_get_bin()
363 sscanf(value_str, "%02hhx", &value[*length]); in btif_config_get_bin()
374 const char *value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin_length() local
377 if (!value_str) in btif_config_get_bin_length()
380 size_t value_len = strlen(value_str); in btif_config_get_bin_length()
/system/bt/osi/src/
Dconfig.c199 char value_str[32] = { 0 }; in config_set_int() local
200 sprintf(value_str, "%d", value); in config_set_int()
201 config_set_string(config, section, key, value_str); in config_set_int()