Home
last modified time | relevance | path

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

/external/skia/tests/
DGrSKSLPrettyPrintTest.cpp91 SkTArray<const char*> testStr; in DEF_TEST() local
93 testStr.push_back(input1.c_str()); in DEF_TEST()
95 testStr.push_back(input2.c_str()); in DEF_TEST()
97 testStr.push_back(input3.c_str()); in DEF_TEST()
99 testStr.push_back(input4.c_str()); in DEF_TEST()
101 testStr.push_back(input5.c_str()); in DEF_TEST()
103 testStr.push_back(input6.c_str()); in DEF_TEST()
106 SkString test = GrSKSLPrettyPrint::PrettyPrint(testStr.begin(), lengths.begin(), in DEF_TEST()
107 testStr.count(), true); in DEF_TEST()
110 testStr.reset(); in DEF_TEST()
[all …]
/external/icu/icu4c/source/test/iotest/
Dstrtst.c252 UChar testStr[256]; in TestLocalizedString() local
257 UFILE *strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), "en_US"); in TestLocalizedString()
267 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
268 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
292 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
293 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
300 strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), NULL); in TestLocalizedString()
309 if (u_fstropen(testStr, -1, NULL) != NULL) { in TestLocalizedString()
317 u_uastrncpy(testStr, "xxxxxxxxxxxxxx", UPRV_LENGTHOF(testStr));\
318 size = u_snprintf(testStr, limit, format, value);\
[all …]
Dstream.cpp67 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local
103 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
104 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
Dfiletst.c443 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local
445 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers()
464 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
506 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
548 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
600 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local
603 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount()
614 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
616 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
/external/fonttools/Lib/fontTools/misc/
Deexec.py49 testStr = "\0\0asdadads asds\265"
50 print(decrypt, decrypt(testStr, 12321))
51 print(encrypt, encrypt(testStr, 12321))
/external/clang/test/SemaObjC/
Dovl-check.m29 - (void) testStr:(NSString *)arg;
33 - (void) testStr:(const void *)a;
40 [x testStr:"someStringLiteral"];
/external/chromium-trace/catapult/devil/devil/utils/
Dgeometry_test.py14 def testStr(self): member in PointTest
49 def testStr(self): member in RectangleTest
/external/libmojo/third_party/catapult/devil/devil/utils/
Dgeometry_test.py14 def testStr(self): member in PointTest
49 def testStr(self): member in RectangleTest
/external/icu/icu4c/source/test/intltest/
Dcanittst.cpp154 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); in TestBasic() local
155 it.setSource(testStr, status); in TestBasic()
167 …expectEqual(i + UnicodeString(": "), testStr, collectionToString(set), CharsToUnicodeString(testAr… in TestBasic()
Drbbiapts.cpp1116 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestRefreshInputText() local
1124 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInputText()
1136 u_strcpy(movedStr, testStr); in TestRefreshInputText()
1137 u_memset(testStr, 0x20, u_strlen(testStr)); in TestRefreshInputText()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetClosure.java110 public static void test(String testStr) throws Exception { in test() argument
111 UnicodeSet original = new UnicodeSet(testStr); in test()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DAntiSamyTest.java389 String testStr = new String(
392 sanitize(testStr);
393 sanitize(testStr);
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c848 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestBreakIteratorRefresh() local
861 utext_openUChars(&ut1, testStr, -1, &status); in TestBreakIteratorRefresh()
872 u_strcpy(movedStr, testStr); in TestBreakIteratorRefresh()
873 u_memset(testStr, 0x20, u_strlen(testStr)); in TestBreakIteratorRefresh()
Dreapits.c2191 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ in TestRefreshInput() local
2201 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInput()
2211 u_strcpy(movedStr, testStr); in TestRefreshInput()
2212 u_memset(testStr, 0, u_strlen(testStr)); in TestRefreshInput()
/external/clang/test/SemaCXX/
Dwarn-unreachable.cpp143 std::string testStr() { in testStr() function
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1194 String testStr[] = {
1254 CollationKey testKey[] = new CollationKey[testStr.length];
1255 for (int i = 0; i < testStr.length; i ++) {
1256 testKey[i] = coll.getCollationKey(testStr[i]);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1193 String testStr[] = {
1253 CollationKey testKey[] = new CollationKey[testStr.length];
1254 for (int i = 0; i < testStr.length; i ++) {
1255 testKey[i] = coll.getCollationKey(testStr[i]);