Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 25 of 64) sorted by relevance

123

/external/v8/test/cctest/
Dtest-bignum.cc39 static const int kBufferSize = 1024; variable
52 char buffer[kBufferSize]; in TEST()
56 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
59 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
62 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
67 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
70 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
73 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
76 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
81 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
[all …]
Dtest-fast-dtoa.cc17 static const int kBufferSize = 100; variable
32 char buffer_container[kBufferSize]; in TEST()
33 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
102 char buffer_container[kBufferSize]; in TEST()
103 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
203 char buffer_container[kBufferSize]; in TEST()
204 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
232 char buffer_container[kBufferSize]; in TEST()
233 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
Dtest-bignum-dtoa.cc56 static const int kBufferSize = 100; variable
60 char buffer_container[kBufferSize]; in TEST()
61 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
258 char buffer_container[kBufferSize]; in TEST()
259 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
276 char buffer_container[kBufferSize]; in TEST()
277 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
297 char buffer_container[kBufferSize]; in TEST()
298 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
Dtest-dtoa.cc56 static const int kBufferSize = 100; variable
60 char buffer_container[kBufferSize]; in TEST()
61 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
268 char buffer_container[kBufferSize]; in TEST()
269 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
288 char buffer_container[kBufferSize]; in TEST()
289 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
311 char buffer_container[kBufferSize]; in TEST()
312 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
/external/stlport/test/eh/
Dtest_algobase.cpp32 enum { kBufferSize = 100 }; enumerator
37 : stuff( new TestClass[kBufferSize] ), end_of_stuff(stuff + kBufferSize) { in test_uninitialized_copy()
47 stl_destroy( buffer, buffer+kBufferSize ); in operator ()()
63 TestClass* buf_end = buffer + kBufferSize; in operator ()()
65 for ( EH_CSTD::size_t i = 0; i < kBufferSize; i++ ) in operator ()()
80 TestClass* end = buffer + kBufferSize; in operator ()()
81 EH_STD::uninitialized_fill_n( buffer, (EH_CSTD::size_t)kBufferSize, testValue ); in operator ()()
82 for ( EH_CSTD::size_t i = 0; i < kBufferSize; i++ ) in operator ()()
93 double arr[ sizeof(TestClass) * kBufferSize ]; in test_algobase()
Dtest_algo.cpp39 enum { kBufferSize = 100 }; enumerator
43 SortClass* end() { return items + kBufferSize; } in end()
44 const SortClass* end() const { return items + kBufferSize; } in end()
69 SortClass items[kBufferSize];
/external/skia/src/core/
DSkFlate.cpp32 const size_t kBufferSize = 1024; variable
35 uint8_t inputBuffer[kBufferSize]; in doFlate()
36 uint8_t outputBuffer[kBufferSize]; in doFlate()
43 flateData.avail_out = kBufferSize; in doFlate()
65 if (flateData.avail_out < kBufferSize) { in doFlate()
66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in doFlate()
71 flateData.avail_out = kBufferSize; in doFlate()
78 size_t read = src->read(&inputBuffer, kBufferSize); in doFlate()
94 if (flateData.avail_out < kBufferSize) { in doFlate()
95 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) in doFlate()
[all …]
DSkString.cpp18 static const size_t kBufferSize = 256; variable
519 char buffer[kBufferSize]; in printf()
520 ARGS_TO_BUFFER(format, buffer, kBufferSize); in printf()
526 char buffer[kBufferSize]; in appendf()
527 ARGS_TO_BUFFER(format, buffer, kBufferSize); in appendf()
533 char buffer[kBufferSize]; in prependf()
534 ARGS_TO_BUFFER(format, buffer, kBufferSize); in prependf()
605 char buffer[kBufferSize]; in SkStringPrintf()
606 ARGS_TO_BUFFER(format, buffer, kBufferSize); in SkStringPrintf()
/external/v8/src/
Ddebug-agent.cc324 static const int kBufferSize = 80; in SendConnectMessage() local
325 char buffer[kBufferSize]; // Sending buffer. in SendConnectMessage()
330 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), in SendConnectMessage()
335 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), in SendConnectMessage()
340 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), in SendConnectMessage()
346 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), in SendConnectMessage()
352 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), in SendConnectMessage()
358 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize), "\r\n"); in SendConnectMessage()
370 static const int kBufferSize = 80; in SendMessage() local
371 char buffer[kBufferSize]; // Sending buffer both for header and body. in SendMessage()
[all …]
Dconversions.cc370 static const int kBufferSize = 1100; in DoubleToRadixCString() local
371 char integer_buffer[kBufferSize]; in DoubleToRadixCString()
372 integer_buffer[kBufferSize - 1] = '\0'; in DoubleToRadixCString()
376 char decimal_buffer[kBufferSize]; in DoubleToRadixCString()
377 decimal_buffer[kBufferSize - 1] = '\0'; in DoubleToRadixCString()
389 int integer_pos = kBufferSize - 2; in DoubleToRadixCString()
410 while ((decimal_part > 0.0) && (decimal_pos < kBufferSize - 1)) { in DoubleToRadixCString()
419 int integer_part_size = kBufferSize - 2 - integer_pos; in DoubleToRadixCString()
Dconversions-inl.h338 const int kBufferSize = kMaxSignificantDigits + 2; in InternalStringToInt() local
339 char buffer[kBufferSize]; in InternalStringToInt()
345 ASSERT(buffer_pos < kBufferSize); in InternalStringToInt()
357 ASSERT(buffer_pos < kBufferSize); in InternalStringToInt()
453 const int kBufferSize = kMaxSignificantDigits + 10; in InternalStringToDouble() local
454 char buffer[kBufferSize]; // NOLINT: size is known at compile time. in InternalStringToDouble()
524 ASSERT(buffer_pos < kBufferSize); in InternalStringToDouble()
569 ASSERT(buffer_pos < kBufferSize); in InternalStringToDouble()
661 ASSERT(buffer_pos < kBufferSize); in InternalStringToDouble()
Dd8-debug.cc100 static const int kBufferSize = 256; in HandleDebugEvent() local
103 char command[kBufferSize]; in HandleDebugEvent()
105 char* str = fgets(command, kBufferSize, stdin); in HandleDebugEvent()
352 static const int kBufferSize = 256; in Run() local
355 char command[kBufferSize]; in Run()
356 char* str = fgets(command, kBufferSize, stdin); in Run()
Dpreparser-api.cc141 if (buffer_end_ <= buffer_ + 1 + kPushBackSize + kBufferSize) break; in ReadBlock()
154 static const unsigned kBufferSize = 512; member in v8::internal::InputStreamUtf16Buffer
161 uc16 buffer_[kPushBackSize + kBufferSize];
Dscanner-character-streams.h47 static const unsigned kBufferSize = 512;
58 uc16 buffer_[kBufferSize];
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc270 const int kBufferSize = 256; in TEST_F() local
271 uint8 buffer[kBufferSize]; in TEST_F()
277 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
290 const int kBufferSize = 2*1024; in TEST_F() local
291 uint8* buffer = new uint8[kBufferSize]; in TEST_F()
298 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
318 const int kBufferSize = 2*1024; in TEST_F() local
319 uint8* buffer = new uint8[kBufferSize]; in TEST_F()
326 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
346 const int kBufferSize = 2*1024; in TEST_F() local
[all …]
/external/skia/include/images/
DSkJpegUtility.h46 kBufferSize = 1024 enumerator
48 char fBuffer[kBufferSize];
61 kBufferSize = 1024 enumerator
63 uint8_t fBuffer[kBufferSize];
/external/skia/src/ports/
DSkDebug_stdio.cpp12 static const size_t kBufferSize = 2048; variable
18 char buffer[kBufferSize + 1]; in SkDebugf()
21 vsnprintf(buffer, kBufferSize, format, args); in SkDebugf()
DSkDebug_brew.cpp14 static const size_t kBufferSize = 256; variable
20 char buffer[kBufferSize + 1]; in SkDebugf()
23 VSNPRINTF(buffer, kBufferSize, format, args); in SkDebugf()
DSkDebug_win.cpp13 static const size_t kBufferSize = 2048; variable
20 char buffer[kBufferSize + 1]; in SkDebugf()
23 vsnprintf(buffer, kBufferSize, format, args); in SkDebugf()
/external/zlib/src/contrib/dotzlib/DotZLib/
DCodecBase.cs35 protected const int kBufferSize = 16384; field in DotZLib.CodecBase
37 private byte[] _outBuffer = new byte[kBufferSize];
38 private byte[] _inBuffer = new byte[kBufferSize];
183 _ztream.avail_out = kBufferSize; in resetOutput()
/external/skia/src/images/
DSkJpegUtility.cpp42 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer()
160 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_init_destination()
168 skjpeg_destination_mgr::kBufferSize)) { in sk_empty_output_buffer()
174 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_empty_output_buffer()
181 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; in sk_term_destination()
/external/webkit/Source/WebCore/platform/audio/
DBiquad.cpp45 const int kBufferSize = 1024; variable
51 m_inputBuffer.resize(kBufferSize + 2); in Biquad()
52 m_outputBuffer.resize(kBufferSize + 2); in Biquad()
142 int framesThisTime = n < kBufferSize ? n : kBufferSize; in processFast()
/external/chromium/net/tools/fetch/
Dfetch_client.cc58 buffer_(new net::IOBuffer(kBufferSize)), in Client()
77 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnConnectComplete()
96 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnReadComplete()
111 static const int kBufferSize = (16 * 1024); member in Client
/external/chromium/base/memory/
Dsingleton.h104 static const size_t kBufferSize = (sizeof(Type) +
106 static intptr_t buffer_[kBufferSize];
113 StaticMemorySingletonTraits<Type>::buffer_[kBufferSize];
/external/webkit/Source/WebCore/platform/audio/mac/
DAudioDestinationMac.cpp40 const int kBufferSize = 128; variable
73 , m_renderBus(2, kBufferSize, false) in AudioDestinationMac()
129 UInt32 bufferSize = kBufferSize; in configure()

123