Home
last modified time | relevance | path

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

12345678910>>...16

/external/flac/src/libFLAC/include/private/
Dlpc.h57 …indow_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], uint32_t data_len);
71 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
75 void FLAC__lpc_compute_autocorrelation_asm_ia32(const FLAC__real data[], uint32_t data_len, uint32_…
76 …utocorrelation_asm_ia32_sse_lag_4_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
77 …utocorrelation_asm_ia32_sse_lag_8_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
78 …tocorrelation_asm_ia32_sse_lag_12_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
79 …tocorrelation_asm_ia32_sse_lag_16_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
84 …_autocorrelation_intrin_sse_lag_4_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
85 …_autocorrelation_intrin_sse_lag_8_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
86 …autocorrelation_intrin_sse_lag_12_old(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL…
[all …]
Dfixed.h57 uint32_t FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], uint32_t data_len, float resi…
58 uint32_t FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], uint32_t data_len, float…
62 uint32_t FLAC__fixed_compute_best_predictor_intrin_sse2(const FLAC__int32 data[], uint32_t data_len
63 …pute_best_predictor_wide_intrin_sse2(const FLAC__int32 data[], uint32_t data_len, float residual_b…
66 …_compute_best_predictor_intrin_ssse3(const FLAC__int32 data[], uint32_t data_len, float residual_b…
67 …ute_best_predictor_wide_intrin_ssse3(const FLAC__int32 data[], uint32_t data_len, float residual_b…
71 …ute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], uint32_t data_len, float residual_b…
75 uint32_t FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], uint32_t data_len, FLAC__fixe…
76 uint32_t FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], uint32_t data_len, FLAC_…
90 void FLAC__fixed_compute_residual(const FLAC__int32 data[], uint32_t data_len, uint32_t order, FLAC…
[all …]
/external/flac/src/libFLAC/ia32/
Dfixed_asm.nasm44 ; unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 *data, unsigned data_len, float res…
54 ; for(i = 0; i < data_len; i++) {
73 …l_bits_per_sample[0] = (float)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (double)total_err…
74 …l_bits_per_sample[1] = (float)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (double)total_err…
75 …l_bits_per_sample[2] = (float)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (double)total_err…
76 …l_bits_per_sample[3] = (float)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (double)total_err…
77 …l_bits_per_sample[4] = (float)((data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (double)total_err…
85 ; esp + 40 == data_len
104 mov ecx, [esp + 40] ; ecx = data_len
202 …l_bits_per_sample[0] = (float)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (double)total_err…
[all …]
/external/flac/src/libFLAC/
Dfixed.c217 uint32_t FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], uint32_t data_len, float resi… in FLAC__fixed_compute_best_predictor() argument
219 uint32_t FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], uint32_t 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[], uint32_t data_len, uint32_t 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[], uint32_t data_len, uint32_t 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[], uint32_t data_len, uint32_t 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[], uint32_t 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 uint32_t FLAC__fixed_compute_best_predictor_intrin_sse2(const FLAC__int32 data[], uint32_t 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[], uint32_t 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[], uint32_t data_len, uint32_t 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 uint32_t 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, uint32_t data_len, const FLAC__int3… in FLAC__lpc_compute_residual_from_qlp_coefficients() argument
[all …]
Dlpc_intrin_vsx.c50 …ocorrelation_intrin_power8_vsx_lag_16(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL… in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() argument
53 long limit = (long)data_len - 16; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16()
90 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16()
175 for (; i < (long)data_len; i++) { in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16()
179 for (coeff = 0; coeff < data_len - i; coeff++) in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16()
185 …ocorrelation_intrin_power8_vsx_lag_12(const FLAC__real data[], uint32_t data_len, uint32_t lag, FL… in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() argument
188 long limit = (long)data_len - 12; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12()
221 FLAC__ASSERT(lag <= data_len); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12()
294 for (; i < (long)data_len; i++) { in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12()
298 for (coeff = 0; coeff < data_len - i; coeff++) in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12()
[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/arm-trusted-firmware/drivers/brcm/
Dspi_sf.c18 size_t data_len) in spi_flash_read_write() argument
23 if (data_len == 0) in spi_flash_read_write()
30 } else if (data_len != 0) { in spi_flash_read_write()
31 ret = spi_xfer(data_len * BITS_PER_BYTE, data_out, in spi_flash_read_write()
35 data_len, ret); in spi_flash_read_write()
44 size_t data_len) in spi_flash_cmd_read() argument
46 return spi_flash_read_write(cmd, cmd_len, NULL, data, data_len); in spi_flash_cmd_read()
57 size_t data_len) in spi_flash_cmd_write() argument
59 return spi_flash_read_write(cmd, cmd_len, data, NULL, data_len); in spi_flash_cmd_write()
/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/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 …]
/external/arm-trusted-firmware/drivers/auth/
Dcrypto_mod.c67 int crypto_mod_verify_signature(void *data_ptr, unsigned int data_len, in crypto_mod_verify_signature() argument
73 assert(data_len != 0); in crypto_mod_verify_signature()
81 return crypto_lib_desc.verify_signature(data_ptr, data_len, in crypto_mod_verify_signature()
95 int crypto_mod_verify_hash(void *data_ptr, unsigned int data_len, in crypto_mod_verify_hash() argument
99 assert(data_len != 0); in crypto_mod_verify_hash()
103 return crypto_lib_desc.verify_hash(data_ptr, data_len, in crypto_mod_verify_hash()
118 unsigned int data_len, unsigned char *output) in crypto_mod_calc_hash() argument
121 assert(data_len != 0); in crypto_mod_calc_hash()
124 return crypto_lib_desc.calc_hash(alg, data_ptr, data_len, output); in crypto_mod_calc_hash()
/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.py205 data_len = len(data)
206 while data_len:
207 buf = proto.get_buffer(data_len)
212 if buf_len >= data_len:
213 buf[:data_len] = data
214 proto.buffer_updated(data_len)
220 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/mesa3d/src/intel/tools/
Daub_read.h45 void (*local_write)(void *user_data, uint64_t phys_addr, const void *data, uint32_t data_len);
46 void (*phys_write)(void *user_data, uint64_t phys_addr, const void *data, uint32_t data_len);
47 void (*ggtt_write)(void *user_data, uint64_t phys_addr, const void *data, uint32_t data_len);
49 const void *data, uint32_t data_len);
54 const void *data, uint32_t data_len);
69 int aub_read_command(struct aub_read *read, const void *data, uint32_t data_len);
/external/python/asn1crypto/asn1crypto/
Dparser.py139 def _parse(encoded_data, data_len, pointer=0, lengths_only=False): argument
163 if data_len < pointer + 2:
164 raise ValueError(_INSUFFICIENT_DATA_MESSAGE % (2, data_len - pointer))
204 while contents_end < data_len:
205 … sub_header_end, contents_end = _parse(encoded_data, data_len, contents_end, lengths_only=True)
210 if contents_end > data_len:
211 raise ValueError(_INSUFFICIENT_DATA_MESSAGE % (contents_end, data_len))
224 if contents_end > data_len:
225 raise ValueError(_INSUFFICIENT_DATA_MESSAGE % (contents_end, data_len))
/external/libsrtp2/crypto/test/
Dsha1_driver.c62 unsigned data_len; /* number of octets in data */ member
73 unsigned data_len, in hash_test_case_add() argument
86 data_len * 2); in hash_test_case_add()
87 if (tmp_len != data_len * 2) { in hash_test_case_add()
99 test_case->data_len = data_len; in hash_test_case_add()
119 if (test_case->data_len > MAX_HASH_DATA_LEN) in sha1_test_case_validate()
123 srtp_sha1_update(&ctx, test_case->data, test_case->data_len); in sha1_test_case_validate()
/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/arm-trusted-firmware/include/drivers/auth/
Dcrypto_mod.h41 int (*verify_signature)(void *data_ptr, unsigned int data_len,
47 int (*verify_hash)(void *data_ptr, unsigned int data_len,
53 unsigned int data_len, unsigned char *output);
69 int crypto_mod_verify_signature(void *data_ptr, unsigned int data_len,
73 int crypto_mod_verify_hash(void *data_ptr, unsigned int data_len,
83 unsigned int data_len, unsigned char *output);
/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/perfetto/src/trace_processor/rpc/
Dproto_ring_buffer.cc80 void ProtoRingBuffer::Append(const void* data_void, size_t data_len) { in Append() argument
96 auto msg = TryReadMessage(data, data + data_len); in Append()
97 if (msg.valid() && msg.end() == (data + data_len)) { in Append()
109 if (data_len > avail) { in Append()
126 if (data_len > avail) { in Append()
134 while (data_len > new_size - wr_) in Append()
150 memcpy(&buf[wr_], data, data_len); in Append()
151 wr_ += data_len; in Append()

12345678910>>...16