/external/icu/icu4c/source/test/perf/unisetperf/draft/ |
D | bitset.cpp | 104 int32_t prevIndex, i, j; in BitSet() local 107 prevIndex=-1; in BitSet() 116 if(prevIndex!=i) { in BitSet() 118 if(prevIndex<0) { in BitSet() 119 prevIndex=0; in BitSet() 121 index[prevIndex++]=bitHash->map(b); in BitSet() 124 if(prevIndex<i) { in BitSet() 127 index[prevIndex++]=zero; in BitSet() 128 } while(prevIndex<i); in BitSet() 151 prevIndex=j; in BitSet()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SelectFormat.java | 273 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local 280 return pattern.substring(prevIndex, index); in format() 282 return result.append(pattern, prevIndex, index).toString(); in format() 288 result.append(pattern, prevIndex, index); in format() 289 prevIndex = part.getLimit(); in format() 294 result.append(pattern, prevIndex, index); in format() 295 prevIndex = index; in format() 298 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format() 299 prevIndex = index; in format()
|
D | MessageFormat.java | 1270 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local 1279 int len = index - prevIndex; in parse() 1280 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1282 prevIndex += len; in parse() 1293 prevIndex=part.getLimit(); in parse() 1382 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse() 1642 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local 1647 dest.append(msgString, prevIndex, index); in format() 1651 prevIndex=part.getLimit(); in format() 1787 prevIndex=msgPattern.getPart(argLimit).getLimit(); in format() [all …]
|
D | PluralFormat.java | 644 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local 651 return pattern.substring(prevIndex, index); in format() 653 return result.append(pattern, prevIndex, index).toString(); in format() 661 result.append(pattern, prevIndex, index); in format() 665 prevIndex = part.getLimit(); in format() 670 result.append(pattern, prevIndex, index); in format() 671 prevIndex = index; in format() 674 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format() 675 prevIndex = index; in format()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SelectFormat.java | 268 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local 275 return pattern.substring(prevIndex, index); in format() 277 return result.append(pattern, prevIndex, index).toString(); in format() 283 result.append(pattern, prevIndex, index); in format() 284 prevIndex = part.getLimit(); in format() 289 result.append(pattern, prevIndex, index); in format() 290 prevIndex = index; in format() 293 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format() 294 prevIndex = index; in format()
|
D | MessageFormat.java | 1211 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local 1220 int len = index - prevIndex; in parse() 1221 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse() 1223 prevIndex += len; in parse() 1234 prevIndex=part.getLimit(); in parse() 1323 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse() 1570 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local 1575 dest.append(msgString, prevIndex, index); in format() 1579 prevIndex=part.getLimit(); in format() 1715 prevIndex=msgPattern.getPart(argLimit).getLimit(); in format() [all …]
|
D | PluralFormat.java | 627 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local 634 return pattern.substring(prevIndex, index); in format() 636 return result.append(pattern, prevIndex, index).toString(); in format() 644 result.append(pattern, prevIndex, index); in format() 648 prevIndex = part.getLimit(); in format() 653 result.append(pattern, prevIndex, index); in format() 654 prevIndex = index; in format() 657 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format() 658 prevIndex = index; in format()
|
/external/icu/icu4c/source/i18n/ |
D | plurfmt.cpp | 302 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local 308 return appendTo.append(pattern, prevIndex, index - prevIndex); in format() 311 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 315 prevIndex = part.getLimit(); in format() 317 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 318 prevIndex = index; in format() 321 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format() 322 prevIndex = index; in format()
|
D | msgfmt.cpp | 1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local 1024 appendTo.append(msgString, prevIndex, index - prevIndex); in format() 1028 prevIndex = part->getLimit(); in format() 1156 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format() 1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage() local 1191 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage() 1194 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage() 1206 prevIndex = part.getLimit(); in formatComplexSubMessage() 1208 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage() 1209 prevIndex = index; in formatComplexSubMessage() [all …]
|
D | choicfmt.cpp | 546 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart() local 551 int32_t length = index - prevIndex; in matchStringUntilLimitPart() 552 … if (length != 0 && 0 != source.compare(sourceOffset, length, msgString, prevIndex, length)) { in matchStringUntilLimitPart() 559 prevIndex = part.getLimit(); // SKIP_SYNTAX in matchStringUntilLimitPart()
|
D | tznames_impl.cpp | 307 uint16_t prevIndex = 0; in addChildNode() local 317 prevIndex = nodeIndex; in addChildNode() 336 if (prevIndex == 0) { in addChildNode() 339 fNodes[prevIndex].fNextSibling = (uint16_t)fNodesCount; in addChildNode()
|
/external/skqp/src/gpu/gradients/ |
D | GrGradientBitmapCache.cpp | 148 int prevIndex = 0; in fillGradient() local 156 if (nextIndex > prevIndex) { in fillGradient() 160 Sk4f step = Sk4f(1.0f / static_cast<float>(nextIndex - prevIndex)); in fillGradient() 163 for (int curIndex = prevIndex; curIndex <= nextIndex; ++curIndex) { in fillGradient() 168 prevIndex = nextIndex; in fillGradient() 170 SkASSERT(prevIndex == fResolution - 1); in fillGradient()
|
/external/skia/src/gpu/gradients/ |
D | GrGradientBitmapCache.cpp | 148 int prevIndex = 0; in fillGradient() local 156 if (nextIndex > prevIndex) { in fillGradient() 160 Sk4f step = Sk4f(1.0f / static_cast<float>(nextIndex - prevIndex)); in fillGradient() 163 for (int curIndex = prevIndex; curIndex <= nextIndex; ++curIndex) { in fillGradient() 168 prevIndex = nextIndex; in fillGradient() 170 SkASSERT(prevIndex == fResolution - 1); in fillGradient()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MiniMessageFormatter.java | 95 int prevIndex=msg.getPart(msgStart).getLimit(); in format() local 100 dest.append(msgString, prevIndex, index); in format() 105 prevIndex=part.getLimit(); in format() 153 prevIndex=msg.getPart(argLimit).getLimit(); in format()
|
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 179 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() local 183 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon() 211 prevIndex = currIndex; in SkIsConvexPolygon() 1127 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument 1128 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex() 1129 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex() 1159 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local 1161 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon() 1173 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon() 1176 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon() [all …]
|
D | SkAnimCodecPlayer.cpp | 91 int prevIndex = fCurrIndex; in seek() local 93 return fCurrIndex != prevIndex; in seek()
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 190 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() local 194 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon() 222 prevIndex = currIndex; in SkIsConvexPolygon() 1157 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument 1158 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex() 1159 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex() 1207 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local 1209 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon() 1221 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon() 1224 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon() [all …]
|
D | SkAnimCodecPlayer.cpp | 135 int prevIndex = fCurrIndex; in seek() local 137 return fCurrIndex != prevIndex; in seek()
|
/external/icu/icu4c/source/common/ |
D | messagepattern.cpp | 1210 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax() local 1216 return result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax() 1218 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax() 1219 prevIndex=part.getLimit(); in appendSubMessageWithoutSkipSyntax() 1221 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax() 1222 prevIndex=index; in appendSubMessageWithoutSkipSyntax() 1225 appendReducedApostrophes(msgString, prevIndex, index, result); in appendSubMessageWithoutSkipSyntax() 1226 prevIndex=index; in appendSubMessageWithoutSkipSyntax()
|
/external/antlr/runtime/JavaScript/tests/functional/ |
D | rhino-python.extensions | 182 var prevIndex = this.findPreviousIndent(cpos); 184 for (var d=this.sp-1; d>=prevIndex; d--) { 190 this.sp = prevIndex; // pop those off indent level
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 639 int prevIndex = 0; 642 writer.writeUleb128(index - prevIndex); 644 prevIndex = index; 650 int prevIndex = 0; 653 writer.writeUleb128(index-prevIndex); 656 prevIndex = index;
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnormtst.c | 1043 int32_t length, i, expectLength, expectIndex, prevIndex, index, inLength; in _testIter() local 1059 prevIndex=index; in _testIter() 1070 in=src+prevIndex; in _testIter() 1071 inLength=expectIndex-prevIndex; in _testIter() 1096 inLength=prevIndex-expectIndex; in _testIter()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 1017 Integer prevIndex = uniqueTests.get(inputs); in readTestCases() local 1018 if (prevIndex == null) { in readTestCases() 1022 + " is a duplicate of line " + tests.get(prevIndex).lineNr); in readTestCases()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 1020 Integer prevIndex = uniqueTests.get(inputs); in readTestCases() local 1021 if (prevIndex == null) { in readTestCases() 1025 + " is a duplicate of line " + tests.get(prevIndex).lineNr); in readTestCases()
|
/external/icu/icu4c/source/test/intltest/ |
D | utxttest.cpp | 660 int64_t prevIndex = utext_getPreviousNativeIndex(ut); in TestAccessNoClone() local 665 TEST_ASSERT(prevIndex == foundIndex); in TestAccessNoClone()
|