Home
last modified time | relevance | path

Searched refs:currentPos (Results 1 - 9 of 9) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/preprocessor/
H A DPpTokens.cpp113 int atom = stream[currentPos++].get(*ppToken); in getToken()
121 currentPos++; in getToken()
138 size_t savePos = currentPos; in peekTokenizedPasting()
141 ++currentPos; in peekTokenizedPasting()
143 currentPos = savePos; in peekTokenizedPasting()
154 savePos = currentPos; in peekTokenizedPasting()
163 ++currentPos; in peekTokenizedPasting()
165 currentPos = savePos; in peekTokenizedPasting()
174 size_t savePos = currentPos; in peekUntokenizedPasting()
178 ++currentPos; in peekUntokenizedPasting()
[all...]
H A DPpContext.h278 TokenStream() : currentPos(0) { } in TokenStream()
281 bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); } in peekToken()
290 if (!atEnd() && atom == PpAtomIdentifier && stream[currentPos].nonSpaced()) { in peekContinuedPasting()
291 switch(stream[currentPos].getAtom()) { in peekContinuedPasting()
312 bool atEnd() { return currentPos >= stream.size(); } in atEnd()
315 void reset() { currentPos = 0; } in reset()
319 size_t currentPos; member in glslang::TPpContext::TokenStream
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Ducbuf.cpp43 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[ in ucbuf_getc32()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Ducbuf.cpp43 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[ in ucbuf_getc32()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Ducbuf.cpp43 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[ in ucbuf_getc32()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dcompiler_test.cpp222 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/protobuf/java/core/src/main/java/com/google/protobuf/
H A DByteString.java186 int currentPos = position; in iterator()
187 if (currentPos >= limit) { in iterator()
190 position = currentPos + 1; in iterator()
191 return internalByteAt(currentPos); in iterator()
/third_party/lzma/CPP/Windows/
H A DFileIO.cpp598 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/
H A Ddng_string.cpp61 // 'currentPos' to write at least 'space' elements of type T (to positions
62 // currentPos[0] through currentPos[space - 1]. Throws a dng_exception if there
68 static void CheckSpaceLeftInBuffer(const T *currentPos, in CheckSpaceLeftInBuffer() argument
73 if (bufferEnd < currentPos || static_cast<size_t>(bufferEnd - currentPos) < space) in CheckSpaceLeftInBuffer()

Completed in 11 milliseconds