/external/compiler-rt/lib/asan/ |
D | asanwrapper.cc | 34 const size_t kBufSize = EI_CLASS + 1; in elf_is_64bit() local 35 char buf[kBufSize]; in elf_is_64bit() 36 ssize_t sz = read(fd, buf, kBufSize); in elf_is_64bit() 37 if (sz != kBufSize) { in elf_is_64bit()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
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 | 112 const unsigned kBufSize = MAX_PATH * 2; in MyGetOpenFileName() local 119 CHAR buf[kBufSize]; in MyGetOpenFileName() 137 p.nMaxFile = kBufSize; in MyGetOpenFileName() 149 WCHAR buf[kBufSize]; in MyGetOpenFileName() 168 p.nMaxFile = kBufSize; in MyGetOpenFileName()
|
D | FileLink.cpp | 358 const unsigned kBufSize = MAXIMUM_REPARSE_DATA_BUFFER_SIZE; in GetReparseData() local 359 CByteArr buf(kBufSize); in GetReparseData() 361 if (!file.DeviceIoControlOut(my_FSCTL_GET_REPARSE_POINT, buf, kBufSize, &returnedSize)) in GetReparseData()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetDetector.java | 95 private static final int kBufSize = 8000; field in CharsetDetector 115 fInputStream.mark(kBufSize); in setText() 116 fRawInput = new byte[kBufSize]; // Always make a new buffer because the in setText() 120 int remainingLength = kBufSize; in setText() 392 if (limit > kBufSize) { in MungeInput() 393 limit = kBufSize; in MungeInput() 427 new byte[kBufSize]; // removed if appropriate.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetDetector.java | 90 private static final int kBufSize = 8000; field in CharsetDetector 108 fInputStream.mark(kBufSize); in setText() 109 fRawInput = new byte[kBufSize]; // Always make a new buffer because the in setText() 113 int remainingLength = kBufSize; in setText() 371 if (limit > kBufSize) { in MungeInput() 372 limit = kBufSize; in MungeInput() 406 new byte[kBufSize]; // removed if appropriate.
|
/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 | PpmdDecoder.cpp | 16 static const UInt32 kBufSize = (1 << 20); variable 104 _outBuf = (Byte *)::MidAlloc(kBufSize); in Code() 115 HRESULT res = CodeSpec(_outBuf, kBufSize); in Code()
|
D | PpmdEncoder.cpp | 15 static const UInt32 kBufSize = (1 << 20); variable 115 _inBuf = (Byte *)::MidAlloc(kBufSize); in Code() 134 RINOK(inStream->Read(_inBuf, kBufSize, &size)); in Code()
|
D | Bcj2Coder.cpp | 18 static const unsigned kBufSize = 1 << 17; variable 58 _buf = (Byte *)MidAlloc(kBufSize); in CodeReal() 102 UInt32 size = kBufSize - (bufPos + processedSize); in CodeReal()
|
/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()
|
D | asynctcpsocket.cc | 30 static const size_t kBufSize = kMaxPacketSize + kPacketLenSize; variable 246 : AsyncTCPSocketBase(socket, listen, kBufSize) { in AsyncTCPSocket() 251 if (cb > kBufSize) { in Send()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 268 const sptr kBufSize = 4095; in DumpProcessMap() local 269 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap() 272 filename, kBufSize, /* protection */nullptr)) { in DumpProcessMap() 276 UnmapOrDie(filename, kBufSize); in DumpProcessMap()
|
/external/lzma/CPP/7zip/Archive/ |
D | LzmaHandler.cpp | 352 const UInt32 kBufSize = 1 + 5 + 8 + 2; in Open() local 353 Byte buf[kBufSize]; in Open() 355 RINOK(ReadStream_FALSE(inStream, buf, kBufSize)); in Open() 488 const UInt32 kBufSize = 1 + 5 + 8; in Extract() local 489 Byte buf[kBufSize]; in Extract()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2MT.cpp | 136 const UInt32 kBufSize = 1 << 19; in Init() local 137 inSetSize->SetInBufSize(inCoderStreamIndex, kBufSize); in Init() 138 outSetSize->SetOutBufSize(outCoderStreamIndex, kBufSize); in Init()
|
/external/boringssl/src/tool/ |
D | digest.cc | 130 static const size_t kBufSize = 8192; in SumFile() local 131 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufSize]); in SumFile() 147 n = read(fd, buf.get(), kBufSize); in SumFile()
|
/external/pdfium/samples/ |
D | image_diff.cc | 74 const size_t kBufSize = 1024; in CreateFromFilename() local 75 unsigned char buf[kBufSize]; in CreateFromFilename() 77 while ((num_read = fread(buf, 1, kBufSize, f)) > 0) { in CreateFromFilename()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | HashCalc.cpp | 263 const UInt32 kBufSize = 1 << 15; in HashCalc() local 265 if (!buf.Alloc(kBufSize)) in HashCalc() 314 RINOK(inStream->Read(buf, kBufSize, &size)); in HashCalc()
|
D | OpenArchive.cpp | 1195 const UInt32 kBufSize = 1 << 11; in CheckZerosTail() local 1196 Byte buf[kBufSize]; in CheckZerosTail() 1201 RINOK(op.stream->Read(buf, kBufSize, &processed)); in CheckZerosTail() 1451 const size_t kBufSize = (1 << 10); in OpenStream2() local 1452 byteBuffer.Alloc(kBufSize); in OpenStream2() 1453 size_t processedSize = kBufSize; in OpenStream2() 1471 const size_t kBufSize = (1 << 10); in OpenStream2() local 1472 byteBuffer.Alloc(kBufSize); in OpenStream2() 1473 size_t processedSize = kBufSize; in OpenStream2() 1984 const size_t kBufSize = 1 << 22; // it must be more than kBeforeSize + kAfterSize in OpenStream2() local [all …]
|
/external/v8/test/cctest/heap/ |
D | test-mark-compact.cc | 416 const int kBufSize = 10000; in MemoryInUse() local 417 char buffer[kBufSize]; in MemoryInUse() 418 ssize_t length = read(fd, buffer, kBufSize); in MemoryInUse() 420 CHECK_LT(length, kBufSize); // Make the buffer bigger. in MemoryInUse()
|
/external/lzma/CPP/Common/ |
D | MyString.cpp | 99 const int kBufSize = 4; in MyCharUpper_WIN() local 100 char s[kBufSize + 1]; in MyCharUpper_WIN() 101 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0); in MyCharUpper_WIN() 102 if (numChars == 0 || numChars > kBufSize) in MyCharUpper_WIN()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 1132 static const unsigned kBufSize = 1024 - 2*sizeof(void*); in WriteFile() local 1136 uint8_t data[kBufSize]; in WriteFile() 1145 r = sys_read(fd, &bufptr->data[bufptr->len], kBufSize - bufptr->len); in WriteFile() 1153 if (bufptr->len == kBufSize) { in WriteFile()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 188 static const size_t kBufSize = 4096; in handle_type1_stream() local 189 uint8_t buf[kBufSize]; in handle_type1_stream() 191 while ((amount = srcStream->read(buf, kBufSize)) > 0) { in handle_type1_stream()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.cpp | 339 const UInt32 kBufSize = 1 << 15; in FindAndReadSignature() local 340 CByteArr buf(kBufSize); in FindAndReadSignature() 346 UInt32 readSize = kBufSize - kHeaderSize; in FindAndReadSignature()
|