Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 25 of 38) sorted by relevance

12

/external/libnfc-nci/src/nfc/llcp/
Dllcp_util.c46 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/
Dec_curve.c81 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/chromium_org/third_party/openssl/openssl/crypto/ec/
Dec_curve.c81 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/
Dip6tables-restore.c331 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()
Diptables-restore.c336 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()
Diptables-xml.c805 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/
Dsdp_server.c53 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 …]
Dsdp_discovery.c123 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()
Dsdp_utils.c369 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()
Dsdpint.h285 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/chromium_org/third_party/openssl/openssl/ssl/
Ds3_clnt.c1348 int al,i,j,param_len,ok; in ssl3_get_key_exchange() local
1425 param_len=0; in ssl3_get_key_exchange()
1437 param_len=i+2; in ssl3_get_key_exchange()
1448 if (param_len > n) in ssl3_get_key_exchange()
1471 n-=param_len; in ssl3_get_key_exchange()
1479 param_len=i+2; in ssl3_get_key_exchange()
1480 if (param_len > n) in ssl3_get_key_exchange()
1494 param_len+=i+2; in ssl3_get_key_exchange()
1495 if (param_len > n) in ssl3_get_key_exchange()
1510 param_len+=i+1; in ssl3_get_key_exchange()
[all …]
/external/openssl/ssl/
Ds3_clnt.c1347 int al,i,j,param_len,ok; in ssl3_get_key_exchange() local
1424 param_len=0; in ssl3_get_key_exchange()
1436 param_len=i+2; in ssl3_get_key_exchange()
1447 if (param_len > n) in ssl3_get_key_exchange()
1470 n-=param_len; in ssl3_get_key_exchange()
1478 param_len=i+2; in ssl3_get_key_exchange()
1479 if (param_len > n) in ssl3_get_key_exchange()
1493 param_len+=i+2; in ssl3_get_key_exchange()
1494 if (param_len > n) in ssl3_get_key_exchange()
1509 param_len+=i+1; in ssl3_get_key_exchange()
[all …]
/external/bluetooth/bluedroid/btif/src/
Dbtif_hf.c421 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()
Dbtif_hh.c1101 int param_len = 0; in bte_hh_evt() local
1104 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1106 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt()
1108 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1110 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
1112 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt()
1114 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt()
1116 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
1118 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt()
1120 param_len = 0; in bte_hh_evt()
[all …]
Dbtif_hl.c3840 int param_len = 0; in btif_hl_cback() local
3846 param_len = sizeof(tBTA_HL_REGISTER_CFM); in btif_hl_cback()
3849 param_len = sizeof(tBTA_HL_SDP_INFO_IND); in btif_hl_cback()
3852 param_len = sizeof(tBTA_HL_DEREGISTER_CFM); in btif_hl_cback()
3855 param_len = sizeof(tBTA_HL_SDP_QUERY_CFM); in btif_hl_cback()
3858 param_len = sizeof(tBTA_HL_CCH_OPEN_CFM); in btif_hl_cback()
3861 param_len = sizeof(tBTA_HL_DCH_OPEN_CFM); in btif_hl_cback()
3864 param_len = sizeof(tBTA_HL_CCH_OPEN_IND); in btif_hl_cback()
3867 param_len = sizeof(tBTA_HL_DCH_CREATE_IND); in btif_hl_cback()
3870 param_len = sizeof(tBTA_HL_DCH_OPEN_IND); in btif_hl_cback()
[all …]
Dbtif_dm.c1704 UINT16 param_len = 0; in bte_search_devices_evt() local
1707 param_len += sizeof(tBTA_DM_SEARCH); in bte_search_devices_evt()
1714 param_len += HCI_EXT_INQ_RESPONSE_LEN; in bte_search_devices_evt()
1721 param_len += p_data->disc_res.raw_data_size; in bte_search_devices_evt()
1725 …TIF_TRACE_DEBUG3("%s event=%s param_len=%d", __FUNCTION__, dump_dm_search_event(event), param_len); in bte_search_devices_evt()
1731 btif_transfer_context (btif_dm_search_devices_evt , (UINT16) event, (void *)p_data, param_len, in bte_search_devices_evt()
1732 (param_len > sizeof(tBTA_DM_SEARCH)) ? search_devices_copy_cb : NULL); in bte_search_devices_evt()
1747 UINT16 param_len = 0; in bte_dm_search_services_evt() local
1749 param_len += sizeof(tBTA_DM_SEARCH); in bte_dm_search_services_evt()
1755 param_len += (p_data->disc_res.num_uuids * MAX_UUID_SIZE); in bte_dm_search_services_evt()
[all …]
Dbtif_core.c199 …ansfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_len, tBTIF_COPY_CBAC… in btif_transfer_context() argument
203 BTIF_TRACE_VERBOSE2("btif_transfer_context event %d, len %d", event, param_len); in btif_transfer_context()
206 …(tBTIF_CONTEXT_SWITCH_CBACK *) GKI_getbuf(sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len)) != NULL) in btif_transfer_context()
220 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c333 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/
Dnfc_hal_dm.c115 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()
/external/bluetooth/bluedroid/btif/include/
Dbtif_common.h172 int param_len, tBTIF_COPY_CBACK *p_copy_cback);
/external/bluetooth/bluedroid/stack/include/
Dsmp_api.h155 UINT8 param_len; member
/external/bluetooth/bluedroid/stack/smp/
Dsmp_keys.c143 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/
Dbtm_devctl.c1871 tBTM_STATUS BTM_VendorSpecificCommand(UINT16 opcode, UINT8 param_len, in BTM_VendorSpecificCommand() argument
1877 opcode, param_len); in BTM_VendorSpecificCommand()
1881 param_len + HCIC_PREAMBLE_SIZE))) != NULL) in BTM_VendorSpecificCommand()
1884 btsnd_hcic_vendor_spec_cmd (p_buf, opcode, param_len, p_param_buf, (void *)p_cb); in BTM_VendorSpecificCommand()
1918 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c799 p_intf->intf_param.frame.param_len = len_act; in nfc_ncif_proc_activate()
800 if (p_intf->intf_param.frame.param_len > NFC_MAX_RAW_PARAMS) in nfc_ncif_proc_activate()
801 p_intf->intf_param.frame.param_len = NFC_MAX_RAW_PARAMS; in nfc_ncif_proc_activate()
803 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/
Dl2c_utils.c362 UINT16 param_len; in l2cu_send_peer_cmd_reject() local
368 param_len = 2; in l2cu_send_peer_cmd_reject()
370 param_len = 4; in l2cu_send_peer_cmd_reject()
372 param_len = 0; in l2cu_send_peer_cmd_reject()
374 …if ((p_buf = l2cu_build_header (p_lcb, (UINT16) (L2CAP_CMD_REJECT_LEN + param_len), L2CAP_CMD_REJE… in l2cu_send_peer_cmd_reject()
385 if (param_len >= 2) in l2cu_send_peer_cmd_reject()
388 if (param_len >= 4) in l2cu_send_peer_cmd_reject()

12