Home
last modified time | relevance | path

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

/external/icu4c/test/iotest/
Dstrtst.c249 UChar testStr[256]; in TestLocalizedString() local
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US"); in TestLocalizedString()
264 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
265 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
289 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
290 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL); in TestLocalizedString()
306 if (u_fstropen(testStr, -1, NULL) != NULL) { in TestLocalizedString()
314 u_uastrncpy(testStr, "xxxxxxxxxxxxxx", sizeof(testStr)/sizeof(testStr[0]));\
315 size = u_snprintf(testStr, limit, format, value);\
[all …]
Dstream.cpp71 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local
107 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
108 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
Dfiletst.c434 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local
436 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers()
455 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
497 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
539 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
591 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local
594 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount()
605 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
607 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
/external/chromium/third_party/icu/source/test/iotest/
Dstrtst.c249 UChar testStr[256]; in TestLocalizedString() local
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US"); in TestLocalizedString()
264 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
265 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
289 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
290 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL); in TestLocalizedString()
306 if (u_fstropen(testStr, -1, NULL) != NULL) { in TestLocalizedString()
314 u_uastrncpy(testStr, "xxxxxxxxxxxxxx", sizeof(testStr)/sizeof(testStr[0]));\
315 size = u_snprintf(testStr, limit, format, value);\
[all …]
Dstream.cpp70 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local
106 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
107 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
Dfiletst.c430 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local
432 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers()
451 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
493 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
535 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
587 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local
590 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount()
601 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
603 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
/external/chromium/third_party/icu/source/test/intltest/
Dcanittst.cpp149 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); in TestBasic() local
150 it.setSource(testStr, status); in TestBasic()
162 … expectEqual(i + ": ", testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1])); in TestBasic()
/external/icu4c/test/intltest/
Dcanittst.cpp153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); in TestBasic() local
154 it.setSource(testStr, status); in TestBasic()
166 … expectEqual(i + ": ", testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1])); in TestBasic()
/external/icu4c/test/cintltst/
Dreapits.c2145 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ in TestRefreshInput() local
2155 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInput()
2165 u_strcpy(movedStr, testStr); in TestRefreshInput()
2166 u_memset(testStr, 0, u_strlen(testStr)); in TestRefreshInput()