Home
last modified time | relevance | path

Searched refs:endPos (Results 1 – 25 of 55) sorted by relevance

123

/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp55 UInt32 endPos = bufferPos + (UInt32)processedSize; in Code() local
57 bufferPos = Filter->Filter(_buffer, endPos); in Code()
58 if (bufferPos > endPos) in Code()
60 for (; endPos < bufferPos; endPos++) in Code()
61 _buffer[endPos] = 0; in Code()
62 bufferPos = Filter->Filter(_buffer, endPos); in Code()
67 if (endPos == 0) in Code()
69 return WriteWithLimit(outStream, endPos); in Code()
77 while (bufferPos < endPos) in Code()
110 UInt32 endPos = _bufferPos + sizeTemp; in Write() local
[all …]
/external/chromium_org/v8/tools/
Dcsvparser.js59 var endPos = line.length;
61 if (endPos > 0) {
75 } while (pos <= endPos);
/external/srec/portable/src/
Dpstream.c306 PortFile->endPos = PortFile->curPos + end; in PortFopen()
322 PortFile->endPos = curFrame->buffer + end; in PortFopen()
401 if (PortFile->endPos == PortFile->curPos) /* end of file */ in PortFread()
412 cbAvail = PortFile->endPos - PortFile->curPos; in PortFread()
424 if (PortFile->curPos == PortFile->endPos) in PortFread()
478 PortFile->curPos = PortFile->endPos = nextFrame->buffer; in PortFwrite()
499 if (curFrame == PortFile->endFrame && PortFile->endPos < PortFile->curPos) in PortFwrite()
500 PortFile->endPos = PortFile->curPos; in PortFwrite()
527 PortFile->curPos = PortFile->endPos; in PortFseek()
544 if (PortFile->endPos <= PortFile->curPos) /* end of file */ in PortFseek()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DG_P_K_G_.py26 endPos = (self.numGMAPs+1) * 4
27 GMAPoffsets.fromstring(newData[:endPos])
35 pos = endPos
36 endPos = pos + (self.numGlyplets + 1)*4
38 glyphletOffsets.fromstring(newData[pos:endPos])
/external/chromium-trace/trace-viewer/src/tracing/importer/v8/
Dlog_reader.js41 var endPos = line.length;
43 if (endPos > 0) {
57 } while (pos <= endPos);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcomment.js127 var pos = line.indexOf(lineString), endPos = pos + lineString.length;
129 if (line.slice(endPos, endPos + pad.length) == pad) endPos += pad.length;
131 self.replaceRange("", Pos(i, pos), Pos(i, endPos));
/external/fonttools/MetaTools/
DbuildTableList.py51 endPos = doc.find(end) variable
53 doc = doc[:beginPos] + ", ".join(tables[:-1]) + " and " + tables[-1] + "\n" + doc[endPos:]
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp188 int startPos, endPos; in appendContextSubtargetsForNode() local
192 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
195 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
196 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
199 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
203 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
210 textRenderer->absoluteQuadsForRange(quads, startPos, endPos); in appendContextSubtargetsForNode()
/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp124 UInt32 endPos = bufferPos + processedSize; in CodeReal() local
126 if (endPos < 5) in CodeReal()
129 for (bufferPos = 0; bufferPos < endPos; bufferPos++) in CodeReal()
153 UInt32 limit = endPos - 5; in CodeReal()
247 while(bufferPos < endPos) in CodeReal()
/external/icu/icu4c/source/common/
Dbrkeng.h76 int32_t endPos,
201 int32_t endPos,
Drbbi.cpp1569 int32_t endPos, in checkDictionary() argument
1577 if ((endPos - startPos) <= 1) { in checkDictionary()
1578 return (reverse ? startPos : endPos); in checkDictionary()
1602 return (reverse ? startPos : endPos); in checkDictionary()
1608 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary()
1614 int32_t rangeEnd = endPos; in checkDictionary()
1711 if (endPos > breaks.peeki()) { in checkDictionary()
1724 if (endPos > fCachedBreakPositions[out-1]) { in checkDictionary()
1725 fCachedBreakPositions[out] = endPos; in checkDictionary()
1731 return preceding(endPos); in checkDictionary()
[all …]
/external/chromium_org/third_party/icu/source/common/
Dbrkeng.h76 int32_t endPos,
201 int32_t endPos,
Drbbi.cpp1544 int32_t endPos, in checkDictionary() argument
1552 if ((endPos - startPos) <= 1) { in checkDictionary()
1553 return (reverse ? startPos : endPos); in checkDictionary()
1577 return (reverse ? startPos : endPos); in checkDictionary()
1583 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary()
1589 int32_t rangeEnd = endPos; in checkDictionary()
1685 if (endPos > breaks.peeki()) { in checkDictionary()
1698 if (endPos > fCachedBreakPositions[out-1]) { in checkDictionary()
1699 fCachedBreakPositions[out] = endPos; in checkDictionary()
1705 return preceding(endPos); in checkDictionary()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPUtilsImpl.java192 int endPos = catedStr.length(); in separateArrayItems() local
193 while (itemEnd < endPos) in separateArrayItems()
197 for (itemStart = itemEnd; itemStart < endPos; itemStart++) in separateArrayItems()
206 if (itemStart >= endPos) in separateArrayItems()
215 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++) in separateArrayItems()
229 else if ((itemEnd + 1) < endPos) in separateArrayItems()
259 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++) in separateArrayItems()
278 if ((itemEnd + 1) < endPos) in separateArrayItems()
/external/javassist/src/main/javassist/expr/
DExprEditor.java126 CodeIterator iterator, int endPos) in doit() argument
130 while (iterator.hasNext() && iterator.lookAhead() < endPos) { in doit()
136 endPos += size2 - size; in doit()
DExpr.java318 int endPos = oldIterator.lookAhead(); in runEditor() local
320 if (ed.doit(thisClass, thisMethod, context, oldIterator, endPos)) in runEditor()
323 oldIterator.move(endPos + oldIterator.getCodeLength() - size); in runEditor()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java133 int endPos = input.getPosition(); in storeUnknownField() local
134 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.h116 virtual LayoutRect localSelectionRect(int startPos, int endPos);
117 bool isSelected(int startPos, int endPos) const;
182 …FloatPoint& boxOrigin, RenderStyle*, const Font&, Color backgroundColor, int startPos, int endPos);
DInlineTextBox.cpp143 bool InlineTextBox::isSelected(int startPos, int endPos) const in isSelected()
148 int ePos = min(endPos - m_start, int(m_len) + (isLineBreak() ? 0 : 1)); in isSelected()
156 int startPos, endPos; in selectionState() local
157 renderer().selectionStartEnd(startPos, endPos); in selectionState()
165 …bool end = (state != RenderObject::SelectionStart && endPos > m_start && endPos <= lastSelectable); in selectionState()
173 (state == RenderObject::SelectionStart || endPos > lastSelectable)) in selectionState()
198 LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos) in localSelectionRect() argument
201 int ePos = min(endPos - m_start, (int)m_len); in localSelectionRect()
790 int startPos, endPos; in selectionStartEnd() local
793 endPos = textRenderer().textLength(); in selectionStartEnd()
[all …]
DRenderText.cpp389 static IntRect ellipsisRectForBox(InlineTextBox* box, unsigned startPos, unsigned endPos) in ellipsisRectForBox() argument
401 int ellipsisEndPosition = min<int>(endPos - box->start(), box->len()); in ellipsisRectForBox()
1187 int startPos, endPos; in setSelectionState() local
1188 selectionStartEnd(startPos, endPos); in setSelectionState()
1190 endPos = textLength(); in setSelectionState()
1193 if (startPos && startPos == endPos) in setSelectionState()
1194 startPos = endPos - 1; in setSelectionState()
1199 if (box->isSelected(startPos, endPos)) { in setSelectionState()
1600 int startPos, endPos; in selectionRectForPaintInvalidation() local
1604 endPos = textLength(); in selectionRectForPaintInvalidation()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DWTFString.cpp697 size_t endPos; in split() local
698 while ((endPos = find(separator, startPos)) != kNotFound) { in split()
699 if (allowEmptyEntries || startPos != endPos) in split()
700 result.append(substring(startPos, endPos - startPos)); in split()
701 startPos = endPos + separator.length(); in split()
712 size_t endPos; in split() local
713 while ((endPos = find(separator, startPos)) != kNotFound) { in split()
714 if (allowEmptyEntries || startPos != endPos) in split()
715 result.append(substring(startPos, endPos - startPos)); in split()
716 startPos = endPos + 1; in split()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathFunctions.cpp347 size_t endPos = startPos; in evaluate() local
348 while (endPos < length && !isWhitespace(idList[endPos])) in evaluate()
349 ++endPos; in evaluate()
353 …Node* node = contextScope.getElementById(AtomicString(idList.substring(startPos, endPos - startPos… in evaluate()
357 startPos = endPos; in evaluate()
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java37 protected int endPos; field in CodeIterator
52 endPos = getCodeLength(); in begin()
170 public boolean hasNext() { return currentPos < endPos; } in hasNext()
632 endPos = getCodeLength(); in insertGapAt()
699 endPos = getCodeLength(); in appendGap()
854 int endPos, byte[] newcode, boolean exclusive) in insertGap2() argument
860 for (; i < endPos; i = nextPos) { in insertGap2()
1154 private static ArrayList makeJumpList(byte[] code, int endPos) in makeJumpList() argument
1159 for (int i = 0; i < endPos; i = nextPos) { in makeJumpList()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp295 UInt64 endPos; in Open() local
296 RINOK(inStream->Seek(0, STREAM_SEEK_END, &endPos)); in Open()
297 _packSize = endPos - _startPosition; in Open()
/external/fonttools/Lib/fontTools/
DcffLib.py142 endPos = pos + item.getDataLength()
144 endPos = pos + len(item)
146 item.setPos(pos, endPos)
147 pos = endPos
278 def setPos(self, pos, endPos): argument
291 def setPos(self, pos, endPos): argument
296 def setPos(self, pos, endPos): argument
837 def setPos(self, pos, endPos): argument
945 def setPos(self, pos, endPos): argument
1196 def setPos(self, pos, endPos): argument
[all …]

123