/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ThreadSafeCursorWrapper.java | 142 final int curPos = mPosition.get(); 143 return moveToPosition(curPos + offset); 158 final int curPos = mPosition.get(); 159 return moveToPosition(curPos + 1); 177 final int curPos = mPosition.get(); 179 if (position == curPos) { 190 final int curPos = mPosition.get(); 191 return moveToPosition(curPos - 1);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
AddressListParserTokenManager.java | 118 private final int jjMoveNfa_0(int startState, int curPos) 202 jjmatchedPos = curPos; 205 ++curPos; 207 return curPos; 209 catch(java.io.IOException e) { return curPos; } 247 private final int jjMoveNfa_2(int startState, int curPos) 326 jjmatchedPos = curPos; 329 ++curPos; 331 return curPos; 333 catch(java.io.IOException e) { return curPos; } [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserTokenManager.java | 112 private final int jjMoveNfa_0(int startState, int curPos) 216 jjmatchedPos = curPos; 219 ++curPos; 221 return curPos; 223 catch(java.io.IOException e) { return curPos; } 258 private final int jjMoveNfa_1(int startState, int curPos) 337 jjmatchedPos = curPos; 340 ++curPos; 342 return curPos; 344 catch(java.io.IOException e) { return curPos; } [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParserTokenManager.java | 296 private final int jjMoveNfa_0(int startState, int curPos) 380 jjmatchedPos = curPos; 383 ++curPos; 385 return curPos; 387 catch(java.io.IOException e) { return curPos; } 425 private final int jjMoveNfa_1(int startState, int curPos) 504 jjmatchedPos = curPos; 507 ++curPos; 509 return curPos; 511 catch(java.io.IOException e) { return curPos; } [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableXZInputStream.java | 153 private long curPos = 0; 686 curPos += ret; 766 return seekNeeded ? seekPos : curPos; 835 seekPos = curPos; 842 curPos = seekPos; 858 // NOTE: If curPos points to the beginning of this Block, it's 863 if (!(curPos > curBlockInfo.uncompressedOffset && curPos <= seekPos)) { 873 curPos = curBlockInfo.uncompressedOffset; 878 if (seekPos > curPos) { [all...] |
/external/deqp/framework/common/ |
tcuResource.cpp | 69 long curPos = ftell(m_file); 72 fseek(m_file, curPos, SEEK_SET);
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 38 off_t curPos = Seek(0, SEEK_CUR);
40 Seek(curPos, SEEK_SET);
|
/external/deqp/execserver/ |
xsProtocol.cpp | 122 size_t curPos = m_buf.size(); 123 m_buf.resize(curPos + sizeof(T)); 124 deMemcpy(&m_buf[curPos], &netValue, sizeof(T)); 134 int curPos = (int)m_buf.size(); 137 m_buf.resize(curPos + strLen+1); 138 deMemcpy(&m_buf[curPos], &value[0], strLen+1);
|
xsWin32TestProcess.cpp | 134 int curPos = 0; 139 while (curPos < (int)m_caseList.size()) 142 const int numToWrite = de::min(maxWriteSize, (int)m_caseList.size() - curPos); 145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped)) 165 curPos += (int)numBytesWritten;
|
/external/deqp/executor/ |
xeCallQueue.cpp | 235 size_t curPos = m_call->getDataSize(); 236 m_call->setDataSize(curPos+numBytes); 237 deMemcpy(m_call->getData()+curPos, bytes, numBytes);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
SecurityLogMonitor.java | 293 int curPos = 0; 296 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { 297 final SecurityEvent curEvent = newLogs.get(curPos); 309 curPos++; 324 curPos++; 328 mPendingLogs.addAll(newLogs.subList(curPos, newLogs.size()));
|
/external/nist-sip/java/gov/nist/core/ |
StringTokenizer.java | 124 int curPos = ptr; 126 ptr = curPos;
|
/external/skia/tools/ |
skpinfo.cpp | 103 size_t curPos = stream.getPosition(); 107 if (curPos+chunkSize > totStreamSize) {
|
/build/blueprint/parser/ |
sort.go | 121 curPos := values[0].Pos() 124 values[i].(*String).LiteralPos = curPos 127 file.Comments[j].Comments[0].Slash.Line = curPos.Line 132 curPos.Offset += e.nextPos.Offset - e.pos.Offset 133 curPos.Line++
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
LZEncoder.java | 347 int curPos = readPos + forward; 348 int backPos = curPos - dist - 1; 351 while (len < lenLimit && buf[curPos + len] == buf[backPos + len])
|
/external/lzma/C/ |
LzFindMt.c | 316 UInt32 curPos = 2;
321 while (curPos < limit)
329 distances[0] = curPos + p->hashNumAvail;
330 distances += curPos;
352 while (curPos < limit && size-- != 0)
354 UInt32 *startDistances = distances + curPos;
359 curPos += num;
367 curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBufferSize, p->cutValue,
368 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos), size, &posRes); [all...] |
XzEnc.c | 218 size_t curPos;
233 if (!p->srcWasFinished && p->curPos == p->endPos)
235 p->curPos = 0;
242 SizeT srcLen = p->endPos - p->curPos;
246 res = p->StateCoder.Code(p->StateCoder.p, data, size, p->buf + p->curPos, &srcLen,
248 p->curPos += srcLen;
280 p->curPos = p->endPos = 0;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzFindMt.c | 314 UInt32 curPos = 2;
317 while (curPos < limit)
326 distances[curPos++] = 0;
345 while (curPos < limit && size-- != 0)
347 UInt32 *startDistances = distances + curPos;
352 curPos += num;
360 curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBufferSize, p->cutValue,
361 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos) , size, &posRes);
377 distances[0] = curPos;
[all...] |
/external/deqp/execserver/tools/ |
xsTest.cpp | 995 int curPos = 0; 996 while (curPos < dataSize) 998 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos); 1000 deFileResult result = deFile_write(file, &data[curPos], blockSize, &numWritten); 1005 curPos += blockSize; 1012 curPos = 0; 1013 while (curPos < dataSize) 1016 int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)); 1022 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0); 1024 curPos += numToRead [all...] |
/external/deqp/framework/delibs/deutil/ |
deFile.c | 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); 164 if (curPos < 0) 172 lseek(file->fd, (off_t)curPos, SEEK_SET);
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 806 jint curPos = 0; 820 if (curPos >= curCount) { 838 curData[curPos] = pid; 839 curPos++; 844 if (curData != NULL && curPos > 0) { 845 qsort(curData, curPos, sizeof(jint), pid_compare); 848 while (curPos < curCount) { 849 curData[curPos] = -1; 850 curPos++; [all...] |
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 797 private int index, curPos; 807 index = curPos = 0; 826 public char currentChar() { return desc.charAt(curPos); } 866 curPos = index; 868 return curPos;
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
RenderMachineFunction.cpp | 102 std::string::const_iterator curPos = s.begin(); 103 std::string::const_iterator nextComa = std::find(curPos, s.end(), ','); 106 std::copy(curPos, nextComa, std::back_inserter(elem)); 109 curPos = llvm::next(nextComa); 110 nextComa = std::find(curPos, s.end(), ','); 113 if (curPos != s.end()) { 115 std::copy(curPos, s.end(), std::back_inserter(elem)); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipTouchHandler.java | 630 final PointF curPos = touchState.getLastTouchPosition(); 634 ? curPos.x <= mMovementBounds.left + mTmpBounds.width() 635 : curPos.x >= mMovementBounds.right; 639 mMovementWithinDismiss = curPos.y >= mMovementBounds.bottom; [all...] |
/external/svox/pico/lib/ |
picospho.c | 532 picoos_uint16 oldPos, curPos; 588 curPos = spho->phonWritePos; 635 i = curPos; [all...] |