/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);
|
/external/srec/portable/src/ |
pstream.c | 305 PortFile->curPos = PortFile->curFrame->buffer; 306 PortFile->endPos = PortFile->curPos + end; 401 if (PortFile->endPos == PortFile->curPos) /* end of file */ 404 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */ 408 PortFile->curPos = curFrame->buffer; 412 cbAvail = PortFile->endPos - PortFile->curPos; 414 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer); 421 *bufferPtr++ = *PortFile->curPos++; 424 if (PortFile->curPos == PortFile->endPos) 464 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame * [all...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorStyleTextEditor.cpp | 71 long curPos = propertyStart - 1; // The last position of style declaration, since propertyStart points past one. 72 while (curPos && isHTMLSpace<UChar>(m_styleText[curPos])) 73 --curPos; 74 if (curPos) { 75 bool terminated = m_styleText[curPos] == ';' || (m_styleText[curPos] == '/' && m_styleText[curPos - 1] == '*');
|
/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/deqp/framework/common/ |
tcuResource.cpp | 76 long curPos = ftell(m_file); 79 fseek(m_file, curPos, SEEK_SET);
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 34 off_t curPos = Seek(0, SEEK_CUR);
36 Seek(curPos, SEEK_SET);
|
/external/chromium_org/third_party/skia/tools/ |
skpinfo.cpp | 86 size_t curPos = stream.getPosition(); 90 if (curPos+chunkSize > totStreamSize) {
|
/external/skia/tools/ |
skpinfo.cpp | 86 size_t curPos = stream.getPosition(); 90 if (curPos+chunkSize > totStreamSize) {
|
/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 | 215 int curPos = m_call->getDataSize(); 216 m_call->setDataSize(curPos+numBytes); 217 deMemcpy(m_call->getData()+curPos, bytes, numBytes);
|
/external/nist-sip/java/gov/nist/core/ |
StringTokenizer.java | 124 int curPos = ptr; 126 ptr = curPos;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Shader.cpp | 343 size_t curPos = 0; 344 while (curPos != std::string::npos) 346 size_t nextLine = mSource.find("\n", curPos); 347 size_t len = (nextLine == std::string::npos) ? std::string::npos : (nextLine - curPos + 1); 349 hlslStream << "// " << mSource.substr(curPos, len); 351 curPos = (nextLine == std::string::npos) ? std::string::npos : (nextLine + 1);
|
/external/srec/portable/include/ |
pstream.h | 42 const unsigned char *curPos;
|
/external/deqp/execserver/tools/ |
xsTest.cpp | 994 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 [all...] |
/external/lzma/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/framework/delibs/deutil/ |
deFile.c | 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); 164 if (curPos < 0) 171 lseek(file->fd, curPos, SEEK_SET);
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 616 jint curPos = 0; 630 if (curPos >= curCount) { 648 curData[curPos] = pid; 649 curPos++; 654 if (curData != NULL && curPos > 0) { 655 qsort(curData, curPos, sizeof(jint), pid_compare); 658 while (curPos < curCount) { 659 curData[curPos] = -1; 660 curPos++;
|
/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/svox/pico/lib/ |
picospho.c | 532 picoos_uint16 oldPos, curPos; 588 curPos = spho->phonWritePos; 635 i = curPos; [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaWindowAdapter.java | 432 int curPos = info.dayAdapter.getCursorPosition(position - info.offset); 433 if (curPos == Integer.MIN_VALUE) { 437 if (curPos >= 0) { 438 info.cursor.moveToPosition(curPos); [all...] |
/external/pdfium/core/src/fpdftext/ |
fpdf_text_int.cpp | 247 int curPos = start;
253 info_curchar = *(PAGECHAR_INFO*)m_charList.GetAt(curPos++);
485 CPDF_Point curPos(charinfo.m_OriginX, charinfo.m_OriginY);
497 if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) {
503 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x;
514 curXdif = charinfo.m_OriginX - curPos.x;
548 if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) {
554 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x;
565 curXdif = charinfo.m_OriginX - curPos.x;
[all...] |