/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_utils.c | 85 UINT32 payload_len; in NDEF_MsgValidate() local 116 payload_len = *p_rec++; in NDEF_MsgValidate() 123 BE_STREAM_TO_UINT32 (payload_len, p_rec); in NDEF_MsgValidate() 180 if ( (type_len != 0) || (id_len != 0) || (payload_len != 0) ) in NDEF_MsgValidate() 191 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate() 225 UINT32 payload_len; in NDEF_MsgGetNumRecs() local 241 payload_len = *p_rec++; in NDEF_MsgGetNumRecs() 243 BE_STREAM_TO_UINT32 (payload_len, p_rec); in NDEF_MsgGetNumRecs() 252 p_rec += (payload_len + type_len + id_len); in NDEF_MsgGetNumRecs() 273 UINT32 payload_len; in NDEF_MsgGetRecLength() local [all …]
|
D | ndef_cho_utils.c | 131 UINT32 payload_len; in NDEF_MsgAddWktHc() local 145 payload_len = (UINT32)carrier_type_len + carrier_data_len + 2; in NDEF_MsgAddWktHc() 151 (UINT8*)p_id_str, id_len, payload, payload_len); in NDEF_MsgAddWktHc() 169 UINT32 payload_len; in NDEF_MsgAddWktAc() local 176 payload_len = 3 + (UINT8)strlen (p_carrier_data_ref_str); in NDEF_MsgAddWktAc() 180 payload_len += 1 + (UINT8)strlen (p_aux_data_ref_str[xx]); in NDEF_MsgAddWktAc() 186 NULL, 0, NULL, payload_len); in NDEF_MsgAddWktAc() 194 p = NDEF_RecGetPayload (p_rec, &payload_len); in NDEF_MsgAddWktAc() 263 UINT32 payload_len; in NDEF_MsgAddWktErr() local 272 payload_len = 5; in NDEF_MsgAddWktErr() [all …]
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_ndef.c | 241 UINT32 payload_len) in nfa_dm_ndef_find_next_handler() argument 273 if ((payload_len>1) && (p_payload[0] == p_cb->p_ndef_handler[i]->uri_id)) in nfa_dm_ndef_find_next_handler() 370 UINT32 payload_len; in nfa_dm_ndef_handle_message() local 437 p_payload = NDEF_RecGetPayload (p_rec, &payload_len); in nfa_dm_ndef_handle_message() 440 …ler = nfa_dm_ndef_find_next_handler (NULL, tnf, p_type, type_len, p_payload, payload_len)) == NULL) in nfa_dm_ndef_handle_message() 455 …handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message() 467 ndef_data.len = payload_len + (UINT32) (p_payload - p_rec); in nfa_dm_ndef_handle_message() 519 …handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
|
/external/android-clat/ |
D | netlink_msg.c | 54 …msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payload_len) { in nlmsg_alloc_generic() argument 62 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) { in nlmsg_alloc_generic() 67 msg->nm_nlh->nlmsg_len = NLMSG_LENGTH(payload_len); in nlmsg_alloc_generic() 71 memcpy(nlmsg_data(msg->nm_nlh), payload_struct, payload_len); in nlmsg_alloc_generic()
|
D | translate.h | 57 void fill_ip_header(struct iphdr *ip_targ, uint16_t payload_len, uint8_t protocol, 59 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol,
|
D | translate.c | 123 void fill_ip_header(struct iphdr *ip, uint16_t payload_len, uint8_t protocol, in fill_ip_header() argument 131 ip->tot_len = htons(sizeof(struct iphdr) + payload_len); in fill_ip_header() 157 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, in fill_ip6_header() argument 162 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | hs20_supplicant.c | 66 size_t payload_len) in hs20_build_anqp_req() argument 71 buf = gas_anqp_build_initial_req(0, 100 + payload_len); in hs20_build_anqp_req() 82 wpabuf_put_data(buf, payload, payload_len); in hs20_build_anqp_req() 101 const u8 *payload, size_t payload_len) in hs20_anqp_send_req() argument 121 buf = hs20_build_anqp_req(stypes, payload, payload_len); in hs20_anqp_send_req()
|
D | hs20_supplicant.h | 14 const u8 *payload, size_t payload_len); 16 size_t payload_len);
|
/external/tcpdump/ |
D | print-ip6.c | 57 register u_int payload_len; in ip6_print() local 73 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print() 74 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 100 payload_len); in ip6_print()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_record.c | 151 size_t buf_size, const u8 *payload, size_t payload_len, in tlsv1_record_send() argument 171 WPA_PUT_BE16(length, payload_len); in tlsv1_record_send() 196 if (pos + payload_len > buf + buf_size) in tlsv1_record_send() 198 os_memmove(pos, payload, payload_len); in tlsv1_record_send() 199 pos += payload_len; in tlsv1_record_send() 217 crypto_hash_update(hmac, payload, payload_len); in tlsv1_record_send()
|
D | tlsv1_record.h | 65 size_t buf_size, const u8 *payload, size_t payload_len,
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux.cc | 93 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags() local 94 DCHECK(payload_len % sizeof(int) == 0); in RecvMsgWithFlags() 96 wire_fds_len = payload_len / sizeof(int); in RecvMsgWithFlags()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_eke.c | 188 size_t payload_len) in eap_eke_process_id() argument 203 if (payload_len < 2 + 4) { in eap_eke_process_id() 210 end = payload + payload_len; in eap_eke_process_id() 317 size_t payload_len) in eap_eke_process_commit() argument 344 end = payload + payload_len; in eap_eke_process_commit() 461 size_t payload_len) in eap_eke_process_confirm() argument 481 end = payload + payload_len; in eap_eke_process_confirm() 587 size_t payload_len) in eap_eke_process_failure() argument 591 if (payload_len < 4) { in eap_eke_process_failure()
|
D | eap_sake.c | 146 size_t payload_len) in eap_sake_process_identity() argument 158 if (eap_sake_parse_attributes(payload, payload_len, &attr)) in eap_sake_process_identity() 190 size_t payload_len) in eap_sake_process_challenge() argument 208 if (eap_sake_parse_attributes(payload, payload_len, &attr)) in eap_sake_process_challenge() 290 size_t payload_len) in eap_sake_process_confirm() argument 304 if (eap_sake_parse_attributes(payload, payload_len, &attr)) in eap_sake_process_confirm()
|
D | eap_pwd.c | 186 const u8 *payload, size_t payload_len) in eap_pwd_perform_id_exchange() argument 196 if (payload_len < sizeof(struct eap_pwd_id)) { in eap_pwd_perform_id_exchange() 214 data->id_server = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_perform_id_exchange() 220 data->id_server_len = payload_len - sizeof(struct eap_pwd_id); in eap_pwd_perform_id_exchange() 268 const u8 *payload, size_t payload_len) in eap_pwd_perform_commit_exchange() argument 460 const u8 *payload, size_t payload_len) in eap_pwd_perform_confirm_exchange() argument
|
D | eap_gpsk.c | 256 size_t payload_len) in eap_gpsk_process_gpsk_1() argument 269 end = payload + payload_len; in eap_gpsk_process_gpsk_1() 564 size_t payload_len) in eap_gpsk_process_gpsk_3() argument 576 end = payload + payload_len; in eap_gpsk_process_gpsk_3()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | ifaddrs-android.cc | 188 ssize_t payload_len = IFA_PAYLOAD(header); in getifaddrs() local 189 while (RTA_OK(rta, payload_len)) { in getifaddrs() 209 rta = RTA_NEXT(rta, payload_len); in getifaddrs()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_common.c | 128 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len, in eap_msg_alloc() argument 136 payload_len; in eap_msg_alloc()
|
D | eap_common.h | 17 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
|
/external/libnfc-nci/src/nfc/include/ |
D | ndef_utils.h | 272 UINT8 *p_payload, UINT32 payload_len); 288 UINT8 *p_payload, UINT32 payload_len); 534 char *p_id_str, UINT8 *p_payload, UINT32 payload_len);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls_common.c | 21 struct wpabuf * eap_tls_msg_alloc(EapType type, size_t payload_len, in eap_tls_msg_alloc() argument 26 EAP_VENDOR_TYPE_UNAUTH_TLS, payload_len, in eap_tls_msg_alloc() 28 return eap_msg_alloc(EAP_VENDOR_IETF, type, payload_len, code, in eap_tls_msg_alloc()
|
D | eap_tls_common.h | 69 struct wpabuf * eap_tls_msg_alloc(EapType type, size_t payload_len,
|
D | eap_server_pwd.c | 570 const u8 *payload, size_t payload_len) in eap_pwd_process_id_resp() argument 574 if (payload_len < sizeof(struct eap_pwd_id)) { in eap_pwd_process_id_resp() 588 data->id_peer = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_process_id_resp() 593 data->id_peer_len = payload_len - sizeof(struct eap_pwd_id); in eap_pwd_process_id_resp() 621 const u8 *payload, size_t payload_len) in eap_pwd_process_commit_resp() argument 736 const u8 *payload, size_t payload_len) in eap_pwd_process_confirm_resp() argument
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_nci.c | 528 UINT8 payload_len; in nfc_hal_nci_preproc_rx_nci_msg() local 546 payload_len = *p++; in nfc_hal_nci_preproc_rx_nci_msg() 577 if ((nfc_hal_cb.max_rf_credits) && (payload_len > 5)) in nfc_hal_nci_preproc_rx_nci_msg()
|
/external/chromium_org/net/spdy/ |
D | spdy_framer.cc | 1693 const size_t payload_len = GetSerializedLength( in SerializeSynStream() local 1697 payload_len, in SerializeSynStream() 1746 const size_t payload_len = GetSerializedLength( in SerializeSynReply() local 1750 payload_len, in SerializeSynReply() 1924 const size_t payload_len = GetSerializedLength( in SerializeHeaders() local 1928 payload_len, in SerializeHeaders() 2029 const size_t payload_len = GetSerializedLength( in SerializePushPromise() local 2032 PUSH_PROMISE, payload_len, builder.length()); in SerializePushPromise()
|