/external/flac/libFLAC/include/private/ |
D | lpc.h | 57 …indow_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len); 71 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 75 void FLAC__lpc_compute_autocorrelation_asm_ia32(const FLAC__real data[], unsigned data_len, unsigne… 76 …utocorrelation_asm_ia32_sse_lag_4_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 77 …utocorrelation_asm_ia32_sse_lag_8_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 78 …tocorrelation_asm_ia32_sse_lag_12_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 79 …tocorrelation_asm_ia32_sse_lag_16_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 84 …_autocorrelation_intrin_sse_lag_4_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 85 …_autocorrelation_intrin_sse_lag_8_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… 86 …autocorrelation_intrin_sse_lag_12_old(const FLAC__real data[], unsigned data_len, unsigned lag, FL… [all …]
|
D | fixed.h | 57 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__floa… 58 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC_… 62 unsigned FLAC__fixed_compute_best_predictor_intrin_sse2(const FLAC__int32 data[], unsigned data_len… 63 …pute_best_predictor_wide_intrin_sse2(const FLAC__int32 data[], unsigned data_len, FLAC__float resi… 66 …_compute_best_predictor_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, FLAC__float resi… 67 …ute_best_predictor_wide_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, FLAC__float resi… 71 …ute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], unsigned data_len, FLAC__float resi… 75 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixe… 76 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC_… 90 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC… [all …]
|
/external/flac/libFLAC/ |
D | fixed.c | 217 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__floa… in FLAC__fixed_compute_best_predictor() argument 219 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixe… in FLAC__fixed_compute_best_predictor() 230 for(i = 0; i < data_len; i++) { in FLAC__fixed_compute_best_predictor() 252 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); in FLAC__fixed_compute_best_predictor() 253 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor() 254 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); in FLAC__fixed_compute_best_predictor() 255 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); in FLAC__fixed_compute_best_predictor() 256 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor() 258 …al_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor() 259 …al_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor() [all …]
|
D | lpc.c | 67 …window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len) in FLAC__lpc_window_data() argument 70 for(i = 0; i < data_len; i++) in FLAC__lpc_window_data() 74 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FL… in FLAC__lpc_compute_autocorrelation() argument 82 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation() 92 for(i = lag, d = 0.0; i < data_len; i++) in FLAC__lpc_compute_autocorrelation() 104 const unsigned limit = data_len - lag; in FLAC__lpc_compute_autocorrelation() 107 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation() 116 for(; sample < data_len; sample++) { in FLAC__lpc_compute_autocorrelation() 118 for(coeff = 0; coeff < data_len - sample; coeff++) in FLAC__lpc_compute_autocorrelation() 268 …_from_qlp_coefficients(const FLAC__int32 * flac_restrict data, unsigned data_len, const FLAC__int3… in FLAC__lpc_compute_residual_from_qlp_coefficients() argument [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | aes-eax.c | 30 u8 *data, size_t data_len, u8 *tag) in aes_128_eax_encrypt() argument 38 if (nonce_len > data_len) in aes_128_eax_encrypt() 41 buf_len = data_len; in aes_128_eax_encrypt() 62 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len)) in aes_128_eax_encrypt() 65 os_memcpy(buf + 16, data, data_len); in aes_128_eax_encrypt() 66 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) in aes_128_eax_encrypt() 94 u8 *data, size_t data_len, const u8 *tag) in aes_128_eax_decrypt() argument 102 if (nonce_len > data_len) in aes_128_eax_decrypt() 105 buf_len = data_len; in aes_128_eax_decrypt() 131 os_memcpy(buf + 16, data, data_len); in aes_128_eax_decrypt() [all …]
|
D | aes_wrap.h | 31 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 33 int __must_check omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, 37 u8 *data, size_t data_len); 41 u8 *data, size_t data_len, u8 *tag); 45 u8 *data, size_t data_len, const u8 *tag); 47 size_t data_len); 49 size_t data_len);
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 207 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf() argument 215 len[0] = data_len; in eap_eke_prf() 232 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1() argument 244 vlen[1] = data_len; in eap_eke_prf_hmac_sha1() 273 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha256() argument 285 vlen[1] = data_len; in eap_eke_prf_hmac_sha256() 314 const u8 *data, size_t data_len, u8 *res, size_t len) in eap_eke_prfplus() argument 317 return eap_eke_prf_hmac_sha1(key, key_len, data, data_len, res, in eap_eke_prfplus() 320 return eap_eke_prf_hmac_sha256(key, key_len, data, data_len, in eap_eke_prfplus() 451 size_t data_len; in eap_eke_derive_ke_ki() local [all …]
|
D | eap_gpsk_common.c | 39 const u8 *data /* Z */, size_t data_len, in eap_gpsk_gkdf_cmac() argument 53 vlen[1] = data_len; in eap_gpsk_gkdf_cmac() 74 const u8 *data /* Z */, size_t data_len, in eap_gpsk_gkdf_sha256() argument 88 vlen[1] = data_len; in eap_gpsk_gkdf_sha256() 117 size_t data_len, mk_len; in eap_gpsk_derive_keys_helper() local 140 data_len = 2 + psk_len + 6 + seed_len; in eap_gpsk_derive_keys_helper() 141 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper() 155 data, data_len); in eap_gpsk_derive_keys_helper() 157 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { in eap_gpsk_derive_keys_helper() 349 size_t data_len; in eap_gpsk_derive_mid_helper() local [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_ndis_.c | 25 const u8 *data, size_t data_len); 46 size_t data_len = 0; in wpa_driver_ndis_event_process() local 56 data_len = (int) *pos++ << 8; in wpa_driver_ndis_event_process() 57 data_len += *pos++; in wpa_driver_ndis_event_process() 58 if (data_len > (size_t) (buf + len - pos)) { in wpa_driver_ndis_event_process() 63 wpa_hexdump(MSG_MSGDUMP, "NDIS: event data", data, data_len); in wpa_driver_ndis_event_process() 74 wpa_driver_ndis_event_media_specific(drv, data, data_len); in wpa_driver_ndis_event_process()
|
/external/srtp/crypto/test/ |
D | sha1_driver.c | 56 unsigned data_len; /* number of octets in data */ member 68 unsigned data_len, in hash_test_case_add() argument 79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2); in hash_test_case_add() 80 if (tmp_len != data_len*2) in hash_test_case_add() 87 test_case->data_len = data_len; in hash_test_case_add() 107 if (test_case->data_len > MAX_HASH_DATA_LEN) in sha1_test_case_validate() 111 sha1_update(&ctx, test_case->data, test_case->data_len); in sha1_test_case_validate()
|
/external/webrtc/talk/media/base/ |
D | rtpdump.cc | 135 uint16_t data_len; in ReadPacket() local 143 buf.ReadUInt16(&data_len); in ReadPacket() 144 packet->original_data_len = data_len; in ReadPacket() 353 size_t data_len, in WritePacket() argument 356 if (!stream_ || !data || 0 == data_len) return rtc::SR_ERROR; in WritePacket() 369 size_t write_len = FilterPacket(data, data_len, rtcp); in WritePacket() 378 buf.WriteUInt16(static_cast<uint16_t>(rtcp ? 0 : data_len)); in WritePacket() 389 size_t RtpDumpWriter::FilterPacket(const void* data, size_t data_len, in FilterPacket() argument 395 filtered_len = data_len; in FilterPacket() 399 if (GetRtpHeaderLen(data, data_len, &header_len)) { in FilterPacket() [all …]
|
D | rtpdump.h | 194 rtc::StreamResult WriteRtpPacket(const void* data, size_t data_len) { in WriteRtpPacket() argument 195 return WritePacket(data, data_len, GetElapsedTime(), false); in WriteRtpPacket() 197 rtc::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { in WriteRtcpPacket() argument 198 return WritePacket(data, data_len, GetElapsedTime(), true); in WriteRtcpPacket() 217 size_t data_len, 220 size_t FilterPacket(const void* data, size_t data_len, bool rtcp); 221 rtc::StreamResult WriteToStream(const void* data, size_t data_len);
|
/external/libchrome/base/ |
D | pickle.cc | 235 Pickle::Pickle(const char* data, int data_len) in Pickle() argument 240 if (data_len >= static_cast<int>(sizeof(Header))) in Pickle() 241 header_size_ = data_len - header_->payload_size; in Pickle() 243 if (header_size_ > static_cast<unsigned int>(data_len)) in Pickle() 314 size_t data_len = bits::Align(length, sizeof(uint32_t)); in Reserve() local 315 DCHECK_GE(data_len, length); in Reserve() 317 DCHECK_LE(data_len, std::numeric_limits<uint32_t>::max()); in Reserve() 319 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in Reserve() 320 size_t new_size = write_offset_ + data_len; in Reserve() 398 size_t data_len = bits::Align(length, sizeof(uint32_t)); in ClaimUninitializedBytesInternal() local [all …]
|
/external/strace/ |
D | net.c | 325 const size_t data_len) in print_scm_rights() argument 328 const char *end = (const char *) cmsg_data + data_len; in print_scm_rights() 331 if (sizeof(*fds) > data_len) in print_scm_rights() 347 const size_t data_len) in print_scm_creds() argument 351 if (sizeof(*uc) > data_len) in print_scm_creds() 360 const size_t data_len) in print_scm_security() argument 362 if (!data_len) in print_scm_security() 366 print_quoted_string(cmsg_data, data_len, 0); in print_scm_security() 371 const size_t data_len) in print_cmsg_ip_pktinfo() argument 375 if (sizeof(*info) > data_len) in print_cmsg_ip_pktinfo() [all …]
|
/external/webrtc/webrtc/base/ |
D | stream.cc | 44 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll() argument 48 while (total_written < data_len) { in WriteAll() 50 data_len - total_written, ¤t_written, error); in WriteAll() 104 const void* StreamInterface::GetReadData(size_t* data_len) { in GetReadData() argument 172 size_t data_len, in Write() argument 175 return stream_->Write(data, data_len, written, error); in Write() 280 StreamResult StreamTap::Write(const void* data, size_t data_len, in Write() argument 286 StreamResult res = StreamAdapterInterface::Write(data, data_len, in Write() 314 StreamResult NullStream::Write(const void* data, size_t data_len, in Write() argument 316 if (written) *written = data_len; in Write() [all …]
|
D | stream.h | 85 virtual StreamResult Write(const void* data, size_t data_len, 133 virtual const void* GetReadData(size_t* data_len); 210 StreamResult WriteAll(const void* data, size_t data_len, 254 size_t data_len, 332 size_t data_len, 359 size_t data_len, 390 size_t data_len, 506 bool GetBuffered(size_t* data_len) const; 535 const void* GetReadData(size_t* data_len) override; 576 size_t data_len, [all …]
|
/external/ppp/pppd/plugins/pppoatm/ |
D | ans.c | 46 int answer_len,name_len,data_len,found_len; in ans() local 83 data_len = GET16(pos+8); in ans() 85 pos = data+data_len; in ans() 86 if (GET16(data-10) != wanted || GET16(data-8) != C_IN || !--data_len) in ans() 90 data_len++; in ans() 91 if (data_len != ATM_ESA_LEN) continue; in ans() 98 if (data_len != ATM_ESA_LEN) continue; in ans() 103 if (data_len > ATM_E164_LEN) continue; in ans() 106 found_len = data_len; in ans()
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_act.c | 55 static void nfa_hci_handle_loopback_gate_pkt (UINT8 *p_data, UINT16 data_len, tNFA_HCI_DYN_PIPE *p_… 56 static void nfa_hci_handle_connectivity_gate_pkt (UINT8 *p_data, UINT16 data_len, tNFA_HCI_DYN_PIPE… 57 static void nfa_hci_handle_generic_gate_cmd (UINT8 *p_data, UINT8 data_len, tNFA_HCI_DYN_GATE *p_ga… 58 static void nfa_hci_handle_generic_gate_rsp (UINT8 *p_data, UINT8 data_len, tNFA_HCI_DYN_GATE *p_ga… 59 static void nfa_hci_handle_generic_gate_evt (UINT8 *p_data, UINT16 data_len, tNFA_HCI_DYN_GATE *p_g… 1372 void nfa_hci_handle_admin_gate_rsp (UINT8 *p_data, UINT8 data_len) in nfa_hci_handle_admin_gate_rsp() argument 1441 while (host_count < data_len) in nfa_hci_handle_admin_gate_rsp() 1538 evt_data.hosts.num_hosts = data_len; in nfa_hci_handle_admin_gate_rsp() 1539 memcpy (evt_data.hosts.host, p_data, data_len); in nfa_hci_handle_admin_gate_rsp() 1550 while (host_count < data_len) in nfa_hci_handle_admin_gate_rsp() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_glue.c | 324 const u8 *data, size_t data_len, in hostapd_wpa_auth_send_eapol() argument 333 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol() 338 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol() 350 return hostapd_drv_hapd_send_eapol(hapd, addr, data, data_len, in hostapd_wpa_auth_send_eapol() 410 size_t data_len; member 435 idata->data, idata->data_len); in hostapd_wpa_auth_ft_iter() 447 const u8 *data, size_t data_len) in hostapd_wpa_auth_send_ether() argument 455 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_ether() 460 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_ether() 476 idata.data_len = data_len; in hostapd_wpa_auth_send_ether() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | daisy_chain_wrapper.py | 56 data_len = len(data) 57 if data_len: 60 self.daisy_chain_wrapper.bytes_buffered += data_len 213 data_len = len(data) 214 self.position += data_len 215 self.bytes_buffered -= data_len 216 if data_len > amt: 219 '%s, expected size %s.' % (data_len, amt))
|
D | resumable_streaming_upload.py | 120 data_len = len(new_data) 126 self._position += data_len 134 data_len = len(new_data) 135 if data_len: 136 self._position += data_len 138 self._buffer_end += data_len
|
/external/libchrome/crypto/ |
D | hmac_unittest.cc | 26 const int data_len; member 94 const int data_len; in TEST() member 152 std::string data_string(cases[i].data, cases[i].data_len); in TEST() 247 kSimpleHmacCases[i].data_len); in TEST() 264 kSimpleHmacCases[i].data_len), in TEST() 270 kSimpleHmacCases[i].data_len), in TEST() 272 kSimpleHmacCases[i].data_len))); in TEST() 277 kSimpleHmacCases[i].data_len), in TEST()
|
/external/libnfc-nci/halimpl/pn54x/hal/ |
D | phNxpNciHal_NfcDepSWPrio.c | 488 uint16_t data_len; in tmp_thread() local 497 data_len = phNxpNciHal_write_unlocked(cmd_poll_len, cmd_poll); in tmp_thread() 500 if(data_len != cmd_poll_len) in tmp_thread() 511 data_len = phNxpNciHal_write_unlocked(sizeof(cmd_resume_rf_discovery), in tmp_thread() 515 if(data_len != sizeof(cmd_resume_rf_discovery)) in tmp_thread() 526 data_len = phNxpNciHal_write_unlocked(sizeof(cmd_stop_rf_discovery), in tmp_thread() 530 if(data_len != sizeof(cmd_stop_rf_discovery)) in tmp_thread() 541 data_len = phNxpNciHal_write_unlocked(sizeof(cmd_select_rf_discovery), in tmp_thread() 545 if(data_len != sizeof(cmd_resume_rf_discovery)) in tmp_thread()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | monsoon.py | 248 data_len = len(data) + 1 249 checksum = (data_len + sum(struct.unpack('B' * len(data), data))) % 256 250 out = struct.pack('B', data_len) + data + struct.pack('B', checksum) 261 data_len = struct.unpack('B', len_char) 262 data_len = ord(len_char) 263 if not data_len: 266 result = self.ser.read(data_len) 267 if len(result) != data_len: 270 checksum = (data_len + sum(struct.unpack('B' * len(body), body))) % 256
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 209 size_t data_len = size * num; in write_callback() local 210 VLOG(1) << "Response data (" << data_len << "): " in write_callback() 211 << std::string{ptr, data_len}; in write_callback() 215 if (!me->response_data_stream_->WriteAllBlocking(ptr, data_len, nullptr)) { in write_callback() 217 data_len = 0; in write_callback() 219 return data_len; in write_callback() 227 size_t data_len = size * num; in read_callback() local 230 bool success = me->request_data_stream_->ReadBlocking(ptr, data_len, in read_callback()
|