Lines Matching defs:loop
26 // Warning -- makes test run infinite loop!!!
163 // Special infinite loop test mode for finding hard to reproduce errors
165 logln("ENTERING INFINITE TEST LOOP FOR Locale: " + loc.getDisplayName(temp));
328 // We go through this loop until we achieve a match or until
329 // the maximum loop count is reached. We record the points at
332 int loop;
335 for(loop = 0; loop < DEPTH; ++loop) {
336 if (loop > 0) {
337 d[loop] = fmt->parse(s[loop-1], status);
338 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName());
342 s[loop] = fmt->format(d[loop], s[loop]);
345 //logln(s[loop] + " = " + fullFormat(d[loop]));
347 if(s[loop].length() == 0) {
348 errln("FAIL: fmt->format gave 0-length string in " + pat + " with number " + d[loop] + " in locale " + origLocale.getName());
351 if(loop > 0) {
353 UBool match = s[loop] == s[loop-1];
356 smatch = loop;
364 UBool match = d[loop]/*.getTime()*/ == d[loop-1]/*.getTime()*/;
367 dmatch = loop;
377 // At this point loop == DEPTH if we've failed, otherwise loop is the
460 for(int j = 0; j <= loop && j < DEPTH; ++j) {