Home
last modified time | relevance | path

Searched refs:data_len (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/external/flac/libFLAC/include/private/
Dlpc.h57 …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 …]
Dfixed.h57 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, float resi…
58 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, float…
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, float residual_b…
66 …_compute_best_predictor_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, float residual_b…
67 …ute_best_predictor_wide_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, float residual_b…
71 …ute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], unsigned data_len, float residual_b…
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/
Dfixed.c217 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, float resi… 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 …(float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
259 …(float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor()
[all …]
Dlpc_intrin_sse.c57 …_autocorrelation_intrin_sse_lag_4_new(const FLAC__real data[], unsigned data_len, unsigned lag, FL… in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new() argument
60 int limit = data_len - 4; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new()
65 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new()
80 for(i = data_len-1; i >= limit; i--) { in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_4_new()
93 …_autocorrelation_intrin_sse_lag_8_new(const FLAC__real data[], unsigned data_len, unsigned lag, FL… in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new() argument
96 int limit = data_len - 8; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new()
101 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new()
120 for(i = data_len-1; i >= limit; i--) { in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_8_new()
137 …autocorrelation_intrin_sse_lag_12_new(const FLAC__real data[], unsigned data_len, unsigned lag, FL… in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new() argument
140 int limit = data_len - 12; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new()
[all …]
Dfixed_intrin_ssse3.c58 …_compute_best_predictor_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, float residual_b… in FLAC__fixed_compute_best_predictor_intrin_ssse3() argument
81 for(i = 0; i < data_len; i++) { in FLAC__fixed_compute_best_predictor_intrin_ssse3()
133 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
134 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
135 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
136 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
137 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
139 …(float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
140 …(float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
141 …(float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_ssse3()
[all …]
Dfixed_intrin_sse2.c58 unsigned FLAC__fixed_compute_best_predictor_intrin_sse2(const FLAC__int32 data[], unsigned data_len in FLAC__fixed_compute_best_predictor_intrin_sse2() argument
81 for(i = 0; i < data_len; i++) { in FLAC__fixed_compute_best_predictor_intrin_sse2()
139 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
140 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
141 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
142 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
143 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
145 …(float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
146 …(float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
147 …(float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) / M_LN2 : 0.0); in FLAC__fixed_compute_best_predictor_intrin_sse2()
[all …]
Dlpc.c66 …window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len) in FLAC__lpc_window_data() argument
69 for(i = 0; i < data_len; i++) in FLAC__lpc_window_data()
73 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FL… in FLAC__lpc_compute_autocorrelation() argument
81 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation()
91 for(i = lag, d = 0.0; i < data_len; i++) in FLAC__lpc_compute_autocorrelation()
103 const unsigned limit = data_len - lag; in FLAC__lpc_compute_autocorrelation()
106 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation()
115 for(; sample < data_len; sample++) { in FLAC__lpc_compute_autocorrelation()
117 for(coeff = 0; coeff < data_len - sample; coeff++) in FLAC__lpc_compute_autocorrelation()
267 …_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/strace/
Dmsghdr.c62 const unsigned int data_len) in print_scm_rights() argument
65 const unsigned int nfds = data_len / sizeof(*fds); in print_scm_rights()
85 const unsigned int data_len) in print_scm_creds() argument
97 const unsigned int data_len) in print_scm_security() argument
99 print_quoted_string(cmsg_data, data_len, 0); in print_scm_security()
104 const unsigned int data_len) in print_scm_timestamp() argument
106 print_struct_timeval_data_size(cmsg_data, data_len); in print_scm_timestamp()
111 const unsigned int data_len) in print_scm_timestampns() argument
113 print_struct_timespec_data_size(cmsg_data, data_len); in print_scm_timestampns()
118 const unsigned int data_len) in print_scm_timestamping() argument
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c184 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf() argument
192 len[0] = data_len; in eap_eke_prf()
209 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1() argument
221 vlen[1] = data_len; in eap_eke_prf_hmac_sha1()
250 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha256() argument
262 vlen[1] = data_len; in eap_eke_prf_hmac_sha256()
291 const u8 *data, size_t data_len, u8 *res, size_t len) in eap_eke_prfplus() argument
294 return eap_eke_prf_hmac_sha1(key, key_len, data, data_len, res, in eap_eke_prfplus()
297 return eap_eke_prf_hmac_sha256(key, key_len, data, data_len, in eap_eke_prfplus()
429 size_t data_len; in eap_eke_derive_ke_ki() local
[all …]
Deap_gpsk_common.c39 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/crypto/
Daes-eax.c30 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 …]
Daes_wrap.h31 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);
39 u8 *data, size_t data_len);
43 u8 *data, size_t data_len, u8 *tag);
47 u8 *data, size_t data_len, const u8 *tag);
49 size_t data_len);
51 size_t data_len);
/external/u-boot/drivers/mtd/spi/
Dsf.c15 size_t data_len) in spi_flash_read_write() argument
20 if (data_len == 0) in spi_flash_read_write()
27 } else if (data_len != 0) { in spi_flash_read_write()
28 ret = spi_xfer(spi, data_len * 8, data_out, data_in, in spi_flash_read_write()
32 data_len, ret); in spi_flash_read_write()
39 size_t cmd_len, void *data, size_t data_len) in spi_flash_cmd_read() argument
41 return spi_flash_read_write(spi, cmd, cmd_len, NULL, data, data_len); in spi_flash_cmd_read()
50 const void *data, size_t data_len) in spi_flash_cmd_write() argument
52 return spi_flash_read_write(spi, cmd, cmd_len, data, NULL, data_len); in spi_flash_cmd_write()
/external/libusb/examples/
Dezusb.c249 size_t data_len = 0; in parse_ihex() local
341 if (data_len != 0 in parse_ihex()
342 && (off != (data_addr + data_len) in parse_ihex()
344 || (data_len + len) > sizeof(data))) { in parse_ihex()
346 external = is_external(data_addr, data_len); in parse_ihex()
347 rc = poke(context, data_addr, external, data, data_len); in parse_ihex()
351 data_len = 0; in parse_ihex()
358 data[data_len + idx] = (uint8_t)strtoul(cp, NULL, 16); in parse_ihex()
361 data_len += len; in parse_ihex()
366 if (data_len != 0) { in parse_ihex()
[all …]
/external/python/cpython3/Lib/asyncio/
Dprotocols.py195 data_len = len(data)
196 while data_len:
197 buf = proto.get_buffer(data_len)
202 if buf_len >= data_len:
203 buf[:data_len] = data
204 proto.buffer_updated(data_len)
210 data_len = len(data)
/external/wpa_supplicant_8/src/drivers/
Ddriver_ndis_.c25 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/u-boot/drivers/spi/
Datcspi200_spi.c86 size_t data_len; member
200 unsigned long data_len = bitlen / 8; in __atcspi200_spi_xfer() local
207 cmd_len = ns->cmd_len = data_len; in __atcspi200_spi_xfer()
216 ns->data_len = data_len; in __atcspi200_spi_xfer()
222 ns->data_len = 0; in __atcspi200_spi_xfer()
225 cmd_len = ns->cmd_len = data_len; in __atcspi200_spi_xfer()
228 data_len = 0; in __atcspi200_spi_xfer()
235 data_in, data_len); in __atcspi200_spi_xfer()
236 num_chunks = DIV_ROUND_UP(data_len, max_tran_len); in __atcspi200_spi_xfer()
240 tran_len = min((size_t)data_len, (size_t)max_tran_len); in __atcspi200_spi_xfer()
[all …]
Dfsl_espi.c24 size_t data_len; member
259 size_t data_len = bitlen / 8; in spi_xfer() local
266 cmd_len = fsl->cmd_len = data_len; in spi_xfer()
275 buf_len = 2 * cmd_len + min(data_len, (size_t)max_tran_len); in spi_xfer()
276 len = cmd_len + data_len; in spi_xfer()
285 memcpy(buffer + cmd_len, data_out, data_len); in spi_xfer()
288 len = data_len; in spi_xfer()
303 num_chunks = DIV_ROUND_UP(data_len, max_tran_len); in spi_xfer()
308 tran_len = min(data_len, (size_t)max_tran_len); in spi_xfer()
311 fsl->data_len = tran_len + cmd_len; in spi_xfer()
[all …]
/external/nos/test/system-test-harness/src/
Druntests.cc47 received.ParseFromArray(reinterpret_cast<char *>(msg.data), msg.data_len); \
57 EXPECT_GT(msg.data_len, 2); \
113 reinterpret_cast<char *>(receive_msg.data), receive_msg.data_len)); in TEST_F()
127 reinterpret_cast<char *>(receive_msg.data), receive_msg.data_len)); in TEST_F()
141 reinterpret_cast<char *>(receive_msg.data), receive_msg.data_len)); in TEST_F()
154 msg.data_len = sizeof(content); in TEST_F()
162 msg.data_len)); in TEST_F()
172 msg.data_len = 256; in TEST_F()
173 for (size_t x = 0; x < msg.data_len; ++x) { in TEST_F()
180 for (size_t x = 0; x < msg.data_len; ++x) { in TEST_F()
[all …]
/external/libopus/tests/
Dopus_encode_regressions.c898 int data_len; in ec_enc_shrink_assert() local
937 data_len = opus_encode(enc, pcm1, 960, data, 2000); in ec_enc_shrink_assert()
938 assert(data_len > 0); in ec_enc_shrink_assert()
945 data_len = opus_encode(enc, pcm2, 2880, data, 122); in ec_enc_shrink_assert()
946 assert(data_len > 0); in ec_enc_shrink_assert()
950 data_len = opus_encode(enc, pcm3, 2880, data, 122); /* assertion failure */ in ec_enc_shrink_assert()
951 assert(data_len > 0); in ec_enc_shrink_assert()
961 int data_len; in ec_enc_shrink_assert2() local
972 data_len = opus_encode(enc, pcm, 960, data, 2000); in ec_enc_shrink_assert2()
973 assert(data_len > 0); in ec_enc_shrink_assert2()
[all …]
/external/webrtc/talk/media/base/
Drtpdump.cc135 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 …]
/external/libchrome/base/
Dpickle.cc238 Pickle::Pickle(const char* data, int data_len) in Pickle() argument
243 if (data_len >= static_cast<int>(sizeof(Header))) in Pickle()
244 header_size_ = data_len - header_->payload_size; in Pickle()
246 if (header_size_ > static_cast<unsigned int>(data_len)) in Pickle()
312 size_t data_len = bits::Align(length, sizeof(uint32_t)); in Reserve() local
313 DCHECK_GE(data_len, length); in Reserve()
315 DCHECK_LE(data_len, std::numeric_limits<uint32_t>::max()); in Reserve()
317 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in Reserve()
318 size_t new_size = write_offset_ + data_len; in Reserve()
405 size_t data_len = bits::Align(length, sizeof(uint32_t)); in ClaimUninitializedBytesInternal() local
[all …]
/external/webrtc/webrtc/base/
Dstream.cc44 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, &current_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 …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_glue.c412 const u8 *data, size_t data_len, in hostapd_wpa_auth_send_eapol() argument
421 size_t hex_len = 2 * data_len + 1; in hostapd_wpa_auth_send_eapol()
426 wpa_snprintf_hex(hex, hex_len, data, data_len); in hostapd_wpa_auth_send_eapol()
438 return hostapd_drv_hapd_send_eapol(hapd, addr, data, data_len, in hostapd_wpa_auth_send_eapol()
497 size_t data_len; member
511 data->data_len); in hostapd_wpa_ft_rrb_rx_later()
523 size_t data_len; member
555 data = os_zalloc(sizeof(*data) + idata->data_len); in hostapd_wpa_auth_ft_iter()
560 os_memcpy(data + 1, idata->data, idata->data_len); in hostapd_wpa_auth_ft_iter()
561 data->data_len = idata->data_len; in hostapd_wpa_auth_ft_iter()
[all …]
/external/ppp/pppd/plugins/pppoatm/
Dans.c46 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()

12345678910>>...13