Home
last modified time | relevance | path

Searched refs:num_records (Results 1 – 9 of 9) sorted by relevance

/system/core/libmemtrack/
Dmemtrack.c37 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/
Dbtm_ble_batchscan.c176 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
209 index, report_format, num_records, data_len); in btm_ble_batchscan_enq_rep_data()
211 if (index < BTM_BLE_BATCH_REP_MAIN_Q_SIZE && data_len > 0 && num_records > 0) in btm_ble_batchscan_enq_rep_data()
222 ble_batchscan_cb.main_rep_q.num_records[index] += num_records; in btm_ble_batchscan_enq_rep_data()
230 ble_batchscan_cb.main_rep_q.num_records[index] = num_records; in btm_ble_batchscan_enq_rep_data()
263 *p_num_records = ble_batchscan_cb.main_rep_q.num_records[index]; in btm_ble_batchscan_deq_rep_data()
272 ble_batchscan_cb.main_rep_q.num_records[index] = 0; in btm_ble_batchscan_deq_rep_data()
363 UINT8 report_format = 0, num_records = 0, cb_evt = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
447 STREAM_TO_UINT8(num_records, p); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
/system/bt/stack/sdp/
Dsdp_db.c63 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 …]
Dsdp_api.c959 UINT8 num_records = 0; in SDP_GetNumDiRecords() local
967 num_records++; in SDP_GetNumDiRecords()
970 return num_records; in SDP_GetNumDiRecords()
Dsdpint.h144 UINT16 num_records; member
/system/core/libziparchive/
Dzip_archive.cc80 uint16_t num_records; member
471 if (eocd->num_records == 0) { in MapCentralDirectory0()
477 eocd->num_records, eocd->cd_size, eocd->cd_start_offset); in MapCentralDirectory0()
489 archive->num_entries = eocd->num_records; in MapCentralDirectory0()
/system/bt/stack/include/
Dbtm_ble_api.h521 UINT8 num_records, UINT16 total_len,
562 UINT8 num_records[BTM_BLE_BATCH_REP_MAIN_Q_SIZE]; member
/system/bt/btif/src/
Dbtif_gatt_client.c132 uint8_t num_records; member
789 , p_data->read_reports.num_records, p_data->read_reports.data_len, p_rep_data); in btif_gattc_upstreams_evt()
984 UINT8 num_records, UINT16 data_len, in bta_batch_scan_reports_cb() argument
989 BTIF_TRACE_DEBUG("%s - client_if:%d, %d, %d, %d",__FUNCTION__, ref_value, status, num_records, in bta_batch_scan_reports_cb()
997 btif_scan_track_cb.read_reports.num_records = num_records; in bta_batch_scan_reports_cb()
/system/bt/bta/include/
Dbta_api.h1141 UINT8 num_records, UINT16 data_len,