Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libjingle/source/talk/base/
Dsslidentity.cc95 static const size_t kChunkSize = 64; in DerToPem() local
96 size_t chunks = (b64_encoded.size() + (kChunkSize - 1)) / kChunkSize; in DerToPem()
98 ++i, chunk_offset += kChunkSize) { in DerToPem()
99 result << b64_encoded.substr(chunk_offset, kChunkSize); in DerToPem()
/external/llvm/include/llvm/Support/
DStreamableMemoryObject.h138 const static uint32_t kChunkSize = 4096 * 4;
154 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos()
156 kChunkSize); in fetchToPos()
158 if (bytes < kChunkSize) { in fetchToPos()
/external/chromium_org/crypto/
Dhmac_win.cc35 const unsigned int kChunkSize = 1 << 30; in Wrapped_SHA256_Update() local
36 while (text_len > kChunkSize) { in Wrapped_SHA256_Update()
37 SHA256_Update(ctx, text, kChunkSize); in Wrapped_SHA256_Update()
38 text += kChunkSize; in Wrapped_SHA256_Update()
39 text_len -= kChunkSize; in Wrapped_SHA256_Update()
/external/chromium_org/gpu/command_buffer/client/
Dmapped_memory_unittest.cc311 const unsigned int kChunkSize = 2048; in TEST_F() local
313 manager_.reset(new MappedMemoryManager(helper_.get(), kChunkSize)); in TEST_F()
314 manager_->set_chunk_size_multiple(kChunkSize); in TEST_F()
319 void* mem1 = manager_->Alloc(kChunkSize, &id1, &offset1); in TEST_F()
328 void* mem2 = manager_->Alloc(kChunkSize, &id2, &offset2); in TEST_F()
335 EXPECT_EQ(2 * kChunkSize, manager_->allocated_memory()); in TEST_F()
342 const unsigned int kChunkSize = 2 * 1024; in TEST_F() local
343 manager_->set_chunk_size_multiple(kChunkSize); in TEST_F()
384 EXPECT_EQ(1 * kChunkSize, manager_->allocated_memory()); in TEST_F()
/external/llvm/lib/Support/
DStreamableMemoryObject.cpp97 size_t pos = BytesRead + kChunkSize; in getExtent()
99 while (fetchToPos(pos)) pos += kChunkSize; in getExtent()
137 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0), in StreamingMemoryObject()
139 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
/external/chromium_org/net/websockets/
Dwebsocket_deflate_stream.cc32 const size_t kChunkSize = 4 * 1024; variable
42 inflater_(kChunkSize, kChunkSize), in WebSocketDeflateStream()
143 if (deflater_.CurrentOutputSize() >= kChunkSize || in Deflate()
320 while (inflater_.CurrentOutputSize() >= kChunkSize || in Inflate()
322 size_t size = std::min(kChunkSize, inflater_.CurrentOutputSize()); in Inflate()
Dwebsocket_basic_stream_test.cc382 const size_t kChunkSize = 16; in TEST_F() local
386 kChunkSize, in TEST_F()
394 EXPECT_EQ(kChunkSize - kLargeFrameHeaderSize, in TEST_F()
401 EXPECT_EQ(kChunkSize, frames_[0]->header.payload_length); in TEST_F()
771 const size_t kChunkSize = 3; in TEST_F() local
773 SYNCHRONOUS, kCloseFrame, kCloseFrameSize, kChunkSize, 3, LAST_FRAME_BIG); in TEST_F()
783 const size_t kChunkSize = 3; in TEST_F() local
785 ASYNC, kCloseFrame, kCloseFrameSize, kChunkSize, 3, LAST_FRAME_BIG); in TEST_F()
/external/chromium/testing/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/llvm/utils/unittest/googletest/
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/chromium_org/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/chromium_org/third_party/mesa/src/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/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/chromium_org/net/cert/
Dx509_certificate.cc673 static const size_t kChunkSize = 64; in GetPEMEncodedFromDER() local
674 size_t chunks = (b64_encoded.size() + (kChunkSize - 1)) / kChunkSize; in GetPEMEncodedFromDER()
676 ++i, chunk_offset += kChunkSize) { in GetPEMEncodedFromDER()
677 pem_encoded->append(b64_encoded, chunk_offset, kChunkSize); in GetPEMEncodedFromDER()
/external/chromium_org/v8/tools/testrunner/local/
Dexecution.py124 kChunkSize = 1
125 it = pool.imap_unordered(RunTest, queue, kChunkSize)
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Dbignum.cc230 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
235 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
361 if ((1 << (2 * (kChunkSize - kBigitSize))) <= used_digits_) { in Square()
754 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
761 borrow = difference >> (kChunkSize - 1); in SubtractTimes()
/external/chromium_org/v8/src/
Dbignum.cc229 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
234 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
360 if ((1 << (2 * (kChunkSize - kBigitSize))) <= used_digits_) { in Square()
761 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
768 borrow = difference >> (kChunkSize - 1); in SubtractTimes()
/external/v8/src/
Dbignum.cc228 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
233 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
359 if ((1 << (2 * (kChunkSize - kBigitSize))) <= used_digits_) { in Square()
753 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
760 borrow = difference >> (kChunkSize - 1); in SubtractTimes()
/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket_unittest.cc199 const size_t kChunkSize = 1; in RunUnsuccessfulHandshakeTestHelper() local
200 AddChunkedOps(ssl_server_hello, kChunkSize, mode, &reads); in RunUnsuccessfulHandshakeTestHelper()
201 AddChunkedOps(ssl_client_hello, kChunkSize, mode, &writes); in RunUnsuccessfulHandshakeTestHelper()
/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/chromium/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/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/chromium_org/third_party/mesa/src/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/chromium_org/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()

12