Home
last modified time | relevance | path

Searched refs:kBufSize (Results 1 - 25 of 29) sorted by relevance

12

/third_party/lzma/CPP/Windows/
H A DFileDir.cpp68 const unsigned kBufSize = MAX_PATH + 16; in GetWindowsDir() local
73 TCHAR s[kBufSize + 1]; in GetWindowsDir()
75 len = ::GetWindowsDirectory(s, kBufSize); in GetWindowsDir()
81 WCHAR s[kBufSize + 1]; in GetWindowsDir()
83 len = ::GetWindowsDirectoryW(s, kBufSize); in GetWindowsDir()
86 return (len != 0 && len < kBufSize); in GetWindowsDir()
98 const unsigned kBufSize = MAX_PATH + 16; in GetSystemDir() local
103 TCHAR s[kBufSize + 1]; in GetSystemDir()
105 len = ::GetSystemDirectory(s, kBufSize); in GetSystemDir()
111 WCHAR s[kBufSize in GetSystemDir()
640 const unsigned kBufSize = MAX_PATH + 16; GetCurrentDir() local
724 const unsigned kBufSize = MAX_PATH + 16; MyGetTempPath() local
[all...]
H A DRegistry.cpp96 const UInt32 kBufSize = MAX_PATH + 1; // 256 in ATL in RecurseDeleteKey() local
97 DWORD size = kBufSize; in RecurseDeleteKey()
98 TCHAR buffer[kBufSize]; in RecurseDeleteKey()
104 size = kBufSize; in RecurseDeleteKey()
338 const unsigned kBufSize = MAX_PATH + 1; // 256 in ATL in EnumKeys() local
340 UInt32 nameSize = kBufSize; in EnumKeys()
341 LONG result = ::RegEnumKeyEx(_object, index, keyName.GetBuf(kBufSize), in EnumKeys()
343 keyName.ReleaseBuf_CalcLen(kBufSize); in EnumKeys()
H A DFileLink.cpp460 const unsigned kBufSize = MAXIMUM_REPARSE_DATA_BUFFER_SIZE; in GetReparseData() local
461 CByteArr buf(kBufSize); in GetReparseData()
463 if (!file.DeviceIoControlOut(my_FSCTL_GET_REPARSE_POINT, buf, kBufSize, &returnedSize)) in GetReparseData()
/third_party/lzma/CPP/7zip/Crypto/
H A DRandGen.cpp71 const unsigned kBufSize = 32; in Init() local
73 Byte buf[kBufSize]; in Init()
85 if (CeGenRandom(kBufSize, buf)) in Init()
88 Sha256_Update(&hash, buf, kBufSize); in Init()
92 if (RtlGenRandom(buf, kBufSize)) in Init()
95 Sha256_Update(&hash, buf, kBufSize); in Init()
109 if (my_RtlGenRandom(buf, kBufSize)) in Init()
112 Sha256_Update(&hash, buf, kBufSize); in Init()
129 unsigned numBytes = kBufSize; in Init()
148 int n = getrandom(buf, kBufSize, in Init()
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DInOutTempBuffer.cpp25 static const size_t kBufSize = (size_t)1 << 20; variable
65 buf = MyAlloc(kBufSize); in GetBuf()
89 const size_t index = (size_t)(_size / kBufSize); in Write_HRESULT()
109 const size_t offset = (size_t)(_size) & (kBufSize - 1); in Write_HRESULT()
110 size_t cur = kBufSize - offset; in Write_HRESULT()
160 size_t cur = kBufSize; in WriteToStream()
202 if (!inFile.ReadFull(buf, kBufSize, processed)) in WriteToStream()
H A DFilterCoder.cpp45 static const UInt32 kBufSize = 1 << 21; variable
79 _inBufSize(kBufSize), in CFilterCoder()
80 _outBufSize(kBufSize), in CFilterCoder()
/third_party/lzma/CPP/7zip/Compress/
H A DCopyCoder.cpp11 static const UInt32 kBufSize = 1 << 17; member
30 _buf = (Byte *)::MidAlloc(kBufSize); in Code()
39 UInt32 size = kBufSize; in Code()
70 while (pos < kBufSize); in Code()
100 if (size != kBufSize) in Code()
H A DPpmdDecoder.cpp15 static const UInt32 kBufSize = (1 << 16); member
137 _outBuf = (Byte *)::MidAlloc(kBufSize); in Code()
148 const HRESULT res = CodeSpec(_outBuf, kBufSize); in Code()
H A DPpmdEncoder.cpp14 static const UInt32 kBufSize = (1 << 20); member
144 _inBuf = (Byte *)::MidAlloc(kBufSize); in Code()
163 RINOK(inStream->Read(_inBuf, kBufSize, &size)) in Code()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetDetector.java97 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.
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCharsetDetector.java92 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.
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DProgramInterfaceTest.cpp570 constexpr int kBufSize = 256;
571 GLint params[kBufSize];
590 glGetProgramResourceiv(program, GL_UNIFORM_BLOCK, index, propCount, props, kBufSize, &length,
744 constexpr int kBufSize = 256;
745 GLint params[kBufSize];
747 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize, &length,
777 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize, &length,
860 constexpr int kBufSize = 256;
861 GLint params[kBufSize];
863 glGetProgramResourceiv(program, GL_BUFFER_VARIABLE, index, propCount, props, kBufSize,
[all...]
H A DMemorySizeTest.cpp89 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()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtransport.cc108 : buf_(new char[kBufSize]), in Transport()
261 ::recv(handle_accept_, buf_.get() + size_, kBufSize - size_, 0); in ReadSomeData()
298 int count = size_ < kBufSize ? 2 : 1; in WaitForDebugStubEvent()
384 ::recv(handle_accept_, buf_.get() + size_, kBufSize - size_, 0);
406 if (size_ < kBufSize) {
H A Dtarget.cc314 if (len > Transport::kBufSize / 2) { in ProcessPacket()
320 uint8_t buff[Transport::kBufSize]; in ProcessPacket()
594 if (length > Transport::kBufSize / 2) { in ProcessQueryPacket()
597 uint8_t buff[Transport::kBufSize]; in ProcessQueryPacket()
618 if (length > Transport::kBufSize / 2) { in ProcessQueryPacket()
621 uint8_t buff[Transport::kBufSize]; in ProcessQueryPacket()
H A Dtransport.h126 static const int kBufSize = 4096; member in v8::internal::wasm::gdb_server::Transport
/third_party/lzma/CPP/7zip/Archive/
H A DLzmaHandler.cpp346 const UInt32 kBufSize = 1 << 7;
347 Byte buf[kBufSize];
348 size_t processedSize = kBufSize;
505 const UInt32 kBufSize = 1 + 5 + 8;
506 Byte buf[kBufSize];
/third_party/lzma/CPP/7zip/UI/Common/
H A DOpenArchive.cpp1496 const UInt32 kBufSize = 1 << 11;
1497 Byte buf[kBufSize];
1502 RINOK(op.stream->Read(buf, kBufSize, &processed))
1806 const size_t kBufSize = (1 << 10);
1807 byteBuffer.Alloc(kBufSize);
1808 size_t processedSize = kBufSize;
1826 const size_t kBufSize = (1 << 10);
1827 byteBuffer.Alloc(kBufSize);
1828 size_t processedSize = kBufSize;
2374 const size_t kBufSize
[all...]
H A DHashCalc.cpp511 const UInt32 kBufSize = 1 << 15; in HashCalc() local
513 if (!buf.Alloc(kBufSize)) in HashCalc()
603 RINOK(inStream->Read(buf, kBufSize, &size)) in HashCalc()
1508 const UInt32 kBufSize = 1 << 15; in Extract() local
1510 if (!buf.Alloc(kBufSize)) in Extract()
1604 RINOK(inStream->Read(buf, kBufSize, &size)) in Extract()
1812 const UInt32 kBufSize = 1 << 15; in UpdateItems() local
1814 if (!buf.Alloc(kBufSize)) in UpdateItems()
1912 RINOK(fileInStream->Read(buf, kBufSize, &size)) in UpdateItems()
/third_party/skia/third_party/externals/angle2/util/posix/
H A Dcrash_handler_posix.cpp556 constexpr size_t kBufSize = 1000;
557 char linkBuf[kBufSize] = {};
558 ssize_t readLinkRet = readlink(resolvedModule.c_str(), linkBuf, kBufSize);
H A Dtest_utils_posix.cpp80 constexpr size_t kBufSize = 2048; in ReadFromFile() local
81 char buffer[kBufSize]; in ReadFromFile()
/third_party/lzma/CPP/7zip/Archive/Common/
H A DCoderMixer2.cpp1030 const UInt32 kBufSize = 1 << 19; in Init() local
1031 inSetSize->SetInBufSize(inCoderStreamIndex, kBufSize); in Init()
1032 outSetSize->SetOutBufSize(outCoderStreamIndex, kBufSize); in Init()
/third_party/lzma/CPP/Common/
H A DMyString.cpp126 const int kBufSize = 4; in MyCharUpper_WIN() local
127 char s[kBufSize + 1]; in MyCharUpper_WIN()
128 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0); in MyCharUpper_WIN()
129 if (numChars == 0 || numChars > kBufSize) in MyCharUpper_WIN()
143 const int kBufSize = 4;
144 char s[kBufSize + 1];
145 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
146 if (numChars == 0 || numChars > kBufSize)
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zIn.cpp346 const UInt32 kBufSize = (1 << 15) + kHeaderSize; // must be > (kHeaderSize * 2) in FindAndReadSignature() local
347 CAlignedBuffer1 buf(kBufSize); in FindAndReadSignature()
355 kBufSize - kHeaderSize - kHeaderSize : in FindAndReadSignature()
356 kBufSize - kHeaderSize; in FindAndReadSignature()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dframe_capture_utils.cpp118 constexpr size_t kBufSize = 255; in GroupScope() local
119 char buf[kBufSize + 1] = {}; in GroupScope()
120 snprintf(buf, kBufSize, "%s%s%03d", name.c_str(), name.empty() ? "" : " ", index); in GroupScope()

Completed in 24 milliseconds

12