/external/compiler-rt/test/asan/TestCases/Linux/ |
D | recvfrom.cc | 26 const int kBufSize = 10; variable 31 const char buf[kBufSize / 2] = {0, }; in client_thread_udp() 33 const char buf[kBufSize] = {0, }; in client_thread_udp() 41 succeeded = sendto(sockfd, buf, kBufSize, 0, (struct sockaddr *)&serveraddr, in client_thread_udp() 51 char buf[kBufSize / 2]; in main() 53 char buf[kBufSize]; in main() 73 recvfrom(sockfd, buf, kBufSize, 0, NULL, NULL); // BOOM in main()
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer_unittest.cc | 149 constexpr auto kBufSize = base::kPageSize * 4; in TEST() local 150 base::Optional<SharedRingBuffer> wr = SharedRingBuffer::Create(kBufSize); in TEST() 160 constexpr auto kBufSize = base::kPageSize * 4; in TEST() local 161 base::Optional<SharedRingBuffer> rd = SharedRingBuffer::Create(kBufSize); in TEST() 176 constexpr auto kBufSize = base::kPageSize * 4; in TEST() local 177 base::Optional<SharedRingBuffer> buf = SharedRingBuffer::Create(kBufSize); in TEST() 182 constexpr auto kBufSize = base::kPageSize * 4; in TEST() local 183 base::Optional<SharedRingBuffer> buf1 = SharedRingBuffer::Create(kBufSize); in TEST() 190 constexpr auto kBufSize = base::kPageSize * 1024; // 4 MB in TEST() local 191 SharedRingBuffer rd = *SharedRingBuffer::Create(kBufSize); in TEST() [all …]
|
/external/libaom/libaom/test/ |
D | intra_edge_test.cc | 37 static const int kBufSize = 2 * 64 + 32; member in __anond991ab740111::UpsampleTest 56 T edge_ref_data_[kBufSize]; 57 T edge_tst_data_[kBufSize]; 92 while (i < kBufSize) { in TEST_P() 144 while (i < kBufSize) { in TEST_P() 166 static const int kBufSize = kMaxEdge + 32; member in __anond991ab740111::FilterEdgeTest 184 T edge_ref_data_[kBufSize]; 185 T edge_tst_data_[kBufSize];
|
D | blend_a64_mask_test.cc | 40 static const int kBufSize = kMaxWidth * kMaxHeight; member in __anon7fdfd31c0111::BlendA64MaskTest 131 DstPixel dst_ref_[kBufSize]; 132 DstPixel dst_tst_[kBufSize]; 136 SrcPixel src0_[kBufSize]; 140 SrcPixel src1_[kBufSize]; 197 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 215 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 231 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 311 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 329 for (int i = 0; i < kBufSize; ++i) { in TEST_P() [all …]
|
D | blend_a64_mask_1d_test.cc | 40 static const int kBufSize = kMaxWidth * kMaxHeight; member in __anon6454a5500111::BlendA64Mask1DTest 94 T dst_ref_[kBufSize]; 95 T dst_tst_[kBufSize]; 99 T src0_[kBufSize]; 103 T src1_[kBufSize]; 136 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 153 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 255 for (int i = 0; i < kBufSize; ++i) { in TEST_P() 280 for (int i = 0; i < kBufSize; ++i) { in TEST_P()
|
D | dr_prediction_test.cc | 153 static const int kBufSize = ((2 * MAX_TX_SIZE) << 1) + 16; member in __anonccce7b080111::DrPredTest 168 for (int i = 0; i < kBufSize; ++i) { in DrPredTest() 218 for (int i = 0; i < kBufSize; ++i) { in RunTest() 277 Pixel left_data_[kBufSize]; 278 Pixel dummy_data_[kBufSize]; 279 Pixel above_data_[kBufSize];
|
/external/compiler-rt/test/msan/Linux/ |
D | sendmsg.cc | 28 const int kBufSize = 10; variable 33 char buf[kBufSize] = {0}; in main() 67 ret = send(sockfd, buf, kBufSize, 0); in main() 72 sendto(sockfd, buf, kBufSize, 0, (struct sockaddr *)&serveraddr, addrlen); in main()
|
D | cmsghdr.cc | 25 const int kBufSize = 10; variable 29 char buf[kBufSize] = {0}; in main()
|
/external/perfetto/src/base/ |
D | file_utils.cc | 34 constexpr size_t kBufSize = 2048; variable 49 if (out->size() < i + kBufSize) in ReadFileDescriptor() 50 out->resize(out->size() + kBufSize); in ReadFileDescriptor() 52 bytes_read = PERFETTO_EINTR(read(fd, &((*out)[i]), kBufSize)); in ReadFileDescriptor()
|
/external/lzma/CPP/Windows/ |
D | CommonDialog.cpp | 114 const unsigned kBufSize = MAX_PATH * 2; in MyGetOpenFileName() local 121 CHAR buf[kBufSize]; in MyGetOpenFileName() 139 p.nMaxFile = kBufSize; in MyGetOpenFileName() 151 WCHAR buf[kBufSize]; in MyGetOpenFileName() 170 p.nMaxFile = kBufSize; in MyGetOpenFileName()
|
D | Registry.cpp | 80 const UInt32 kBufSize = MAX_PATH + 1; // 256 in ATL in RecurseDeleteKey() local 81 DWORD size = kBufSize; in RecurseDeleteKey() 82 TCHAR buffer[kBufSize]; in RecurseDeleteKey() 88 size = kBufSize; in RecurseDeleteKey() 322 const unsigned kBufSize = MAX_PATH + 1; // 256 in ATL in EnumKeys() local 324 UInt32 nameSize = kBufSize; in EnumKeys() 325 LONG result = ::RegEnumKeyEx(_object, index, keyName.GetBuf(kBufSize), in EnumKeys() 327 keyName.ReleaseBuf_CalcLen(kBufSize); in EnumKeys()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | decorate_proc_maps.cc | 13 const size_t kBufSize = 0x10000; in CopyFdToFd() local 14 static char buf[kBufSize]; in CopyFdToFd() 16 ssize_t got = read(in_fd, buf, kBufSize); in CopyFdToFd()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetDetector.java | 97 private static final int kBufSize = 8000; field in CharsetDetector 117 fInputStream.mark(kBufSize); in setText() 118 fRawInput = new byte[kBufSize]; // Always make a new buffer because the in setText() 122 int remainingLength = kBufSize; in setText() 394 if (limit > kBufSize) { in MungeInput() 395 limit = kBufSize; in MungeInput() 429 new byte[kBufSize]; // removed if appropriate.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetDetector.java | 92 private static final int kBufSize = 8000; field in CharsetDetector 110 fInputStream.mark(kBufSize); in setText() 111 fRawInput = new byte[kBufSize]; // Always make a new buffer because the in setText() 115 int remainingLength = kBufSize; in setText() 373 if (limit > kBufSize) { in MungeInput() 374 limit = kBufSize; in MungeInput() 408 new byte[kBufSize]; // removed if appropriate.
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | benchmark.cc | 74 const int kBufSize = 1000; in DumpStatsToStdout() local 75 char buf[kBufSize]; in DumpStatsToStdout() 76 snprintf(buf, kBufSize, "Mean with %2.0f%% trimmed:", trim_ratio * 100); in DumpStatsToStdout() 78 snprintf(buf, kBufSize, "Mean of %2.0f%% best:", best_ratio * 100); in DumpStatsToStdout()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
D | resolve_constant_concatenation_test.cc | 115 const int kBufSize = 8; in PrepareModel() local 117 static float in_buf[kNumArrays][kBufSize] = { in PrepareModel() 135 in_array_buffer.data.resize(kBufSize); in PrepareModel() 138 std::copy(in_buf[cnt], in_buf[cnt] + kBufSize, buf_ptr); in PrepareModel()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer_unittest.cc | 110 const size_t kBufSize = 64 * 1024; in TEST() local 111 scoped_array<char> buf(new char[kBufSize]); in TEST() 112 ASSERT_GT(read(err_fd, buf.get(), kBufSize), 0); in TEST()
|
/external/webrtc/webrtc/p2p/base/ |
D | asyncstuntcpsocket.cc | 26 static const size_t kBufSize = kMaxPacketSize + kStunHeaderSize; variable 48 : rtc::AsyncTCPSocketBase(socket, listen, kBufSize) { in AsyncStunTCPSocket() 53 if (cb > kBufSize || cb < kPacketLenSize + kPacketLenOffset) { in Send()
|
/external/lzma/CPP/7zip/Compress/ |
D | CopyCoder.cpp | 11 static const UInt32 kBufSize = 1 << 17; variable 30 _buf = (Byte *)::MidAlloc(kBufSize); in Code() 39 UInt32 size = kBufSize; in Code()
|
D | PpmdDecoder.cpp | 16 static const UInt32 kBufSize = (1 << 20); variable 100 _outBuf = (Byte *)::MidAlloc(kBufSize); in Code() 111 HRESULT res = CodeSpec(_outBuf, kBufSize); in Code()
|
D | PpmdEncoder.cpp | 15 static const UInt32 kBufSize = (1 << 20); variable 111 _inBuf = (Byte *)::MidAlloc(kBufSize); in Code() 130 RINOK(inStream->Read(_inBuf, kBufSize, &size)); in Code()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_memory_stats.cc | 55 const size_t kBufSize = 8u * 1024 * 1024; in ReadFullStats() local 56 std::unique_ptr<char[]> buf(new char[kBufSize]); in ReadFullStats() 57 ssize_t rsize = file_utils::ReadProcFile(pid, "smaps", &buf[0], kBufSize); in ReadFullStats()
|
/external/boringssl/src/ssl/test/ |
D | handshaker.cc | 153 constexpr size_t kBufSize = 1024 * 1024; in main() local 154 bssl::UniquePtr<uint8_t> buf((uint8_t *) OPENSSL_malloc(kBufSize)); in main() 155 ssize_t len = read_eintr(kFdControl, buf.get(), kBufSize); in main()
|
/external/webrtc/webrtc/base/ |
D | stream_unittest.cc | 80 const size_t kBufSize = sizeof(buffer); in SeekTest() local 82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 83 EXPECT_EQ(bytes, kBufSize); in SeekTest() 84 EXPECT_TRUE(VerifyTestBuffer(buffer, kBufSize, value)); in SeekTest() 90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 91 EXPECT_EQ(bytes, kBufSize); in SeekTest() 92 EXPECT_TRUE(VerifyTestBuffer(buffer, kBufSize, value + 7)); in SeekTest()
|
/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_utility.cpp | 75 const size_t kBufSize = 4; in GetHeaderOffset() local 76 uint8_t buf[kBufSize]; in GetHeaderOffset() 78 if (!pFile->ReadBlock(buf, offset, kBufSize)) in GetHeaderOffset()
|