Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/iotest/
Dstrtst.c205 …static const char longStr[] = "This is a long test123456789012345678901234567890123456789012345678… in TestString() local
207 retVal = u_sprintf(uStringBuf, longStr); in TestString()
209 if (strcmp(myString, longStr)) { in TestString()
210 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
212 if (retVal != (int32_t)strlen(longStr)) { in TestString()
213 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
216 retVal = u_sprintf(uStringBuf, "%s", longStr); in TestString()
218 if (strcmp(myString, longStr)) { in TestString()
219 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
221 if (retVal != (int32_t)strlen(longStr)) { in TestString()
[all …]
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp498 static const char longStr[] = in TestCharString() local
500 CharString chStr(longStr, errorCode); in TestCharString()
501 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) { in TestCharString()
507 if (0 != strcmp(longStr, copy.data()) || (int32_t)strlen(longStr) != copy.length()) { in TestCharString()
513 strcpy(expected, longStr); in TestCharString()
514 strcat(expected, longStr+4); in TestCharString()
515 strcat(expected, longStr); in TestCharString()
516 strcat(expected, longStr+4); in TestCharString()
528 strcat(expected, longStr); in TestCharString()
/external/python/cpython2/Lib/test/
Dtime_hashlib.py13 longStr = 'Z'*scale
18 x = localCF(longStr).digest()
21 print ('%2.2f' % (end-start)), "seconds", iterations, "x", len(longStr), "bytes", name
/external/python/cpython3/Lib/test/
Dtime_hashlib.py14 longStr = b'Z'*scale
19 x = localCF(longStr).digest()
22 print(('%2.2f' % (end-start)), "seconds", iterations, "x", len(longStr), "bytes", name)
/external/mockito/src/test/java/org/mockitousage/stubbing/
DSmartNullsStubbingTest.java127 …String longStr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem… in shouldShowParametersWhenParamsAreHuge() local
128 Bar smartNull = foo.getBarWithParams(10, longStr); in shouldShowParametersWhenParamsAreHuge()