Home
last modified time | relevance | path

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

/external/icu4c/test/perf/unisetperf/draft/
Dbitset.cpp99 int32_t prevIndex, i, j; in BitSet() local
102 prevIndex=-1; in BitSet()
111 if(prevIndex!=i) { in BitSet()
113 if(prevIndex<0) { in BitSet()
114 prevIndex=0; in BitSet()
116 index[prevIndex++]=bitHash->map(b); in BitSet()
119 if(prevIndex<i) { in BitSet()
122 index[prevIndex++]=zero; in BitSet()
123 } while(prevIndex<i); in BitSet()
146 prevIndex=j; in BitSet()
/external/icu4c/i18n/
Dplurfmt.cpp235 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local
241 return appendTo.append(pattern, prevIndex, index - prevIndex); in format()
244 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
248 prevIndex = part.getLimit(); in format()
250 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
251 prevIndex = index; in format()
254 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format()
255 prevIndex = index; in format()
Dmsgfmt.cpp959 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local
964 appendTo.append(msgString, prevIndex, index - prevIndex); in format()
968 prevIndex = part->getLimit(); in format()
1081 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1110 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage() local
1116 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1119 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1124 prevIndex = part.getLimit(); in formatComplexSubMessage()
1126 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1127 prevIndex = index; in formatComplexSubMessage()
[all …]
Dchoicfmt.cpp556 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart() local
561 int32_t length = index - prevIndex; in matchStringUntilLimitPart()
562 … if (length != 0 && 0 != source.compare(sourceOffset, length, msgString, prevIndex, length)) { in matchStringUntilLimitPart()
569 prevIndex = part.getLimit(); // SKIP_SYNTAX in matchStringUntilLimitPart()
Dtznames_impl.cpp230 uint16_t prevIndex = 0; in addChildNode() local
240 prevIndex = nodeIndex; in addChildNode()
259 if (prevIndex == 0) { in addChildNode()
262 fNodes[prevIndex].fNextSibling = (uint16_t)fNodesCount; in addChildNode()
/external/webkit/Source/WebCore/page/animation/
DKeyframeAnimation.cpp102 int prevIndex = -1; in fetchIntervalEndpointsForProperty() local
117 prevIndex = i; in fetchIntervalEndpointsForProperty()
123 if (prevIndex == -1) in fetchIntervalEndpointsForProperty()
124 prevIndex = 0; in fetchIntervalEndpointsForProperty()
129 const KeyframeValue& prevKeyframe = m_keyframes[prevIndex]; in fetchIntervalEndpointsForProperty()
/external/icu4c/common/
Dmessagepattern.cpp1185 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax() local
1191 return result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1193 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1194 prevIndex=part.getLimit(); in appendSubMessageWithoutSkipSyntax()
1196 result.append(msgString, prevIndex, index-prevIndex); in appendSubMessageWithoutSkipSyntax()
1197 prevIndex=index; in appendSubMessageWithoutSkipSyntax()
1200 appendReducedApostrophes(msgString, prevIndex, index, result); in appendSubMessageWithoutSkipSyntax()
1201 prevIndex=index; in appendSubMessageWithoutSkipSyntax()
/external/skia/src/effects/
DSkGradientShader.cpp641 int prevIndex = 0; in getCache16() local
646 if (nextIndex > prevIndex) in getCache16()
647 …Build16bitCache(fCache16 + prevIndex, fOrigColors[i-1], fOrigColors[i], nextIndex - prevIndex + 1); in getCache16()
648 prevIndex = nextIndex; in getCache16()
651 SkASSERT(prevIndex == kGradient16Length - 1); in getCache16()
696 int prevIndex = 0; in getCache32() local
701 if (nextIndex > prevIndex) in getCache32()
702 Build32bitCache(fCache32 + prevIndex, fOrigColors[i-1], in getCache32()
704 nextIndex - prevIndex + 1, fCacheAlpha); in getCache32()
705 prevIndex = nextIndex; in getCache32()
[all …]
/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/icu4c/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/icu4c/test/intltest/
Dutxttest.cpp655 int64_t prevIndex = utext_getPreviousNativeIndex(ut); in TestAccessNoClone() local
660 TEST_ASSERT(prevIndex == foundIndex); in TestAccessNoClone()