Home
last modified time | relevance | path

Searched refs:kChunkSize (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/webrtc/common_audio/
Dswap_queue_unittest.cc22 const size_t kChunkSize = 3; variable
26 return v.size() == kChunkSize; in LengthVerifierFunction()
45 std::vector<int> i(kChunkSize, 0); in TEST()
49 EXPECT_EQ(i.size(), kChunkSize); in TEST()
51 EXPECT_EQ(i.size(), kChunkSize); in TEST()
53 EXPECT_EQ(i.size(), kChunkSize); in TEST()
55 EXPECT_EQ(i.size(), kChunkSize); in TEST()
111 std::vector<int> template_element(kChunkSize); in TEST()
115 std::vector<int> valid_chunk(kChunkSize, 0); in TEST()
118 EXPECT_EQ(valid_chunk.size(), kChunkSize); in TEST()
[all …]
Dblocker_unittest.cc129 const size_t kChunkSize = 5; in TEST_F() local
149 ChannelBuffer<float> input_chunk_cb(kChunkSize, kNumInputChannels); in TEST_F()
150 ChannelBuffer<float> output_chunk_cb(kChunkSize, kNumOutputChannels); in TEST_F()
153 Blocker blocker(kChunkSize, in TEST_F()
162 kChunkSize, in TEST_F()
182 const size_t kChunkSize = 6; in TEST_F() local
202 ChannelBuffer<float> input_chunk_cb(kChunkSize, kNumInputChannels); in TEST_F()
203 ChannelBuffer<float> output_chunk_cb(kChunkSize, kNumOutputChannels); in TEST_F()
206 Blocker blocker(kChunkSize, in TEST_F()
215 kChunkSize, in TEST_F()
[all …]
/external/libchrome/crypto/
Dhmac_win.cc36 const unsigned int kChunkSize = 1 << 30; in Wrapped_SHA256_Update() local
37 while (text_len > kChunkSize) { in Wrapped_SHA256_Update()
38 SHA256_Update(ctx, text, kChunkSize); in Wrapped_SHA256_Update()
39 text += kChunkSize; in Wrapped_SHA256_Update()
40 text_len -= kChunkSize; in Wrapped_SHA256_Update()
/external/llvm/lib/Support/
DStreamingMemoryObject.cpp81 size_t pos = BytesRead + kChunkSize; in getExtent()
83 while (fetchToPos(pos)) pos += kChunkSize; in getExtent()
128 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject()
130 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
/external/llvm/include/llvm/Support/
DStreamingMemoryObject.h54 static const uint32_t kChunkSize = 4096 * 4; variable
74 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
76 kChunkSize); in fetchToPos()
/external/webrtc/webrtc/base/
Dsslidentity.cc128 static const size_t kChunkSize = 64; in DerToPem() local
129 size_t chunks = (b64_encoded.size() + (kChunkSize - 1)) / kChunkSize; in DerToPem()
131 ++i, chunk_offset += kChunkSize) { in DerToPem()
132 result << b64_encoded.substr(chunk_offset, kChunkSize); in DerToPem()
/external/boringssl/src/crypto/cipher/
De_rc2.c377 static const size_t kChunkSize = 0x10000; in rc2_cbc_cipher() local
379 while (inl >= kChunkSize) { in rc2_cbc_cipher()
380 RC2_cbc_encrypt(in, out, kChunkSize, &key->ks, ctx->iv, ctx->encrypt); in rc2_cbc_cipher()
381 inl -= kChunkSize; in rc2_cbc_cipher()
382 in += kChunkSize; in rc2_cbc_cipher()
383 out += kChunkSize; in rc2_cbc_cipher()
/external/llvm/utils/unittest/googletest/src/
Dgtest-printers.cc92 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
100 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
103 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/mesa3d/src/gtest/src/
Dgtest-printers.cc92 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
100 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
103 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-printers.cc84 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
95 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/gtest/src/
Dgtest-printers.cc84 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
95 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-printers.cc84 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
95 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/boringssl/src/crypto/bio/
Dbio.c480 static const size_t kChunkSize = 4096; in bio_read_all() local
482 size_t len = prefix_len + kChunkSize; in bio_read_all()
513 if (len < max_len && len - done < kChunkSize / 2) { in bio_read_all()
514 len += kChunkSize; in bio_read_all()
515 if (len < kChunkSize || len > max_len) { in bio_read_all()
/external/v8/src/
Dbignum.cc207 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
212 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
338 if ((1 << (2 * (kChunkSize - kBigitSize))) <= used_digits_) { in Square()
739 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
746 borrow = difference >> (kChunkSize - 1); in SubtractTimes()
Dbignum.h79 static const int kChunkSize = sizeof(Chunk) * 8; variable
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-printers.h617 const size_t kChunkSize = 8; in UniversalPrintArray() local
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
/external/mesa3d/src/gtest/include/gtest/
Dgtest-printers.h617 const size_t kChunkSize = 8; in UniversalPrintArray() local
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-printers.h617 const size_t kChunkSize = 8; in UniversalPrintArray() local
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest-printers.h617 const size_t kChunkSize = 8; in UniversalPrintArray() local
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
/external/gtest/include/gtest/
Dgtest-printers.h617 const size_t kChunkSize = 8; in UniversalPrintArray() local
625 PrintRawArrayTo(begin, kChunkSize, os); in UniversalPrintArray()
627 PrintRawArrayTo(begin + len - kChunkSize, kChunkSize, os); in UniversalPrintArray()
/external/libchrome/base/
Dpickle_unittest.cc546 static const int kChunkSize = 64; in TEST() local
548 const char* bytes = static_cast<const char*>(pickle.ClaimBytes(kChunkSize)); in TEST()
549 for (size_t i = 0; i < kChunkSize; ++i) { in TEST()
/external/piex/src/
Dtiff_parser.cc325 const size_t kChunkSize = 1048576; in GetData() local
330 size_t chunk_length = kChunkSize; in GetData()
331 if (length - data.size() < kChunkSize) { in GetData()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp102 static size_t InputSize = StreamingMemoryObject::kChunkSize + 5; in TEST()
/external/opencv3/modules/ts/src/
Dts_gtest.cpp9138 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
9146 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
9149 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
Dgtest-all.cc9097 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() local
9105 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl()
9108 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()

12