Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/cintltst/
Duenumtst.c309 static void verifyEnumeration(int line, UEnumeration *u, const char * const * compareToChar, const … in verifyEnumeration() argument
335 if(compareToChar!=NULL) { /* else, not invariant */ in verifyEnumeration()
347 if(strcmp(c,compareToChar[i])) { in verifyEnumeration()
348 …og_err("%s:%d: FAIL: string #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], c); in verifyEnumeration()
353 if(len!=(int32_t)strlen(compareToChar[i])) { in verifyEnumeration()
354 …:%d: FAIL: string #%d expected len %d got %d\n", __FILE__, line, i, strlen(compareToChar[i]), len); in verifyEnumeration()
378 if(compareToChar!=NULL) { in verifyEnumeration()
379 u_charsToUChars(compareToChar[i], buf, (int32_t)strlen(compareToChar[i])+1); in verifyEnumeration()
382 …s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(u… in verifyEnumeration()
387 log_verbose("%s:%d: OK: ustring #%d got '%s'\n", __FILE__, line, i, compareToChar[i]); in verifyEnumeration()
[all …]