Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 100) sorted by relevance

1234

/external/chromium_org/third_party/icu/source/test/intltest/
Dustrtest.cpp716 int32_t startPos = 0; in TestSearching() local
718 startPos != -1 && startPos < test1.length(); in TestSearching()
719 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
724 for ( occurrences = 0, startPos = 10; in TestSearching()
725 startPos != -1 && startPos < test1.length(); in TestSearching()
726 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
732 for ( occurrences = 0, startPos = 5; in TestSearching()
733 startPos != -1 && startPos < test1.length(); in TestSearching()
734 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
740 for ( startPos=0, occurrences=0; in TestSearching()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp718 int32_t startPos = 0; in TestSearching() local
720 startPos != -1 && startPos < test1.length(); in TestSearching()
721 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
726 for ( occurrences = 0, startPos = 10; in TestSearching()
727 startPos != -1 && startPos < test1.length(); in TestSearching()
728 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
735 for ( occurrences = 0, startPos = 5; in TestSearching()
736 startPos != -1 && startPos < test1.length(); in TestSearching()
737 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
744 for ( startPos=0, occurrences=0; in TestSearching()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java319 private int startPos; field in ClassFileWriter.MethodWriter
387 startPos = output.getPos(); in begin()
449 output.writeShort(startPos + 6, maxStack); in codeEnd()
450 output.writeShort(startPos + 8, maxLocals); in codeEnd()
451 output.writeInt(startPos + 10, output.getPos() - startPos - 14); // code_length in codeEnd()
502 output.writeInt(startPos + 2, output.getPos() - startPos - 6); in end()
522 protected int startPos; field in ClassFileWriter.ConstPoolWriter
527 startPos = out.getPos(); in ConstPoolWriter()
728 output.writeShort(startPos, num); in end()
/external/lzma/CPP/7zip/Common/
DLockedStream.h17 HRESULT Read(UInt64 startPos, void *data, UInt32 size, UInt32 *processedSize);
27 void Init(CLockedInStream *lockedInStream, UInt64 startPos) in Init() argument
30 _pos = startPos; in Init()
DLockedStream.cpp7 HRESULT CLockedInStream::Read(UInt64 startPos, void *data, UInt32 size, in Read() argument
11 RINOK(_stream->Seek(startPos, STREAM_SEEK_SET, NULL)); in Read()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathParser.cpp185 int startPos = m_nextPos + 1; in lexString() local
187 for (m_nextPos = startPos; m_nextPos < m_data.length(); ++m_nextPos) { in lexString()
189 String value = m_data.substring(startPos, m_nextPos - startPos); in lexString()
203 int startPos = m_nextPos; in lexNumber() local
220 return Token(NUMBER, m_data.substring(startPos, m_nextPos - startPos)); in lexNumber()
225 int startPos = m_nextPos; in lexNCName() local
238 name = m_data.substring(startPos, m_nextPos - startPos); in lexNCName()
DXPathFunctions.cpp338 unsigned startPos = 0; in evaluate() local
341 while (startPos < length && isWhitespace(idList[startPos])) in evaluate()
342 ++startPos; in evaluate()
344 if (startPos == length) in evaluate()
347 size_t endPos = startPos; in evaluate()
353 …e* node = contextScope.getElementById(AtomicString(idList.substring(startPos, endPos - startPos))); in evaluate()
357 startPos = endPos; in evaluate()
/external/icu/icu4c/source/i18n/
Drematch.cpp598 int64_t startPos = fMatchEnd; in find() local
599 if (startPos==0) { in find()
600 startPos = fActiveStart; in find()
610 if (startPos >= fActiveLimit) { in find()
615 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
617 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
637 if (startPos > testStartLimit) { in find()
649 U_ASSERT(startPos >= 0); in find()
656 MatchAt(startPos, FALSE, fDeferredStatus); in find()
663 if (startPos >= testStartLimit) { in find()
[all …]
Drbnf.cpp1068 int32_t startPos = toAppendTo.length(); in format() local
1070 adjustForCapitalizationContext(startPos, toAppendTo); in format()
1082 int32_t startPos = toAppendTo.length(); in format() local
1084 adjustForCapitalizationContext(startPos, toAppendTo); in format()
1095 int32_t startPos = toAppendTo.length(); in format() local
1105 return adjustForCapitalizationContext(startPos, toAppendTo); in format()
1124 int32_t startPos = toAppendTo.length(); in format() local
1126 adjustForCapitalizationContext(startPos, toAppendTo); in format()
1148 int32_t startPos = toAppendTo.length(); in format() local
1150 adjustForCapitalizationContext(startPos, toAppendTo); in format()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Drematch.cpp601 int64_t startPos = fMatchEnd; in find() local
602 if (startPos==0) { in find()
603 startPos = fActiveStart; in find()
613 if (startPos >= fActiveLimit) { in find()
618 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
620 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
640 if (startPos > testStartLimit) { in find()
652 U_ASSERT(startPos >= 0); in find()
659 MatchAt(startPos, FALSE, fDeferredStatus); in find()
666 if (startPos >= testStartLimit) { in find()
[all …]
/external/icu/icu4c/source/common/
Drbbi.cpp594 int32_t startPos = current(); in next() local
598 result = checkDictionary(startPos, result, FALSE); in next()
609 int32_t startPos; in previous() local
631 if (fText == NULL || (startPos = current()) == 0) { in previous()
640 result = checkDictionary(result, startPos, TRUE); in previous()
1568 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, 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()
[all …]
Dbrkeng.h75 int32_t startPos,
200 int32_t startPos,
/external/chromium_org/third_party/icu/source/common/
Drbbi.cpp534 int32_t startPos = current(); in next() local
537 result = checkDictionary(startPos, result, FALSE); in next()
548 int32_t startPos; in previous() local
570 if (fText == NULL || (startPos = current()) == 0) { in previous()
579 result = checkDictionary(result, startPos, TRUE); in previous()
1543 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, 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()
[all …]
Dbrkeng.h75 int32_t startPos,
200 int32_t startPos,
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Ddrag_selector.js110 var startPos = DragSelector.getScrolledPosition(list, event);
111 if (!startPos)
113 this.startX_ = startPos.x;
114 this.startY_ = startPos.y;
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java128 int startPos = input.getPosition(); in storeUnknownField() local
134 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
DWireFormatNano.java114 int startPos = input.getPosition(); in getRepeatedFieldArrayLength() local
124 input.rewindToPosition(startPos); in getRepeatedFieldArrayLength()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DWTFString.cpp696 unsigned startPos = 0; 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()
703 if (allowEmptyEntries || startPos != length()) in split()
704 result.append(substring(startPos)); in split()
711 unsigned startPos = 0; in split() local
713 while ((endPos = find(separator, startPos)) != kNotFound) { in split()
714 if (allowEmptyEntries || startPos != endPos) in split()
[all …]
/external/aac/libSBRenc/src/
Dnf_est.cpp308 INT nNoiseEnvelopes, startPos[2], stopPos[2], env, band; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() local
317 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
321 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
325 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
327 startPos[1] = startIndex + 1; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
340 startPos[env], in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp188 int startPos, endPos; in appendContextSubtargetsForNode() local
191 startPos = 0; in appendContextSubtargetsForNode()
195 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
199 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
200 startPos = 0; in appendContextSubtargetsForNode()
203 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
210 textRenderer->absoluteQuadsForRange(quads, startPos, endPos); in appendContextSubtargetsForNode()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp143 bool InlineTextBox::isSelected(int startPos, int endPos) const in isSelected() argument
145 int sPos = max(startPos - m_start, 0); in isSelected()
156 int startPos, endPos; in selectionState() local
157 renderer().selectionStartEnd(startPos, endPos); in selectionState()
164 …bool start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos <= m_start + … in selectionState()
172 else if ((state == RenderObject::SelectionEnd || startPos < m_start) && in selectionState()
198 LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos) in localSelectionRect() argument
200 int sPos = max(startPos - m_start, 0); in localSelectionRect()
790 int startPos, endPos; in selectionStartEnd() local
792 startPos = 0; in selectionStartEnd()
[all …]
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp374 void nextLine(int startPos) { in nextLine() argument
375 if (startPos == 0) { in nextLine()
380 lineStart = lineEnd = startPos; in nextLine()
/external/pdfium/fpdfsdk/src/
Dfpdfdoc.cpp168 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_Enumerate(FPDF_PAGE page, int* startPos, FPDF_LINK* linkAnnot) in FPDFLink_Enumerate() argument
170 if(!page || !startPos || !linkAnnot) in FPDFLink_Enumerate()
176 for (int i = *startPos; i < (int)pAnnots->GetCount(); i ++) { in FPDFLink_Enumerate()
181 *startPos = i+1; in FPDFLink_Enumerate()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/
Dui.js123 var startPos = rtl ? parentRect.right - inputRect.right :
136 var max = parentEl.clientWidth - startPos - inner - parentPadding;
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/
Dui.js124 var startPos = rtl ? parentRect.right - inputRect.right :
137 var max = parentEl.clientWidth - startPos - inner - parentPadding;

1234