/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/webrtc/webrtc/modules/audio_coding/neteq/ |
D | packet_buffer_unittest.cc | 92 const int payload_len = 100; in TEST() local 93 Packet* packet = gen.NextPacket(payload_len); in TEST() 112 const int payload_len = 10; in TEST() local 116 Packet* packet = gen.NextPacket(payload_len); in TEST() 134 const int payload_len = 10; in TEST() local 137 Packet* packet = gen.NextPacket(payload_len); in TEST() 146 Packet* packet = gen.NextPacket(payload_len); in TEST() 162 const int payload_len = 10; in TEST() local 166 Packet* packet = gen.NextPacket(payload_len); in TEST() 198 const int payload_len = 10; in TEST() local [all …]
|
D | neteq_unittest.cc | 305 size_t* payload_len); 508 size_t* payload_len) { in PopulateCng() argument 515 *payload_len = 1; // Only noise level, no spectral parameters. in PopulateCng() 747 size_t payload_len; in LongCngWithClockDrift() local 749 PopulateCng(seq_no, timestamp, &rtp_info, payload, &payload_len); in LongCngWithClockDrift() 752 rtc::ArrayView<const uint8_t>(payload, payload_len), 0)); in LongCngWithClockDrift() 796 size_t payload_len; in LongCngWithClockDrift() local 798 PopulateCng(seq_no, timestamp, &rtp_info, payload, &payload_len); in LongCngWithClockDrift() 801 rtc::ArrayView<const uint8_t>(payload, payload_len), 0)); in LongCngWithClockDrift() 1544 size_t payload_len; in DuplicateCng() local [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 | 55 …msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payload_len) { in nlmsg_alloc_generic() argument 63 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) { in nlmsg_alloc_generic() 68 msg->nm_nlh->nlmsg_len = NLMSG_LENGTH(payload_len); in nlmsg_alloc_generic() 72 memcpy(nlmsg_data(msg->nm_nlh), payload_struct, payload_len); in nlmsg_alloc_generic()
|
D | translate.h | 46 void fill_ip_header(struct iphdr *ip_targ, uint16_t payload_len, uint8_t protocol, 48 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/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_performance_test.cc | 70 size_t payload_len = WebRtcPcm16b_Encode(input_samples.data(), in Run() local 72 RTC_CHECK_EQ(sizeof(input_payload), payload_len); in Run() 100 payload_len = WebRtcPcm16b_Encode(input_samples.data(), in Run() 102 assert(payload_len == kInputBlockSizeSamples * sizeof(int16_t)); in Run()
|
D | neteq_rtpplay.cc | 304 size_t payload_len = 0; in ReplacePayload() local 313 payload_len = 1; in ReplacePayload() 351 payload_len = WebRtcPcm16b_Encode((*replacement_audio).get(), in ReplacePayload() 354 assert(payload_len == 2 * *frame_size_samples); in ReplacePayload() 379 return payload_len; in ReplacePayload() 549 size_t payload_len = packet->payload_length_bytes(); in main() local 551 payload_len = ReplacePayload(replacement_audio_file.get(), in main() 561 rtp_header, rtc::ArrayView<const uint8_t>(payload_ptr, payload_len), in main()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | hs20_supplicant.h | 14 const u8 *payload, size_t payload_len, int inmem); 16 size_t payload_len); 17 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
|
D | hs20_supplicant.c | 132 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len, in hs20_put_anqp_req() argument 147 wpabuf_put_data(buf, payload, payload_len); in hs20_put_anqp_req() 152 wpabuf_put_data(buf, payload, payload_len); in hs20_put_anqp_req() 169 size_t payload_len) in hs20_build_anqp_req() argument 173 buf = gas_anqp_build_initial_req(0, 100 + payload_len); in hs20_build_anqp_req() 177 hs20_put_anqp_req(stypes, payload, payload_len, buf); in hs20_build_anqp_req() 184 const u8 *payload, size_t payload_len, int inmem) in hs20_anqp_send_req() argument 207 buf = hs20_build_anqp_req(stypes, payload, payload_len); in hs20_anqp_send_req() 225 icon_entry->file_name = os_malloc(payload_len + 1); in hs20_anqp_send_req() 230 os_memcpy(icon_entry->file_name, payload, payload_len); in hs20_anqp_send_req() [all …]
|
/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()
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message_response.py | 117 payload_len = primary_fragment.get_payload_len() 120 (payload_len != len(primary_fragment.payload_buffer))): 126 num_fragments, payload_len)
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 140 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags() local 143 DCHECK_EQ(payload_len % sizeof(int), 0u); in RecvMsgWithFlags() 146 wire_fds_len = payload_len / sizeof(int); in RecvMsgWithFlags() 153 DCHECK_EQ(payload_len, sizeof(struct ucred)); in RecvMsgWithFlags()
|
/external/tcpdump/ |
D | print-ip6.c | 82 register u_int payload_len; in ip6_print() local 103 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print() 104 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 130 payload_len)); in ip6_print()
|
/external/wpa_supplicant_8/src/eap_peer/ |
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() 189 size_t payload_len) in eap_sake_process_challenge() argument 207 if (eap_sake_parse_attributes(payload, payload_len, &attr)) in eap_sake_process_challenge() 289 size_t payload_len) in eap_sake_process_confirm() argument 303 if (eap_sake_parse_attributes(payload, payload_len, &attr)) in eap_sake_process_confirm()
|
D | eap_eke.c | 225 size_t payload_len) in eap_eke_process_id() argument 241 if (payload_len < 2 + 4) { in eap_eke_process_id() 248 end = payload + payload_len; in eap_eke_process_id() 359 size_t payload_len) in eap_eke_process_commit() argument 387 end = payload + payload_len; in eap_eke_process_commit() 505 size_t payload_len) in eap_eke_process_confirm() argument 526 end = payload + payload_len; in eap_eke_process_confirm() 632 size_t payload_len) in eap_eke_process_failure() argument 636 if (payload_len < 4) { in eap_eke_process_failure()
|
D | eap_pwd.c | 220 const u8 *payload, size_t payload_len) in eap_pwd_perform_id_exchange() argument 234 if (payload_len < sizeof(struct eap_pwd_id)) { in eap_pwd_perform_id_exchange() 271 data->id_server = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_perform_id_exchange() 277 data->id_server_len = payload_len - sizeof(struct eap_pwd_id); in eap_pwd_perform_id_exchange() 359 const u8 *payload, size_t payload_len) in eap_pwd_perform_commit_exchange() argument 375 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_perform_commit_exchange() 378 (unsigned int) payload_len, in eap_pwd_perform_commit_exchange() 572 const u8 *payload, size_t payload_len) in eap_pwd_perform_confirm_exchange() argument 586 if (payload_len != SHA256_MAC_LEN) { in eap_pwd_perform_confirm_exchange() 589 (unsigned int) payload_len, SHA256_MAC_LEN); in eap_pwd_perform_confirm_exchange()
|
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 175 ssize_t payload_len = IFA_PAYLOAD(header); in getifaddrs() local 176 while (RTA_OK(rta, payload_len)) { in getifaddrs() 196 rta = RTA_NEXT(rta, payload_len); in getifaddrs()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_decoder_isac_t_impl.h | 77 size_t payload_len, in IncomingPacket() argument 81 int ret = T::UpdateBwEstimate(isac_state_, payload, payload_len, in IncomingPacket()
|
/external/libnl/lib/netfilter/ |
D | queue_msg.c | 226 const void *payload_data, unsigned payload_len) in nfnl_queue_msg_send_verdict_payload() argument 243 nla.nla_len = payload_len + sizeof(nla); in nfnl_queue_msg_send_verdict_payload() 250 iov[2].iov_len = NLA_ALIGN(payload_len); in nfnl_queue_msg_send_verdict_payload()
|
/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() 30 EAP_VENDOR_WFA_UNAUTH_TLS, payload_len, in eap_tls_msg_alloc() 32 return eap_msg_alloc(EAP_VENDOR_IETF, type, payload_len, code, in eap_tls_msg_alloc()
|
D | eap_server_pwd.c | 588 const u8 *payload, size_t payload_len) in eap_pwd_process_id_resp() argument 596 if (payload_len < sizeof(struct eap_pwd_id)) { in eap_pwd_process_id_resp() 610 data->id_peer = os_malloc(payload_len - sizeof(struct eap_pwd_id)); in eap_pwd_process_id_resp() 615 data->id_peer_len = payload_len - sizeof(struct eap_pwd_id); in eap_pwd_process_id_resp() 658 const u8 *payload, size_t payload_len) in eap_pwd_process_commit_resp() argument 671 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_process_commit_resp() 674 (unsigned int) payload_len, in eap_pwd_process_commit_resp() 785 const u8 *payload, size_t payload_len) in eap_pwd_process_confirm_resp() argument 794 if (payload_len != SHA256_MAC_LEN) { in eap_pwd_process_confirm_resp() 797 (unsigned int) payload_len, SHA256_MAC_LEN); in eap_pwd_process_confirm_resp()
|
/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);
|