/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
H A D | decorate_proc_maps.cc | 13 const size_t kBufSize = 0x10000; local 14 static char buf[kBufSize]; 16 ssize_t got = read(in_fd, buf, kBufSize);
|
/external/compiler-rt/lib/asan/ |
H A D | asanwrapper.cc | 34 const size_t kBufSize = EI_CLASS + 1; local 35 char buf[kBufSize]; 36 ssize_t sz = read(fd, buf, kBufSize); 37 if (sz != kBufSize) {
|
/external/lzma/CPP/Windows/ |
H A D | CommonDialog.cpp | 112 const unsigned kBufSize = MAX_PATH * 2;
local 119 CHAR buf[kBufSize];
137 p.nMaxFile = kBufSize;
149 WCHAR buf[kBufSize];
168 p.nMaxFile = kBufSize;
|
H A D | FileLink.cpp | 358 const unsigned kBufSize = MAXIMUM_REPARSE_DATA_BUFFER_SIZE;
local 359 CByteArr buf(kBufSize);
361 if (!file.DeviceIoControlOut(my_FSCTL_GET_REPARSE_POINT, buf, kBufSize, &returnedSize))
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
H A D | microdump_writer_unittest.cc | 110 const size_t kBufSize = 64 * 1024; local 111 scoped_array<char> buf(new char[kBufSize]); 112 ASSERT_GT(read(err_fd, buf.get(), kBufSize), 0);
|
/external/webrtc/webrtc/p2p/base/ |
H A D | asyncstuntcpsocket.cc | 26 static const size_t kBufSize = kMaxPacketSize + kStunHeaderSize; member in namespace:cricket 48 : rtc::AsyncTCPSocketBase(socket, listen, kBufSize) { 53 if (cb > kBufSize || cb < kPacketLenSize + kPacketLenOffset) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CharsetDetector.java | 90 private static final int kBufSize = 8000; field in class:CharsetDetector 108 fInputStream.mark(kBufSize); 109 fRawInput = new byte[kBufSize]; // Always make a new buffer because the 113 int remainingLength = kBufSize; 371 if (limit > kBufSize) { 372 limit = kBufSize; 406 new byte[kBufSize]; // removed if appropriate.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CharsetDetector.java | 95 private static final int kBufSize = 8000; field in class:CharsetDetector 115 fInputStream.mark(kBufSize); 116 fRawInput = new byte[kBufSize]; // Always make a new buffer because the 120 int remainingLength = kBufSize; 392 if (limit > kBufSize) { 393 limit = kBufSize; 427 new byte[kBufSize]; // removed if appropriate.
|
/external/lzma/CPP/7zip/Compress/ |
H A D | PpmdDecoder.cpp | 16 static const UInt32 kBufSize = (1 << 20);
member in namespace:NCompress::NPpmd 104 _outBuf = (Byte *)::MidAlloc(kBufSize);
115 HRESULT res = CodeSpec(_outBuf, kBufSize);
|
H A D | PpmdEncoder.cpp | 15 static const UInt32 kBufSize = (1 << 20);
member in namespace:NCompress::NPpmd 115 _inBuf = (Byte *)::MidAlloc(kBufSize);
134 RINOK(inStream->Read(_inBuf, kBufSize, &size));
|
H A D | Bcj2Coder.cpp | 18 static const unsigned kBufSize = 1 << 17;
member in namespace:NCompress::NBcj2 58 _buf = (Byte *)MidAlloc(kBufSize);
102 UInt32 size = kBufSize - (bufPos + processedSize);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cc | 268 const sptr kBufSize = 4095; local 269 char *filename = (char*)MmapOrDie(kBufSize, __func__); 272 filename, kBufSize, /* protection */nullptr)) { 276 UnmapOrDie(filename, kBufSize);
|
/external/lzma/CPP/7zip/Archive/Common/ |
H A D | CoderMixer2MT.cpp | 136 const UInt32 kBufSize = 1 << 19;
local 137 inSetSize->SetInBufSize(inCoderStreamIndex, kBufSize);
138 outSetSize->SetOutBufSize(outCoderStreamIndex, kBufSize);
|
/external/webrtc/webrtc/base/ |
H A D | asynctcpsocket.cc | 30 static const size_t kBufSize = kMaxPacketSize + kPacketLenSize; member in namespace:rtc 246 : AsyncTCPSocketBase(socket, listen, kBufSize) { 251 if (cb > kBufSize) {
|
H A D | stream_unittest.cc | 80 const size_t kBufSize = sizeof(buffer); local 82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 83 EXPECT_EQ(bytes, kBufSize); 84 EXPECT_TRUE(VerifyTestBuffer(buffer, kBufSize, value)); 90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 91 EXPECT_EQ(bytes, kBufSize); 92 EXPECT_TRUE(VerifyTestBuffer(buffer, kBufSize, value + 7));
|
/external/lzma/CPP/7zip/Archive/ |
H A D | LzmaHandler.cpp | 352 const UInt32 kBufSize = 1 + 5 + 8 + 2;
local 353 Byte buf[kBufSize];
355 RINOK(ReadStream_FALSE(inStream, buf, kBufSize));
488 const UInt32 kBufSize = 1 + 5 + 8;
local 489 Byte buf[kBufSize];
|
/external/boringssl/src/tool/ |
H A D | digest.cc | 130 static const size_t kBufSize = 8192; local 131 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufSize]); 147 n = read(fd, buf.get(), kBufSize);
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | HashCalc.cpp | 263 const UInt32 kBufSize = 1 << 15;
local 265 if (!buf.Alloc(kBufSize))
314 RINOK(inStream->Read(buf, kBufSize, &size));
|
H A D | OpenArchive.cpp | 1195 const UInt32 kBufSize = 1 << 11;
local 1196 Byte buf[kBufSize];
1201 RINOK(op.stream->Read(buf, kBufSize, &processed));
1451 const size_t kBufSize = (1 << 10);
local 1452 byteBuffer.Alloc(kBufSize);
1453 size_t processedSize = kBufSize;
1471 const size_t kBufSize = (1 << 10);
local 1472 byteBuffer.Alloc(kBufSize);
1473 size_t processedSize = kBufSize;
1984 const size_t kBufSize local [all...] |
/external/pdfium/samples/ |
H A D | image_diff.cc | 74 const size_t kBufSize = 1024; local 75 unsigned char buf[kBufSize]; 77 while ((num_read = fread(buf, 1, kBufSize, f)) > 0) {
|
/external/v8/test/cctest/heap/ |
H A D | test-mark-compact.cc | 416 const int kBufSize = 10000; local 417 char buffer[kBufSize]; 418 ssize_t length = read(fd, buffer, kBufSize); 420 CHECK_LT(length, kBufSize); // Make the buffer bigger.
|
/external/lzma/CPP/Common/ |
H A D | MyString.cpp | 99 const int kBufSize = 4;
local 100 char s[kBufSize + 1];
101 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
102 if (numChars == 0 || numChars > kBufSize)
116 const int kBufSize = 4;
117 char s[kBufSize + 1];
118 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
119 if (numChars == 0 || numChars > kBufSize)
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | minidump_writer.cc | 1132 static const unsigned kBufSize = 1024 - 2*sizeof(void*); local 1136 uint8_t data[kBufSize]; 1145 r = sys_read(fd, &bufptr->data[bufptr->len], kBufSize - bufptr->len); 1153 if (bufptr->len == kBufSize) {
|
/external/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zIn.cpp | 339 const UInt32 kBufSize = 1 << 15;
local 340 CByteArr buf(kBufSize);
346 UInt32 readSize = kBufSize - kHeaderSize;
|
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 188 static const size_t kBufSize = 4096; local 189 uint8_t buf[kBufSize]; 191 while ((amount = srcStream->read(buf, kBufSize)) > 0) {
|