Home | History | Annotate | Download | only in i18n

Lines Matching refs:currentLen

2399     int32_t    currentLen = 0;         // Minimum length of a match to this point (loc) in the pattern
2426 if (forwardedLength.elementAti(loc) < currentLen) {
2427 currentLen = forwardedLength.elementAti(loc);
2428 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX);
2471 if (currentLen == 0) {
2477 currentLen++;
2483 if (currentLen == 0) {
2490 currentLen++;
2496 // but may not match at all, so currentLen is not incremented.
2497 if (currentLen == 0) {
2508 if (currentLen == 0) {
2520 if (currentLen == 0) {
2527 currentLen++;
2534 if (currentLen == 0) {
2542 currentLen++;
2550 if (currentLen == 0) {
2559 currentLen++;
2566 if (currentLen == 0) {
2587 currentLen++;
2596 if (currentLen == 0) {
2603 currentLen++;
2616 currentLen = forwardedLength.elementAti(loc+1);
2621 if (forwardedLength.elementAti(jmpDest) > currentLen) {
2622 forwardedLength.setElementAt(currentLen, jmpDest);
2639 currentLen = forwardedLength.elementAti(loc+1);
2650 if (currentLen < forwardedLength.elementAti(jmpDest)) {
2651 forwardedLength.setElementAt(currentLen, jmpDest);
2668 if (currentLen == 0) {
2682 currentLen += stringLen;
2697 if (currentLen == 0) {
2713 currentLen += stringLen;
2736 if (forwardedLength.elementAti(loopEndLoc) > currentLen) {
2737 forwardedLength.setElementAt(currentLen, loopEndLoc);
2790 if (currentLen < forwardedLength.elementAti(jmpDest)) {
2791 forwardedLength.setElementAt(currentLen, jmpDest);
2819 if (forwardedLength.elementAti(end+1) < currentLen) {
2820 currentLen = forwardedLength.elementAti(end+1);
2895 int32_t currentLen = 0;
2917 // U_ASSERT(currentLen>=0 && currentLen < INT32_MAX); // MinLength == INT32_MAX for some
2919 if (forwardedLength.elementAti(loc) < currentLen) {
2920 currentLen = forwardedLength.elementAti(loc);
2921 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX);
2968 currentLen++;
2981 currentLen = forwardedLength.elementAti(loc+1);
2985 if (forwardedLength.elementAti(jmpDest) > currentLen) {
2986 forwardedLength.setElementAt(currentLen, jmpDest);
2996 currentLen = forwardedLength.elementAti(loc+1);
3007 if (currentLen < forwardedLength.elementAti(jmpDest)) {
3008 forwardedLength.setElementAt(currentLen, jmpDest);
3019 currentLen += URX_VAL(stringLenOp);
3031 // currentLen += URX_VAL(stringLenOp);
3032 currentLen += 1;
3107 if (currentLen < forwardedLength.elementAti(jmpDest)) {
3108 forwardedLength.setElementAt(currentLen, jmpDest);
3134 if (forwardedLength.elementAti(end+1) < currentLen) {
3135 currentLen = forwardedLength.elementAti(end+1);
3136 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX);
3139 return currentLen;
3176 int32_t currentLen = 0;
3192 if (forwardedLength.elementAti(loc) > currentLen) {
3193 currentLen = forwardedLength.elementAti(loc);
3234 currentLen = INT32_MAX;
3248 currentLen = safeIncrement(currentLen, 2);
3254 currentLen = safeIncrement(currentLen, 1);
3256 currentLen = safeIncrement(currentLen, 1);
3270 currentLen = INT32_MAX;
3273 if (forwardedLength.elementAti(jmpDest) < currentLen) {
3274 forwardedLength.setElementAt(currentLen, jmpDest);
3276 currentLen = 0;
3284 currentLen = forwardedLength.elementAti(loc+1);
3296 if (currentLen > forwardedLength.elementAti(jmpDest)) {
3297 forwardedLength.setElementAt(currentLen, jmpDest);
3300 currentLen = INT32_MAX;
3312 currentLen = safeIncrement(currentLen, URX_VAL(stringLenOp));
3335 // currentLen one extra for each that is found.
3340 currentLen = safeIncrement(currentLen, URX_VAL(stringLenOp));
3360 currentLen = INT32_MAX;
3367 currentLen = blockLen;
3370 currentLen += blockLen * maxLoopCount;
3386 currentLen = INT32_MAX;
3430 if (currentLen == INT32_MAX) {
3437 return currentLen;