Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_config_cache.cc255 char* endptr; in GetInt() local
256 long ret_long = strtol(value->c_str(), &endptr, 0); in GetInt()
257 if (*endptr != '\0') { in GetInt()
281 char* endptr; in GetUint64() local
282 uint64_t ret = strtoull(value->c_str(), &endptr, 0); in GetUint64()
283 if (*endptr != '\0') { in GetUint64()
Dbtif_dm.cc2940 char* endptr; in btif_dm_get_smp_config() local
2947 p_cfg->ble_auth_req = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
2953 p_cfg->ble_io_cap = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
2959 p_cfg->ble_init_key = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
2965 p_cfg->ble_resp_key = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
2971 p_cfg->ble_max_key_size = (uint8_t)strtoul(pch, &endptr, 16); in btif_dm_get_smp_config()
/packages/modules/Bluetooth/system/osi/src/
Dconfig.cc158 char* endptr; in config_get_int() local
159 int ret = strtol(entry->value.c_str(), &endptr, 0); in config_get_int()
160 return (*endptr == '\0') ? ret : def_value; in config_get_int()
168 char* endptr; in config_get_uint64() local
169 uint64_t ret = strtoull(entry->value.c_str(), &endptr, 0); in config_get_uint64()
170 return (*endptr == '\0') ? ret : def_value; in config_get_uint64()