Home
last modified time | relevance | path

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

12

/third_party/node/lib/internal/policy/
Dsri.js38 let prevIndex = 0; variable
42 if (match.index !== prevIndex) {
43 throw new ERR_SRI_PARSE(str, str[prevIndex], prevIndex);
46 throw new ERR_SRI_PARSE(str, str[prevIndex], prevIndex);
60 prevIndex += match[0].length;
63 if (prevIndex !== str.length) {
64 if (!RegExpPrototypeTest(kAllWSP, StringPrototypeSlice(str, prevIndex))) {
65 throw new ERR_SRI_PARSE(str, str[prevIndex], prevIndex);
/third_party/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()
/third_party/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.java1270 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 …]
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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java1239 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse() local
1248 int len = index - prevIndex; in parse()
1249 if (len == 0 || msgString.regionMatches(prevIndex, source, sourceOffset, len)) { in parse()
1251 prevIndex += len; in parse()
1262 prevIndex=part.getLimit(); in parse()
1351 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1598 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format() local
1603 dest.append(msgString, prevIndex, index); in format()
1607 prevIndex=part.getLimit(); in format()
1743 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()
/third_party/icu/icu4c/source/i18n/
Dplurfmt.cpp302 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()
Dmsgfmt.cpp1019 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 …]
/third_party/node/deps/icu-small/source/i18n/
Dplurfmt.cpp302 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()
Dmsgfmt.cpp1019 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 …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurfmt.cpp302 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()
Dmsgfmt.cpp1019 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 …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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()
/third_party/flutter/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()
/third_party/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()
/third_party/skia/src/utils/
DSkPolyUtils.cpp190 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 …]
/third_party/flutter/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()
1141 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1142 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1143 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1191 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1193 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1205 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1208 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
[all …]
DSkAnimCodecPlayer.cpp91 int prevIndex = fCurrIndex; in seek() local
93 return fCurrIndex != prevIndex; in seek()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/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()

12