/external/webkit/Source/WebKit/chromium/src/ |
D | WebEntities.cpp | 66 const UChar* startPos = value.characters(); in convertEntitiesInString() local 67 const UChar* curPos = startPos; in convertEntitiesInString() 74 if (curPos > startPos) in convertEntitiesInString() 75 result.append(String(startPos, curPos - startPos)); in convertEntitiesInString() 79 startPos = ++curPos; in convertEntitiesInString() 84 if (curPos > startPos) in convertEntitiesInString() 85 result.append(String(startPos, curPos - startPos)); in convertEntitiesInString()
|
/external/icu4c/test/intltest/ |
D | ustrtest.cpp | 721 int32_t startPos = 0; in TestSearching() local 723 startPos != -1 && startPos < test1.length(); in TestSearching() 724 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 729 for ( occurrences = 0, startPos = 10; in TestSearching() 730 startPos != -1 && startPos < test1.length(); in TestSearching() 731 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 737 for ( occurrences = 0, startPos = 5; in TestSearching() 738 startPos != -1 && startPos < test1.length(); in TestSearching() 739 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching() 745 for ( startPos=0, occurrences=0; in TestSearching() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | ClassFileWriter.java | 319 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/webkit/Source/WebCore/xml/ |
D | XPathParser.cpp | 193 int startPos = m_nextPos + 1; in lexString() local 195 for (m_nextPos = startPos; m_nextPos < m_data.length(); ++m_nextPos) { in lexString() 197 String value = m_data.substring(startPos, m_nextPos - startPos); in lexString() 211 int startPos = m_nextPos; in lexNumber() local 227 return Token(NUMBER, m_data.substring(startPos, m_nextPos - startPos)); in lexNumber() 232 int startPos = m_nextPos; in lexNCName() local 244 name = m_data.substring(startPos, m_nextPos - startPos); in lexNCName()
|
D | XPathFunctions.cpp | 339 size_t startPos = 0; in evaluate() local 342 while (startPos < length && isWhitespace(idList[startPos])) in evaluate() 343 ++startPos; in evaluate() 345 if (startPos == length) in evaluate() 348 size_t endPos = startPos; in evaluate() 354 Node* node = contextDocument->getElementById(String(&idList[startPos], endPos - startPos)); in evaluate() 358 startPos = endPos; in evaluate()
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
D | WTFString.cpp | 606 unsigned startPos = 0; in split() local 608 while ((endPos = find(separator, startPos)) != notFound) { in split() 609 if (allowEmptyEntries || startPos != endPos) in split() 610 result.append(substring(startPos, endPos - startPos)); in split() 611 startPos = endPos + separator.length(); in split() 613 if (allowEmptyEntries || startPos != length()) in split() 614 result.append(substring(startPos)); in split() 626 unsigned startPos = 0; in split() local 628 while ((endPos = find(separator, startPos)) != notFound) { in split() 629 if (allowEmptyEntries || startPos != endPos) in split() [all …]
|
/external/icu4c/i18n/ |
D | rematch.cpp | 601 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/icu4c/common/ |
D | rbbi.cpp | 564 int32_t startPos = current(); in next() local 567 result = checkDictionary(startPos, result, FALSE); in next() 578 int32_t startPos; in previous() local 600 if (fText == NULL || (startPos = current()) == 0) { in previous() 609 result = checkDictionary(result, startPos, TRUE); in previous() 1573 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, in checkDictionary() argument 1580 if (dictionaryCount <= 1 || (endPos - startPos) <= 1) { in checkDictionary() 1581 return (reverse ? startPos : endPos); in checkDictionary() 1605 return (reverse ? startPos : endPos); in checkDictionary() 1611 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary() [all …]
|
D | brkeng.h | 75 int32_t startPos, 200 int32_t startPos,
|
D | dictbe.cpp | 45 int32_t startPos, in findBreaks() argument 60 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) { in findBreaks() 64 rangeStart = (current < startPos) ? startPos : current+(isDict ? 0 : 1); in findBreaks()
|
/external/webkit/Source/WebKit2/UIProcess/Plugins/win/ |
D | PluginInfoStoreWin.cpp | 42 unsigned startPos = 0; in parseVersionString() local 45 while (startPos < versionString.length()) { in parseVersionString() 46 for (endPos = startPos; endPos < versionString.length(); ++endPos) in parseVersionString() 50 int versionComponent = versionString.substring(startPos, endPos - startPos).toInt(); in parseVersionString() 53 startPos = endPos + 1; in parseVersionString()
|
/external/webkit/Source/WebCore/platform/text/brew/ |
D | TextBoundariesBrew.cpp | 63 int startPos = (currentPosition < 0) ? 0 : ++currentPosition; in findWordBoundary() local 70 *start = startPos; in findWordBoundary()
|
/external/webkit/Source/WebCore/platform/text/mac/ |
D | TextCodecMac.cpp | 289 CFIndex startPos = 0; in encode() local 295 CFRange range = CFRangeMake(startPos, charactersLeft); in encode() 305 … unsigned badChar = CFStringGetCharacterAtIndex(cfs.get(), startPos + charactersConverted); in encode() 308 … UniChar low = CFStringGetCharacterAtIndex(cfs.get(), startPos + charactersConverted); in encode() 323 startPos += charactersConverted; in encode()
|
/external/aac/libSBRenc/src/ |
D | nf_est.cpp | 308 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/webkit/Source/WebCore/plugins/win/ |
D | PluginDatabaseWin.cpp | 173 unsigned startPos = 0; in parseVersionString() local 176 while (startPos < versionString.length()) { in parseVersionString() 177 for (endPos = startPos; endPos < versionString.length(); ++endPos) in parseVersionString() 181 int versionComponent = versionString.substring(startPos, endPos - startPos).toInt(); in parseVersionString() 184 startPos = endPos + 1; in parseVersionString()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | TreeSetTest.java | 268 final int startPos = 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/webkit/Source/WebCore/rendering/ |
D | RenderText.cpp | 358 static IntRect ellipsisRectForBox(InlineTextBox* box, unsigned startPos, unsigned endPos) in ellipsisRectForBox() argument 369 int ellipsisStartPosition = max<int>(startPos - box->start(), 0); in ellipsisRectForBox() 1008 int startPos, endPos; in setSelectionState() local 1009 selectionStartEnd(startPos, endPos); in setSelectionState() 1014 if (startPos != 0 && startPos == endPos) in setSelectionState() 1015 startPos = endPos - 1; in setSelectionState() 1017 startPos = 0; in setSelectionState() 1020 if (box->isSelected(startPos, endPos)) { in setSelectionState() 1411 int startPos, endPos; in selectionRectForRepaint() local 1414 startPos = 0; in selectionRectForRepaint() [all …]
|
D | InlineTextBox.h | 100 virtual IntRect selectionRect(int absx, int absy, int startPos, int endPos); 101 bool isSelected(int startPos, int endPos) const; 160 …raphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, int startPos, int endPos);
|
D | InlineTextBox.cpp | 112 bool InlineTextBox::isSelected(int startPos, int endPos) const in isSelected() argument 114 int sPos = max(startPos - m_start, 0); in isSelected() 123 int startPos, endPos; in selectionState() local 124 renderer()->selectionStartEnd(startPos, endPos); in selectionState() 128 …bool start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos < m_start + m… in selectionState() 136 else if ((state == RenderObject::SelectionEnd || startPos < m_start) && in selectionState() 174 IntRect InlineTextBox::selectionRect(int tx, int ty, int startPos, int endPos) in selectionRect() argument 176 int sPos = max(startPos - m_start, 0); in selectionRect() 776 int startPos, endPos; in selectionStartEnd() local 778 startPos = 0; in selectionStartEnd() [all …]
|
/external/icu4c/samples/ugrep/ |
D | ugrep.cpp | 374 void nextLine(int startPos) { in nextLine() argument 375 if (startPos == 0) { in nextLine() 380 lineStart = lineEnd = startPos; in nextLine()
|
/external/chromium-trace/src/shared/js/cr/ |
D | ui.js | 123 var startPos = rtl ? parentRect.right - inputRect.right : 136 var max = parentEl.clientWidth - startPos - inner - parentPadding;
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
D | ui.js | 123 var startPos = rtl ? parentRect.right - inputRect.right : 136 var max = parentEl.clientWidth - startPos - inner - parentPadding;
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | DragClientGtk.cpp | 83 void DragClient::willPerformDragSourceAction(DragSourceAction, const IntPoint& startPos, Clipboard*) in willPerformDragSourceAction() argument 85 m_startPos = startPos; in willPerformDragSourceAction()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ChunkedIntArray.java | 137 int specialFind(int startPos, int position) in specialFind() argument 141 int ancestor = startPos; in specialFind()
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
D | Python.g | 73 this.startPos = -1; 540 {if ( this.startPos==0 || this.implicitLineJoiningLevel>0 ) 545 WS : {this.startPos>0}?=> (' '|'\t')+ {$channel=HIDDEN;} 558 : {this.startPos==0}?=> 599 : {this.startPos==0}?=> (' '|'\t')* '#' (~'\n')* '\n'+ 600 | {this.startPos>0}?=> '#' (~'\n')* // let NEWLINE handle \n unless char pos==0 for '#'
|