Home
last modified time | relevance | path

Searched refs:input_len (Results 1 – 25 of 27) sorted by relevance

12

/external/boringssl/src/decrepit/cfb/
Dcfb_test.cc54 const size_t input_len = sizeof(test.plaintext); in TEST() local
55 std::unique_ptr<uint8_t[]> out(new uint8_t[input_len]); in TEST()
57 for (size_t stride = 1; stride <= input_len; stride++) { in TEST()
63 while (done < input_len) { in TEST()
65 if (todo > input_len - done) { in TEST()
66 todo = input_len - done; in TEST()
77 EXPECT_EQ(Bytes(test.ciphertext), Bytes(out.get(), input_len)); in TEST()
84 std::unique_ptr<uint8_t[]> plaintext(new uint8_t[input_len]); in TEST()
87 &num_bytes, out.get(), input_len)); in TEST()
88 EXPECT_EQ(static_cast<size_t>(num_bytes), input_len); in TEST()
[all …]
/external/boringssl/src/decrepit/ripemd/
Dripemd_test.cc66 const size_t input_len = strlen(test.input); in TEST() local
68 for (size_t stride = 0; stride <= input_len; stride++) { in TEST()
72 RIPEMD160(reinterpret_cast<const uint8_t *>(test.input), input_len, in TEST()
78 for (size_t done = 0; done < input_len;) { in TEST()
79 const size_t remaining = input_len - done; in TEST()
/external/adhd/cras/src/common/
Dcras_sbc_codec.c26 size_t input_len, void *output, size_t output_len, in cras_sbc_decode() argument
37 while (input_len > processed && output_len > result) { in cras_sbc_decode()
40 input_len - processed, in cras_sbc_decode()
55 size_t input_len, void *output, size_t output_len, in cras_sbc_encode() argument
64 while (input_len - processed >= data->codesize && in cras_sbc_encode()
Dcras_audio_codec.h20 size_t input_len, void *output, size_t output_len,
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.cc111 size_t input_len, in EncodeCall() argument
113 return WebRtcG711_EncodeA(audio, input_len, encoded); in EncodeCall()
124 size_t input_len, in EncodeCall() argument
126 return WebRtcG711_EncodeU(audio, input_len, encoded); in EncodeCall()
Daudio_encoder_pcm.h54 size_t input_len,
83 size_t input_len,
105 size_t input_len,
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc162 size_t input_len, void *output, size_t output_len, in decode() argument
165 return input_len; in decode()
169 size_t input_len, void *output, size_t output_len, in encode() argument
174 return input_len; in encode()
/external/dynamic_depth/internal/strings/
Descaping.cc505 size_t CalculateBase64EscapedLenInternal(size_t input_len, bool do_padding) { in CalculateBase64EscapedLenInternal() argument
520 size_t len = (input_len / 3) * 4; in CalculateBase64EscapedLenInternal()
522 if (input_len % 3 == 0) { in CalculateBase64EscapedLenInternal()
527 } else if (input_len % 3 == 1) { in CalculateBase64EscapedLenInternal()
547 assert(len >= input_len); // make sure we didn't overflow in CalculateBase64EscapedLenInternal()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc24 size_t input_len, in Process() argument
37 signal_len = input_len; in Process()
42 signal_len = input_len / num_channels_; in Process()
143 CheckCriteriaAndStretch(input, input_len, peak_index, best_correlation, in Process()
Dnormal_unittest.cc113 size_t input_len = 80 * channels - 1; in TEST() local
117 input, input_len, kModeExpand, mute_factor_array.get(), &output)); in TEST()
Dtime_stretch.h60 size_t input_len,
/external/webrtc/webrtc/base/
Dsha1.cc233 void SHA1Update(SHA1_CTX* context, const uint8_t* data, size_t input_len) { in SHA1Update() argument
248 context->count[0] += static_cast<uint32_t>(input_len << 3); in SHA1Update()
249 if (context->count[0] < static_cast<uint32_t>(input_len << 3)) { in SHA1Update()
252 context->count[1] += static_cast<uint32_t>(input_len >> 29); in SHA1Update()
253 if ((index + input_len) > 63) { in SHA1Update()
257 for (; i + 63 < input_len; i += 64) { in SHA1Update()
262 memcpy(&context->buffer[index], &data[i], input_len - i); in SHA1Update()
/external/pdfium/third_party/libpng16/
Dpngwutil.c473 png_alloc_size_t input_len; /* Its length */ member
480 png_alloc_size_t input_len) in png_text_compress_init() argument
483 comp->input_len = input_len; in png_text_compress_init()
504 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
517 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local
532 if (avail_in > input_len) in png_text_compress()
533 avail_in = (uInt)input_len; in png_text_compress()
535 input_len -= avail_in; in png_text_compress()
582 input_len > 0 ? Z_NO_FLUSH : Z_FINISH); in png_text_compress()
587 input_len += png_ptr->zstream.avail_in; in png_text_compress()
[all …]
/external/libpng/
Dpngwutil.c473 png_alloc_size_t input_len; /* Its length */ member
480 png_alloc_size_t input_len) in png_text_compress_init() argument
483 comp->input_len = input_len; in png_text_compress_init()
504 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
517 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local
532 if (avail_in > input_len) in png_text_compress()
533 avail_in = (uInt)input_len; in png_text_compress()
535 input_len -= avail_in; in png_text_compress()
582 input_len > 0 ? Z_NO_FLUSH : Z_FINISH); in png_text_compress()
587 input_len += png_ptr->zstream.avail_in; in png_text_compress()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
Daudio_encoder_pcm16b.cc20 size_t input_len, in EncodeCall() argument
22 return WebRtcPcm16b_Encode(audio, input_len, encoded); in EncodeCall()
Daudio_encoder_pcm16b.h37 size_t input_len,
/external/curl/src/
Dtool_metalink.c283 unsigned int input_len) in MD5_Update() argument
285 PK11_DigestOp(*pctx, input, input_len); in MD5_Update()
300 unsigned int input_len) in SHA1_Update() argument
302 PK11_DigestOp(*pctx, input, input_len); in SHA1_Update()
317 unsigned int input_len) in SHA256_Update() argument
319 PK11_DigestOp(*pctx, input, input_len); in SHA256_Update()
/external/freetype/src/gzip/
Dftgzip.c726 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
740 stream.avail_in = (uInt)input_len; in FT_Gzip_Uncompress()
798 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
804 FT_UNUSED( input_len ); in FT_Gzip_Uncompress()
/external/freetype/include/freetype/
Dftgzip.h141 FT_ULong input_len );
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc452 static void TestValidPrivateKey(const uint8_t *input, size_t input_len, in TestValidPrivateKey() argument
455 bssl::UniquePtr<EVP_PKEY> pkey(d2i_AutoPrivateKey(NULL, &p, input_len)); in TestValidPrivateKey()
457 EXPECT_EQ(input + input_len, p); in TestValidPrivateKey()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1632 int CalculateBase64EscapedLen(int input_len, bool do_padding) { in CalculateBase64EscapedLen() argument
1648 int len = (input_len / 3) * 4; in CalculateBase64EscapedLen()
1650 if (input_len % 3 == 0) { in CalculateBase64EscapedLen()
1655 } else if (input_len % 3 == 1) { in CalculateBase64EscapedLen()
1675 assert(len >= input_len); // make sure we didn't overflow in CalculateBase64EscapedLen()
1680 int CalculateBase64EscapedLen(int input_len) { in CalculateBase64EscapedLen() argument
1681 return CalculateBase64EscapedLen(input_len, true); in CalculateBase64EscapedLen()
Dstrutil.h818 LIBPROTOBUF_EXPORT int CalculateBase64EscapedLen(int input_len,
821 LIBPROTOBUF_EXPORT int CalculateBase64EscapedLen(int input_len);
/external/syzkaller/pkg/report/testdata/linux/report/
D12716 input_len: 0x0000000001e7f701
/external/tensorflow/tensorflow/python/framework/
Dops.py2028 input_len = attrs[input_arg.number_attr].i
2031 input_len = len(attrs[input_arg.type_list_attr].list.type)
2034 input_len = 1
2038 grouped_inputs.append(inputs[i:i + input_len])
2041 i += input_len
/external/python/cpython3/Modules/
D_pickle.c657 Py_ssize_t input_len; member
1176 self->input_len = self->buffer.len; in _Unpickler_SetStringInput()
1178 self->prefetched_idx = self->input_len; in _Unpickler_SetStringInput()
1179 return self->input_len; in _Unpickler_SetStringInput()
1292 assert(self->next_read_idx + n > self->input_len); in _Unpickler_ReadImpl()
1321 (((n) <= (self)->input_len - (self)->next_read_idx) \
1353 for (i = self->next_read_idx; i < self->input_len; i++) { in _Unpickler_Readline()
1470 self->input_len = 0; in _Unpickler_New()

12