/third_party/lzma/CPP/7zip/Compress/ |
D | Bcj2Coder.cpp | 212 const size_t curSize = (size_t)(enc.bufs[enc.state] - _bufs[enc.state]); in CodeReal() local 214 RINOK(WriteStream(outStreams[enc.state], _bufs[enc.state], curSize)) in CodeReal() 216 outSizeRc += curSize; in CodeReal() 235 UInt32 curSize = _bufsSizes[BCJ2_NUM_STREAMS]; in CodeReal() local 236 RINOK(inStreams[0]->Read(_bufs[BCJ2_NUM_STREAMS], curSize, &curSize)) in CodeReal() 238 if (curSize == 0) in CodeReal() 240 totalRead += curSize; in CodeReal() 242 srcLim_Read = _bufs[BCJ2_NUM_STREAMS] + curSize; in CodeReal() 480 UInt32 curSize = _bufsSizes[state] - total; in ReadInStream() local 490 const HRESULT hres = inStream->Read(_bufs[state] + total, curSize, &curSize); in ReadInStream() [all …]
|
D | CopyCoder.cpp | 61 const UInt32 curSize = size - pos; in Z7_COM7F_IMF() local 63 readRes = inStream->Read(_buf + pos, curSize, &processed); in Z7_COM7F_IMF() 64 if (processed > curSize) in Z7_COM7F_IMF() 82 const UInt32 curSize = size - pos; in Z7_COM7F_IMF() local 84 const HRESULT res = outStream->Write(_buf + pos, curSize, &processed); in Z7_COM7F_IMF() 85 if (processed > curSize) in Z7_COM7F_IMF()
|
/third_party/lzma/C/ |
D | 7zFile.c | 166 const DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Read() local 168 const BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL); in File_Read() 184 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Read() local 185 const size_t processed = fread(data, 1, curSize, p->file); in File_Read() 189 if (processed != curSize) in File_Read() 201 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Read() local 202 const ssize_t processed = read(p->fd, data, curSize); in File_Read() 232 const DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; in File_Write() local 234 const BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL); in File_Write() 249 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize; in File_Write() local [all …]
|
D | 7zDec.c | 287 size_t curSize = (1 << 18); in SzDecodeCopy() local 288 if (curSize > inSize) in SzDecodeCopy() 289 curSize = (size_t)inSize; in SzDecodeCopy() 290 RINOK(ILookInStream_Look(inStream, &inBuf, &curSize)) in SzDecodeCopy() 291 if (curSize == 0) in SzDecodeCopy() 293 memcpy(outBuffer, inBuf, curSize); in SzDecodeCopy() 294 outBuffer += curSize; in SzDecodeCopy() 295 inSize -= curSize; in SzDecodeCopy() 296 RINOK(ILookInStream_Skip(inStream, curSize)) in SzDecodeCopy()
|
D | LzFind.c | 127 UInt32 curSize = 0xFFFFFFFF - GET_AVAIL_BYTES(p); in MatchFinder_ReadBlock() local 128 if (curSize > p->directInputRem) in MatchFinder_ReadBlock() 129 curSize = (UInt32)p->directInputRem; in MatchFinder_ReadBlock() 130 p->streamPos += curSize; in MatchFinder_ReadBlock() 131 p->directInputRem -= curSize; in MatchFinder_ReadBlock()
|
/third_party/lzma/CPP/Windows/ |
D | Registry.cpp | 257 UInt32 curSize = 0; in QueryValue() local 258 LONG res = RegQueryValueEx(_object, name, NULL, &type, NULL, (DWORD *)&curSize); in QueryValue() 261 UInt32 curSize2 = curSize; in QueryValue() 262 res = QueryValue(name, value.GetBuf(curSize), curSize2); in QueryValue() 263 if (curSize > curSize2) in QueryValue() 264 curSize = curSize2; in QueryValue() 265 value.ReleaseBuf_CalcLen(curSize / sizeof(TCHAR)); in QueryValue() 284 UInt32 curSize = 0; in QueryValue() local 290 res = RegQueryValueExW(_object, name, NULL, &type, NULL, (DWORD *)&curSize); in QueryValue() 293 UInt32 curSize2 = curSize; in QueryValue() [all …]
|
/third_party/lzma/CPP/7zip/Common/ |
D | CWrappers.cpp | 79 UInt32 curSize = ((*size < kStreamStepSize) ? (UInt32)*size : kStreamStepSize); in MyRead() 80 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead() 81 *size = curSize; in MyRead() 82 p->Processed += curSize; in MyRead() 124 UInt32 curSize = ((*size < kStreamStepSize) ? (UInt32)*size : kStreamStepSize); in InStreamWrap_Read() 125 p->Res = p->Stream->Read(data, curSize, &curSize); in InStreamWrap_Read() 126 *size = curSize; in InStreamWrap_Read()
|
D | StreamUtils.cpp | 60 UInt32 curSize = (size < kBlockSize) ? (UInt32)size : kBlockSize; in ReadStream() local 62 HRESULT res = stream->Read(data, curSize, &processedSizeLoc); in ReadStream() 91 UInt32 curSize = (size < kBlockSize) ? (UInt32)size : kBlockSize; in WriteStream() local 93 HRESULT res = stream->Write(data, curSize, &processedSizeLoc); in WriteStream()
|
D | MultiOutStream.cpp | 663 UInt32 curSize = size; in Z7_COM7F_IMF() local 666 if (curSize > rem) in Z7_COM7F_IMF() 667 curSize = (UInt32)rem; in Z7_COM7F_IMF() 672 HRESULT hres = s.Stream->Write(data, curSize, &realProcessed); in Z7_COM7F_IMF() 704 if (realProcessed == 0 && curSize != 0) in Z7_COM7F_IMF()
|
/third_party/vk-gl-cts/framework/delibs/dethread/win32/ |
D | deThreadWin32.c | 121 deUint32 curSize = (deUint32)sizeof(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION)*8; in getWin32ProcessorInfo() local 122 …TEM_LOGICAL_PROCESSOR_INFORMATION* info = (SYSTEM_LOGICAL_PROCESSOR_INFORMATION*)deMalloc(curSize); in getWin32ProcessorInfo() 126 DWORD inOutLen = curSize; in getWin32ProcessorInfo() 140 curSize <<= 1; in getWin32ProcessorInfo() 141 info = deRealloc(info, curSize); in getWin32ProcessorInfo()
|
/third_party/lzma/CS/7zip/Compress/LZ/ |
D | LzOutWindow.cs | 48 uint curSize = _windowSize - _pos; in Train() 49 if (size < curSize) in Train() 50 curSize = size; in Train() 51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize); in Train()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | IndexBuffer.cpp | 173 unsigned int curSize = getBufferSize(); in reserveBufferSpace() local 174 if (curSize == 0) in reserveBufferSpace() 179 ASSERT(curSize >= size && indexType == getIndexType()); in reserveBufferSpace()
|
/third_party/vk-gl-cts/executor/ |
D | xeTcpIpLink.cpp | 312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; in run() local 313 size_t bytesToRecv = curSize-m_curMsgPos; in run() 317 if (m_curMsgBuf.size() < curSize) in run() 318 m_curMsgBuf.resize(curSize); in run()
|
D | xeCallQueue.cpp | 30 static inline int getNextQueueSize (int curSize, int minNewSize) in getNextQueueSize() argument 32 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize)); in getNextQueueSize()
|
D | xeContainerFormatParser.cpp | 35 static int getNextBufferSize (int curSize, int minNewSize) in getNextBufferSize() argument 37 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize)); in getNextBufferSize()
|
/third_party/vk-gl-cts/framework/xexml/ |
D | xeXMLParser.cpp | 52 static int getNextBufferSize (int curSize, int minNewSize) in getNextBufferSize() argument 54 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize)); in getNextBufferSize()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | HashCalc.cpp | 572 UInt64 curSize = 0; in HashCalc() local 573 if (inStreamSpec->GetSize(&curSize) == S_OK) in HashCalc() 575 if (curSize > di.Size) in HashCalc() 577 totalSize += curSize - di.Size; in HashCalc() 1218 const UInt32 curSize = (len < kBlockSize) ? (UInt32)len : kBlockSize; in ReadStream_to_Buf() local 1220 RINOK(stream->Read((Byte *)buf + pos, curSize, &processedSizeLoc)) in ReadStream_to_Buf()
|
D | Bench.cpp | 336 size_t curSize = Size() - Pos; 337 if (curSize > size) 338 curSize = size; 339 if (curSize != 0) 342 memcpy(((Byte *)*this) + Pos, data, curSize); 344 Calc(data, curSize); 345 Pos += curSize; 348 *processedSize = (UInt32)curSize; 349 if (curSize != size) 2285 const UInt32 curSize = (rem < kStep) ? (UInt32)rem : kStep; [all …]
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 2241 for (int curSize = genTypeFirstSize; curSize <= genTypeLastSize; curSize++) in init() local 2255 int inSize = (funcTypes[i] & VALUE_ANY_GENTYPE) ? curSize in init()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 2198 for (int curSize = genTypeFirstSize; curSize <= genTypeLastSize; curSize++) in init() local 2212 int inSize = (funcTypes[i] & VALUE_ANY_GENTYPE) ? curSize in init()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 627 const auto &curSize = attachment.getSize(); in attachmentsHaveSameDimensions() local 628 return (curSize.width != prevSize.width || curSize.height != prevSize.height); in attachmentsHaveSameDimensions()
|