/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UTF16Test.java | 1018 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1020 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1021 if (startPos >= 0) { in TestIndexOf() 1023 startPos += 4; in TestIndexOf() 1032 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1034 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1035 if (startPos >= 0) { in TestIndexOf() 1037 startPos += 4; in TestIndexOf() 1046 for (int startPos = 0; in TestIndexOf() 1047 startPos != -1 && startPos < test3.length();) { in TestIndexOf() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UTF16Test.java | 1022 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1024 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1025 if (startPos >= 0) { in TestIndexOf() 1027 startPos += 4; in TestIndexOf() 1036 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1038 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1039 if (startPos >= 0) { in TestIndexOf() 1041 startPos += 4; in TestIndexOf() 1050 for (int startPos = 0; in TestIndexOf() 1051 startPos != -1 && startPos < test3.length();) { in TestIndexOf() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 708 int32_t startPos = 0; in TestSearching() local 710 startPos != -1 && startPos < test1.length(); in TestSearching() 711 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 716 for ( occurrences = 0, startPos = 10; in TestSearching() 717 startPos != -1 && startPos < test1.length(); in TestSearching() 718 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 725 for ( occurrences = 0, startPos = 5; in TestSearching() 726 startPos != -1 && startPos < test1.length(); in TestSearching() 727 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching() 734 for ( startPos=0, occurrences=0; in TestSearching() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CjkBreakEngine.java | 81 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 83 if (startPos >= endPos) { in divideUpDictionaryRange() 87 inText.setIndex(startPos); in divideUpDictionaryRange() 89 int inputLength = endPos - startPos; in divideUpDictionaryRange() 92 inText.setIndex(startPos); in divideUpDictionaryRange() 214 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 220 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 221 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange() 222 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
D | RuleBasedBreakIterator.java | 411 int startPos = current(); in next() local 415 result = checkDictionary(startPos, result, false); in next() 426 private int checkDictionary(int startPos, int endPos, boolean reverse) { in checkDictionary() argument 434 if ((endPos - startPos) <= 1) { in checkDictionary() 435 return (reverse ? startPos : endPos); in checkDictionary() 441 fText.setIndex(reverse ? endPos : startPos); in checkDictionary() 446 int rangeStart = startPos; in checkDictionary() 546 if (startPos < breaks.peekLast()) { in checkDictionary() 547 breaks.offer(startPos); in checkDictionary() 568 return following(startPos); in checkDictionary() [all …]
|
D | DictionaryBreakEngine.java | 171 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 186 while ((current = text.getIndex()) > startPos && isDict) { in findBreaks() 190 rangeStart = (current < startPos) ? startPos : in findBreaks()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CjkBreakEngine.java | 82 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 84 if (startPos >= endPos) { in divideUpDictionaryRange() 88 inText.setIndex(startPos); in divideUpDictionaryRange() 90 int inputLength = endPos - startPos; in divideUpDictionaryRange() 93 inText.setIndex(startPos); in divideUpDictionaryRange() 215 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 221 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 222 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange() 223 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
D | RuleBasedBreakIterator.java | 401 int startPos = current(); in next() local 405 result = checkDictionary(startPos, result, false); in next() 416 private int checkDictionary(int startPos, int endPos, boolean reverse) { in checkDictionary() argument 424 if ((endPos - startPos) <= 1) { in checkDictionary() 425 return (reverse ? startPos : endPos); in checkDictionary() 431 fText.setIndex(reverse ? endPos : startPos); in checkDictionary() 436 int rangeStart = startPos; in checkDictionary() 536 if (startPos < breaks.peekLast()) { in checkDictionary() 537 breaks.offer(startPos); in checkDictionary() 558 return following(startPos); in checkDictionary() [all …]
|
D | DictionaryBreakEngine.java | 172 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 187 while ((current = text.getIndex()) > startPos && isDict) { in findBreaks() 191 rangeStart = (current < startPos) ? startPos : in findBreaks()
|
/external/pdfium/xfa/src/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 | 104 CFX_Int32Array startPos; in encodeECC200() local 105 startPos.SetSize(blockCount); in encodeECC200() 109 startPos[i] = 0; in encodeECC200() 111 startPos[i] = startPos[i - 1] + dataSizes[i]; in encodeECC200()
|
D | BC_C40Encoder.cpp | 188 int32_t startPos) { in encodeToCodewords() argument 189 FX_WCHAR c1 = sb.GetAt(startPos); in encodeToCodewords() 190 FX_WCHAR c2 = sb.GetAt(startPos + 1); in encodeToCodewords() 191 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/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/icu/icu4c/source/i18n/ |
D | visibledigits.cpp | 152 int32_t startPos = fInterval.getMostSignificantExclusive(); in getFixedDecimal() local 153 if (startPos > 18) { in getFixedDecimal() 154 startPos = 18; in getFixedDecimal() 157 for (int32_t i = startPos - 1; i >= 0; --i) { in getFixedDecimal() 160 if (intValue == 0LL && startPos > 0) { in getFixedDecimal()
|
D | rematch.cpp | 638 int64_t startPos = fMatchEnd; in find() local 639 if (startPos==0) { in find() 640 startPos = fActiveStart; in find() 650 if (startPos >= fActiveLimit) { in find() 655 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find() 657 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find() 677 if (startPos > testStartLimit) { in find() 689 U_ASSERT(startPos >= 0); in find() 696 MatchAt(startPos, FALSE, status); in find() 703 if (startPos >= testStartLimit) { in find() [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | Tabber.java | 136 int startPos = getStop(count-1); in process_field() local 143 startPos = endPos - piece.length(); in process_field() 146 startPos = (startPos + endPos - piece.length() + 1)/2; in process_field() 150 int gap = startPos - output.length(); in process_field()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | Tabber.java | 137 int startPos = getStop(count-1); in process_field() local 144 startPos = endPos - piece.length(); in process_field() 147 startPos = (startPos + endPos - piece.length() + 1)/2; in process_field() 151 int gap = startPos - output.length(); in process_field()
|
/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 | 594 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() 1576 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, in checkDictionary() argument 1585 if ((endPos - startPos) <= 1) { in checkDictionary() 1586 return (reverse ? startPos : endPos); in checkDictionary() 1592 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary() 1597 int32_t rangeStart = startPos; in checkDictionary() [all …]
|
/external/protobuf/java/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()
|
D | WireFormatNano.java | 114 int startPos = input.getPosition(); in getRepeatedFieldArrayLength() local 120 input.rewindToPosition(startPos); in getRepeatedFieldArrayLength()
|
/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()
|
/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()
|