/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | asprintf.c | 31 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, "%s", buf); in asprintf_0300() [all …]
|
/third_party/icu/icu4c/source/test/iotest/ |
D | strtst.c | 252 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 …]
|
D | stream.cpp | 66 …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()
|
D | filetst.c | 471 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsBuffers() local 473 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers() 492 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 534 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 576 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 628 …static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don… in TestfgetsLineCount() local 631 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsLineCount() 642 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile); in TestfgetsLineCount() 644 fwrite("\n", sizeof(testStr[0]), 1, stdFile); in TestfgetsLineCount()
|
/third_party/skia/docs/examples/ |
D | Paint_setLinearText.cpp | 10 const char testStr[] = "abcd efgh"; 16 width.appendScalar(paint.measureText(testStr, SK_ARRAY_COUNT(testStr), nullptr)); 18 canvas->drawString(testStr, 10, 0, paint);
|
D | Paint_isLinearText.cpp | 10 const char testStr[] = "xxxx xxxx"; 18 canvas->drawString(testStr, 10, 0, paint);
|
D | Paint_setAutohinted.cpp | 10 const char testStr[] = "xxxx xxxx"; 18 canvas->drawString(testStr, 10, 0, paint);
|
/third_party/flutter/skia/docs/examples/ |
D | Paint_setLinearText.cpp | 10 const char testStr[] = "abcd efgh"; 16 width.appendScalar(paint.measureText(testStr, SK_ARRAY_COUNT(testStr), nullptr)); 18 canvas->drawString(testStr, 10, 0, paint);
|
D | Paint_isLinearText.cpp | 10 const char testStr[] = "xxxx xxxx"; 18 canvas->drawString(testStr, 10, 0, paint);
|
D | Paint_setAutohinted.cpp | 10 const char testStr[] = "xxxx xxxx"; 18 canvas->drawString(testStr, 10, 0, paint);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/functions/destructuring_parameter_declarations/ |
D | destructuring_parameter_declarations_4.ts | 26 type testStr = "caihua"; alias 29 m_name: testStr | undefined; 32 constructor(name?: testStr, age?: testStrNum) { 50 }: { m_name: testStr | undefined; m_age: testStrNum | undefined } = v;
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.0/non_null_assertion_operator/ |
D | non_null_assertion_operator.ts | 25 function testStr(x?: string, y?: number | string): string { function 29 Assert.equal(testStr("A"), "Aundefined"); 30 Assert.equal(testStr("B", 5), "B5");
|
/third_party/node/test/parallel/ |
D | test-http2-compat-serverrequest-pause.js | 11 const testStr = 'Request Body from Client'; constant 25 assert.strictEqual(data, testStr); 47 request.end(testStr);
|
/third_party/icu/icu4c/source/test/intltest/ |
D | canittst.cpp | 154 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()
|
D | rbbiapts.cpp | 1128 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()
|
D | rbbitst.cpp | 5042 UnicodeString testStr; in TestTable_8_16_Bits() local 5044 testStr.append(c); in TestTable_8_16_Bits() 5056 ruleString.findAndReplace(UnicodeString(u"#"), UnicodeString(testStr, 0, ruleLen)); in TestTable_8_16_Bits() 5066 bi.setText(testStr); in TestTable_8_16_Bits() 5071 bi.setText(testStr); in TestTable_8_16_Bits()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
D | UnicodeSetClosure.java | 110 public static void test(String testStr) throws Exception { in test() argument 111 UnicodeSet original = new UnicodeSet(testStr); in test()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cbiapts.c | 983 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestBreakIteratorRefresh() local 996 utext_openUChars(&ut1, testStr, -1, &status); in TestBreakIteratorRefresh() 1007 u_strcpy(movedStr, testStr); in TestBreakIteratorRefresh() 1008 u_memset(testStr, 0x20, u_strlen(testStr)); in TestBreakIteratorRefresh()
|
D | reapits.c | 2200 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ in TestRefreshInput() local 2210 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInput() 2220 u_strcpy(movedStr, testStr); in TestRefreshInput() 2221 u_memset(testStr, 0, u_strlen(testStr)); in TestRefreshInput()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITest.java | 816 String testStr = builder.toString(); 823 .replace("#", testStr.substring(0, ruleLen)); 828 bi.setText(testStr); 834 bi.setText(testStr);
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 1206 String testStr[] = { 1266 CollationKey testKey[] = new CollationKey[testStr.length]; 1267 for (int i = 0; i < testStr.length; i ++) { 1268 testKey[i] = coll.getCollationKey(testStr[i]);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationAPITest.java | 1209 String testStr[] = { 1269 CollationKey testKey[] = new CollationKey[testStr.length]; 1270 for (int i = 0; i < testStr.length; i ++) { 1271 testKey[i] = coll.getCollationKey(testStr[i]);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 19950 string testStr = ""; in createBoolMixedBitSizeGroup() local 19951 testStr += "%inval32 = OpLoad %f32 %inloc\n"; in createBoolMixedBitSizeGroup() 19953 testStr += "%inval16 = OpFConvert %f16 %inval32\n"; in createBoolMixedBitSizeGroup() 19955 testStr += "%inval8 = OpConvertFToS %i8 %inval32\n"; in createBoolMixedBitSizeGroup() 19962 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval32 %c25f32\n"; in createBoolMixedBitSizeGroup() 19964 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval16 %c25f16\n"; in createBoolMixedBitSizeGroup() 19966 testStr += "%cmp1 = OpSGreaterThanEqual %bool %inval8 %c25i8\n"; in createBoolMixedBitSizeGroup() 19969 testStr += "%cmp2 = OpFOrdLessThan %bool %inval32 %c50f32\n"; in createBoolMixedBitSizeGroup() 19971 testStr += "%cmp2 = OpFOrdLessThan %bool %inval16 %c50f16\n"; in createBoolMixedBitSizeGroup() 19973 testStr += "%cmp2 = OpSLessThan %bool %inval8 %c50i8\n"; in createBoolMixedBitSizeGroup() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 19950 string testStr = ""; in createBoolMixedBitSizeGroup() local 19951 testStr += "%inval32 = OpLoad %f32 %inloc\n"; in createBoolMixedBitSizeGroup() 19953 testStr += "%inval16 = OpFConvert %f16 %inval32\n"; in createBoolMixedBitSizeGroup() 19955 testStr += "%inval8 = OpConvertFToS %i8 %inval32\n"; in createBoolMixedBitSizeGroup() 19962 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval32 %c25f32\n"; in createBoolMixedBitSizeGroup() 19964 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval16 %c25f16\n"; in createBoolMixedBitSizeGroup() 19966 testStr += "%cmp1 = OpSGreaterThanEqual %bool %inval8 %c25i8\n"; in createBoolMixedBitSizeGroup() 19969 testStr += "%cmp2 = OpFOrdLessThan %bool %inval32 %c50f32\n"; in createBoolMixedBitSizeGroup() 19971 testStr += "%cmp2 = OpFOrdLessThan %bool %inval16 %c50f16\n"; in createBoolMixedBitSizeGroup() 19973 testStr += "%cmp2 = OpSLessThan %bool %inval8 %c50i8\n"; in createBoolMixedBitSizeGroup() [all …]
|
/third_party/python/Lib/test/ |
D | test_marshal.py | 418 def testStr(self): member in InstancingTestCase
|