Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h56 uint32_t db_size = fdp->ConsumeIntegralInRange<uint32_t>(0, SDP_MAX_DB_LEN);
58 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
61 p_db.get(), db_size, uuid_list.size(), uuid_list.data(), attr_list.size(),
291 uint32_t db_size = fdp->ConsumeIntegralInRange<uint32_t>(0, SDP_MAX_DB_LEN);
293 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
296 remote_device, p_db.get(), db_size, &sdp_disc_cmpl_cb);
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc905 size_t db_size = 0; in bta_gattc_get_db_size() local
916 db_size++; in bta_gattc_get_db_size()
919 db_size++; in bta_gattc_get_db_size()
921 db_size += charac.descriptors.size(); in bta_gattc_get_db_size()
924 db_size += service.included_services.size(); in bta_gattc_get_db_size()
927 return db_size; in bta_gattc_get_db_size()
955 size_t db_size = in bta_gattc_get_gatt_db_impl() local
958 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
1004 *count = db_size; in bta_gattc_get_gatt_db_impl()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc110 int db_size = 0; in compute_service_size() local
116 db_size += 1; in compute_service_size()
118 db_size += 2; in compute_service_size()
122 db_size++; in compute_service_size()
129 return db_size; in compute_service_size()