Searched refs:testStr (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/test/iotest/ |
D | strtst.c | 249 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 …]
|
D | stream.cpp | 68 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local 104 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream() 105 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
|
D | filetst.c | 427 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local 429 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers() 448 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 490 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 532 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 584 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local 587 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount() 598 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount() 600 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
|
/external/icu4c/test/intltest/ |
D | canittst.cpp | 149 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()
|