Home
last modified time | relevance | path

Searched refs:prevIndex (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4c/source/test/perf/unisetperf/draft/
Dbitset.cpp100 int32_t prevIndex, i, j; in BitSet() local
103 prevIndex=-1; in BitSet()
112 if(prevIndex!=i) { in BitSet()
114 if(prevIndex<0) { in BitSet()
115 prevIndex=0; in BitSet()
117 index[prevIndex++]=bitHash->map(b); in BitSet()
120 if(prevIndex<i) { in BitSet()
123 index[prevIndex++]=zero; in BitSet()
124 } while(prevIndex<i); in BitSet()
147 prevIndex=j; in BitSet()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSelectFormat.java272 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local
279 return pattern.substring(prevIndex, index); in format()
281 return result.append(pattern, prevIndex, index).toString(); in format()
287 result.append(pattern, prevIndex, index); in format()
288 prevIndex = part.getLimit(); in format()
293 result.append(pattern, prevIndex, index); in format()
294 prevIndex = index; in format()
297 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format()
298 prevIndex = index; in format()
DPluralFormat.java632 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local
639 return pattern.substring(prevIndex, index); in format()
641 return result.append(pattern, prevIndex, index).toString(); in format()
649 result.append(pattern, prevIndex, index); in format()
653 prevIndex = part.getLimit(); in format()
658 result.append(pattern, prevIndex, index); in format()
659 prevIndex = index; in format()
662 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format()
663 prevIndex = index; in format()
DMessageFormat.java1238 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local
1247 int len = index - prevIndex; in parse()
1248 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1250 prevIndex += len; in parse()
1261 prevIndex=part.getLimit(); in parse()
1350 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1608 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local
1613 dest.append(msgString, prevIndex, index); in format()
1617 prevIndex=part.getLimit(); in format()
1753 prevIndex=msgPattern.getPart(argLimit).getLimit(); in format()
[all …]
/external/messageformat/java/com/ibm/icu/text/
DSelectFormat.java272 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local
279 return pattern.substring(prevIndex, index); in format()
281 return result.append(pattern, prevIndex, index).toString(); in format()
287 result.append(pattern, prevIndex, index); in format()
288 prevIndex = part.getLimit(); in format()
293 result.append(pattern, prevIndex, index); in format()
294 prevIndex = index; in format()
297 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, result); in format()
298 prevIndex = index; in format()
/external/icu/icu4c/source/i18n/
Dplurfmt.cpp281 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local
287 return appendTo.append(pattern, prevIndex, index - prevIndex); in format()
290 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
294 prevIndex = part.getLimit(); in format()
296 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
297 prevIndex = index; in format()
300 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format()
301 prevIndex = index; in format()
Dmsgfmt.cpp1010 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local
1015 appendTo.append(msgString, prevIndex, index - prevIndex); in format()
1019 prevIndex = part->getLimit(); in format()
1147 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1176 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage() local
1182 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1185 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1197 prevIndex = part.getLimit(); in formatComplexSubMessage()
1199 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1200 prevIndex = index; in formatComplexSubMessage()
[all …]
Dchoicfmt.cpp544 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart() local
549 int32_t length = index - prevIndex; in matchStringUntilLimitPart()
550 … if (length != 0 && 0 != source.compare(sourceOffset, length, msgString, prevIndex, length)) { in matchStringUntilLimitPart()
557 prevIndex = part.getLimit(); // SKIP_SYNTAX in matchStringUntilLimitPart()
Dtznames_impl.cpp261 uint16_t prevIndex = 0; in addChildNode() local
271 prevIndex = nodeIndex; in addChildNode()
290 if (prevIndex == 0) { in addChildNode()
293 fNodes[prevIndex].fNextSibling = (uint16_t)fNodesCount; in addChildNode()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java1194 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local
1203 int len = index - prevIndex; in parse()
1204 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1206 prevIndex += len; in parse()
1217 prevIndex=part.getLimit(); in parse()
1306 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1525 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local
1530 dest.append(msgString, prevIndex, index); in format()
1534 prevIndex=part.getLimit(); in format()
1663 prevIndex=msgPattern.getPart(argLimit).getLimit(); in format()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp1208 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax() local
1214 return result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1216 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1217 prevIndex=part.getLimit(); in appendSubMessageWithoutSkipSyntax()
1219 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1220 prevIndex=index; in appendSubMessageWithoutSkipSyntax()
1223 appendReducedApostrophes(msgString, prevIndex, index, result); in appendSubMessageWithoutSkipSyntax()
1224 prevIndex=index; in appendSubMessageWithoutSkipSyntax()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp546 int prevIndex = 0; in initCache16() local
551 if (nextIndex > prevIndex) in initCache16()
552 Build16bitCache(cache->fCache16 + prevIndex, cache->fShader.fOrigColors[i-1], in initCache16()
553 cache->fShader.fOrigColors[i], nextIndex - prevIndex + 1); in initCache16()
554 prevIndex = nextIndex; in initCache16()
579 int prevIndex = 0; in initCache32() local
584 if (nextIndex > prevIndex) in initCache32()
585 Build32bitCache(cache->fCache32 + prevIndex, cache->fShader.fOrigColors[i-1], in initCache32()
586 cache->fShader.fOrigColors[i], nextIndex - prevIndex + 1, in initCache32()
588 prevIndex = nextIndex; in initCache32()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java462 int prevIndex = 0;
465 writer.writeUleb128(index - prevIndex);
467 prevIndex = index;
473 int prevIndex = 0;
476 writer.writeUleb128(index-prevIndex);
479 prevIndex = index;
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.extensions182 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/icu/icu4c/source/test/cintltst/
Dcnormtst.c1036 int32_t length, i, expectLength, expectIndex, prevIndex, index, inLength; in _testIter() local
1052 prevIndex=index; in _testIter()
1063 in=src+prevIndex; in _testIter()
1064 inLength=expectIndex-prevIndex; in _testIter()
1089 inLength=prevIndex-expectIndex; in _testIter()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp657 int64_t prevIndex = utext_getPreviousNativeIndex(ut); in TestAccessNoClone() local
662 TEST_ASSERT(prevIndex == foundIndex); in TestAccessNoClone()