Home
last modified time | relevance | path

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

/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/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/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/skia/tools/
Dskpinfo.cpp88 size_t curPos = stream.getPosition(); in main() local
92 if (curPos+chunkSize > totStreamSize) { in main()
/third_party/flutter/skia/tools/
Dskpinfo.cpp87 size_t curPos = stream.getPosition(); in main() local
91 if (curPos+chunkSize > totStreamSize) { in main()
/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/typescript/src/compiler/
Dparser.ts7147 const curPos = getNodePos();
7151 …finishNode(factory.createIdentifier(/*text*/ customComponent), curPos, /*end*/ undefined, /*virtua…
7153 ), curPos)], curPos, /*end*/ undefined, /*hasTrailingComma*/ false)
7155 …return createNodeArray([finishNode(clause, curPos, /*end*/ undefined, /*virtual*/ true)], curPos, …