/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UTF16Test.java | 1035 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1037 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1038 if (startPos >= 0) { in TestIndexOf() 1040 startPos += 4; in TestIndexOf() 1049 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1051 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1052 if (startPos >= 0) { in TestIndexOf() 1054 startPos += 4; in TestIndexOf() 1063 for (int startPos = 0; in TestIndexOf() 1064 startPos != -1 && startPos < test3.length();) { in TestIndexOf() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UTF16Test.java | 1034 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1036 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1037 if (startPos >= 0) { in TestIndexOf() 1039 startPos += 4; in TestIndexOf() 1048 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1050 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1051 if (startPos >= 0) { in TestIndexOf() 1053 startPos += 4; in TestIndexOf() 1062 for (int startPos = 0; in TestIndexOf() 1063 startPos != -1 && startPos < test3.length();) { in TestIndexOf() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 710 int32_t startPos = 0; in TestSearching() local 712 startPos != -1 && startPos < test1.length(); in TestSearching() 713 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 718 for ( occurrences = 0, startPos = 10; in TestSearching() 719 startPos != -1 && startPos < test1.length(); in TestSearching() 720 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 727 for ( occurrences = 0, startPos = 5; in TestSearching() 728 startPos != -1 && startPos < test1.length(); in TestSearching() 729 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching() 736 for ( startPos=0, occurrences=0; in TestSearching() [all …]
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpagefind.cpp | 86 int startPos) { in FindFirst() argument 105 m_findNextStart = startPos; in FindFirst() 106 if (startPos == -1) in FindFirst() 109 m_findPreStart = startPos; in FindFirst() 322 int startPos, in IsMatchWholeWord() argument 326 int char_count = endPos - startPos + 1; in IsMatchWholeWord() 329 if (char_count == 1 && csPageText.GetAt(startPos) > 255) in IsMatchWholeWord() 331 if (startPos - 1 >= 0) in IsMatchWholeWord() 332 char_left = csPageText.GetAt(startPos - 1); in IsMatchWholeWord() 333 if (startPos + char_count < csPageText.GetLength()) in IsMatchWholeWord() [all …]
|
D | cpdf_textpagefind.h | 23 bool FindFirst(const CFX_WideString& findwhat, int flags, int startPos = 0); 32 int startPos,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CjkBreakEngine.java | 86 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 88 if (startPos >= endPos) { in divideUpDictionaryRange() 92 inText.setIndex(startPos); in divideUpDictionaryRange() 94 int inputLength = endPos - startPos; in divideUpDictionaryRange() 97 inText.setIndex(startPos); in divideUpDictionaryRange() 219 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 225 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 226 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange() 227 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
D | RuleBasedBreakIterator.java | 414 int startPos = current(); in next() local 418 result = checkDictionary(startPos, result, false); in next() 429 private int checkDictionary(int startPos, int endPos, boolean reverse) { in checkDictionary() argument 437 if ((endPos - startPos) <= 1) { in checkDictionary() 438 return (reverse ? startPos : endPos); in checkDictionary() 444 fText.setIndex(reverse ? endPos : startPos); in checkDictionary() 449 int rangeStart = startPos; in checkDictionary() 549 if (startPos < breaks.peekLast()) { in checkDictionary() 550 breaks.offer(startPos); in checkDictionary() 571 return following(startPos); in checkDictionary() [all …]
|
D | DictionaryBreakEngine.java | 176 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 191 while ((current = text.getIndex()) > startPos && isDict) { in findBreaks() 195 rangeStart = (current < startPos) ? startPos : in findBreaks()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CjkBreakEngine.java | 85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 87 if (startPos >= endPos) { in divideUpDictionaryRange() 91 inText.setIndex(startPos); in divideUpDictionaryRange() 93 int inputLength = endPos - startPos; in divideUpDictionaryRange() 96 inText.setIndex(startPos); in divideUpDictionaryRange() 218 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 224 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 225 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange() 226 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
D | RuleBasedBreakIterator.java | 424 int startPos = current(); in next() local 428 result = checkDictionary(startPos, result, false); in next() 439 private int checkDictionary(int startPos, int endPos, boolean reverse) { in checkDictionary() argument 447 if ((endPos - startPos) <= 1) { in checkDictionary() 448 return (reverse ? startPos : endPos); in checkDictionary() 454 fText.setIndex(reverse ? endPos : startPos); in checkDictionary() 459 int rangeStart = startPos; in checkDictionary() 559 if (startPos < breaks.peekLast()) { in checkDictionary() 560 breaks.offer(startPos); in checkDictionary() 581 return following(startPos); in checkDictionary() [all …]
|
D | DictionaryBreakEngine.java | 175 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 190 while ((current = text.getIndex()) > startPos && isDict) { in findBreaks() 194 rangeStart = (current < startPos) ? startPos : in findBreaks()
|
/external/pdfium/xfa/fxbarcode/datamatrix/ |
D | BC_EdifactEncoder.cpp | 130 int32_t startPos, in encodeToCodewords() argument 132 int32_t len = sb.GetLength() - startPos; in encodeToCodewords() 137 FX_WCHAR c1 = sb.GetAt(startPos); in encodeToCodewords() 138 FX_WCHAR c2 = len >= 2 ? sb.GetAt(startPos + 1) : 0; in encodeToCodewords() 139 FX_WCHAR c3 = len >= 3 ? sb.GetAt(startPos + 2) : 0; in encodeToCodewords() 140 FX_WCHAR c4 = len >= 4 ? sb.GetAt(startPos + 3) : 0; in encodeToCodewords()
|
D | BC_ErrorCorrection.cpp | 140 CFX_ArrayTemplate<int32_t> startPos; in encodeECC200() local 141 startPos.SetSize(blockCount); in encodeECC200() 145 startPos[i] = 0; in encodeECC200() 147 startPos[i] = startPos[i - 1] + dataSizes[i]; in encodeECC200()
|
D | BC_C40Encoder.cpp | 190 int32_t startPos) { in encodeToCodewords() argument 191 FX_WCHAR c1 = sb.GetAt(startPos); in encodeToCodewords() 192 FX_WCHAR c2 = sb.GetAt(startPos + 1); in encodeToCodewords() 193 FX_WCHAR c3 = sb.GetAt(startPos + 2); in encodeToCodewords()
|
/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/icu/icu4c/source/i18n/ |
D | visibledigits.cpp | 150 int32_t startPos = fInterval.getMostSignificantExclusive(); in getFixedDecimal() local 151 if (startPos > 18) { in getFixedDecimal() 152 startPos = 18; in getFixedDecimal() 155 for (int32_t i = startPos - 1; i >= 0; --i) { in getFixedDecimal() 158 if (intValue == 0LL && startPos > 0) { in getFixedDecimal()
|
D | rematch.cpp | 642 int64_t startPos = fMatchEnd; in find() local 643 if (startPos==0) { in find() 644 startPos = fActiveStart; in find() 654 if (startPos >= fActiveLimit) { in find() 659 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find() 661 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find() 681 if (startPos > testStartLimit) { in find() 693 U_ASSERT(startPos >= 0); in find() 700 MatchAt(startPos, FALSE, status); in find() 707 if (startPos >= testStartLimit) { in find() [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | LockedStream.h | 17 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()
|
D | LockedStream.cpp | 7 HRESULT CLockedInStream::Read(UInt64 startPos, void *data, UInt32 size, in Read() argument 11 RINOK(_stream->Seek(startPos, STREAM_SEEK_SET, NULL)); in Read()
|
/external/lzma/CPP/7zip/Compress/ |
D | PpmdDecoder.cpp | 114 const UInt64 startPos = _processedSize; in Code() local 116 size_t processed = (size_t)(_processedSize - startPos); in Code() 158 const UInt64 startPos = _processedSize; in Read() local 161 *processedSize = (UInt32)(_processedSize - startPos); in Read()
|
/external/icu/icu4c/source/common/ |
D | rbbi.cpp | 581 int32_t startPos = current(); in next() local 585 result = checkDictionary(startPos, result, FALSE); in next() 596 int32_t startPos; in previous() local 618 if (fText == NULL || (startPos = current()) == 0) { in previous() 627 result = checkDictionary(result, startPos, TRUE); in previous() 1563 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, in checkDictionary() argument 1572 if ((endPos - startPos) <= 1) { in checkDictionary() 1573 return (reverse ? startPos : endPos); in checkDictionary() 1579 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary() 1584 int32_t rangeStart = startPos; in checkDictionary() [all …]
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | ExtendableMessageNano.java | 140 int startPos = input.getPosition(); in storeUnknownField() local 146 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
|
/external/aac/libSBRenc/src/ |
D | nf_est.cpp | 309 INT nNoiseEnvelopes, startPos[2], stopPos[2], env, band; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() local 318 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 322 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 326 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 328 startPos[1] = startIndex + 1; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 341 startPos[env], in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
D | ARM.java | 17 public ARM(boolean isEncoder, int startPos) { in ARM() argument 19 pos = startPos + 8; in ARM()
|
D | PowerPC.java | 17 public PowerPC(boolean isEncoder, int startPos) { in PowerPC() argument 19 pos = startPos; in PowerPC()
|