/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 | 24 * @data_len: Length of data in bytes 30 u8 *data, size_t data_len, u8 *tag) 38 if (nonce_len > data_len) 41 buf_len = data_len; 62 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len)) 65 os_memcpy(buf + 16, data, data_len); 66 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) 88 * @data_len: Length of data in bytes 94 u8 *data, size_t data_len, const u8 *tag) 102 if (nonce_len > data_len) [all...] |
sha256.h | 17 size_t data_len, u8 *mac); 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 21 const u8 *data, size_t data_len, u8 *buf,
|
aes-cbc.c | 21 * @data_len: Length of data in bytes (must be divisible by 16) 24 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) 36 blocks = data_len / AES_BLOCK_SIZE; 54 * @data_len: Length of data in bytes (must be divisible by 16) 57 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) 69 blocks = data_len / AES_BLOCK_SIZE;
|
aes_wrap.h | 26 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 30 u8 *data, size_t data_len); 34 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);
|
sha1.h | 16 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
md5.h | 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
|
aes-ctr.c | 21 * @data_len: Length of data in bytes 25 u8 *data, size_t data_len) 28 size_t j, len, left = data_len;
|
sha256-prf.c | 22 * @data_len: Length of the data 30 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 32 sha256_prf_bits(key, key_len, label, data, data_len, buf, buf_len * 8); 42 * @data_len: Length of the data 52 const u8 *data, size_t data_len, u8 *buf, 68 len[2] = 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/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/chromium_org/net/quic/ |
quic_data_stream.cc | 31 uint32 StripUint32(const char* data, uint32 data_len, 36 if (data_len < missing_size) { 37 StringPiece(data, data_len).AppendToString(partial_data_buffer); 38 return data_len; 120 uint32 QuicDataStream::ProcessRawData(const char* data, uint32 data_len) { 121 DCHECK_NE(0u, data_len); 125 total_bytes_consumed += StripPriorityAndHeaderId(data, data_len); 127 data_len -= total_bytes_consumed; 128 if (data_len == 0 || total_bytes_consumed == 0) { 142 total_bytes_consumed += ProcessData(data, data_len); [all...] |
quic_crypto_stream.cc | 37 uint32 data_len) { 43 if (!crypto_framer_.ProcessInput(StringPiece(data, data_len))) { 47 return data_len;
|
/external/wpa_supplicant_8/src/tls/ |
pkcs5.h | 14 const char *passwd, size_t *data_len);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_ndis_.c | 25 const u8 *data, size_t data_len); 46 size_t data_len = 0; local 56 data_len = (int) *pos++ << 8; 57 data_len += *pos++; 58 if (data_len > (size_t) (buf + len - pos)) { 63 wpa_hexdump(MSG_MSGDUMP, "NDIS: event data", data, data_len); 74 wpa_driver_ndis_event_media_specific(drv, data, data_len);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
offchannel.h | 19 const u8 *data, size_t data_len, 31 size_t data_len, enum offchannel_send_action_result result);
|
/external/chromium_org/rlz/lib/ |
string_utils.h | 17 int 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/chromium_org/content/child/npapi/ |
npruntime_util.cc | 37 int data_len; local 38 if (!pickle_iter->ReadData(&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_org/base/ |
pickle.cc | 184 Pickle::Pickle(const char* data, int data_len) 189 if (data_len >= static_cast<int>(sizeof(Header))) 190 header_size_ = data_len - header_->payload_size; 192 if (header_size_ > static_cast<unsigned int>(data_len)) 272 size_t data_len = AlignInt(length, sizeof(uint32)); local 273 DCHECK_GE(data_len, length); 275 DCHECK_LE(data_len, kuint32max); 277 DCHECK_LE(write_offset_, kuint32max - data_len); 278 size_t new_size = write_offset_ + data_len; 321 size_t data_len = AlignInt(length, sizeof(uint32)) local [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_8/wpa_supplicant/tests/ |
test_wpa.c | 95 u16 data_len, size_t *msg_len, void **data_pos) 99 wpa_printf(MSG_DEBUG, "SUPP: %s(type=%d data_len=%d)", 100 __func__, type, data_len); 102 *msg_len = sizeof(*hdr) + data_len; 109 hdr->length = host_to_be16(data_len); 112 os_memcpy(hdr + 1, data, data_len); 114 os_memset(hdr + 1, 0, data_len); 236 size_t data_len, int encrypt) 240 wpa_printf(MSG_DEBUG, "AUTH: %s(addr=" MACSTR " data_len=%lu " 242 __func__, MAC2STR(addr), (unsigned long) data_len, encrypt) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_eke_common.c | 212 size_t data_len, const u8 *data2, size_t data2_len, 220 len[0] = data_len; 237 size_t data_len, u8 *res, size_t len) 249 vlen[1] = data_len; 278 size_t data_len, u8 *res, size_t len) 290 vlen[1] = data_len; 319 const u8 *data, size_t data_len, u8 *res, size_t len) 322 return eap_eke_prf_hmac_sha1(key, key_len, data, data_len, res, 325 return eap_eke_prf_hmac_sha256(key, key_len, data, data_len, 459 size_t data_len; local 512 size_t data_len; local 558 size_t data_len; local [all...] |