/system/nfc/src/nfa/dm/ |
D | nfa_dm_main.cc | 216 uint8_t type, len, *p_value, *p_stored, max_len; in nfa_dm_check_set_config() local 246 max_len = NCI_PARAM_LEN_PF_RC; in nfa_dm_check_set_config() 250 max_len = NCI_PARAM_LEN_TOTAL_DURATION; in nfa_dm_check_set_config() 258 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD; in nfa_dm_check_set_config() 263 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG; in nfa_dm_check_set_config() 268 max_len = NCI_PARAM_LEN_LA_SEL_INFO; in nfa_dm_check_set_config() 273 max_len = NCI_NFCID1_MAX_LEN; in nfa_dm_check_set_config() 278 max_len = NCI_MAX_HIS_BYTES_LEN; in nfa_dm_check_set_config() 287 max_len = NCI_PARAM_LEN_LB_SENSB_INFO; in nfa_dm_check_set_config() 292 max_len = NCI_PARAM_LEN_LB_NFCID0; in nfa_dm_check_set_config() [all …]
|
/system/core/libsparse/ |
D | backed_block.cpp | 343 unsigned int max_len) { in backed_block_split() argument 346 max_len = ALIGN_DOWN(max_len, bbl->block_size); in backed_block_split() 348 if (bb->len <= max_len) { in backed_block_split() 359 new_bb->len = bb->len - max_len; in backed_block_split() 360 new_bb->block = bb->block + max_len / bbl->block_size; in backed_block_split() 363 bb->len = max_len; in backed_block_split() 367 new_bb->data.data = (char*)bb->data.data + max_len; in backed_block_split() 370 new_bb->file.offset += max_len; in backed_block_split() 373 new_bb->fd.offset += max_len; in backed_block_split()
|
D | backed_block.h | 51 int backed_block_split(struct backed_block_list* bbl, struct backed_block* bb, unsigned int max_len…
|
D | sparse.cpp | 313 int sparse_file_resparse(struct sparse_file* in_s, unsigned int max_len, struct sparse_file** out_s, in sparse_file_resparse() argument 328 bb = move_chunks_up_to_len(in_s, s, max_len); in sparse_file_resparse()
|
/system/bt/stack/rfcomm/ |
D | port_api.cc | 1130 int PORT_ReadData(uint16_t handle, char* p_data, uint16_t max_len, in PORT_ReadData() argument 1136 RFCOMM_TRACE_API("PORT_ReadData() handle:%d max_len:%d", handle, max_len); in PORT_ReadData() 1160 while (max_len) { in PORT_ReadData() 1164 if (p_buf->len > max_len) { in PORT_ReadData() 1165 memcpy(p_data, (uint8_t*)(p_buf + 1) + p_buf->offset, max_len); in PORT_ReadData() 1166 p_buf->offset += max_len; in PORT_ReadData() 1167 p_buf->len -= max_len; in PORT_ReadData() 1169 *p_len += max_len; in PORT_ReadData() 1173 p_port->rx.queue_size -= max_len; in PORT_ReadData() 1182 max_len -= p_buf->len; in PORT_ReadData() [all …]
|
/system/bt/btif/src/ |
D | btif_sock.cc | 247 uint16_t max_len = controller->get_ble_maximum_tx_data_length(); in btsock_request_max_tx_data_length() local 249 DVLOG(2) << __func__ << ": max_len=" << max_len; in btsock_request_max_tx_data_length() 251 BTA_DmBleSetDataLength(remote_device, max_len); in btsock_request_max_tx_data_length()
|
D | btif_dm.cc | 3239 int max_len = sizeof(btif_default_local_name) - 1; in btif_get_default_local_name() local 3241 strncpy(btif_default_local_name, BTM_DEF_LOCAL_NAME, max_len); in btif_get_default_local_name() 3245 strncpy(btif_default_local_name, prop_model, max_len); in btif_get_default_local_name() 3247 btif_default_local_name[max_len] = '\0'; in btif_get_default_local_name()
|
/system/bt/stack/hid/ |
D | hidh_api.cc | 71 void hidh_get_str_attr(tSDP_DISC_REC* p_rec, uint16_t attr_id, uint16_t max_len, in hidh_get_str_attr() argument 79 if (name_len < max_len) { in hidh_get_str_attr() 83 memcpy(str, (char*)p_attr->attr_value.v.array, max_len - 1); in hidh_get_str_attr() 84 str[max_len - 1] = '\0'; in hidh_get_str_attr()
|
/system/bt/stack/include/ |
D | port_api.h | 561 extern int PORT_ReadData(uint16_t handle, char* p_data, uint16_t max_len, 590 extern int PORT_WriteData(uint16_t handle, const char* p_data, uint16_t max_len,
|
D | gap_api.h | 210 uint16_t max_len, uint16_t* p_len);
|
D | btm_api.h | 1685 extern uint16_t BTM_BuildOobData(uint8_t* p_data, uint16_t max_len,
|
D | hcimsgs.h | 775 uint16_t max_len);
|
/system/core/libsparse/include/sparse/ |
D | sparse.h | 321 int sparse_file_resparse(struct sparse_file *in_s, unsigned int max_len,
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1083 ssize_t max_len = 0; in TEST() local 1110 if (max_len <= (left - data)) { in TEST() 1111 max_len = left - data + 1; in TEST() 1114 if (max_len > 512) { in TEST() 1125 EXPECT_LE(SIZEOF_MAX_PAYLOAD_BUF, static_cast<size_t>(max_len)); in TEST() 1221 ssize_t max_len = 0; in TEST() local 1248 if (max_len <= (left - data)) { in TEST() 1249 max_len = left - data + 1; in TEST() 1256 max_len = in TEST() 1257 max_len ? max_len : LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag); in TEST() [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 373 uint16_t max_len, uint16_t* p_len) { in GAP_ConnReadData() argument 385 while (max_len) { in GAP_ConnReadData() 390 copy_len = (p_buf->len > max_len) ? max_len : p_buf->len; in GAP_ConnReadData() 391 max_len -= copy_len; in GAP_ConnReadData()
|
/system/nfc/src/nfc/nfc/ |
D | nfc_ncif.cc | 1166 uint8_t max_len; in nfc_ncif_proc_ee_action() local 1196 max_len = ulen; in nfc_ncif_proc_ee_action() 1199 if (max_len > NFC_MAX_AID_LEN) max_len = NFC_MAX_AID_LEN; in nfc_ncif_proc_ee_action() 1200 evt_data.act_data.param.app_init.len_aid = max_len; in nfc_ncif_proc_ee_action() 1204 if (max_len > NFC_MAX_APP_DATA_LEN) in nfc_ncif_proc_ee_action() 1205 max_len = NFC_MAX_APP_DATA_LEN; in nfc_ncif_proc_ee_action() 1206 evt_data.act_data.param.app_init.len_data = max_len; in nfc_ncif_proc_ee_action() 1211 STREAM_TO_ARRAY(p_data, p, max_len); in nfc_ncif_proc_ee_action()
|
/system/bt/stack/btm/ |
D | btm_sec.cc | 1608 uint16_t BTM_BuildOobData(uint8_t* p_data, uint16_t max_len, const Octet16& c, in BTM_BuildOobData() argument 1615 if (p_data && max_len >= BTM_OOB_MANDATORY_SIZE) { in BTM_BuildOobData() 1621 max_len -= len; in BTM_BuildOobData() 1627 if (max_len >= delta) { in BTM_BuildOobData() 1632 max_len -= delta; in BTM_BuildOobData() 1637 if (max_len >= delta) { in BTM_BuildOobData() 1642 max_len -= delta; in BTM_BuildOobData() 1647 if (max_len >= delta) { in BTM_BuildOobData() 1652 max_len -= delta; in BTM_BuildOobData() 1660 if (max_len >= delta) { in BTM_BuildOobData() [all …]
|
D | btm_ble_adv_filter.cc | 548 uint8_t max_len = len + BTM_BLE_META_UUID_LEN; in BTM_LE_PF_uuid_filter() local 549 uint8_t param[max_len]; in BTM_LE_PF_uuid_filter() 550 memset(param, 0, max_len); in BTM_LE_PF_uuid_filter()
|
/system/bt/stack/sdp/ |
D | sdp_db.cc | 556 int32_t max_len = SDP_MAX_ATTR_LEN - 3; in SDP_AddUuidSequence() local 568 if ((p - p_buff) > max_len) { in SDP_AddUuidSequence()
|
/system/core/lmkd/ |
D | lmkd.c | 394 static ssize_t read_all(int fd, char *buf, size_t max_len) in read_all() argument 399 while (max_len > 0) { in read_all() 400 ssize_t r = TEMP_FAILURE_RETRY(pread(fd, buf, max_len, offset)); in read_all() 410 max_len -= r; in read_all()
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_act.cc | 2763 int max_len; in nfa_ee_lmrt_to_nfcc() local 2769 max_len = (NFC_GetLmrtSize() > NFA_EE_ROUT_BUF_SIZE) ? NFC_GetLmrtSize() in nfa_ee_lmrt_to_nfcc() 2771 p = (uint8_t*)GKI_getbuf(max_len); in nfa_ee_lmrt_to_nfcc() 2796 (uint8_t)((max_len > NFA_EE_ROUT_MAX_TLV_SIZE) ? NFA_EE_ROUT_MAX_TLV_SIZE in nfa_ee_lmrt_to_nfcc() 2797 : max_len); in nfa_ee_lmrt_to_nfcc() 2809 nfa_ee_route_add_one_ecb_by_route_order(p_cb, rt, &max_len, more, p, in nfa_ee_lmrt_to_nfcc() 2818 &max_len, more, p, &cur_offset); in nfa_ee_lmrt_to_nfcc()
|
/system/connectivity/wificond/net/kernel-header-latest/ |
D | nl80211.h | 4327 __u32 min_len, max_len, bufsize; member
|