Home
last modified time | relevance | path

Searched refs:in_len (Results 1 – 4 of 4) sorted by relevance

/packages/modules/adb/pairing_auth/
Daes_128_gcm.cpp50 std::optional<size_t> Aes128Gcm::Encrypt(const uint8_t* in, size_t in_len, uint8_t* out, in Encrypt() argument
56 in, in_len, nullptr, 0)) { in Encrypt()
57 LOG(ERROR) << "Failed to encrypt (in_len=" << in_len << ", out_len=" << out_len in Encrypt()
58 << ", out_len_needed=" << EncryptedSize(in_len) << ")"; in Encrypt()
66 std::optional<size_t> Aes128Gcm::Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, in Decrypt() argument
72 in, in_len, nullptr, 0)) { in Decrypt()
73 LOG(ERROR) << "Failed to decrypt (in_len=" << in_len << ", out_len=" << out_len in Decrypt()
74 << ", out_len_needed=" << DecryptedSize(in_len) << ")"; in Decrypt()
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler.cc257 unsigned ratio, const T* in, int in_stride, size_t in_len, in Upsample() argument
260 int nin = in_len, nout = out_len; in Upsample()
284 *in_count = in_len - nin; in Upsample()
293 unsigned ratio, const T* in, int in_stride, size_t in_len, in Downsample() argument
296 size_t nin = in_len, nout = out_len; in Downsample()
320 *in_count = in_len - nin; in Downsample()
340 void Resample(unsigned ratio_q26, const T* in, int in_stride, size_t in_len, in Resample() argument
346 (this->*fn)(ratio_q26, in, in_stride, in_len, in_count, out, out_stride, in Resample()
/packages/modules/adb/pairing_auth/include/adb/pairing/
Daes_128_gcm.h40 std::optional<size_t> Encrypt(const uint8_t* in, size_t in_len, uint8_t* out, size_t out_len);
48 std::optional<size_t> Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, size_t out_len);
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp233 int32_t in_len = static_cast<int32_t>(inCount); in OutputStream_writeInputBytes() local
241 written = w_ptr->write(in_bytes, in_len); in OutputStream_writeInputBytes()
258 int32_t in_len = static_cast<int32_t>(inCount); in InputStream_readDecodedBytes() local
265 read = r_ptr->read(in_bytes, off, in_len); in InputStream_readDecodedBytes()