/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_util.c | 46 UINT8 param_type, param_len, *p = p_bytes; in llcp_util_parse_link_params() local 56 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 62 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 70 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 76 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 83 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 90 BE_STREAM_TO_UINT8 (param_len, p); in llcp_util_parse_link_params() 91 p += param_len; in llcp_util_parse_link_params() 95 if (length >= param_len + 1) in llcp_util_parse_link_params() 96 length -= param_len + 1; in llcp_util_parse_link_params() [all …]
|
/external/openssl/crypto/ec/ |
D | ec_curve.c | 81 param_len; member 1942 int seed_len,param_len; in ec_group_new_from_data() local 1955 param_len = data->param_len; in ec_group_new_from_data() 1959 if (!(p = BN_bin2bn(params+0*param_len, param_len, NULL)) in ec_group_new_from_data() 1960 || !(a = BN_bin2bn(params+1*param_len, param_len, NULL)) in ec_group_new_from_data() 1961 || !(b = BN_bin2bn(params+2*param_len, param_len, NULL))) in ec_group_new_from_data() 2002 if (!(x = BN_bin2bn(params+3*param_len, param_len, NULL)) in ec_group_new_from_data() 2003 || !(y = BN_bin2bn(params+4*param_len, param_len, NULL))) in ec_group_new_from_data() 2013 if (!(order = BN_bin2bn(params+5*param_len, param_len, NULL)) in ec_group_new_from_data()
|
/external/iptables/iptables/ |
D | ip6tables-restore.c | 331 size_t param_len; in ip6tables_restore_main() local 379 param_len = 0; in ip6tables_restore_main() 386 param_buffer[param_len++] = *curchar; in ip6tables_restore_main() 396 param_buffer[param_len++] = *curchar; in ip6tables_restore_main() 409 if (!param_len) { in ip6tables_restore_main() 414 param_buffer[param_len] = '\0'; in ip6tables_restore_main() 426 param_len = 0; in ip6tables_restore_main() 429 param_buffer[param_len++] = *curchar; in ip6tables_restore_main() 431 if (param_len >= sizeof(param_buffer)) in ip6tables_restore_main()
|
D | iptables-restore.c | 336 size_t param_len; in iptables_restore_main() local 384 param_len = 0; in iptables_restore_main() 391 param_buffer[param_len++] = *curchar; in iptables_restore_main() 401 param_buffer[param_len++] = *curchar; in iptables_restore_main() 414 if (!param_len) { in iptables_restore_main() 419 param_buffer[param_len] = '\0'; in iptables_restore_main() 431 param_len = 0; in iptables_restore_main() 434 param_buffer[param_len++] = *curchar; in iptables_restore_main() 436 if (param_len >= sizeof(param_buffer)) in iptables_restore_main()
|
D | iptables-xml.c | 805 int param_len = curchar - param_start; in iptables_xml_main() local 810 if (!param_len) { in iptables_xml_main() 818 param_len); in iptables_xml_main() 819 *(param_buffer + param_len) = '\0'; in iptables_xml_main() 838 param_start += param_len + 1; in iptables_xml_main()
|
/external/bluetooth/bluedroid/stack/sdp/ |
D | sdp_server.c | 53 UINT16 param_len, UINT8 *p_req, 57 UINT16 param_len, UINT8 *p_req, 61 UINT16 param_len, UINT8 *p_req, 115 UINT16 trans_num, param_len; in sdp_server_handle_client_req() local 126 BE_STREAM_TO_UINT16 (param_len, p_req); in sdp_server_handle_client_req() 128 if ((p_req + param_len) > p_req_end) in sdp_server_handle_client_req() 137 process_service_search (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 141 process_service_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 145 process_service_search_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 169 UINT16 param_len, UINT8 *p_req, in process_service_search() argument [all …]
|
D | sdp_discovery.c | 123 UINT16 param_len; in sdp_snd_service_search_req() local 165 param_len = (UINT16)(p - p_param_len - 2); in sdp_snd_service_search_req() 166 UINT16_TO_BE_STREAM (p_param_len, param_len); in sdp_snd_service_search_req() 439 UINT16 param_len, list_byte_count; in process_service_attr_rsp() local 564 param_len = (UINT16)(p - p_param_len - 2); in process_service_attr_rsp() 565 UINT16_TO_BE_STREAM (p_param_len, param_len); in process_service_attr_rsp() 599 UINT16 param_len, lists_byte_count = 0; in process_service_search_attr_rsp() local 715 param_len = p - p_param_len - 2; in process_service_search_attr_rsp() 716 UINT16_TO_BE_STREAM (p_param_len, param_len); in process_service_search_attr_rsp()
|
D | sdp_utils.c | 369 UINT8 *sdpu_extract_uid_seq (UINT8 *p, UINT16 param_len, tSDP_UUID_SEQ *p_seq) in sdpu_extract_uid_seq() argument 411 if (seq_len >= param_len) in sdpu_extract_uid_seq() 483 UINT8 *sdpu_extract_attr_seq (UINT8 *p, UINT16 param_len, tSDP_ATTR_SEQ *p_seq) in sdpu_extract_attr_seq() argument 518 if (list_len > param_len) in sdpu_extract_attr_seq()
|
D | sdpint.h | 285 extern UINT8 *sdpu_extract_attr_seq (UINT8 *p, UINT16 param_len, tSDP_ATTR_SEQ *p_seq); 286 extern UINT8 *sdpu_extract_uid_seq (UINT8 *p, UINT16 param_len, tSDP_UUID_SEQ *p_seq);
|
/external/openssl/ssl/ |
D | s3_clnt.c | 1346 int al,i,j,param_len,ok; in ssl3_get_key_exchange() local 1423 param_len=0; in ssl3_get_key_exchange() 1435 param_len=i+2; in ssl3_get_key_exchange() 1446 if (param_len > n) in ssl3_get_key_exchange() 1469 n-=param_len; in ssl3_get_key_exchange() 1477 param_len=i+2; in ssl3_get_key_exchange() 1478 if (param_len > n) in ssl3_get_key_exchange() 1492 param_len+=i+2; in ssl3_get_key_exchange() 1493 if (param_len > n) in ssl3_get_key_exchange() 1508 param_len+=i+1; in ssl3_get_key_exchange() [all …]
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_hf.c | 421 int param_len = 0; in bte_hf_evt() local 425 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt() 427 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt() 429 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt() 431 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt() 433 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt() 436 …status = btif_transfer_context(btif_hf_upstreams_evt, (uint16_t)event, (void*)p_data, param_len, N… in bte_hf_evt()
|
D | btif_hh.c | 1078 int param_len = 0; in bte_hh_evt() local 1081 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1083 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt() 1085 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1087 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1089 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt() 1091 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1093 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1095 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt() 1097 param_len = 0; in bte_hh_evt() [all …]
|
D | btif_hl.c | 3836 int param_len = 0; in btif_hl_cback() local 3842 param_len = sizeof(tBTA_HL_REGISTER_CFM); in btif_hl_cback() 3845 param_len = sizeof(tBTA_HL_SDP_INFO_IND); in btif_hl_cback() 3848 param_len = sizeof(tBTA_HL_DEREGISTER_CFM); in btif_hl_cback() 3851 param_len = sizeof(tBTA_HL_SDP_QUERY_CFM); in btif_hl_cback() 3854 param_len = sizeof(tBTA_HL_CCH_OPEN_CFM); in btif_hl_cback() 3857 param_len = sizeof(tBTA_HL_DCH_OPEN_CFM); in btif_hl_cback() 3860 param_len = sizeof(tBTA_HL_CCH_OPEN_IND); in btif_hl_cback() 3863 param_len = sizeof(tBTA_HL_DCH_CREATE_IND); in btif_hl_cback() 3866 param_len = sizeof(tBTA_HL_DCH_OPEN_IND); in btif_hl_cback() [all …]
|
D | btif_dm.c | 1630 UINT16 param_len = 0; in bte_search_devices_evt() local 1633 param_len += sizeof(tBTA_DM_SEARCH); in bte_search_devices_evt() 1640 param_len += HCI_EXT_INQ_RESPONSE_LEN; in bte_search_devices_evt() 1647 param_len += p_data->disc_res.raw_data_size; in bte_search_devices_evt() 1651 …TIF_TRACE_DEBUG3("%s event=%s param_len=%d", __FUNCTION__, dump_dm_search_event(event), param_len); in bte_search_devices_evt() 1657 btif_transfer_context (btif_dm_search_devices_evt , (UINT16) event, (void *)p_data, param_len, in bte_search_devices_evt() 1658 (param_len > sizeof(tBTA_DM_SEARCH)) ? search_devices_copy_cb : NULL); in bte_search_devices_evt() 1673 UINT16 param_len = 0; in bte_dm_search_services_evt() local 1675 param_len += sizeof(tBTA_DM_SEARCH); in bte_dm_search_services_evt() 1681 param_len += (p_data->disc_res.num_uuids * MAX_UUID_SIZE); in bte_dm_search_services_evt() [all …]
|
D | btif_core.c | 197 …ansfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_len, tBTIF_COPY_CBAC… in btif_transfer_context() argument 201 BTIF_TRACE_VERBOSE2("btif_transfer_context event %d, len %d", event, param_len); in btif_transfer_context() 204 …(tBTIF_CONTEXT_SWITCH_CBACK *) GKI_getbuf(sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len)) != NULL) in btif_transfer_context() 218 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_api.c | 333 tBTA_STATUS BTA_DmVendorSpecificCommand (UINT16 opcode, UINT8 param_len, in BTA_DmVendorSpecificCommand() argument 348 size = sizeof (tBTA_DM_API_VENDOR_SPECIFIC_COMMAND) + param_len; in BTA_DmVendorSpecificCommand() 356 if (p_param_buf && param_len) in BTA_DmVendorSpecificCommand() 358 memcpy (p_msg->p_param_buf, p_param_buf, param_len); in BTA_DmVendorSpecificCommand() 359 p_msg->param_len = param_len; in BTA_DmVendorSpecificCommand() 363 p_msg->param_len = 0; in BTA_DmVendorSpecificCommand()
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_dm.c | 115 UINT8 num_param = 0, param_len, rem_len, *p_tlv; in nfc_hal_dm_set_config() local 139 param_len = *p_tlv++; /* param length */ in nfc_hal_dm_set_config() 142 if (rem_len >= param_len) in nfc_hal_dm_set_config() 144 rem_len -= param_len; in nfc_hal_dm_set_config() 145 p_tlv += param_len; /* next param_type */ in nfc_hal_dm_set_config()
|
D | nfc_hal_nci.c | 433 STREAM_TO_UINT8 (vcs_cplt_params.param_len, p); in nfc_hal_nci_proc_rx_bt_msg() 438 vcs_cplt_params.param_len -= 3; in nfc_hal_nci_proc_rx_bt_msg()
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_common.h | 172 int param_len, tBTIF_COPY_CBACK *p_copy_cback);
|
/external/bluetooth/bluedroid/stack/include/ |
D | smp_api.h | 155 UINT8 param_len; member
|
/external/bluetooth/bluedroid/stack/smp/ |
D | smp_keys.c | 143 p_out->param_len = SMP_ENCRYT_KEY_SIZE; in smp_encrypt_data() 881 memcpy((void *)p_cb->rand, p->param_buf, p->param_len); in smp_rand_back() 886 memcpy((void *)&p_cb->rand[8], p->param_buf, p->param_len); in smp_rand_back()
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_devctl.c | 1876 tBTM_STATUS BTM_VendorSpecificCommand(UINT16 opcode, UINT8 param_len, in BTM_VendorSpecificCommand() argument 1882 opcode, param_len); in BTM_VendorSpecificCommand() 1886 param_len + HCIC_PREAMBLE_SIZE))) != NULL) in BTM_VendorSpecificCommand() 1889 btsnd_hcic_vendor_spec_cmd (p_buf, opcode, param_len, p_param_buf, (void *)p_cb); in BTM_VendorSpecificCommand() 1923 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
|
D | btm_ble.c | 722 params.param_len = BT_OCTET8_LEN; in btm_ble_rand_enc_complete() 724 params.param_len = BT_OCTET16_LEN; in btm_ble_rand_enc_complete() 726 memcpy(p_dest, p, params.param_len); /* Fetch return info from HCI event message */ in btm_ble_rand_enc_complete() 1271 if (p && p->param_len == BT_OCTET16_LEN) in btm_enc_proc_ltk()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_ncif.c | 798 p_intf->intf_param.frame.param_len = len_act; in nfc_ncif_proc_activate() 799 if (p_intf->intf_param.frame.param_len > NFC_MAX_RAW_PARAMS) in nfc_ncif_proc_activate() 800 p_intf->intf_param.frame.param_len = NFC_MAX_RAW_PARAMS; in nfc_ncif_proc_activate() 802 STREAM_TO_ARRAY (p_intf->intf_param.frame.param, pp, p_intf->intf_param.frame.param_len); in nfc_ncif_proc_activate()
|
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_utils.c | 338 UINT16 param_len; in l2cu_send_peer_cmd_reject() local 344 param_len = 2; in l2cu_send_peer_cmd_reject() 346 param_len = 4; in l2cu_send_peer_cmd_reject() 348 param_len = 0; in l2cu_send_peer_cmd_reject() 350 …if ((p_buf = l2cu_build_header (p_lcb, (UINT16) (L2CAP_CMD_REJECT_LEN + param_len), L2CAP_CMD_REJE… in l2cu_send_peer_cmd_reject() 361 if (param_len >= 2) in l2cu_send_peer_cmd_reject() 364 if (param_len >= 4) in l2cu_send_peer_cmd_reject()
|