Searched refs:currentPos (Results 1 – 10 of 10) sorted by relevance
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpTokens.cpp | 116 int atom = stream[currentPos++].get(*ppToken); in getToken() 125 currentPos++; in getToken() 143 size_t savePos = currentPos; in peekTokenizedPasting() 146 ++currentPos; in peekTokenizedPasting() 148 currentPos = savePos; in peekTokenizedPasting() 159 savePos = currentPos; in peekTokenizedPasting() 168 ++currentPos; in peekTokenizedPasting() 170 currentPos = savePos; in peekTokenizedPasting() 179 size_t savePos = currentPos; in peekUntokenizedPasting() 183 ++currentPos; in peekUntokenizedPasting() [all …]
|
D | PpContext.h | 279 TokenStream() : currentPos(0) { } in TokenStream() 282 bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); } in peekToken() 291 if (!atEnd() && atom == PpAtomIdentifier && stream[currentPos].nonSpaced()) { in peekContinuedPasting() 292 switch(stream[currentPos].getAtom()) { in peekContinuedPasting() 313 bool atEnd() { return currentPos >= stream.size(); } in atEnd() 316 void reset() { currentPos = 0; } in reset() 320 size_t currentPos; variable
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ucbuf.cpp | 43 UChar* currentPos; member 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf() 312 buf->currentPos = pTarget; in ucbuf_fillucbuf() 329 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc() 339 return *(buf->currentPos++); in ucbuf_getc() 349 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32() 358 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32() 359 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32() [all …]
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.cpp | 43 UChar* currentPos; member 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf() 312 buf->currentPos = pTarget; in ucbuf_fillucbuf() 329 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc() 339 return *(buf->currentPos++); in ucbuf_getc() 349 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32() 358 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32() 359 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32() [all …]
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | ucbuf.cpp | 43 char16_t* currentPos; member 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(char16_t)); in ucbuf_fillucbuf() 312 buf->currentPos = pTarget; in ucbuf_fillucbuf() 329 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc() 339 return *(buf->currentPos++); in ucbuf_getc() 349 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32() 358 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32() 359 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | compiler_test.cpp | 222 size_t currentPos = 0; in foundInCodeInOrder() local 225 auto position = code->second.find(stringToFind, currentPos); in foundInCodeInOrder() 230 currentPos = position + strlen(stringToFind); in foundInCodeInOrder() 252 size_t currentPos = 0; in foundInCode() local 259 auto position = code->second.find(stringToFind, currentPos); in foundInCode() 265 currentPos = position + searchStringLength; in foundInCode() 268 return code->second.find(stringToFind, currentPos) == std::string::npos; in foundInCode()
|
/third_party/typescript/src/harness/ |
D | harnessUtils.ts | 96 let currentPos = 0; 99 assert.isFalse(child.pos < currentPos, "child.pos < currentPos"); 100 currentPos = child.end; 105 assert.isFalse(array.pos < currentPos, "array.pos < currentPos"); 108 assert.isFalse(item.pos < currentPos, "array[i].pos < currentPos"); 109 currentPos = item.end; 112 currentPos = array.end;
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 186 int currentPos = position; in iterator() local 187 if (currentPos >= limit) { in iterator() 190 position = currentPos + 1; in iterator() 191 return internalByteAt(currentPos); in iterator()
|
/third_party/lzma/CPP/Windows/ |
D | FileIO.cpp | 598 UInt64 currentPos = 0; in SetLength_KeepPosition() local 599 if (!GetPosition(currentPos)) in SetLength_KeepPosition() 606 const bool result2 = Seek(currentPos, currentPos2); in SetLength_KeepPosition()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_string.cpp | 68 static void CheckSpaceLeftInBuffer(const T *currentPos, in CheckSpaceLeftInBuffer() argument 73 if (bufferEnd < currentPos || static_cast<size_t>(bufferEnd - currentPos) < space) in CheckSpaceLeftInBuffer()
|