/external/google-breakpad/src/common/ |
D | memory_range_unittest.cc | 41 const size_t kBufferSize = sizeof(kBuffer); variable 52 { true, 0, kBufferSize }, 55 { true, 2, kBufferSize - 2 }, 56 { true, kBufferSize - 1, 1 }, 57 { false, kBufferSize, 0 }, 58 { false, kBufferSize, static_cast<size_t>(-1) }, 59 { false, kBufferSize + 1, 0 }, 61 { false, 1, kBufferSize }, 62 { false, kBufferSize - 1, 2 }, 78 { 0, 1, kBufferSize - 1, kBufferPointer + kBufferSize - 1 }, [all …]
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump_memory_range_unittest.cc | 42 const size_t kBufferSize = sizeof(kBuffer); variable 53 { true, 0, kBufferSize }, 56 { true, 2, kBufferSize - 2 }, 57 { true, kBufferSize - 1, 1 }, 58 { false, kBufferSize, 0 }, 59 { false, kBufferSize, static_cast<size_t>(-1) }, 60 { false, kBufferSize + 1, 0 }, 62 { false, 1, kBufferSize }, 63 { false, kBufferSize - 1, 2 }, 79 { 0, 1, kBufferSize - 1, kBufferPointer + kBufferSize - 1 }, [all …]
|
/external/v8/src/ |
D | unicode-decoder.h | 38 template <size_t kBufferSize> 47 uint16_t buffer_[kBufferSize]; 64 template <size_t kBufferSize> 65 Utf8Decoder<kBufferSize>::Utf8Decoder(const char* stream, size_t length) in Utf8Decoder() 66 : Utf8DecoderBase(buffer_, kBufferSize, in Utf8Decoder() 70 template <size_t kBufferSize> 71 void Utf8Decoder<kBufferSize>::Reset(const char* stream, size_t length) { in Reset() 72 Utf8DecoderBase::Reset(buffer_, kBufferSize, in Reset() 77 template <size_t kBufferSize> 78 size_t Utf8Decoder<kBufferSize>::WriteUtf16(uint16_t* data, in WriteUtf16() [all …]
|
D | conversions.cc | 423 static const int kBufferSize = 1100; in DoubleToRadixCString() local 424 char integer_buffer[kBufferSize]; in DoubleToRadixCString() 425 integer_buffer[kBufferSize - 1] = '\0'; in DoubleToRadixCString() 429 char decimal_buffer[kBufferSize]; in DoubleToRadixCString() 430 decimal_buffer[kBufferSize - 1] = '\0'; in DoubleToRadixCString() 442 int integer_pos = kBufferSize - 2; in DoubleToRadixCString() 464 while ((decimal_part > 0.0) && (decimal_pos < kBufferSize - 1)) { in DoubleToRadixCString() 473 int integer_part_size = kBufferSize - 2 - integer_pos; in DoubleToRadixCString() 508 const int kBufferSize = 24; in IsSpecialIndex() local 510 if (length == 0 || length > kBufferSize) return false; in IsSpecialIndex() [all …]
|
D | conversions-inl.h | 408 const int kBufferSize = kMaxSignificantDigits + 2; in InternalStringToInt() local 409 char buffer[kBufferSize]; in InternalStringToInt() 415 DCHECK(buffer_pos < kBufferSize); in InternalStringToInt() 427 SLOW_DCHECK(buffer_pos < kBufferSize); in InternalStringToInt() 523 const int kBufferSize = kMaxSignificantDigits + 10; in InternalStringToDouble() local 524 char buffer[kBufferSize]; // NOLINT: size is known at compile time. in InternalStringToDouble() 627 DCHECK(buffer_pos < kBufferSize); in InternalStringToDouble() 672 DCHECK(buffer_pos < kBufferSize); in InternalStringToDouble() 764 SLOW_DCHECK(buffer_pos < kBufferSize); in InternalStringToDouble()
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 276 const int kBufferSize = 256; in TEST_F() local 277 uint8 buffer[kBufferSize]; in TEST_F() 283 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 299 const int kBufferSize = 2*1024; in TEST_F() local 300 uint8* buffer = new uint8[kBufferSize]; in TEST_F() 306 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() 314 buffer + pos, kBufferSize - pos, kBlockSizes[i]); in TEST_F() 347 const int kBufferSize = 2*1024; in TEST_F() local 348 uint8* buffer = new uint8[kBufferSize]; in TEST_F() 355 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F() [all …]
|
/external/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 35 static const size_t kBufferSize = 1024; in stream_inflate() local 36 uint8_t inputBuffer[kBufferSize]; in stream_inflate() 37 uint8_t outputBuffer[kBufferSize]; in stream_inflate() 45 flateData.avail_out = kBufferSize; in stream_inflate() 65 if (flateData.avail_out < kBufferSize) { in stream_inflate() 66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() 71 flateData.avail_out = kBufferSize; in stream_inflate() 78 size_t read = src->read(&inputBuffer, kBufferSize); in stream_inflate() 88 if (flateData.avail_out < kBufferSize) { in stream_inflate() 89 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate() [all …]
|
/external/v8/src/inspector/ |
D | string-16.cc | 370 const size_t kBufferSize = 50; in fromInteger() local 371 char buffer[kBufferSize]; in fromInteger() 372 v8::base::OS::SNPrintF(buffer, kBufferSize, "%d", number); in fromInteger() 378 const size_t kBufferSize = 50; in fromInteger() local 379 char buffer[kBufferSize]; in fromInteger() 381 v8::base::OS::SNPrintF(buffer, kBufferSize, "%zu", number); in fromInteger() 383 v8::base::OS::SNPrintF(buffer, kBufferSize, "%Iu", number); in fromInteger() 451 const int kBufferSize = 11; in appendNumber() local 452 char buffer[kBufferSize]; in appendNumber() 453 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%d", number); in appendNumber() [all …]
|
/external/libmojo/mojo/edk/system/ |
D | message_pipe_unittest.cc | 79 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); in TEST_F() local 85 buffer_size = kBufferSize; in TEST_F() 87 ASSERT_EQ(kBufferSize, buffer_size); in TEST_F() 94 buffer_size = kBufferSize; in TEST_F() 109 buffer_size = kBufferSize; in TEST_F() 116 buffer_size = kBufferSize; in TEST_F() 151 buffer_size = kBufferSize; in TEST_F() 163 buffer_size = kBufferSize; in TEST_F() 170 buffer_size = kBufferSize; in TEST_F() 194 buffer_size = kBufferSize; in TEST_F() [all …]
|
/external/libvpx/libvpx/test/ |
D | vp8_boolcoder_test.cc | 79 const int kBufferSize = 10000; in TEST() local 82 uint8_t bw_buffer[kBufferSize]; in TEST() 83 vp8_start_encode(&bw, bw_buffer, bw_buffer + kBufferSize); in TEST() 98 encrypt_buffer(bw_buffer, kBufferSize); in TEST() 99 vp8dx_start_decode(&br, bw_buffer, kBufferSize, test_decrypt_cb, in TEST()
|
D | vp9_boolcoder_test.cc | 52 const int kBufferSize = 10000; in TEST() local 55 uint8_t bw_buffer[kBufferSize]; in TEST() 74 vpx_reader_init(&br, bw_buffer, kBufferSize, NULL, NULL); in TEST()
|
/external/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()
|
D | SkJPEGWriteUtility.h | 34 kBufferSize = 1024 enumerator 36 uint8_t fBuffer[kBufferSize];
|
/external/compiler-rt/test/safestack/ |
D | pthread-cleanup.c | 10 enum { kBufferSize = (1 << 15) }; enumerator 14 char buffer[kBufferSize]; in t1_start() 29 memset(buffer, 0, kBufferSize); in main()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | compound_packet_unittest.cc | 110 const size_t kBufferSize = kRrLength + kReportBlockLength + kFirLength; in TEST() local 111 uint8_t buffer[kBufferSize]; in TEST() 112 EXPECT_TRUE(rr.BuildExternalBuffer(buffer, kBufferSize, &verifier)); in TEST() 151 const size_t kBufferSize = kRrLength + kReportBlockLength; in TEST() local 152 uint8_t buffer[kBufferSize]; in TEST() 153 EXPECT_TRUE(rr.BuildExternalBuffer(buffer, kBufferSize, &verifier)); in TEST()
|
/external/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()
|
/external/zlib/src/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()
|
/external/v8/src/parsing/ |
D | scanner-character-streams.cc | 32 static const size_t kBufferSize = 512; member in v8::internal::BufferedUtf16CharacterStream 42 uc16 buffer_[kBufferSize]; 56 DCHECK_LE(buffer_end_, buffer_start_ + kBufferSize); in ReadBlock() 89 size_t length = i::Min(kBufferSize, length_ - from_pos); in FillBuffer() 181 size_t length = Min(kBufferSize, length_ - from_pos); in FillBuffer() 286 DCHECK_LT(buffer_end_ + 1, buffer_start_ + kBufferSize); in FillBufferFromCurrentChunk() 313 it < chunk.length && cursor + 1 < buffer_start_ + kBufferSize; it++) { in FillBufferFromCurrentChunk() 540 size_t len = i::Min(kBufferSize, chunk.byte_length - start_pos); in FillBuffer() 656 static const size_t kBufferSize = 512; member in v8::internal::TwoByteExternalBufferedStream 666 uc16 buffer_[kBufferSize]; [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_internal.h | 103 static const uptr kBufferSize = 16 * 1024; variable 104 char buffer_[kBufferSize]; 131 static const uptr kBufferSize = 16 * 1024; variable 132 char buffer_[kBufferSize];
|
D | sanitizer_symbolizer_posix_libcdep.cc | 311 char buffer[kBufferSize]; in SendCommand() 312 internal_snprintf(buffer, kBufferSize, "0x%zx\n0x%zx\n", in SendCommand() 317 static const uptr kBufferSize = 64; member in __sanitizer::Addr2LinePool 352 stack->info.module, stack->info.module_offset, buffer_, kBufferSize); in SymbolizePC() 359 buffer_, kBufferSize); in SymbolizeData() 393 static const int kBufferSize = 16 * 1024; member in __sanitizer::InternalSymbolizer 395 char buffer_[kBufferSize];
|
/external/skia/src/core/ |
D | SkString.cpp | 16 static const size_t kBufferSize = 1024; variable 41 char buffer[kBufferSize]; \ 67 char buffer[kBufferSize]; \ 572 char buffer[kBufferSize]; in appendf() 574 ARGS_TO_BUFFER(format, buffer, kBufferSize, length); in appendf() 580 char buffer[kBufferSize]; in appendVAList() 581 int length = VSNPRINTF(buffer, kBufferSize, format, args); in appendVAList() 582 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in appendVAList() 588 char buffer[kBufferSize]; in prependf() 590 ARGS_TO_BUFFER(format, buffer, kBufferSize, length); in prependf() [all …]
|
/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 309 int kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() local 310 int kCompressedBufferSize = (kBufferSize / 2) + kCompressedAdditionalSize; in LzmaBenchmark() 319 rg.Set(kBufferSize); in LzmaBenchmark() 365 long outSize = kBufferSize; in LzmaBenchmark() 373 long benchSize = kBufferSize - (long)progressInfo.InSize; in LzmaBenchmark() 376 PrintResults(dictionarySize, decodeTime, kBufferSize, true, compressedSize); in LzmaBenchmark() 388 kBufferSize * (long)numIterations, true, totalCompressedSize); in LzmaBenchmark()
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 265 UInt32 kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() 266 UInt32 kCompressedBufferSize = (kBufferSize / 2) + kCompressedAdditionalSize; in LzmaBenchmark() 275 rg.Set(kBufferSize); in LzmaBenchmark() 312 UInt64 outSize = kBufferSize; in LzmaBenchmark() 320 UInt64 benchSize = kBufferSize - (UInt64)progressInfo.InSize; in LzmaBenchmark() 323 PrintResults(dictionarySize, decodeTime, kBufferSize, true, (ulong)compressedSize); in LzmaBenchmark() 335 kBufferSize * (UInt64)numIterations, true, totalCompressedSize); in LzmaBenchmark()
|
/external/lzma/CPP/7zip/Compress/ |
D | CopyCoder.cpp | 13 static const UInt32 kBufferSize = 1 << 17; variable 27 _buffer = (Byte *)::MidAlloc(kBufferSize); in Code() 35 UInt32 size = kBufferSize; in Code()
|
/external/lzma/CPP/7zip/Common/ |
D | FilterCoder.cpp | 12 static const UInt32 kBufferSize = 1 << 17; variable 16 _buffer = (Byte *)::MidAlloc(kBufferSize); in CFilterCoder() 50 size_t processedSize = kBufferSize - bufferPos; in Code() 104 UInt32 sizeTemp = MyMin(size, kBufferSize - _bufferPos); in Write() 197 size_t processedSizeTemp = kBufferSize - _bufferPos; in Read()
|