/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/grpc-grpc/test/core/iomgr/ios/CFStreamTests/ |
D | CFStreamEndpointTests.mm | 39 static const int kBufferSize = 10000; 162 char write_buffer[kBufferSize]; 163 char read_buffer[kBufferSize]; 167 slice = grpc_slice_from_static_buffer(write_buffer, kBufferSize); 175 while (recv_size < kBufferSize) { 176 ssize_t size = recv(svr_fd_, read_buffer, kBufferSize, 0); 181 XCTAssertEqual(recv_size, kBufferSize); 182 XCTAssertEqual(memcmp(read_buffer, write_buffer, kBufferSize), 0); 183 ssize_t send_size = send(svr_fd_, read_buffer, kBufferSize, 0); 188 while (read_slices.length < kBufferSize) { [all …]
|
/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/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | tracked_object.h | 104 const float kBufferSize = 1.0f; in Draw() local 105 temp_box.left_ -= kBufferSize; in Draw() 106 temp_box.top_ -= kBufferSize; in Draw() 107 temp_box.right_ += kBufferSize; in Draw() 108 temp_box.bottom_ += kBufferSize; in Draw() 112 temp_box.left_ -= -2.0f * kBufferSize; in Draw() 113 temp_box.top_ -= -2.0f * kBufferSize; in Draw() 114 temp_box.right_ += -2.0f * kBufferSize; in Draw() 115 temp_box.bottom_ += -2.0f * kBufferSize; in Draw()
|
/external/v8/src/ |
D | unicode-decoder.h | 81 template <size_t kBufferSize> 92 uint16_t buffer_[kBufferSize]; 104 template <size_t kBufferSize> 105 Utf8Decoder<kBufferSize>::Utf8Decoder( in Utf8Decoder() 107 : Utf8DecoderBase(buffer_, kBufferSize, stream) {} in Utf8Decoder() 109 template <size_t kBufferSize> 110 void Utf8Decoder<kBufferSize>::Reset( in Reset() 112 Utf8DecoderBase::Reset(buffer_, kBufferSize, stream); in Reset() 115 template <size_t kBufferSize> 116 size_t Utf8Decoder<kBufferSize>::WriteUtf16( in WriteUtf16()
|
/external/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 …]
|
/external/skqp/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 …]
|
/external/v8/src/inspector/ |
D | string-16.cc | 418 const size_t kBufferSize = 50; in fromInteger() local 419 char buffer[kBufferSize]; in fromInteger() 421 v8::base::OS::SNPrintF(buffer, kBufferSize, "%zu", number); in fromInteger() 423 v8::base::OS::SNPrintF(buffer, kBufferSize, "%Iu", number); in fromInteger() 497 constexpr int kBufferSize = 11; in appendNumber() local 498 char buffer[kBufferSize]; in appendNumber() 499 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%d", number); in appendNumber() 505 constexpr int kBufferSize = 20; in appendNumber() local 506 char buffer[kBufferSize]; in appendNumber() 508 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%zu", number); in appendNumber() [all …]
|
/external/skqp/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()
|
/external/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()
|
/external/libchrome/mojo/core/ |
D | message_pipe_unittest.cc | 108 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer)); in TEST_F() local 114 buffer_size = kBufferSize; in TEST_F() 116 ASSERT_EQ(kBufferSize, buffer_size); in TEST_F() 123 buffer_size = kBufferSize; in TEST_F() 138 buffer_size = kBufferSize; in TEST_F() 145 buffer_size = kBufferSize; in TEST_F() 162 buffer_size = kBufferSize; in TEST_F() 174 buffer_size = kBufferSize; in TEST_F() 181 buffer_size = kBufferSize; in TEST_F() 205 buffer_size = kBufferSize; in TEST_F() [all …]
|
/external/puffin/src/ |
D | fuzzer.cc | 99 const size_t kBufferSize = 1000; in FuzzPuffPatch() local 101 kBufferSize < in FuzzPuffPatch() 104 kBufferSize < in FuzzPuffPatch() 109 Buffer src_buffer(kBufferSize); in FuzzPuffPatch() 110 Buffer dst_buffer(kBufferSize); in FuzzPuffPatch() 113 puffin::PuffPatch(std::move(src), std::move(dst), data, size, kBufferSize); in FuzzPuffPatch()
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions_test.cc | 32 buffer_size_ = vsnprintf(buffer_, kBufferSize, format, args); in Report() 41 static constexpr int kBufferSize = 256; member in tflite::__anon58eb6ec80111::MockErrorReporter 42 char buffer_[kBufferSize]; 52 const int max_size = kBufferSize; in Allocate() 60 static constexpr int kBufferSize = 1024; member in tflite::__anon58eb6ec80111::MockDataAllocator 61 char buffer_[kBufferSize];
|
/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()
|
/external/skia/gm/ |
D | runtimecolorfilter.cpp | 42 static constexpr size_t kBufferSize = 512; variable 43 char buffer[kBufferSize]; 44 SkBinaryWriteBuffer wb(buffer, kBufferSize); 46 SkReadBuffer rb(buffer, kBufferSize);
|
/external/libaom/libaom/test/ |
D | boolcoder_test.cc | 53 const int kBufferSize = 10000; in TEST() local 56 uint8_t bw_buffer[kBufferSize]; in TEST() 92 const int kBufferSize = 10000; in TEST() local 94 uint8_t bw_buffer[kBufferSize]; in TEST() 139 const int kBufferSize = 10000; in TEST() local 141 uint8_t bw_buffer[kBufferSize]; 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()
|
/external/skqp/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()
|
/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/bsdiff/ |
D | brotli_compressor.cc | 11 const size_t kBufferSize = 1024 * 1024; variable 17 BrotliCompressor::BrotliCompressor(int quality) : comp_buffer_(kBufferSize) { in BrotliCompressor() 51 size_t avail_out = kBufferSize; in Write() 76 size_t avail_out = kBufferSize; in Finish()
|
/external/skia/src/core/ |
D | SkString.cpp | 21 static const size_t kBufferSize = 1024; variable 57 char buffer[kBufferSize]; \ 61 auto result = apply_format_string(format, args, buffer, kBufferSize, &length, &output); \ 511 char buffer[kBufferSize]; in appendf() 514 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in appendf() 520 char buffer[kBufferSize]; in appendVAList() 521 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList() 522 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in appendVAList() 528 char buffer[kBufferSize]; in prependf() 531 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in prependf() [all …]
|
/external/skqp/src/core/ |
D | SkString.cpp | 21 static const size_t kBufferSize = 1024; variable 57 char buffer[kBufferSize]; \ 61 auto result = apply_format_string(format, args, buffer, kBufferSize, &length, &output); \ 511 char buffer[kBufferSize]; in appendf() 514 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in appendf() 520 char buffer[kBufferSize]; in appendVAList() 521 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList() 522 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); in appendVAList() 528 char buffer[kBufferSize]; in prependf() 531 ARGS_TO_BUFFER(format, buffer, kBufferSize, length, result); in prependf() [all …]
|
/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/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()
|