Home
last modified time | relevance | path

Searched refs:curPos (Results 1 – 16 of 16) sorted by relevance

/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DSeekableXZInputStream.java153 private long curPos = 0; field in SeekableXZInputStream
686 curPos += ret; in read()
766 return seekNeeded ? seekPos : curPos; in position()
835 seekPos = curPos; in seek()
842 curPos = seekPos; in seek()
863 if (!(curPos > curBlockInfo.uncompressedOffset && curPos <= seekPos)) { in seek()
873 curPos = curBlockInfo.uncompressedOffset; in seek()
878 if (seekPos > curPos) { in seek()
882 long skipAmount = seekPos - curPos; in seek()
886 curPos = seekPos; in seek()
/external/deqp/execserver/
DxsProtocol.cpp122 size_t curPos = m_buf.size(); in put() local
123 m_buf.resize(curPos + sizeof(T)); in put()
124 deMemcpy(&m_buf[curPos], &netValue, sizeof(T)); in put()
134 int curPos = (int)m_buf.size(); in put() local
137 m_buf.resize(curPos + strLen+1); in put()
138 deMemcpy(&m_buf[curPos], &value[0], strLen+1); in put()
DxsWin32TestProcess.cpp134 int curPos = 0; in run() local
139 while (curPos < (int)m_caseList.size()) in run()
142 const int numToWrite = de::min(maxWriteSize, (int)m_caseList.size() - curPos); in run()
145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped)) in run()
165 curPos += (int)numBytesWritten; in run()
/external/deqp/execserver/tools/
DxsTest.cpp994 int curPos = 0;
995 while (curPos < dataSize)
997 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos);
999 deFileResult result = deFile_write(file, &data[curPos], blockSize, &numWritten);
1004 curPos += blockSize;
1011 curPos = 0;
1012 while (curPos < dataSize)
1015 …int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)…
1021 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0);
1023 curPos += numToRead;
/external/deqp/framework/common/
DtcuResource.cpp69 long curPos = ftell(m_file); in getSize() local
72 fseek(m_file, curPos, SEEK_SET); in getSize()
/external/lzma/C/
DLzFindMt.c316 UInt32 curPos = 2; in BtGetMatches() local
319 while (curPos < limit) in BtGetMatches()
328 distances[curPos++] = 0; in BtGetMatches()
347 while (curPos < limit && size-- != 0) in BtGetMatches()
349 UInt32 *startDistances = distances + curPos; in BtGetMatches()
354 curPos += num; in BtGetMatches()
362curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBuffe… in BtGetMatches()
363 …distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos) , siz… in BtGetMatches()
379 distances[0] = curPos; in BtGetMatches()
DXzEnc.c213 size_t curPos; member
227 if (!p->srcWasFinished && p->curPos == p->endPos) in SeqInFilter_Read()
229 p->curPos = 0; in SeqInFilter_Read()
236 SizeT srcLen = p->endPos - p->curPos; in SeqInFilter_Read()
240 res = p->StateCoder.Code(p->StateCoder.p, data, size, p->buf + p->curPos, &srcLen, in SeqInFilter_Read()
242 p->curPos += srcLen; in SeqInFilter_Read()
274 p->curPos = p->endPos = 0; in SeqInFilter_Init()
/external/lzma/CPP/Common/
DC_FileIO.cpp38 off_t curPos = Seek(0, SEEK_CUR); in GetLength() local
40 Seek(curPos, SEEK_SET); in GetLength()
/external/deqp/executor/
DxeCallQueue.cpp235 size_t curPos = m_call->getDataSize(); in write() local
236 m_call->setDataSize(curPos+numBytes); in write()
237 deMemcpy(m_call->getData()+curPos, bytes, numBytes); in write()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DLZEncoder.java347 int curPos = readPos + forward;
348 int backPos = curPos - dist - 1;
351 while (len < lenLimit && buf[curPos + len] == buf[backPos + len])
/external/skia/tools/
Dskpinfo.cpp85 size_t curPos = stream.getPosition(); in tool_main() local
89 if (curPos+chunkSize > totStreamSize) { in tool_main()
/external/nist-sip/java/gov/nist/core/
DStringTokenizer.java124 int curPos = ptr; in peekLine() local
126 ptr = curPos; in peekLine()
/external/javassist/src/main/javassist/bytecode/
DDescriptor.java797 private int index, curPos; field in Descriptor.Iterator
807 index = curPos = 0; in Iterator()
826 public char currentChar() { return desc.charAt(curPos); } in currentChar()
866 curPos = index; in next()
868 return curPos; in next()
/external/deqp/framework/delibs/deutil/
DdeFile.c162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize() local
164 if (curPos < 0) in deFile_getSize()
172 lseek(file->fd, (off_t)curPos, SEEK_SET); in deFile_getSize()
/external/svox/pico/lib/
Dpicospho.c532 picoos_uint16 oldPos, curPos; in sphoExtractPhonemes() local
588 curPos = spho->phonWritePos; in sphoExtractPhonemes()
635 i = curPos; in sphoExtractPhonemes()
946 picoos_uint16 curPos /*, nextPos */; in sphoStep() local
993 curPos = spho->headxWritePos; in sphoStep()
1024 if (curPos < spho->headxWritePos) { /* we did get some new items */ in sphoStep()
1026 spho->headxWritePos - curPos)); in sphoStep()
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp247 int curPos = start; in GetRectArray() local
253 info_curchar = *(PAGECHAR_INFO*)m_charList.GetAt(curPos++); in GetRectArray()