Lines Matching refs:loop
26 // Warning -- makes test run infinite loop!!!
161 // Special infinite loop test mode for finding hard to reproduce errors
326 // We go through this loop until we achieve a match or until
327 // the maximum loop count is reached. We record the points at
330 int loop;
333 for(loop = 0; loop < DEPTH; ++loop) {
334 if (loop > 0) {
335 d[loop] = fmt->parse(s[loop-1], status);
336 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName() + " with pattern: " + pat);
340 s[loop] = fmt->format(d[loop], s[loop]);
343 //logln(s[loop] + " = " + fullFormat(d[loop]));
345 if(s[loop].length() == 0) {
346 errln("FAIL: fmt->format gave 0-length string in " + pat + " with number " + d[loop] + " in locale " + origLocale.getName());
349 if(loop > 0) {
351 UBool match = s[loop] == s[loop-1];
354 smatch = loop;
362 UBool match = d[loop]/*.getTime()*/ == d[loop-1]/*.getTime()*/;
365 dmatch = loop;
375 // At this point loop == DEPTH if we've failed, otherwise loop is the
465 for(int j = 0; j <= loop && j < DEPTH; ++j) {