/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/ia32/ |
D | fixed_asm.nasm | 43 ; unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 *data, unsigned data_len, FLAC__flo… 53 ; for(i = 0; i < data_len; i++) { 72 …ample[0] = (FLAC__float)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_err… 73 …ample[1] = (FLAC__float)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_err… 74 …ample[2] = (FLAC__float)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_err… 75 …ample[3] = (FLAC__float)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_err… 76 …ample[4] = (FLAC__float)((data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_err… 84 ; esp + 40 == data_len 103 mov ecx, [esp + 40] ; ecx = data_len 201 …ample[0] = (FLAC__float)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_err… [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 | 28 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 32 u8 *data, size_t data_len); 36 u8 *data, size_t data_len, u8 *tag); 40 u8 *data, size_t data_len, const u8 *tag); 42 size_t data_len); 44 size_t data_len);
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 212 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf() argument 220 len[0] = data_len; in eap_eke_prf() 237 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1() argument 249 vlen[1] = data_len; in eap_eke_prf_hmac_sha1() 278 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha256() argument 290 vlen[1] = data_len; in eap_eke_prf_hmac_sha256() 319 const u8 *data, size_t data_len, u8 *res, size_t len) in eap_eke_prfplus() argument 322 return eap_eke_prf_hmac_sha1(key, key_len, data, data_len, res, in eap_eke_prfplus() 325 return eap_eke_prf_hmac_sha256(key, key_len, data, data_len, in eap_eke_prfplus() 459 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() 116 size_t data_len, mk_len; in eap_gpsk_derive_keys_helper() local 139 data_len = 2 + psk_len + 6 + seed_len; in eap_gpsk_derive_keys_helper() 140 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper() 154 data, data_len); in eap_gpsk_derive_keys_helper() 156 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { in eap_gpsk_derive_keys_helper() 348 size_t data_len; in eap_gpsk_derive_mid_helper() local [all …]
|
/external/openssl/crypto/rc4/ |
D | rc4test.c | 84 static unsigned char data_len[7]={8,8,8,20,28,10}; variable 133 RC4(&key,data_len[i],&(data[i][0]),obuf); in main() 134 if (memcmp(obuf,output[i],data_len[i]+1) != 0) in main() 138 for (j=0; j<data_len[i]+1; j++) in main() 143 for (j=0; j<data_len[i]+1; j++) in main() 152 for (i=0; i<data_len[3]; i++) in main() 179 for (i=0; i<data_len[3]; i++) in main() 184 RC4(&key,data_len[3]-i,&(data[3][i]),&(obuf[i])); in main() 185 if (memcmp(obuf,output[3],data_len[3]+1) != 0) in main() 189 for (j=0; j<data_len[3]+1; j++) in main() [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/chromium_org/net/quic/ |
D | quic_spdy_server_stream.cc | 34 uint32 QuicSpdyServerStream::ProcessData(const char* data, uint32 data_len) { in ProcessData() argument 35 if (data_len > INT_MAX) { in ProcessData() 36 LOG(DFATAL) << "Data length too long: " << data_len; in ProcessData() 42 while (read_buf_->RemainingCapacity() < static_cast<int>(data_len)) { in ProcessData() 45 memcpy(read_buf_->data(), data, data_len); in ProcessData() 46 read_buf_->set_offset(read_buf_->offset() + data_len); in ProcessData() 51 body_.append(data, data_len); in ProcessData() 53 return data_len; in ProcessData()
|
D | quic_packet_generator_test.cc | 466 size_t data_len = 2 * kDefaultMaxPacketSize + 100; in TEST_F() local 468 generator_.ConsumeData(3, CreateData(data_len), 0, true, in TEST_F() 470 EXPECT_EQ(data_len, consumed.bytes_consumed); in TEST_F() 499 size_t data_len = 1 * kDefaultMaxPacketSize + 100; in TEST_F() local 501 generator_.ConsumeData(3, CreateData(data_len), 0, true, in TEST_F() 503 EXPECT_EQ(data_len, consumed.bytes_consumed); in TEST_F() 597 size_t data_len = 3 * kDefaultMaxPacketSize + 1; in TEST_F() local 599 7, CreateData(data_len), 0, true, MUST_FEC_PROTECT, NULL); in TEST_F() 600 EXPECT_EQ(data_len, consumed.bytes_consumed); in TEST_F() 658 size_t data_len = 2 * kDefaultMaxPacketSize + 100; in TEST_F() local [all …]
|
/external/chromium_org/base/ |
D | pickle.cc | 209 Pickle::Pickle(const char* data, int data_len) in Pickle() argument 214 if (data_len >= static_cast<int>(sizeof(Header))) in Pickle() 215 header_size_ = data_len - header_->payload_size; in Pickle() 217 if (header_size_ > static_cast<unsigned int>(data_len)) in Pickle() 297 size_t data_len = AlignInt(length, sizeof(uint32)); in Reserve() local 298 DCHECK_GE(data_len, length); in Reserve() 300 DCHECK_LE(data_len, kuint32max); in Reserve() 302 DCHECK_LE(write_offset_, kuint32max - data_len); in Reserve() 303 size_t new_size = write_offset_ + data_len; in Reserve() 346 size_t data_len = AlignInt(length, sizeof(uint32)); in WriteBytesCommon() local [all …]
|
/external/chromium_org/third_party/libsrtp/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/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | rtpdump.cc | 135 uint16 data_len; in ReadPacket() local 143 buf.ReadUInt16(&data_len); in ReadPacket() 144 packet->original_data_len = data_len; in ReadPacket() 353 const void* data, size_t data_len, uint32 elapsed, bool rtcp) { in WritePacket() argument 354 if (!stream_ || !data || 0 == data_len) return rtc::SR_ERROR; in WritePacket() 367 size_t write_len = FilterPacket(data, data_len, rtcp); in WritePacket() 376 buf.WriteUInt16(static_cast<uint16>(rtcp ? 0 : data_len)); in WritePacket() 387 size_t RtpDumpWriter::FilterPacket(const void* data, size_t data_len, in FilterPacket() argument 393 filtered_len = data_len; in FilterPacket() 397 if (GetRtpHeaderLen(data, data_len, &header_len)) { in FilterPacket() [all …]
|
D | rtpdump.h | 195 rtc::StreamResult WriteRtpPacket(const void* data, size_t data_len) { in WriteRtpPacket() argument 196 return WritePacket(data, data_len, GetElapsedTime(), false); in WriteRtpPacket() 198 rtc::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { in WriteRtcpPacket() argument 199 return WritePacket(data, data_len, GetElapsedTime(), true); in WriteRtcpPacket() 217 rtc::StreamResult WritePacket(const void* data, size_t data_len, 219 size_t FilterPacket(const void* data, size_t data_len, bool rtcp); 220 rtc::StreamResult WriteToStream(const void* data, size_t data_len);
|
/external/openssl/crypto/hmac/ |
D | hmactest.c | 87 int data_len; member 137 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); in main() 138 ebcdic2ascii(test[1].data, test[1].data, test[1].data_len); in main() 140 ebcdic2ascii(test[2].data, test[2].data, test[2].data_len); in main() 147 test[i].data, test[i].data_len, in main()
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_ble_batchscan.c | 137 ble_batchscan_cb.main_rep_q.data_len[ble_batchscan_cb.main_rep_q.next_idx] = 0; in btm_ble_batchscan_enq_rep_q() 157 UINT8 data_len) in btm_ble_batchscan_enq_rep_data() argument 169 index, report_format, num_records, data_len); in btm_ble_batchscan_enq_rep_data() 171 if (index < BTM_BLE_BATCH_REP_MAIN_Q_SIZE && data_len > 0 && num_records > 0) in btm_ble_batchscan_enq_rep_data() 173 len = ble_batchscan_cb.main_rep_q.data_len[index]; in btm_ble_batchscan_enq_rep_data() 177 p_app_data = GKI_getbuf(len + data_len); in btm_ble_batchscan_enq_rep_data() 179 memcpy(p_app_data+len, p_data, data_len); in btm_ble_batchscan_enq_rep_data() 183 ble_batchscan_cb.main_rep_q.data_len[index] += data_len; in btm_ble_batchscan_enq_rep_data() 187 p_app_data = GKI_getbuf(data_len); in btm_ble_batchscan_enq_rep_data() 188 memcpy(p_app_data, p_data, data_len); in btm_ble_batchscan_enq_rep_data() [all …]
|
/external/chromium_org/net/tools/quic/ |
D | quic_spdy_client_stream.cc | 47 uint32 data_len) { in ProcessData() argument 53 if (read_buf_->RemainingCapacity() < (int)data_len) { in ProcessData() 56 memcpy(read_buf_->data(), data, data_len); in ProcessData() 57 read_buf_->set_offset(read_buf_->offset() + data_len); in ProcessData() 61 data_len - total_bytes_processed); in ProcessData() 63 return data_len; in ProcessData()
|
D | quic_spdy_server_stream.cc | 31 uint32 QuicSpdyServerStream::ProcessData(const char* data, uint32 data_len) { in ProcessData() argument 37 if (read_buf_->RemainingCapacity() < (int)data_len) { in ProcessData() 40 memcpy(read_buf_->data(), data, data_len); in ProcessData() 41 read_buf_->set_offset(read_buf_->offset() + data_len); in ProcessData() 45 data_len - total_bytes_processed); in ProcessData() 47 return data_len; in ProcessData()
|
/external/lldb/source/API/ |
D | SBData.cpp | 523 uint32_t data_len = strlen(data); in CreateDataFromCString() local 525 lldb::DataBufferSP buffer_sp(new DataBufferHeap(data, data_len)); in CreateDataFromCString() 539 size_t data_len = array_len * sizeof(uint64_t); in CreateDataFromUInt64Array() local 541 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromUInt64Array() 555 size_t data_len = array_len * sizeof(uint32_t); in CreateDataFromUInt32Array() local 557 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromUInt32Array() 571 size_t data_len = array_len * sizeof(int64_t); in CreateDataFromSInt64Array() local 573 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromSInt64Array() 587 size_t data_len = array_len * sizeof(int32_t); in CreateDataFromSInt32Array() local 589 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromSInt32Array() [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 …]
|