Home
last modified time | relevance | path

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

/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gls/
Dgls_db.c59 …uint16_t num_records; /**< Number of measurement values records in databas… member
86 for (uint8_t i = 0; i < s_gls_db_env.num_records; i++) { in gls_db_le_or_eq_record_num_get()
119 for (uint8_t i = 0; i < s_gls_db_env.num_records; i++) { in gls_db_gt_or_eq_record_num_get()
150 for (uint8_t i = 0; i < s_gls_db_env.num_records; i++) { in gls_db_within_range_record_num_get()
181 s_gls_db_env.num_records = 0; in gls_db_init()
188 if (GLS_DB_RECORDS_MAX <= s_gls_db_env.num_records) { in gls_db_record_add()
196 s_gls_db_env.rec_index[s_gls_db_env.num_records] = i; in gls_db_record_add()
197 s_gls_db_env.num_records++; in gls_db_record_add()
207 if (rec_idx >= s_gls_db_env.num_records) { in gls_db_record_delete()
213 s_gls_db_env.num_records--; in gls_db_record_delete()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_batchscan.c175 ble_batchscan_cb.main_rep_q.num_records[ble_batchscan_cb.main_rep_q.next_idx] = 0; in btm_ble_batchscan_enq_rep_q()
195 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()
219 ble_batchscan_cb.main_rep_q.num_records[index] += num_records; in btm_ble_batchscan_enq_rep_data()
225 ble_batchscan_cb.main_rep_q.num_records[index] = num_records; in btm_ble_batchscan_enq_rep_data()
257 *p_num_records = ble_batchscan_cb.main_rep_q.num_records[index]; in btm_ble_batchscan_deq_rep_data()
266 ble_batchscan_cb.main_rep_q.num_records[index] = 0; in btm_ble_batchscan_deq_rep_data()
355 UINT8 report_format = 0, num_records = 0, cb_evt = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
428 STREAM_TO_UINT8(num_records, p); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/
Dsdp_db.c295 if (p_db->num_records < SDP_MAX_RECORDS) { in SDP_CreateRecord()
300 if (p_db->num_records) { in SDP_CreateRecord()
308 if (p_db->num_records) { in SDP_CreateRecord()
316 p_db->num_records++; in SDP_CreateRecord()
317 SDP_TRACE_DEBUG("SDP_CreateRecord ok, num_records:%d\n", p_db->num_records); in SDP_CreateRecord()
354 if (handle == 0 || sdp_cb.server_db.num_records == 0) { in SDP_DeleteRecord()
356 sdp_cb.server_db.num_records = 0; in SDP_DeleteRecord()
372 sdp_cb.server_db.num_records--; in SDP_DeleteRecord()
374 … SDP_TRACE_DEBUG("SDP_DeleteRecord ok, num_records:%d\n", sdp_cb.server_db.num_records); in SDP_DeleteRecord()
Dsdp_api.c924 UINT8 num_records = 0; in SDP_GetNumDiRecords() local
931 num_records++; in SDP_GetNumDiRecords()
935 return num_records; in SDP_GetNumDiRecords()
/device/soc/esp/esp32/components/heap/
Dheap_trace_standalone.c54 esp_err_t heap_trace_init_standalone(heap_trace_record_t *record_buffer, size_t num_records) in heap_trace_init_standalone() argument
60 total_records = num_records; in heap_trace_init_standalone()
61 memset(buffer, 0, num_records * sizeof(heap_trace_record_t)); in heap_trace_init_standalone()
/device/soc/esp/esp32/components/heap/include/
Desp_heap_trace.h63 esp_err_t heap_trace_init_standalone(heap_trace_record_t *record_buffer, size_t num_records);
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/include/
Dsdpint.h139 UINT16 num_records; member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/
Dbtm_ble_api.h533 UINT8 num_records, UINT16 total_len,
570 UINT8 num_records[BTM_BLE_BATCH_REP_MAIN_Q_SIZE]; member
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/
Dbta_api.h1191 UINT8 num_records, UINT16 data_len,