Home
last modified time | relevance | path

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

12

/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/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/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.js107 var pos = line.indexOf(lineString), endPos = pos + lineString.length;
109 if (line.slice(endPos, endPos + pad.length) == pad) endPos += pad.length;
111 self.replaceRange("", Pos(i, pos), Pos(i, endPos));
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp176 int startPos, endPos; in appendContextSubtargetsForNode() local
180 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
183 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
184 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
187 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
191 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
198 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/icu4c/common/
Dbrkeng.h76 int32_t endPos,
201 int32_t endPos,
Drbbi.cpp1615 int32_t endPos, in checkDictionary() argument
1623 if ((endPos - startPos) <= 1) { in checkDictionary()
1624 return (reverse ? startPos : endPos); in checkDictionary()
1648 return (reverse ? startPos : endPos); in checkDictionary()
1654 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary()
1660 int32_t rangeEnd = endPos; in checkDictionary()
1756 if (endPos > breaks.peeki()) { in checkDictionary()
1769 if (endPos > fCachedBreakPositions[out-1]) { in checkDictionary()
1770 fCachedBreakPositions[out] = endPos; in checkDictionary()
1776 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTreeSetTest.java269 final int endPos = 3 * objArray.length / 4; in test_subSetLjava_lang_ObjectLjava_lang_Object() local
270 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]); in test_subSetLjava_lang_ObjectLjava_lang_Object()
272 aSubSet.size() == (endPos - startPos)); in test_subSetLjava_lang_ObjectLjava_lang_Object()
273 for (int counter = startPos; counter < endPos; counter++) in test_subSetLjava_lang_ObjectLjava_lang_Object()
/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/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp140 bool InlineTextBox::isSelected(int startPos, int endPos) const in isSelected()
145 int ePos = min(endPos - m_start, int(m_len) + (isLineBreak() ? 0 : 1)); in isSelected()
153 int startPos, endPos; in selectionState() local
154 renderer()->selectionStartEnd(startPos, endPos); in selectionState()
162 …bool end = (state != RenderObject::SelectionStart && endPos > m_start && endPos <= lastSelectable); in selectionState()
170 (state == RenderObject::SelectionStart || endPos > lastSelectable)) in selectionState()
195 LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos) in localSelectionRect() argument
198 int ePos = min(endPos - m_start, (int)m_len); in localSelectionRect()
215 endPos = textRun.length(); in localSelectionRect()
791 int startPos, endPos; in selectionStartEnd() local
[all …]
DInlineTextBox.h116 virtual LayoutRect localSelectionRect(int startPos, int endPos);
117 bool isSelected(int startPos, int endPos) const;
179 …raphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, int startPos, int endPos);
DRenderText.cpp382 static IntRect ellipsisRectForBox(InlineTextBox* box, unsigned startPos, unsigned endPos) in ellipsisRectForBox() argument
394 int ellipsisEndPosition = min<int>(endPos - box->start(), box->len()); in ellipsisRectForBox()
1162 int startPos, endPos; in setSelectionState() local
1163 selectionStartEnd(startPos, endPos); in setSelectionState()
1165 endPos = textLength(); in setSelectionState()
1168 if (startPos && startPos == endPos) in setSelectionState()
1169 startPos = endPos - 1; in setSelectionState()
1174 if (box->isSelected(startPos, endPos)) { in setSelectionState()
1573 int startPos, endPos; in selectionRectForRepaint() local
1577 endPos = textLength(); in selectionRectForRepaint()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathFunctions.cpp346 size_t endPos = startPos; in evaluate() local
347 while (endPos < length && !isWhitespace(idList[endPos])) in evaluate()
348 ++endPos; in evaluate()
352 Node* node = contextScope.getElementById(idList.substring(startPos, endPos - startPos)); in evaluate()
356 startPos = endPos; in evaluate()
/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/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/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogramopt.c565 GLint endPos, var; in _mesa_remove_output_reads() local
568 endPos = -1; in _mesa_remove_output_reads()
572 endPos = i; in _mesa_remove_output_reads()
578 assert(endPos >= 0); in _mesa_remove_output_reads()
581 inst = prog->Instructions + endPos; in _mesa_remove_output_reads()
/external/mesa3d/src/mesa/program/
Dprogramopt.c565 GLint endPos, var; in _mesa_remove_output_reads() local
568 endPos = -1; in _mesa_remove_output_reads()
572 endPos = i; in _mesa_remove_output_reads()
578 assert(endPos >= 0); in _mesa_remove_output_reads()
581 inst = prog->Instructions + endPos; in _mesa_remove_output_reads()

12