Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/perf/unisetperf/draft/
Dbitset.cpp104 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/
DSelectFormat.java273 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()
DMessageFormat.java1245 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local
1254 int len = index - prevIndex; in parse()
1255 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1257 prevIndex += len; in parse()
1268 prevIndex=part.getLimit(); in parse()
1357 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1617 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local
1622 dest.append(msgString, prevIndex, index); in format()
1626 prevIndex=part.getLimit(); in format()
1762 prevIndex=msgPattern.getPart(argLimit).getLimit(); in format()
[all …]
DPluralFormat.java644 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/
DSelectFormat.java268 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()
DMessageFormat.java1211 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 …]
DPluralFormat.java627 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/
Dplurfmt.cpp295 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() local
301 return appendTo.append(pattern, prevIndex, index - prevIndex); in format()
304 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
308 prevIndex = part.getLimit(); in format()
310 appendTo.append(pattern, prevIndex, index - prevIndex); in format()
311 prevIndex = index; in format()
314 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format()
315 prevIndex = index; in format()
Dmsgfmt.cpp1014 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format() local
1019 appendTo.append(msgString, prevIndex, index - prevIndex); in format()
1023 prevIndex = part->getLimit(); in format()
1151 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1180 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage() local
1186 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1189 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1201 prevIndex = part.getLimit(); in formatComplexSubMessage()
1203 sb.append(msgString, prevIndex, index - prevIndex); in formatComplexSubMessage()
1204 prevIndex = index; in formatComplexSubMessage()
[all …]
Dchoicfmt.cpp546 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()
Dtznames_impl.cpp305 uint16_t prevIndex = 0; in addChildNode() local
315 prevIndex = nodeIndex; in addChildNode()
334 if (prevIndex == 0) { in addChildNode()
337 fNodes[prevIndex].fNextSibling = (uint16_t)fNodesCount; in addChildNode()
/external/skqp/src/gpu/gradients/
DGrGradientBitmapCache.cpp148 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/
DGrGradientBitmapCache.cpp148 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/
DMiniMessageFormatter.java95 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/
DSkPolyUtils.cpp179 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 …]
DSkAnimCodecPlayer.cpp91 int prevIndex = fCurrIndex; in seek() local
93 return fCurrIndex != prevIndex; in seek()
/external/skia/src/utils/
DSkPolyUtils.cpp179 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() local
183 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon()
211 prevIndex = currIndex; in SkIsConvexPolygon()
1140 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1141 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1142 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1181 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1183 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1195 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1198 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
[all …]
DSkAnimCodecPlayer.cpp91 int prevIndex = fCurrIndex; in seek() local
93 return fCurrIndex != prevIndex; in seek()
/external/icu/icu4c/source/common/
Dmessagepattern.cpp1210 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/
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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java508 int prevIndex = 0;
511 writer.writeUleb128(index - prevIndex);
513 prevIndex = index;
519 int prevIndex = 0;
522 writer.writeUleb128(index-prevIndex);
525 prevIndex = index;
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c1039 int32_t length, i, expectLength, expectIndex, prevIndex, index, inLength; in _testIter() local
1055 prevIndex=index; in _testIter()
1066 in=src+prevIndex; in _testIter()
1067 inLength=expectIndex-prevIndex; in _testIter()
1092 inLength=prevIndex-expectIndex; in _testIter()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp656 int64_t prevIndex = utext_getPreviousNativeIndex(ut); in TestAccessNoClone() local
661 TEST_ASSERT(prevIndex == foundIndex); in TestAccessNoClone()