Home
last modified time | relevance | path

Searched refs:curPos (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/boost/algorithm/searching/
Dboyer_moore_horspool.hpp115 corpusIter curPos = corpus_first; in do_search() local
117 while ( curPos <= lastPos ) { in do_search()
120 while ( pat_first [j] == curPos [j] ) { in do_search()
123 return std::make_pair(curPos, curPos + k_pattern_length); in do_search()
127 curPos += skip_ [ curPos [ k_pattern_length - 1 ]]; in do_search()
Dboyer_moore.hpp121 corpusIter curPos = corpus_first; in do_search() local
125 while ( curPos <= lastPos ) { in do_search()
129 while ( pat_first [j-1] == curPos [j-1] ) { in do_search()
133 return std::make_pair(curPos, curPos + k_pattern_length); in do_search()
137 k = skip_ [ curPos [ j - 1 ]]; in do_search()
140 curPos += m; in do_search()
142 curPos += suffix_ [ j ]; in do_search()
/third_party/vk-gl-cts/execserver/
DxsProtocol.cpp122 size_t curPos = m_buf.size(); in put() local
123 m_buf.resize(curPos + sizeof(T)); in put()
124 deMemcpy(&m_buf[curPos], &netValue, sizeof(T)); in put()
134 int curPos = (int)m_buf.size(); in put() local
137 m_buf.resize(curPos + strLen+1); in put()
138 deMemcpy(&m_buf[curPos], &value[0], strLen+1); in put()
DxsWin32TestProcess.cpp134 int curPos = 0; in run() local
139 while (curPos < (int)m_caseList.size()) in run()
142 const int numToWrite = de::min(maxWriteSize, (int)m_caseList.size() - curPos); in run()
145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped)) in run()
165 curPos += (int)numBytesWritten; in run()
/third_party/node/deps/cjs-module-lexer/
Dlexer.js1185 const curPos = pos;
1187 if (pos === curPos && !isPunctuator(ch))
1394 function isParenKeyword (curPos) { argument
1395 return source.charCodeAt(curPos) === 101/*e*/ && source.startsWith('whil', curPos - 4) ||
1396 source.charCodeAt(curPos) === 114/*r*/ && source.startsWith('fo', curPos - 2) ||
1397 source.charCodeAt(curPos - 1) === 105/*i*/ && source.charCodeAt(curPos) === 102/*f*/;
1415 function isExpressionTerminator (curPos) { argument
1419 switch (source.charCodeAt(curPos)) {
1421 return source.charCodeAt(curPos - 1) === 61/*=*/;
1426 return source.startsWith('catc', curPos - 4);
[all …]
/third_party/vk-gl-cts/execserver/tools/
DxsTest.cpp995 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;
/third_party/vk-gl-cts/framework/common/
DtcuResource.cpp69 long curPos = ftell(m_file); in getSize() local
72 fseek(m_file, curPos, SEEK_SET); in getSize()
/third_party/vk-gl-cts/executor/
DxeCallQueue.cpp235 size_t curPos = m_call->getDataSize(); in write() local
236 m_call->setDataSize(curPos+numBytes); in write()
237 deMemcpy(m_call->getData()+curPos, bytes, numBytes); in write()
/third_party/flutter/skia/tools/
Dskpinfo.cpp87 size_t curPos = stream.getPosition(); in main() local
91 if (curPos+chunkSize > totStreamSize) { in main()
/third_party/skia/tools/
Dskpinfo.cpp88 size_t curPos = stream.getPosition(); in main() local
92 if (curPos+chunkSize > totStreamSize) { in main()
/third_party/flatbuffers/java/com/google/flatbuffers/
DByteBufferReadWriteBuf.java119 int curPos = buffer.position(); in set() local
122 buffer.position(curPos); in set()
/third_party/vk-gl-cts/framework/delibs/deutil/
DdeFile.c162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize() local
164 if (curPos < 0) in deFile_getSize()
172 lseek(file->fd, (off_t)curPos, SEEK_SET); in deFile_getSize()
/third_party/boost/boost/polygon/detail/
Dpolygon_90_touch.hpp34 …Unit prevPos, Unit curPos, const std::set<int>& ivlIds) : itr_(itr), ivlIds_(), incremented_(false… in iterator() argument
36 ivlIds_.first = Interval(prevPos, curPos); in iterator()
/third_party/curl/lib/
Dftp.c4178 const char *curPos = rawPath; in ftp_parse_url_path() local
4194 while((slashPos = strchr(curPos, '/')) != NULL) { in ftp_parse_url_path()
4195 size_t compLen = slashPos - curPos; in ftp_parse_url_path()
4210 strncpy(comp, curPos, compLen); in ftp_parse_url_path()
4213 curPos = slashPos + 1; in ftp_parse_url_path()
4217 fileName = curPos; /* the rest is the file name (or empty) */ in ftp_parse_url_path()
/third_party/typescript/src/compiler/
Dparser.ts7143 const curPos = getNodePos();
7147 …finishNode(factory.createIdentifier(/*text*/ customComponent), curPos, /*end*/ undefined, /*virtua…
7149 ), curPos)], curPos, /*end*/ undefined, /*hasTrailingComma*/ false)
7151 …return createNodeArray([finishNode(clause, curPos, /*end*/ undefined, /*virtual*/ true)], curPos, …