/external/flac/libFLAC/ia32/ |
fixed_asm.nasm | 43 ; unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 *data, unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 53 ; for(i = 0; i < data_len; i++) { 72 ; residual_bits_per_sample[0] = (FLAC__float)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0); 73 ; residual_bits_per_sample[1] = (FLAC__float)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0); 74 ; residual_bits_per_sample[2] = (FLAC__float)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data_len) / M_LN2 : 0.0); 75 ; residual_bits_per_sample[3] = (FLAC__float)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data_len) / M_LN2 : 0.0) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-eax.c | 30 * @data_len: Length of data in bytes 36 u8 *data, size_t data_len, u8 *tag) 44 if (nonce_len > data_len) 47 buf_len = data_len; 68 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len)) 71 os_memcpy(buf + 16, data, data_len); 72 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) 94 * @data_len: Length of data in bytes 100 u8 *data, size_t data_len, const u8 *tag) 108 if (nonce_len > data_len) [all...] |
aes_wrap.h | 30 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 34 u8 *data, size_t data_len); 38 u8 *data, size_t data_len, u8 *tag); 42 u8 *data, size_t data_len, const u8 *tag); 44 size_t data_len); 46 size_t data_len);
|
aes-cbc.c | 27 * @data_len: Length of data in bytes (must be divisible by 16) 30 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) 42 blocks = data_len / AES_BLOCK_SIZE; 60 * @data_len: Length of data in bytes (must be divisible by 16) 63 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) 75 blocks = data_len / AES_BLOCK_SIZE;
|
md5.h | 22 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 29 size_t data_len, u8 *mac);
|
sha256.h | 23 size_t data_len, u8 *mac); 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
aes-ctr.c | 27 * @data_len: Length of data in bytes 31 u8 *data, size_t data_len) 34 size_t j, len, left = data_len;
|
/external/chromium/crypto/ |
encryptor_win.cc | 81 DWORD data_len = plaintext.size(); local 82 DWORD total_len = data_len + block_size_; 86 memcpy(&tmp[0], plaintext.data(), data_len); 89 &data_len, total_len); 93 ciphertext->assign(reinterpret_cast<char*>(&tmp[0]), data_len); 98 DWORD data_len = ciphertext.size(); local 99 if (data_len == 0) 102 std::vector<BYTE> tmp(data_len); 103 memcpy(&tmp[0], ciphertext.data(), data_len); 105 BOOL ok = CryptDecrypt(capi_key_.get(), NULL, TRUE, 0, &tmp[0], &data_len); 111 plaintext->assign(reinterpret_cast<char*>(&tmp[0]), data_len); local [all...] |
/external/wpa_supplicant/ |
aes_wrap.h | 29 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac); 32 u8 *data, size_t data_len); 35 u8 *data, size_t data_len, u8 *tag); 38 u8 *data, size_t data_len, const u8 *tag); 40 size_t data_len); 42 size_t data_len);
|
driver_ndis_.c | 34 const u8 *data, size_t data_len); 55 size_t data_len = 0; local 65 data_len = (int) *pos++ << 8; 66 data_len += *pos++; 67 if (data_len > (size_t) (buf + len - pos)) { 72 wpa_hexdump(MSG_MSGDUMP, "NDIS: event data", data, data_len); 83 wpa_driver_ndis_event_media_specific(drv, data, data_len);
|
sha256.h | 23 size_t data_len, u8 *mac); 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
aes_wrap.c | 245 * @data_len: Length of data buffer in bytes 253 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) 255 return omac1_aes_128_vector(key, 1, &data, &data_len, mac); 287 * @data_len: Length of data in bytes 291 u8 *data, size_t data_len) 294 size_t j, len, left = data_len; 336 * @data_len: Length of data in bytes 342 u8 *data, size_t data_len, u8 *tag) 349 if (nonce_len > data_len) 352 buf_len = data_len; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
aes_wrap.h | 30 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 34 u8 *data, size_t data_len); 38 u8 *data, size_t data_len, u8 *tag); 42 u8 *data, size_t data_len, const u8 *tag); 44 size_t data_len); 46 size_t data_len);
|
sha256.h | 23 size_t data_len, u8 *mac); 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
aes_wrap.c | 248 * @data_len: Length of data buffer in bytes 256 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) 258 return omac1_aes_128_vector(key, 1, &data, &data_len, mac); 292 * @data_len: Length of data in bytes 296 u8 *data, size_t data_len) 299 size_t j, len, left = data_len; 341 * @data_len: Length of data in bytes 347 u8 *data, size_t data_len, u8 *tag) 354 if (nonce_len > data_len) 357 buf_len = data_len; [all...] |
/external/flac/libFLAC/include/private/ |
lpc.h | 50 * IN in[0,data_len-1] 51 * IN window[0,data_len-1] 53 * IN data_len 55 void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len); 61 * Assumes data[] outside of [0,data_len-1] == 0. 64 * IN data[0,data_len-1] 65 * IN data_len 66 * IN 0 < lag <= data_len 69 void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]); 73 void FLAC__lpc_compute_autocorrelation_asm_ia32(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]) [all...] |
fixed.h | 50 * IN data[0,data_len-1] 51 * IN data_len 55 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 59 unsigned FLAC__fixed_compute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 63 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 65 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 66 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 75 * IN data[-order,data_len-1] original signal (NOTE THE INDICES!) 76 * IN data_len length of original signal 78 * OUT residual[0,data_len-1] residual signa [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_ndis_.c | 31 const u8 *data, size_t data_len); 52 size_t data_len = 0; local 62 data_len = (int) *pos++ << 8; 63 data_len += *pos++; 64 if (data_len > (size_t) (buf + len - pos)) { 69 wpa_hexdump(MSG_MSGDUMP, "NDIS: event data", data, data_len); 80 wpa_driver_ndis_event_media_specific(drv, data, data_len);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_ndis_.c | 31 const u8 *data, size_t data_len); 52 size_t data_len = 0; local 62 data_len = (int) *pos++ << 8; 63 data_len += *pos++; 64 if (data_len > (size_t) (buf + len - pos)) { 69 wpa_hexdump(MSG_MSGDUMP, "NDIS: event data", data, data_len); 80 wpa_driver_ndis_event_media_specific(drv, data, data_len);
|
/external/chromium/webkit/glue/ |
npruntime_util.cc | 37 int data_len; local 38 if (!pickle.ReadData(pickle_iter, &data, &data_len)) 40 DCHECK_EQ((static_cast<size_t>(data_len)), strlen(data) + 1);
|
/external/flac/libFLAC/ |
fixed.c | 224 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 226 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 237 for(i = 0; i < data_len; i++) { 259 FLAC__ASSERT(data_len > 0 || total_error_0 == 0); 260 FLAC__ASSERT(data_len > 0 || total_error_1 == 0); 261 FLAC__ASSERT(data_len > 0 || total_error_2 == 0); 262 FLAC__ASSERT(data_len > 0 || total_error_3 == 0); 263 FLAC__ASSERT(data_len > 0 || total_error_4 == 0); 265 residual_bits_per_sample[0] = (FLAC__float)((total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0); 266 residual_bits_per_sample[1] = (FLAC__float)((total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0) [all...] |
/external/chromium/net/spdy/ |
spdy_frame_builder.cc | 23 SpdyFrameBuilder::SpdyFrameBuilder(const char* data, int data_len) 26 length_(data_len), 116 bool SpdyFrameBuilder::WriteBytes(const void* data, uint16 data_len) { 119 char* dest = BeginWrite(data_len); 123 memcpy(dest, data, data_len); 125 EndWrite(dest, data_len); 126 length_ += data_len;
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_wpa.c | 109 u16 data_len, size_t *msg_len, void **data_pos) 113 wpa_printf(MSG_DEBUG, "SUPP: %s(type=%d data_len=%d)", 114 __func__, type, data_len); 116 *msg_len = sizeof(*hdr) + data_len; 123 hdr->length = host_to_be16(data_len); 126 os_memcpy(hdr + 1, data, data_len); 128 os_memset(hdr + 1, 0, data_len); 257 size_t data_len, int encrypt) 261 wpa_printf(MSG_DEBUG, "AUTH: %s(addr=" MACSTR " data_len=%lu " 263 __func__, MAC2STR(addr), (unsigned long) data_len, encrypt) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
test_wpa.c | 101 u16 data_len, size_t *msg_len, void **data_pos) 105 wpa_printf(MSG_DEBUG, "SUPP: %s(type=%d data_len=%d)", 106 __func__, type, data_len); 108 *msg_len = sizeof(*hdr) + data_len; 115 hdr->length = host_to_be16(data_len); 118 os_memcpy(hdr + 1, data, data_len); 120 os_memset(hdr + 1, 0, data_len); 242 size_t data_len, int encrypt) 246 wpa_printf(MSG_DEBUG, "AUTH: %s(addr=" MACSTR " data_len=%lu " 248 __func__, MAC2STR(addr), (unsigned long) data_len, encrypt) [all...] |
/system/core/libdiskconfig/ |
write_lst.c | 30 alloc_wl(uint32_t data_len) 34 if (!(item = malloc(sizeof(struct write_list) + data_len))) { 39 item->len = data_len;
|