/third_party/icu/vendor/double-conversion/upstream/test/cctest/ |
D | test-bignum.cc | 39 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 …]
|
D | test-bignum-dtoa.cc | 55 static const int kBufferSize = 100; variable 59 char buffer_container[kBufferSize]; in TEST() 60 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 262 char buffer_container[kBufferSize]; in TEST() 263 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 325 char buffer_container[kBufferSize]; in TEST() 326 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 343 char buffer_container[kBufferSize]; in TEST() 344 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 361 char buffer_container[kBufferSize]; in TEST() [all …]
|
D | test-fast-dtoa.cc | 41 static const int kBufferSize = 100; variable 56 char buffer_container[kBufferSize]; in TEST() 57 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 126 char buffer_container[kBufferSize]; in TEST() 127 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 202 char buffer_container[kBufferSize]; in TEST() 203 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 303 char buffer_container[kBufferSize]; in TEST() 304 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 332 char buffer_container[kBufferSize]; in TEST() [all …]
|
D | test-dtoa.cc | 78 static const int kBufferSize = 100; variable 82 char buffer_container[kBufferSize]; in TEST() 83 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 338 char buffer_container[kBufferSize]; in TEST() 339 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 395 char buffer_container[kBufferSize]; in TEST() 396 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 424 char buffer_container[kBufferSize]; in TEST() 425 Vector<char> buffer(buffer_container, kBufferSize); in TEST() 444 char buffer_container[kBufferSize]; in TEST() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ExternalBufferTest.cpp | 102 constexpr uint8_t kBufferSize = 16; in TEST_P() local 103 std::vector<GLubyte> initData(kBufferSize, 0xA); in TEST_P() 108 aHardwareBuffer = createAndroidHardwareBuffer(kBufferSize, initData.data()); in TEST_P() 112 glBufferStorageExternalEXT(GL_SHADER_STORAGE_BUFFER, 0, kBufferSize, in TEST_P() 116 std::vector<GLubyte> expectedData(kBufferSize, 0xFF); in TEST_P() 118 glBufferSubData(GL_SHADER_STORAGE_BUFFER, 0, kBufferSize, expectedData.data()); in TEST_P() 126 for (uint32_t i = 0; i < kBufferSize; ++i) in TEST_P() 143 constexpr uint8_t kBufferSize = 16; in TEST_P() local 144 std::vector<GLubyte> initData(kBufferSize, 0xA); in TEST_P() 149 aHardwareBuffer = createAndroidHardwareBuffer(kBufferSize, initData.data()); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireBufferMappingTests.cpp | 72 descriptor.size = kBufferSize; in SetupBuffer() 84 static constexpr uint64_t kBufferSize = sizeof(uint32_t); member in WireBufferMappingTests 106 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() 109 EXPECT_CALL(api, OnBufferMapAsync(apiBuffer, WGPUMapMode_Read, 0, kBufferSize, _, _)) in TEST_F() 113 EXPECT_CALL(api, BufferGetConstMappedRange(apiBuffer, 0, kBufferSize)) in TEST_F() 123 *static_cast<const uint32_t*>(wgpuBufferGetConstMappedRange(buffer, 0, kBufferSize))); in TEST_F() 134 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() 136 EXPECT_CALL(api, OnBufferMapAsync(apiBuffer, WGPUMapMode_Read, 0, kBufferSize, _, _)) in TEST_F() 146 EXPECT_EQ(nullptr, wgpuBufferGetConstMappedRange(buffer, 0, kBufferSize)); in TEST_F() 152 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() [all …]
|
D | WireMemoryTransferServiceTests.cpp | 108 descriptor.size = kBufferSize; in CreateBuffer() 307 static constexpr size_t kBufferSize = sizeof(mBufferContent); member in WireMemoryTransferServiceTests 344 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() 350 EXPECT_CALL(api, OnBufferMapAsync(apiBuffer, WGPUMapMode_Read, 0, kBufferSize, _, _)) in TEST_F() 356 EXPECT_CALL(api, BufferGetConstMappedRange(apiBuffer, 0, kBufferSize)) in TEST_F() 420 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() 423 EXPECT_CALL(api, OnBufferMapAsync(apiBuffer, WGPUMapMode_Read, 0, kBufferSize, _, _)) in TEST_F() 451 descriptor.size = kBufferSize; in TEST_F() 493 wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr); in TEST_F() 499 EXPECT_CALL(api, OnBufferMapAsync(apiBuffer, WGPUMapMode_Read, 0, kBufferSize, _, _)) in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | BufferZeroInitTests.cpp | 470 constexpr uint32_t kBufferSize = 8u; in TEST_P() local 473 wgpu::Buffer buffer = CreateBuffer(kBufferSize, kBufferUsage); in TEST_P() 475 constexpr std::array<uint32_t, kBufferSize / sizeof(uint32_t)> kExpectedData = { in TEST_P() 477 EXPECT_LAZY_CLEAR(0u, queue.WriteBuffer(buffer, 0, kExpectedData.data(), kBufferSize)); in TEST_P() 480 kBufferSize / sizeof(uint32_t))); in TEST_P() 486 constexpr uint32_t kBufferSize = 8u; in TEST_P() local 494 wgpu::Buffer buffer = CreateBuffer(kBufferSize, kBufferUsage); in TEST_P() 501 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_U32_EQ(0, buffer, kBufferSize - sizeof(kCopyValue))); in TEST_P() 506 wgpu::Buffer buffer = CreateBuffer(kBufferSize, kBufferUsage); in TEST_P() 520 constexpr uint64_t kBufferSize = 16u; in TEST_P() local [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | pool_urbg.h | 69 template <typename T, size_t kBufferSize> 76 static constexpr size_t kInitialBuffer = kBufferSize + 1; 77 static constexpr size_t kHalfBuffer = kBufferSize / 2; 85 static_assert(kBufferSize > 1, 88 static_assert(kBufferSize <= 256, 113 if (next_ >= kBufferSize) { in operator() 114 next_ = (kBufferSize > 2 && next_ > kBufferSize) ? kHalfBuffer : 0; in operator() 116 kBufferSize - next_)); in operator() 124 result_type state_[kBufferSize];
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireBufferMappingTests.cpp | 102 descriptor.size = kBufferSize; in SetUp() 131 static constexpr uint64_t kBufferSize = sizeof(uint32_t); member in WireBufferMappingTests 147 kBufferSize); in TEST_F() 153 Pointee(Eq(bufferContent)), kBufferSize, _)) in TEST_F() 213 kBufferSize); in TEST_F() 237 kBufferSize); in TEST_F() 244 Pointee(Eq(bufferContent)), kBufferSize, _)) in TEST_F() 272 kBufferSize); in TEST_F() 278 Pointee(Eq(bufferContent)), kBufferSize, _)) in TEST_F() 297 kBufferSize); in TEST_F() [all …]
|
/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 281 const int kBufferSize = 256; in TEST_F() local 282 uint8 buffer[kBufferSize]; in TEST_F() 288 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 304 const int kBufferSize = 2 * 1024; in TEST_F() local 305 uint8* buffer = new uint8[kBufferSize]; in TEST_F() 311 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 318 output = new ArrayOutputStream(buffer + pos, kBufferSize - pos, in TEST_F() 352 const int kBufferSize = 2 * 1024; in TEST_F() local 353 uint8* buffer = new uint8[kBufferSize]; in TEST_F() 360 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() [all …]
|
/third_party/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 36 static const size_t kBufferSize = 1024; in stream_inflate() local 37 uint8_t inputBuffer[kBufferSize]; in stream_inflate() 38 uint8_t outputBuffer[kBufferSize]; in stream_inflate() 46 flateData.avail_out = kBufferSize; in stream_inflate() 66 if (flateData.avail_out < kBufferSize) { in stream_inflate() 67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() 72 flateData.avail_out = kBufferSize; in stream_inflate() 79 size_t read = src->read(&inputBuffer, kBufferSize); in stream_inflate() 89 if (flateData.avail_out < kBufferSize) { in stream_inflate() 90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() [all …]
|
/third_party/flutter/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 36 static const size_t kBufferSize = 1024; in stream_inflate() local 37 uint8_t inputBuffer[kBufferSize]; in stream_inflate() 38 uint8_t outputBuffer[kBufferSize]; in stream_inflate() 46 flateData.avail_out = kBufferSize; in stream_inflate() 66 if (flateData.avail_out < kBufferSize) { in stream_inflate() 67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() 72 flateData.avail_out = kBufferSize; in stream_inflate() 79 size_t read = src->read(&inputBuffer, kBufferSize); in stream_inflate() 89 if (flateData.avail_out < kBufferSize) { in stream_inflate() 90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() [all …]
|
/third_party/flutter/skia/gm/ |
D | runtimecolorfilter.cpp | 59 static constexpr size_t kBufferSize = 512; variable 60 char buffer[kBufferSize]; 61 SkBinaryWriteBuffer wb(buffer, kBufferSize); 63 SkReadBuffer rb(buffer, kBufferSize); 84 static constexpr size_t kBufferSize = 512; variable 85 char buffer[kBufferSize]; 86 SkBinaryWriteBuffer wb(buffer, kBufferSize); 88 SkReadBuffer rb(buffer, kBufferSize);
|
/third_party/skia/src/utils/ |
D | SkJSONWriter.cpp | 34 const int kBufferSize = 1024; in appendf() local 35 char buffer[kBufferSize]; in appendf() 39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); in appendf() 41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); in appendf() 43 SkASSERT(length >= 0 && length < kBufferSize); in appendf()
|
/third_party/flutter/skia/src/utils/ |
D | SkJSONWriter.cpp | 34 const int kBufferSize = 1024; in appendf() local 35 char buffer[kBufferSize]; in appendf() 39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); in appendf() 41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); in appendf() 43 SkASSERT(length >= 0 && length < kBufferSize); in appendf()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | QueueSubmitValidationTests.cpp | 27 const uint64_t kBufferSize = 4; in TEST_F() local 30 descriptor.size = kBufferSize; in TEST_F() 41 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F() 52 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F() 57 buffer.MapAsync(wgpu::MapMode::Write, 0, kBufferSize, nullptr, nullptr); in TEST_F() 66 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F() 75 encoder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, kBufferSize); in TEST_F() 99 const uint64_t kBufferSize = 4; in TEST_F() local 102 descriptor.size = kBufferSize; in TEST_F() 107 descriptor.size = kBufferSize; in TEST_F() [all …]
|
/third_party/flutter/skia/src/images/ |
D | SkJPEGWriteUtility.cpp | 17 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_init_destination() 25 skjpeg_destination_mgr::kBufferSize)) { in sk_empty_output_buffer() 31 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_empty_output_buffer() 38 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; in sk_term_destination()
|
/third_party/skia/src/images/ |
D | SkJPEGWriteUtility.cpp | 17 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_init_destination() 25 skjpeg_destination_mgr::kBufferSize)) { in sk_empty_output_buffer() 31 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_empty_output_buffer() 38 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; in sk_term_destination()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
D | CodecBase.cs | 35 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()
|
/third_party/flutter/skia/src/core/ |
D | SkString.cpp | 20 static const size_t kBufferSize = 1024; variable 56 char buffer[kBufferSize]; \ 60 auto result = apply_format_string(format, args, buffer, kBufferSize, &length, &output); \ 496 char buffer[kBufferSize]; in appendf() 499 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in appendf() 505 char buffer[kBufferSize]; in appendVAList() 506 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList() 507 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in appendVAList() 513 char buffer[kBufferSize]; in prependf() 516 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in prependf() [all …]
|
/third_party/skia/src/ports/ |
D | SkDebug_win.cpp | 17 static const size_t kBufferSize = 2048; variable 20 char buffer[kBufferSize + 1]; in SkDebugf() 29 vsnprintf(buffer, kBufferSize, format, args); in SkDebugf()
|
/third_party/flutter/skia/src/ports/ |
D | SkDebug_win.cpp | 17 static const size_t kBufferSize = 2048; variable 20 char buffer[kBufferSize + 1]; in SkDebugf() 29 vsnprintf(buffer, kBufferSize, format, args); in SkDebugf()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLOutputStream.cpp | 24 char buffer[kBufferSize]; in appendVAList() 25 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList() 26 SkASSERT(length >= 0 && length < (int) kBufferSize); in appendVAList()
|
/third_party/skia/src/sksl/ |
D | SkSLOutputStream.cpp | 26 char buffer[kBufferSize]; in appendVAList() 29 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList() 30 if (length > (int) kBufferSize) { in appendVAList()
|