Home
last modified time | relevance | path

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

/external/angle/third_party/glslang/src/glslang/MachineIndependent/preprocessor/
DPpTokens.cpp116 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 …]
DPpContext.h279 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
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpTokens.cpp116 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 …]
DPpContext.h279 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
/external/icu/icu4c/source/tools/toolutil/
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[0],buf->currentPos[1]); in ucbuf_getc32()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DNodeListIterator.java26 private int currentPos = 0; field in NodeListIterator
34 return (currentPos < nodeList.getLength()); in hasNext()
39 return nodeList.item(currentPos++); in next()
/external/angle/src/tests/test_utils/
Dcompiler_test.cpp201 size_t currentPos = 0; in foundInCodeInOrder() local
204 auto position = code->second.find(stringToFind, currentPos); in foundInCodeInOrder()
209 currentPos = position + strlen(stringToFind); in foundInCodeInOrder()
225 size_t currentPos = 0; in foundInCode() local
232 auto position = code->second.find(stringToFind, currentPos); in foundInCode()
238 currentPos = position + searchStringLength; in foundInCode()
241 return code->second.find(stringToFind, currentPos) == std::string::npos; in foundInCode()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc73 auto currentPos = stream.tellg(); in Calculate() local
74 if (currentPos == std::streampos(std::streamoff(-1))) { in Calculate()
75 currentPos = 0; in Calculate()
94 stream.seekg(currentPos, stream.beg); in Calculate()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs78 protected Stack<int> currentPos = new Stack<int>(); field in Antlr.Runtime.Debug.Profiler
152 currentPos.Push(pos); in Location()
175 descriptor.pos = currentPos.Peek(); in EnterDecision()
657 currentPos.Peek()); in LocationDescription()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs78 protected Stack<int> currentPos = new Stack<int>(); field in Antlr.Runtime.Debug.Profiler
162 currentPos.Push(pos); in Location()
188 descriptor.pos = currentPos.Peek(); in EnterDecision()
717 currentPos.Peek()); in LocationDescription()
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp396 UInt64 currentPos; in SetSize() local
397 if (!File.Seek(0, FILE_CURRENT, currentPos)) in SetSize()
401 result = result && File.Seek(currentPos, currentPos2); in SetSize()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java133 protected Stack<Integer> currentPos = new Stack<Integer>(); field in Profiler
212 currentPos.push(pos); in location()
234 descriptor.pos = currentPos.peek(); in enterDecision()
741 currentPos.peek()); in locationDescription()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java177 int currentPos = position; in iterator() local
178 if (currentPos >= limit) { in iterator()
181 position = currentPos + 1; in iterator()
182 return internalByteAt(currentPos); in iterator()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaPlayer.java1277 int currentPos = startOffset;
1279 currentPos += (int) (SystemClock.uptimeMillis() - startTime);
1281 return currentPos;
/external/dng_sdk/source/
Ddng_string.cpp68 static void CheckSpaceLeftInBuffer(const T *currentPos, in CheckSpaceLeftInBuffer() argument
73 if (bufferEnd < currentPos || static_cast<size_t>(bufferEnd - currentPos) < space) in CheckSpaceLeftInBuffer()
/external/skia/modules/skparagraph/src/
DParagraphImpl.cpp293 size_t currentPos = breaker.next(); in markLineBreaks() local
295 if (current->textRange().end > currentPos) { in markLineBreaks()
297 } else if (current->textRange().end == currentPos) { in markLineBreaks()