Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/test/iotest/
Dstrtst.c202 …static const char longStr[] = "This is a long test123456789012345678901234567890123456789012345678… in TestString() local
204 retVal = u_sprintf(uStringBuf, longStr); in TestString()
206 if (strcmp(myString, longStr)) { in TestString()
207 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
209 if (retVal != (int32_t)strlen(longStr)) { in TestString()
210 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
213 retVal = u_sprintf(uStringBuf, "%s", longStr); in TestString()
215 if (strcmp(myString, longStr)) { in TestString()
216 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
218 if (retVal != (int32_t)strlen(longStr)) { in TestString()
[all …]
/external/icu/icu4c/source/test/iotest/
Dstrtst.c202 …static const char longStr[] = "This is a long test123456789012345678901234567890123456789012345678… in TestString() local
204 retVal = u_sprintf(uStringBuf, longStr); in TestString()
206 if (strcmp(myString, longStr)) { in TestString()
207 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
209 if (retVal != (int32_t)strlen(longStr)) { in TestString()
210 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
213 retVal = u_sprintf(uStringBuf, "%s", longStr); in TestString()
215 if (strcmp(myString, longStr)) { in TestString()
216 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
218 if (retVal != (int32_t)strlen(longStr)) { in TestString()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dstrtest.cpp478 static const char longStr[] = in TestCharString() local
480 CharString chStr(longStr, errorCode); in TestCharString()
481 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) { in TestCharString()
487 if (0 != strcmp(longStr, copy.data()) || (int32_t)strlen(longStr) != copy.length()) { in TestCharString()
493 strcpy(expected, longStr); in TestCharString()
494 strcat(expected, longStr+4); in TestCharString()
495 strcat(expected, longStr); in TestCharString()
496 strcat(expected, longStr+4); in TestCharString()
508 strcat(expected, longStr); in TestCharString()
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp478 static const char longStr[] = in TestCharString() local
480 CharString chStr(longStr, errorCode); in TestCharString()
481 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) { in TestCharString()
487 if (0 != strcmp(longStr, copy.data()) || (int32_t)strlen(longStr) != copy.length()) { in TestCharString()
493 strcpy(expected, longStr); in TestCharString()
494 strcat(expected, longStr+4); in TestCharString()
495 strcat(expected, longStr); in TestCharString()
496 strcat(expected, longStr+4); in TestCharString()
508 strcat(expected, longStr); in TestCharString()