/external/lzma/CPP/7zip/Common/ |
StreamUtils.cpp | 15 UInt32 curSize = (size < kBlockSize) ? (UInt32)size : kBlockSize;
17 HRESULT res = stream->Read(data, curSize, &processedSizeLoc);
46 UInt32 curSize = (size < kBlockSize) ? (UInt32)size : kBlockSize;
48 HRESULT res = stream->Write(data, curSize, &processedSizeLoc);
|
CWrappers.cpp | 48 UInt32 curSize = ((*size < kStreamStepSize) ? (UInt32)*size : kStreamStepSize);
49 p->Res = (p->Stream->Read(data, curSize, &curSize));
50 *size = curSize;
51 p->Processed += curSize;
104 UInt32 curSize = ((*size < kStreamStepSize) ? (UInt32)*size : kStreamStepSize);
105 p->Res = p->Stream->Read(data, curSize, &curSize);
106 *size = curSize;
|
/external/lzma/CPP/7zip/Compress/ |
LzmaDecoder.cpp | 107 SizeT curSize = next - dicPos;
113 if (rem <= curSize)
115 curSize = (SizeT)rem;
123 SRes res = LzmaDec_DecodeToDic(&_state, dicPos + curSize, _inBuf + _inPos, &inSizeProcessed, finishMode, &status);
249 UInt32 curSize = _inSize - _inPos;
250 if (curSize > size)
251 curSize = size;
252 memcpy(data, _inBuf + _inPos, curSize);
253 _inPos += curSize;
254 _inSizeProcessed += curSize;
[all...] |
Lzma2Decoder.cpp | 92 SizeT curSize = _state.decoder.dicBufSize - dicPos;
94 if (curSize > kStepSize)
95 curSize = (SizeT)kStepSize;
101 if (rem < curSize)
103 curSize = (SizeT)rem;
113 SRes res = Lzma2Dec_DecodeToDic(&_state, dicPos + curSize, _inBuf + _inPos, &inSizeProcessed, finishMode, &status);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
Nodes.java | 640 int curSize; 647 this.curSize = 0; 652 this.curSize = array.length; 659 return Arrays.spliterator(array, 0, curSize); 664 System.arraycopy(array, 0, dest, destOffset, curSize); 669 if (array.length == curSize) { 678 return curSize; 683 for (int i = 0; i < curSize; i++) { 693 array.length - curSize, Arrays.toString(array)); [all...] |
/external/lzma/CPP/7zip/Archive/Common/ |
CoderMixer2.h | 100 UInt32 curSize = Coders[coderIndex].NumInStreams;
101 if (streamIndex < curSize)
106 streamIndex -= curSize;
115 UInt32 curSize = Coders[coderIndex].NumOutStreams;
116 if (streamIndex < curSize)
121 streamIndex -= curSize;
|
/external/lzma/CS/7zip/Compress/LZ/ |
LzOutWindow.cs | 48 uint curSize = _windowSize - _pos;
49 if (size < curSize)
50 curSize = size;
51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize);
|
/external/deqp/framework/delibs/dethread/win32/ |
deThreadWin32.c | 121 deUint32 curSize = (deUint32)sizeof(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION)*8; 122 SYSTEM_LOGICAL_PROCESSOR_INFORMATION* info = (SYSTEM_LOGICAL_PROCESSOR_INFORMATION*)deMalloc(curSize); 126 DWORD inOutLen = curSize; 140 curSize <<= 1; 141 info = deRealloc(info, curSize);
|
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyEffects.cpp | 378 size_t *curSize, 381 // *curSize is at least sizeof(effect_param_t) + 2 * sizeof(int) 382 size_t pos = ((*curSize - 1 ) / size + 1) * size; 394 *curSize = pos + size; 401 size_t *curSize, 408 pos = growParamSize(param, sizeof(short), curSize, totSize); 416 pos = growParamSize(param, sizeof(int), curSize, totSize); 424 pos = growParamSize(param, sizeof(float), curSize, totSize); 432 pos = growParamSize(param, sizeof(bool), curSize, totSize); 446 if (*curSize + len + 1 > *totSize) [all...] |
AudioPolicyEffects.h | 174 size_t *curSize, 178 size_t *curSize,
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
UI.java | 118 Dimension curSize = currentWaitDialog.getSize(); 119 if (prefSize.width > curSize.width || prefSize.height > curSize.height) { 120 currentWaitDialog.setSize(Math.max(prefSize.width, curSize.width), 121 Math.max(prefSize.height, curSize.height));
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 130 int curSize = screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK; 131 if (screenLayoutSize < curSize) {
|
/external/deqp/executor/ |
xeXMLParser.cpp | 52 static int getNextBufferSize (int curSize, int minNewSize) 54 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize));
|
xeCallQueue.cpp | 30 static inline int getNextQueueSize (int curSize, int minNewSize) 32 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize));
|
xeContainerFormatParser.cpp | 35 static int getNextBufferSize (int curSize, int minNewSize) 37 return de::max(curSize*2, 1<<deLog2Ceil32(minNewSize));
|
xeTcpIpLink.cpp | 312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; 313 size_t bytesToRecv = curSize-m_curMsgPos; 317 if (m_curMsgBuf.size() < curSize) 318 m_curMsgBuf.resize(curSize);
|
/external/lzma/C/ |
7zFile.c | 110 DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize;
112 BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL);
145 DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize;
147 BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL);
|
XzDec.c | 140 size_t curSize = p->bufConv - p->bufPos;
141 if (curSize > destLenOrig)
142 curSize = destLenOrig;
143 memcpy(dest, p->buf + p->bufPos, curSize);
144 p->bufPos += curSize;
145 *destLen += curSize;
146 dest += curSize;
147 destLenOrig -= curSize;
155 size_t curSize = BRA_BUF_SIZE - p->bufTotal;
156 if (curSize > srcLenOrig) [all...] |
7zDec.c | 231 size_t curSize = (1 << 18);
232 if (curSize > inSize)
233 curSize = (size_t)inSize;
234 RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize));
235 if (curSize == 0)
237 memcpy(outBuffer, inBuf, curSize);
238 outBuffer += curSize;
239 inSize -= curSize;
240 RINOK(inStream->Skip((void *)inStream, curSize));
|
MtCoder.c | 175 size_t curSize = size;
176 SRes res = stream->Read(stream, data, &curSize);
177 *processedSize += curSize;
178 data += curSize;
179 size -= curSize;
181 if (curSize == 0)
|
LzFind.c | 65 UInt32 curSize = 0xFFFFFFFF - p->streamPos;
66 if (curSize > p->directInputRem)
67 curSize = (UInt32)p->directInputRem;
68 p->directInputRem -= curSize;
69 p->streamPos += curSize;
|
7zArcIn.c | 1037 UInt64 curSize;
1038 RINOK(ReadNumber(&sdCodersUnpSizes, &curSize));
1041 unpackSize = curSize;
[all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btAlignedObjectArray.h | 214 const register int curSize = size(); 216 if (newsize < curSize) 218 for(int i = newsize; i < curSize; i++) 224 if (newsize > curSize) 229 for (int i=curSize;i<newsize;i++)
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 570 final long curSize = Os.fstat(outFd).st_size; 571 final long newBytes = mInfoDelta.mTotalBytes - curSize; 656 final long curSize = Os.fstat(outFd).st_size; 657 final long newBytes = (mInfoDelta.mCurrentBytes + len) - curSize; [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Bench.cpp | 247 size_t curSize = BufferSize - Pos;
248 if (curSize > size)
249 curSize = size;
251 memcpy(Buffer + Pos, data, curSize);
253 Crc = CrcUpdate(Crc, data, curSize);
254 Pos += (UInt32)curSize;
256 *processedSize = (UInt32)curSize;
257 if (curSize != size)
[all...] |