Home
last modified time | relevance | path

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

12

/external/skqp/tests/
DGrSKSLPrettyPrintTest.cpp90 SkTArray<const char*> testStr; in DEF_TEST() local
92 testStr.push_back(input1.c_str()); in DEF_TEST()
94 testStr.push_back(input2.c_str()); in DEF_TEST()
96 testStr.push_back(input3.c_str()); in DEF_TEST()
98 testStr.push_back(input4.c_str()); in DEF_TEST()
100 testStr.push_back(input5.c_str()); in DEF_TEST()
102 testStr.push_back(input6.c_str()); in DEF_TEST()
105 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(testStr.begin(), lengths.begin(), in DEF_TEST()
106 testStr.count(), true); in DEF_TEST()
109 testStr.reset(); in DEF_TEST()
[all …]
/external/skia/tests/
DGrSKSLPrettyPrintTest.cpp90 SkTArray<const char*> testStr; in DEF_TEST() local
92 testStr.push_back(input1.c_str()); in DEF_TEST()
94 testStr.push_back(input2.c_str()); in DEF_TEST()
96 testStr.push_back(input3.c_str()); in DEF_TEST()
98 testStr.push_back(input4.c_str()); in DEF_TEST()
100 testStr.push_back(input5.c_str()); in DEF_TEST()
102 testStr.push_back(input6.c_str()); in DEF_TEST()
105 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(testStr.begin(), lengths.begin(), in DEF_TEST()
106 testStr.count(), true); in DEF_TEST()
109 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.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.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/Tests/misc/
Deexec_test.py7 testStr = b"\0\0asdadads asds\265"
8 decryptedStr, R = decrypt(testStr, 12321)
14 testStr = b'0d\nh\x15\xe8\xc4\xb2\x15\x1d\x108\x1a<6\xa1'
15 encryptedStr, R = 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/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.cpp1122 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestRefreshInputText() local
1130 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInputText()
1142 u_strcpy(movedStr, testStr); in TestRefreshInputText()
1143 u_memset(testStr, 0x20, u_strlen(testStr)); in TestRefreshInputText()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DAntiSamyTest.java389 String testStr = new String(
392 sanitize(testStr);
393 sanitize(testStr);
/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/icu/icu4c/source/test/cintltst/
Dcbiapts.c890 UChar testStr[] = {0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20, 0x44, 0x0}; /* = " A B C D" */ in TestBreakIteratorRefresh() local
903 utext_openUChars(&ut1, testStr, -1, &status); in TestBreakIteratorRefresh()
914 u_strcpy(movedStr, testStr); in TestBreakIteratorRefresh()
915 u_memset(testStr, 0x20, u_strlen(testStr)); in TestBreakIteratorRefresh()
Dreapits.c2192 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ in TestRefreshInput() local
2202 utext_openUChars(&ut1, testStr, -1, &status); in TestRefreshInput()
2212 u_strcpy(movedStr, testStr); in TestRefreshInput()
2213 u_memset(testStr, 0, u_strlen(testStr)); in TestRefreshInput()
/external/clang/test/SemaCXX/
Dwarn-unreachable.cpp143 std::string testStr() { in testStr() function
/external/python/pyasn1/tests/type/
Dtest_univ.py47 def testStr(self): member in NoValueTestCase
162 def testStr(self): member in IntegerTestCase
335 def testStr(self): member in BooleanTestCase
414 def testStr(self): member in BitStringTestCase
654 def testStr(self): member in Null
704 def testStr(self): member in RealTestCase
852 def testStr(self): member in ObjectIdentifier
/external/tensorflow/tensorflow/python/tpu/
Dtpu_sharding_test.py53 def testStr(self): member in ShardingTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1211 String testStr[] = {
1271 CollationKey testKey[] = new CollationKey[testStr.length];
1272 for (int i = 0; i < testStr.length; i ++) {
1273 testKey[i] = coll.getCollationKey(testStr[i]);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1208 String testStr[] = {
1268 CollationKey testKey[] = new CollationKey[testStr.length];
1269 for (int i = 0; i < testStr.length; i ++) {
1270 testKey[i] = coll.getCollationKey(testStr[i]);
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape_test.py184 def testStr(self): member in DimensionTest
385 def testStr(self): member in ShapeTest
Dops_test.py412 def testStr(self): member in OperationTest
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16_test.py59 def testStr(self): member in Bfloat16Test
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp17835 string testStr = ""; in createBoolMixedBitSizeGroup() local
17836 testStr += "%inval32 = OpLoad %f32 %inloc\n"; in createBoolMixedBitSizeGroup()
17838 testStr += "%inval16 = OpFConvert %f16 %inval32\n"; in createBoolMixedBitSizeGroup()
17840 testStr += "%inval8 = OpConvertFToS %i8 %inval32\n"; in createBoolMixedBitSizeGroup()
17847 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval32 %c25f32\n"; in createBoolMixedBitSizeGroup()
17849 testStr += "%cmp1 = OpFOrdGreaterThanEqual %bool %inval16 %c25f16\n"; in createBoolMixedBitSizeGroup()
17851 testStr += "%cmp1 = OpSGreaterThanEqual %bool %inval8 %c25i8\n"; in createBoolMixedBitSizeGroup()
17854 testStr += "%cmp2 = OpFOrdLessThan %bool %inval32 %c50f32\n"; in createBoolMixedBitSizeGroup()
17856 testStr += "%cmp2 = OpFOrdLessThan %bool %inval16 %c50f16\n"; in createBoolMixedBitSizeGroup()
17858 testStr += "%cmp2 = OpSLessThan %bool %inval8 %c50i8\n"; in createBoolMixedBitSizeGroup()
[all …]
/external/python/cpython3/Lib/test/
Dtest_marshal.py424 def testStr(self): member in InstancingTestCase
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py217 def testStr(self): member in EnumTest

12