/external/srec/portable/src/ |
D | pstream.c | 305 PortFile->curPos = PortFile->curFrame->buffer; in PortFopen() 306 PortFile->endPos = PortFile->curPos + end; in PortFopen() 401 if (PortFile->endPos == PortFile->curPos) /* end of file */ in PortFread() 404 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */ in PortFread() 408 PortFile->curPos = curFrame->buffer; in PortFread() 412 cbAvail = PortFile->endPos - PortFile->curPos; in PortFread() 414 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer); in PortFread() 421 *bufferPtr++ = *PortFile->curPos++; in PortFread() 424 if (PortFile->curPos == PortFile->endPos) in PortFread() 464 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */ in PortFwrite() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorStyleTextEditor.cpp | 73 …long curPos = propertyStart - 1; // The last position of style declaration, since propertyStart po… in insertProperty() local 74 while (curPos && isHTMLSpace<UChar>(m_styleText[curPos])) in insertProperty() 75 --curPos; in insertProperty() 76 if (curPos) { in insertProperty() 77 …bool terminated = m_styleText[curPos] == ';' || (m_styleText[curPos] == '/' && m_styleText[curPos … in insertProperty()
|
/external/deqp/execserver/ |
D | xsProtocol.cpp | 122 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()
|
D | xsWin32TestProcess.cpp | 134 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()
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
D | ShaderD3D.cpp | 246 size_t curPos = 0; in compileToHLSL() local 247 while (curPos != std::string::npos) in compileToHLSL() 249 size_t nextLine = source.find("\n", curPos); in compileToHLSL() 250 … size_t len = (nextLine == std::string::npos) ? std::string::npos : (nextLine - curPos + 1); in compileToHLSL() 252 hlslStream << "// " << source.substr(curPos, len); in compileToHLSL() 254 curPos = (nextLine == std::string::npos) ? std::string::npos : (nextLine + 1); in compileToHLSL()
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 994 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 += numToRead;
|
/external/deqp/executor/ |
D | xeCallQueue.cpp | 215 int curPos = m_call->getDataSize(); in write() local 216 m_call->setDataSize(curPos+numBytes); in write() 217 deMemcpy(m_call->getData()+curPos, bytes, numBytes); in write()
|
/external/deqp/framework/common/ |
D | tcuResource.cpp | 76 long curPos = ftell(m_file); in getSize() local 79 fseek(m_file, curPos, SEEK_SET); in getSize()
|
/external/lzma/CPP/Common/ |
D | C_FileIO.cpp | 34 off_t curPos = Seek(0, SEEK_CUR); in GetLength() local 36 Seek(curPos, SEEK_SET); in GetLength()
|
/external/lzma/C/ |
D | LzFindMt.c | 314 UInt32 curPos = 2; in BtGetMatches() local 317 while (curPos < limit) in BtGetMatches() 326 distances[curPos++] = 0; in BtGetMatches() 345 while (curPos < limit && size-- != 0) in BtGetMatches() 347 UInt32 *startDistances = distances + curPos; in BtGetMatches() 352 curPos += num; in BtGetMatches() 360 …curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBuffe… in BtGetMatches() 361 …distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos) , siz… in BtGetMatches() 377 distances[0] = curPos; in BtGetMatches()
|
/external/chromium_org/third_party/skia/tools/ |
D | skpinfo.cpp | 84 size_t curPos = stream.getPosition(); in tool_main() local 88 if (curPos+chunkSize > totStreamSize) { in tool_main()
|
/external/skia/tools/ |
D | skpinfo.cpp | 86 size_t curPos = stream.getPosition(); in tool_main() local 90 if (curPos+chunkSize > totStreamSize) { in tool_main()
|
/external/nist-sip/java/gov/nist/core/ |
D | StringTokenizer.java | 124 int curPos = ptr; in peekLine() local 126 ptr = curPos; in peekLine()
|
/external/javassist/src/main/javassist/bytecode/ |
D | Descriptor.java | 797 private int index, curPos; field in Descriptor.Iterator 807 index = curPos = 0; in Iterator() 826 public char currentChar() { return desc.charAt(curPos); } in currentChar() 866 curPos = index; in next() 868 return curPos; in next()
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize() local 164 if (curPos < 0) in deFile_getSize() 171 lseek(file->fd, curPos, SEEK_SET); in deFile_getSize()
|
/external/srec/portable/include/ |
D | pstream.h | 42 const unsigned char *curPos; member
|
/external/svox/pico/lib/ |
D | picospho.c | 532 picoos_uint16 oldPos, curPos; in sphoExtractPhonemes() local 588 curPos = spho->phonWritePos; in sphoExtractPhonemes() 635 i = curPos; in sphoExtractPhonemes() 946 picoos_uint16 curPos /*, nextPos */; in sphoStep() local 993 curPos = spho->headxWritePos; in sphoStep() 1024 if (curPos < spho->headxWritePos) { /* we did get some new items */ in sphoStep() 1026 spho->headxWritePos - curPos)); in sphoStep()
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | exif_encoder.js | 547 var curPos = this.pos_; 550 this.pos_ = curPos;
|
/external/pdfium/core/src/fpdftext/ |
D | fpdf_text_int.cpp | 247 int curPos = start; in GetRectArray() local 253 info_curchar = *(PAGECHAR_INFO*)m_charList.GetAt(curPos++); in GetRectArray() 485 CPDF_Point curPos(charinfo.m_OriginX, charinfo.m_OriginY); in GetOrderByDirection() local 497 … if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) { in GetOrderByDirection() 503 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x; in GetOrderByDirection() 514 curXdif = charinfo.m_OriginX - curPos.x; in GetOrderByDirection() 548 … if (FXSYS_fabs(charinfo.m_OriginY - curPos.y) > FX_MAX(height, charinfo.m_CharBox.Height()) / 2) { in GetOrderByDirection() 554 FX_FLOAT PreXdif = charinfo.m_OriginX - curPos.x; in GetOrderByDirection() 565 curXdif = charinfo.m_OriginX - curPos.x; in GetOrderByDirection()
|
/external/skia/experimental/webtry/res/js/cm/ |
D | codemirror.js | 1188 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/skia/experimental/webtry/res/js/cm/ |
D | codemirror.js | 1188 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/ |
D | codemirror.js | 1205 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;
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 2430 FX_FILESIZE curPos = m_Pos; in ReadStream() local 2436 m_Pos = curPos; in ReadStream()
|