/external/tensorflow/tensorflow/core/graph/ |
D | optimizer_cse.cc | 124 static constexpr size_t kBufSize = 228; member in tensorflow::Hasher::HashingOutputStream 127 if (i_ == kBufSize) { in Next() 129 Mix(buf_, kBufSize); in Next() 131 *size = kBufSize; in Next() 134 *size = kBufSize - i_; in Next() 138 i_ = kBufSize; in Next() 149 const auto remaining = kBufSize - i_; in WriteAliasedRaw() 157 i_ = kBufSize; in WriteAliasedRaw() 161 if (i_ == kBufSize) { in WriteAliasedRaw() 162 Mix(buf_, kBufSize); in WriteAliasedRaw() [all …]
|
/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/tensorflow/tensorflow/lite/experimental/ruy/profiler/ |
D | instrumentation.cc | 47 static constexpr int kBufSize = 256; in Formatted() local 48 char buf[kBufSize]; in Formatted() 53 snprintf(buf, kBufSize, format_, args_[0]); in Formatted() 55 snprintf(buf, kBufSize, format_, args_[0], args_[1]); in Formatted() 57 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2]); in Formatted() 59 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2], args_[3]); in Formatted()
|
/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()
|
/external/pdfium/samples/ |
D | pdfium_test_dump_helper.cc | 49 static const size_t kBufSize = 1024; in DumpChildStructure() local 50 unsigned short buf[kBufSize]; in DumpChildStructure() 51 unsigned long len = FPDF_StructElement_GetType(child, buf, kBufSize); in DumpChildStructure() 55 len = FPDF_StructElement_GetTitle(child, buf, kBufSize); in DumpChildStructure() 60 len = FPDF_StructElement_GetAltText(child, buf, kBufSize); in DumpChildStructure()
|
/external/libaom/libaom/test/ |
D | intra_edge_test.cc | 37 static const int kBufSize = 2 * 64 + 32; member in __anonb462d0360111::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 __anonb462d0360111::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 __anonf45988de0111::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 __anon15d89bd20111::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()
|
/external/perfetto/src/base/ |
D | file_utils.cc | 36 constexpr size_t kBufSize = 2048; variable 51 if (out->size() < i + kBufSize) in ReadFileDescriptor() 52 out->resize(out->size() + kBufSize); in ReadFileDescriptor() 54 bytes_read = PERFETTO_EINTR(read(fd, &((*out)[i]), kBufSize)); in ReadFileDescriptor()
|
/external/angle/src/tests/gl_tests/ |
D | ProgramInterfaceTest.cpp | 503 constexpr int kBufSize = 256; in TEST_P() local 504 GLint params[kBufSize]; in TEST_P() 523 glGetProgramResourceiv(program, GL_UNIFORM_BLOCK, index, propCount, props, kBufSize, &length, in TEST_P() 670 constexpr int kBufSize = 256; in TEST_P() local 671 GLint params[kBufSize]; in TEST_P() 673 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize, &length, in TEST_P() 703 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize, &length, in TEST_P() 785 constexpr int kBufSize = 256; in TEST_P() local 786 GLint params[kBufSize]; in TEST_P() 788 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize, &length, in TEST_P() [all …]
|
D | MemorySizeTest.cpp | 89 constexpr GLsizeiptr kBufSize = 16; in TEST_P() local 90 std::array<uint8_t, kBufSize> buf; in TEST_P() 91 glBufferData(GL_ARRAY_BUFFER, kBufSize, buf.data(), GL_STATIC_DRAW); in TEST_P()
|
/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/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/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/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/lite/toco/graph_transformations/tests/ |
D | unpack_quantize_test.cc | 50 const int kBufSize = 4; in PrepareModel() local 51 static float in_buf[kBufSize] = {0.0, 1.0, 2.0, 3.0}; in PrepareModel() 66 in_array_buffer.data.resize(kBufSize); in PrepareModel() 68 std::copy(in_buf, in_buf + kBufSize, buf_ptr); in PrepareModel()
|
D | resolve_constant_concatenation_test.cc | 117 const int kBufSize = 8; in PrepareModel() local 119 static float in_buf[kNumArrays][kBufSize] = { in PrepareModel() 137 in_array_buffer.data.resize(kBufSize); in PrepareModel() 140 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()
|
/external/v8/src/debug/wasm/gdb-server/ |
D | transport.cc | 105 : buf_(new char[kBufSize]), in Transport() 258 ::recv(handle_accept_, buf_.get() + size_, kBufSize - size_, 0); in ReadSomeData() 295 int count = size_ < kBufSize ? 2 : 1; in WaitForDebugStubEvent() 381 ::recv(handle_accept_, buf_.get() + size_, kBufSize - size_, 0); in ReadSomeData() 403 if (size_ < kBufSize) { in WaitForDebugStubEvent()
|