Searched refs:num_records (Results 1 – 11 of 11) sorted by relevance
/system/core/libmemtrack/ |
D | memtrack.c | 37 size_t num_records; member 86 size_t num_records = t->num_records; in memtrack_proc_get_type() local 90 ret = module->getMemory(module, pid, type, t->records, &num_records); in memtrack_proc_get_type() 92 t->num_records = 0; in memtrack_proc_get_type() 95 if (num_records > t->allocated_records) { in memtrack_proc_get_type() 98 t->records = calloc(sizeof(*t->records), num_records); in memtrack_proc_get_type() 102 t->allocated_records = num_records; in memtrack_proc_get_type() 105 t->num_records = num_records; in memtrack_proc_get_type() 153 for (j = 0; j < p->types[type].num_records; j++) { in memtrack_proc_sum()
|
/system/bt/stack/btm/ |
D | btm_ble_batchscan.c | 176 ble_batchscan_cb.main_rep_q.num_records[ble_batchscan_cb.main_rep_q.next_idx] = 0; in btm_ble_batchscan_enq_rep_q() 196 void btm_ble_batchscan_enq_rep_data(UINT8 report_format, UINT8 num_records, UINT8 *p_data, in btm_ble_batchscan_enq_rep_data() argument 208 index, report_format, num_records, data_len); in btm_ble_batchscan_enq_rep_data() 210 if (index < BTM_BLE_BATCH_REP_MAIN_Q_SIZE && data_len > 0 && num_records > 0) in btm_ble_batchscan_enq_rep_data() 223 ble_batchscan_cb.main_rep_q.num_records[index] += num_records; in btm_ble_batchscan_enq_rep_data() 231 ble_batchscan_cb.main_rep_q.num_records[index] = num_records; in btm_ble_batchscan_enq_rep_data() 264 *p_num_records = ble_batchscan_cb.main_rep_q.num_records[index]; in btm_ble_batchscan_deq_rep_data() 273 ble_batchscan_cb.main_rep_q.num_records[index] = 0; in btm_ble_batchscan_deq_rep_data() 364 UINT8 report_format = 0, num_records = 0, cb_evt = 0; in btm_ble_batchscan_vsc_cmpl_cback() local 448 STREAM_TO_UINT8(num_records, p); in btm_ble_batchscan_vsc_cmpl_cback() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_db.c | 63 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search() 164 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record() 287 if (p_db->num_records < SDP_MAX_RECORDS) in SDP_CreateRecord() 289 memset (&p_db->record[p_db->num_records], 0, in SDP_CreateRecord() 294 if (p_db->num_records) in SDP_CreateRecord() 295 handle = p_db->record[p_db->num_records - 1].record_handle + 1; in SDP_CreateRecord() 299 p_db->record[p_db->num_records].record_handle = handle; in SDP_CreateRecord() 301 p_db->num_records++; in SDP_CreateRecord() 302 SDP_TRACE_DEBUG("SDP_CreateRecord ok, num_records:%d", p_db->num_records); in SDP_CreateRecord() 308 return (p_db->record[p_db->num_records - 1].record_handle); in SDP_CreateRecord() [all …]
|
D | sdp_api.c | 964 UINT8 num_records = 0; in SDP_GetNumDiRecords() local 972 num_records++; in SDP_GetNumDiRecords() 975 return num_records; in SDP_GetNumDiRecords()
|
D | sdpint.h | 143 UINT16 num_records; member
|
/system/core/libziparchive/ |
D | zip_archive_common.h | 52 uint16_t num_records; member
|
D | zip_archive.cc | 277 if (eocd->num_records == 0) { in MapCentralDirectory0() 283 eocd->num_records, eocd->cd_size, eocd->cd_start_offset); in MapCentralDirectory0() 295 archive->num_entries = eocd->num_records; in MapCentralDirectory0()
|
D | zip_writer.cc | 433 er.num_records = files_.size(); in Finish()
|
/system/bt/btif/src/ |
D | btif_gatt_client.c | 127 uint8_t num_records; member 749 , p_data->read_reports.num_records, p_data->read_reports.data_len, p_rep_data); in btif_gattc_upstreams_evt() 943 UINT8 num_records, UINT16 data_len, in bta_batch_scan_reports_cb() argument 948 BTIF_TRACE_DEBUG("%s - client_if:%d, %d, %d, %d",__FUNCTION__, ref_value, status, num_records, in bta_batch_scan_reports_cb() 956 btif_scan_track_cb.read_reports.num_records = num_records; in bta_batch_scan_reports_cb()
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 533 UINT8 num_records, UINT16 total_len, 574 UINT8 num_records[BTM_BLE_BATCH_REP_MAIN_Q_SIZE]; member
|
/system/bt/bta/include/ |
D | bta_api.h | 1089 UINT8 num_records, UINT16 data_len,
|