Searched refs:curPos (Results 1 - 25 of 31) sorted by relevance

12

/external/srec/portable/src/
H A Dpstream.c305 PortFile->curPos = PortFile->curFrame->buffer;
306 PortFile->endPos = PortFile->curPos + end;
401 if (PortFile->endPos == PortFile->curPos) /* end of file */
404 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */
408 PortFile->curPos = curFrame->buffer;
412 cbAvail = PortFile->endPos - PortFile->curPos;
414 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer);
421 *bufferPtr++ = *PortFile->curPos++;
424 if (PortFile->curPos == PortFile->endPos)
464 if (PortFile->curPos
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorStyleTextEditor.cpp73 long curPos = propertyStart - 1; // The last position of style declaration, since propertyStart points past one. local
74 while (curPos && isHTMLSpace<UChar>(m_styleText[curPos]))
75 --curPos;
76 if (curPos) {
77 bool terminated = m_styleText[curPos] == ';' || (m_styleText[curPos] == '/' && m_styleText[curPos - 1] == '*');
/external/deqp/framework/common/
H A DtcuResource.cpp76 long curPos = ftell(m_file); local
79 fseek(m_file, curPos, SEEK_SET);
/external/lzma/CPP/Common/
H A DC_FileIO.cpp34 off_t curPos = Seek(0, SEEK_CUR); local
36 Seek(curPos, SEEK_SET);
/external/chromium_org/third_party/skia/tools/
H A Dskpinfo.cpp84 size_t curPos = stream.getPosition(); local
88 if (curPos+chunkSize > totStreamSize) {
/external/skia/tools/
H A Dskpinfo.cpp86 size_t curPos = stream.getPosition(); local
90 if (curPos+chunkSize > totStreamSize) {
/external/deqp/execserver/
H A DxsProtocol.cpp122 size_t curPos = m_buf.size(); local
123 m_buf.resize(curPos + sizeof(T));
124 deMemcpy(&m_buf[curPos], &netValue, sizeof(T));
134 int curPos = (int)m_buf.size(); local
137 m_buf.resize(curPos + strLen+1);
138 deMemcpy(&m_buf[curPos], &value[0], strLen+1);
H A DxsWin32TestProcess.cpp134 int curPos = 0; local
139 while (curPos < (int)m_caseList.size())
142 const int numToWrite = de::min(maxWriteSize, (int)m_caseList.size() - curPos);
145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped))
165 curPos += (int)numBytesWritten;
/external/deqp/executor/
H A DxeCallQueue.cpp215 int curPos = m_call->getDataSize(); local
216 m_call->setDataSize(curPos+numBytes);
217 deMemcpy(m_call->getData()+curPos, bytes, numBytes);
/external/nist-sip/java/gov/nist/core/
H A DStringTokenizer.java124 int curPos = ptr;
126 ptr = curPos;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DShaderD3D.cpp246 size_t curPos = 0; local
247 while (curPos != std::string::npos)
249 size_t nextLine = source.find("\n", curPos);
250 size_t len = (nextLine == std::string::npos) ? std::string::npos : (nextLine - curPos + 1);
252 hlslStream << "// " << source.substr(curPos, len);
254 curPos = (nextLine == std::string::npos) ? std::string::npos : (nextLine + 1);
/external/srec/portable/include/
H A Dpstream.h42 const unsigned char *curPos; member in struct:PORT_FILE_HANDLE
/external/deqp/execserver/tools/
H A DxsTest.cpp994 int curPos = 0;
995 while (curPos < dataSize)
997 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos);
999 deFileResult result = deFile_write(file, &data[curPos], blockSize, &numWritten);
1004 curPos += blockSize;
1011 curPos = 0;
1012 while (curPos < dataSize)
1015 int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block));
1021 DE_VERIFY(deMemCmp(block, &data[curPos], numToRead) == 0);
1023 curPos
[all...]
/external/lzma/C/
H A DLzFindMt.c314 UInt32 curPos = 2; local
317 while (curPos < limit)
326 distances[curPos++] = 0;
345 while (curPos < limit && size-- != 0)
347 UInt32 *startDistances = distances + curPos;
352 curPos += num;
360 curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBufferSize, p->cutValue,
361 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos) , size, &posRes);
377 distances[0] = curPos;
[all...]
/external/deqp/framework/delibs/deutil/
H A DdeFile.c162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); local
164 if (curPos < 0)
171 lseek(file->fd, curPos, SEEK_SET);
/external/javassist/src/main/javassist/bytecode/
H A DDescriptor.java797 private int index, curPos; field in class:Descriptor.Iterator
807 index = curPos = 0;
826 public char currentChar() { return desc.charAt(curPos); }
866 curPos = index;
868 return curPos;
/external/svox/pico/lib/
H A Dpicospho.c532 picoos_uint16 oldPos, curPos; local
588 curPos = spho->phonWritePos;
635 i = curPos;
946 picoos_uint16 curPos /*, nextPos */; local
993 curPos = spho->headxWritePos;
1024 if (curPos < spho->headxWritePos) { /* we did get some new items */
1026 spho->headxWritePos - curPos));
/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dexif_encoder.js547 var curPos = this.pos_;
550 this.pos_ = curPos;
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text_int.cpp247 int curPos = start; local
253 info_curchar = *(PAGECHAR_INFO*)m_charList.GetAt(curPos++);
485 CPDF_Point curPos(charinfo.m_OriginX, charinfo.m_OriginY);
497 if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) {
503 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x;
514 curXdif = charinfo.m_OriginX - curPos.x;
548 if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) {
554 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x;
565 curXdif = charinfo.m_OriginX - curPos.x;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.commons.el_1.0.0.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js1188 var flipped = false, curPos = pos;
1192 var line = getLine(doc, curPos.line);
1196 if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&
1197 (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {
1207 if (cmp(newPos, curPos) == 0) {
1228 curPos = newPos;
1233 return curPos;
/external/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js1188 var flipped = false, curPos = pos;
1192 var line = getLine(doc, curPos.line);
1196 if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&
1197 (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {
1207 if (cmp(newPos, curPos) == 0) {
1228 curPos = newPos;
1233 return curPos;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dcodemirror.js1205 var flipped = false, curPos = pos;
1209 var line = getLine(doc, curPos.line);
1213 if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&
1214 (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {
1224 if (cmp(newPos, curPos) == 0) {
1245 curPos = newPos;
1250 return curPos;

Completed in 658 milliseconds

12