Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/iotest/
Dstrtst.c253 UChar testStr[256]; in TestLocalizedString() local
258 UFILE *strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), "en_US"); in TestLocalizedString()
268 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
269 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
293 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
294 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
301 strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), NULL); in TestLocalizedString()
310 if (u_fstropen(testStr, -1, NULL) != NULL) { in TestLocalizedString()
318 u_uastrncpy(testStr, "xxxxxxxxxxxxxx", UPRV_LENGTHOF(testStr));\
320 written = u_snprintf(testStr, limit, format, value);\
[all …]
Dstream.cpp66 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local
102 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
103 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
Dfiletst.c472 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local
474 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers()
493 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
535 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
577 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
629 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local
632 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount()
643 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
645 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
/external/cronet/third_party/icu/source/test/iotest/
Dstrtst.c253 UChar testStr[256]; in TestLocalizedString() local
258 UFILE *strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), "en_US"); in TestLocalizedString()
268 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
269 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
293 u_austrcpy(cBuffer,testStr); in TestLocalizedString()
294 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
301 strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), NULL); in TestLocalizedString()
310 if (u_fstropen(testStr, -1, NULL) != NULL) { in TestLocalizedString()
318 u_uastrncpy(testStr, "xxxxxxxxxxxxxx", UPRV_LENGTHOF(testStr));\
320 written = u_snprintf(testStr, limit, format, value);\
[all …]
Dstream.cpp66 …static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x7… in TestStream() local
102 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
103 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
Dfiletst.c472 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local
474 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers()
493 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
535 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
577 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
629 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local
632 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount()
643 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount()
645 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
/external/fonttools/Tests/misc/
Deexec_test.py5 testStr = b"\0\0asdadads asds\265"
6 decryptedStr, R = decrypt(testStr, 12321)
12 testStr = b'0d\nh\x15\xe8\xc4\xb2\x15\x1d\x108\x1a<6\xa1'
13 encryptedStr, R = encrypt(testStr, 12321)
/external/skia/docs/examples/
DPaint_setLinearText.cpp10 const char testStr[] = "abcd efgh";
16 width.appendScalar(paint.measureText(testStr, std::size(testStr), nullptr));
18 canvas->drawString(testStr, 10, 0, paint);
DPaint_setAutohinted.cpp10 const char testStr[] = "xxxx xxxx";
18 canvas->drawString(testStr, 10, 0, paint);
DPaint_isLinearText.cpp10 const char testStr[] = "xxxx xxxx";
18 canvas->drawString(testStr, 10, 0, paint);
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DGeneratorFailFromReaderTest.java80 String testStr = "aaaaaaaaa"; in _testFailOnWritingStringFromReaderWithTooFewCharacters() local
81 StringReader reader = new StringReader(testStr); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
83 gen.writeString(reader, testStr.length() + 1); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
/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.py12 def testStr(self): member in PointTest
46 def testStr(self): member in RectangleTest
/external/cronet/third_party/icu/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.cpp1128 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestRefreshInputText() local
1136 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInputText()
1148 u_strcpy(movedStr, testStr); in TestRefreshInputText()
1149 u_memset(testStr, 0x20, u_strlen(testStr)); in TestRefreshInputText()
/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.cpp1128 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestRefreshInputText() local
1136 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInputText()
1148 u_strcpy(movedStr, testStr); in TestRefreshInputText()
1149 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/cronet/third_party/icu/source/test/cintltst/
Dcbiapts.c984 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestBreakIteratorRefresh() local
997 utext_openUChars(&ut1, testStr, -1, &status); in TestBreakIteratorRefresh()
1008 u_strcpy(movedStr, testStr); in TestBreakIteratorRefresh()
1009 u_memset(testStr, 0x20, u_strlen(testStr)); in TestBreakIteratorRefresh()
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c984 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestBreakIteratorRefresh() local
997 utext_openUChars(&ut1, testStr, -1, &status); in TestBreakIteratorRefresh()
1008 u_strcpy(movedStr, testStr); in TestBreakIteratorRefresh()
1009 u_memset(testStr, 0x20, u_strlen(testStr)); in TestBreakIteratorRefresh()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java823 String testStr = builder.toString();
830 .replace("#", testStr.substring(0, ruleLen));
835 bi.setText(testStr);
841 bi.setText(testStr);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java820 String testStr = builder.toString();
827 .replace("#", testStr.substring(0, ruleLen));
832 bi.setText(testStr);
838 bi.setText(testStr);
/external/clang/test/SemaCXX/
Dwarn-unreachable.cpp143 std::string testStr() { in testStr() function
/external/tensorflow/tensorflow/python/tpu/
Dtpu_sharding_test.py49 def testStr(self): member in ShardingTest

12