Home
last modified time | relevance | path

Searched refs:testStr (Results 1 - 18 of 18) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dasprintf.c31 char *testStr = NULL; in asprintf_0100() local
33 n = asprintf(&testStr, "%s", buf); in asprintf_0100()
34 free(testStr); in asprintf_0100()
35 testStr = NULL; in asprintf_0100()
47 char *testStr = NULL; in asprintf_0200() local
49 n = asprintf(&testStr, "%s", buf); in asprintf_0200()
50 free(testStr); in asprintf_0200()
51 testStr = NULL; in asprintf_0200()
63 char *testStr = NULL; in asprintf_0300() local
65 n = asprintf(&testStr, " in asprintf_0300()
79 char *testStr = NULL; asprintf_0400() local
95 char *testStr = NULL; asprintf_0500() local
111 char *testStr = NULL; asprintf_0600() local
127 char *testStr = NULL; asprintf_0700() local
143 char *testStr = NULL; asprintf_0800() local
159 char *testStr = NULL; asprintf_0900() local
[all...]
/third_party/icu/icu4c/source/test/iotest/
H A 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, in TestLocalizedString()
335 UChar testStr[256]; TestSnprintf() local
754 UChar testStr[16]; TestCount() local
[all...]
H A Dstream.cpp66 static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82"; in TestStream() local
102 if (strcmp(testStreamBuf, testStr) != 0) { in TestStream()
103 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr); in TestStream()
H A Dfiletst.c472 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!"; 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't try to read too much!"; 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[ in TestfgetsLineCount()
[all...]
/third_party/skia/docs/examples/
H A DPaint_setLinearText.cpp10 const char testStr[] = "abcd efgh"; in REG_FIDDLE() local
16 width.appendScalar(paint.measureText(testStr, SK_ARRAY_COUNT(testStr), nullptr)); in REG_FIDDLE()
18 canvas->drawString(testStr, 10, 0, paint); in REG_FIDDLE()
H A DPaint_setAutohinted.cpp10 const char testStr[] = "xxxx xxxx"; in REG_FIDDLE() local
18 canvas->drawString(testStr, 10, 0, paint); in REG_FIDDLE()
H A DPaint_isLinearText.cpp10 const char testStr[] = "xxxx xxxx"; in REG_FIDDLE() local
18 canvas->drawString(testStr, 10, 0, paint); in REG_FIDDLE()
/third_party/icu/icu4c/source/test/intltest/
H A 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(testArray[i][1])); in TestBasic()
H A 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()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DUnicodeSetClosure.java110 public static void test(String testStr) throws Exception { in test() argument
111 UnicodeSet original = new UnicodeSet(testStr); in test()
161 test = new UnicodeSet(testStr); in test()
165 test = new UnicodeSet(testStr); in test()
169 test = new UnicodeSet(testStr); in test()
173 test = new UnicodeSet(testStr); in test()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITest.java813 // testStr serves as both the source of the rule string (truncated to the desired length) in TestTable_8_16_Bits()
815 // characters of testStr will match the first 120 chars of the full-length testStr. in TestTable_8_16_Bits()
820 String testStr = builder.toString(); in TestTable_8_16_Bits()
827 .replace("#", testStr.substring(0, ruleLen)); in TestTable_8_16_Bits()
831 // in testStr is at the length of the rule string. in TestTable_8_16_Bits()
832 bi.setText(testStr); in TestTable_8_16_Bits()
833 assertEquals("The first boundary found in testStr should be at the length of the rule string", in TestTable_8_16_Bits()
838 bi.setText(testStr); in TestTable_8_16_Bits()
/third_party/icu/icu4c/source/test/cintltst/
H A 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()
H A Dreapits.c2201 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ in TestRefreshInput() local
2211 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInput()
2221 u_strcpy(movedStr, testStr); in TestRefreshInput()
2222 u_memset(testStr, 0, u_strlen(testStr)); in TestRefreshInput()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationAPITest.java1206 String testStr[] = { in TestBounds()
1266 CollationKey testKey[] = new CollationKey[testStr.length]; in TestBounds()
1267 for (int i = 0; i < testStr.length; i ++) { in TestBounds()
1268 testKey[i] = coll.getCollationKey(testStr[i]); in TestBounds()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationAPITest.java1209 String testStr[] = { in TestBounds()
1269 CollationKey testKey[] = new CollationKey[testStr.length]; in TestBounds()
1270 for (int i = 0; i < testStr.length; i ++) { in TestBounds()
1271 testKey[i] = coll.getCollationKey(testStr[i]); in TestBounds()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmInstructionTests.cpp20045 string testStr = "";
20046 testStr += "%inval32 = OpLoad %f32 %inloc\n";
20048 testStr += "%inval16 = OpFConvert %f16 %inval32\n";
20050 testStr += "%inval8 = OpConvertFToS %i8 %inval32\n";
20057 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval32 %c25f32\n";
20059 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval16 %c25f16\n";
20061 testStr += "%cmp1 = OpSGreaterThanEqual %bool %inval8 %c25i8\n";
20064 testStr += "%cmp2 = OpFOrdLessThan %bool %inval32 %c50f32\n";
20066 testStr += "%cmp2 = OpFOrdLessThan %bool %inval16 %c50f16\n";
20068 testStr
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmInstructionTests.cpp19950 string testStr = "";
19951 testStr += "%inval32 = OpLoad %f32 %inloc\n";
19953 testStr += "%inval16 = OpFConvert %f16 %inval32\n";
19955 testStr += "%inval8 = OpConvertFToS %i8 %inval32\n";
19962 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval32 %c25f32\n";
19964 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval16 %c25f16\n";
19966 testStr += "%cmp1 = OpSGreaterThanEqual %bool %inval8 %c25i8\n";
19969 testStr += "%cmp2 = OpFOrdLessThan %bool %inval32 %c50f32\n";
19971 testStr += "%cmp2 = OpFOrdLessThan %bool %inval16 %c50f16\n";
19973 testStr
[all...]
/third_party/python/Lib/test/
H A Dtest_marshal.py474 def testStr(self): member in InstancingTestCase

Completed in 64 milliseconds