/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/regexp/ |
H A D | hexadecimal.js | 44 var testString = "12345ABCDEFGHIJKLMNOPQRSTUVWXYZ67890"; variable 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 52 testString = "12345AabcdefghijklmnopqrstuvwxyzZ67890"; 55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 60 testString = "abc !\"#$%&'()*+,-./0123ZBC"; 63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 68 testString [all...] |
H A D | octal.js | 44 var testString = "12345ABCDEFGHIJKLMNOPQRSTUVWXYZ67890"; variable 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 52 testString = "12345AabcdefghijklmnopqrstuvwxyzZ67890"; 55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 60 testString = "abc !\"#$%&'()*+,-./0123ZBC"; 63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 68 testString [all...] |
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/API/efl/tests/ |
H A D | test_ewk2_eina_shared_string.cpp | 38 #define testString "I'm test string!" macro 61 WKEinaSharedString emptyString(testString); 62 checkString(emptyString, testString); 67 WKEinaSharedString string(AdoptWK, WKStringCreateWithUTF8CString(testString)); 68 checkString(string, testString); 79 WKEinaSharedString string(WKEinaSharedString::adopt(eina_stringshare_add(testString))); 80 checkString(string, testString); 91 WKEinaSharedString string(testString); 93 checkString(string, testString); 94 checkString(copyString, testString); [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/ |
H A D | trnserr.cpp | 59 UnicodeString testString="A quick fox jumped over the lazy dog."; local 73 len = testString.length(); 74 stoppedAt = t->transliterate(testString, 0, 100); 77 } else if (testString.length() != len) { 78 testString="A quick fox jumped over the lazy dog."; 81 stoppedAt = t->transliterate(testString, 100, testString.length()-1); 84 else if (testString.length() != len) { 85 testString="A quick fox jumped over the lazy dog."; 89 pos.limit = testString [all...] |
H A D | csdetest.h | 36 void checkEncoding(const UnicodeString &testString,
|
H A D | rbbiapts.h | 99 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
|
H A D | itspoof.cpp | 519 UnicodeString testString(test.fTestString); // Note: may do charset conversion. 520 testString = testString.unescape(); 524 idInfo.setIdentifier(testString, status); 525 TEST_ASSERT_MSG(*idInfo.getIdentifier() == testString, testNumStr); 582 UnicodeString testString = UnicodeString(test.fTestString).unescape(); local 585 identifierInfo.setIdentifier(testString, status); 697 UnicodeString testString = UnicodeString(test.fId).unescape(); local 699 idInfo.setIdentifier(testString, status); 710 int32_t actualValue = uspoof_checkUnicodeString(sc, testString, NUL 760 UnicodeString testString = UnicodeString(test.fTestString).unescape(); local [all...] |
H A D | rbbitst.h | 127 const UnicodeString &testString,
|
H A D | rbbitst.cpp | 739 UnicodeString testString("boo."); 746 wb->setText(testString); 1050 UnicodeString testString(FALSE, testFile, len); 1080 UChar c = testString.charAt(charIdx); 1082 if (c == CH_CR && charIdx<len && testString.charAt(charIdx) == CH_LF) { 1110 if (testString.compare(charIdx-1, 6, "<word>") == 0) { 1116 if (testString.compare(charIdx-1, 6, "<char>") == 0) { 1122 if (testString.compare(charIdx-1, 6, "<line>") == 0) { 1128 if (testString.compare(charIdx-1, 6, "<sent>") == 0) { 1135 if (testString 1612 UnicodeString testString; local 1719 checkUnicodeTestCase(const char *testFileName, int lineNumber, const UnicodeString &testString, UVector32 *breakPositions, RuleBasedBreakIterator *bi) argument [all...] |
H A D | rbbiapts.cpp | 55 UnicodeString testString="Testing word break iterators's clone() and equals()"; local 56 bi1->setText(testString); 57 bi2->setText(testString); 58 biequal->setText(testString); 421 UnicodeString testString="0123456789"; local 422 bi->setText(testString); 1463 void RBBIAPITest::doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expectedString){ argument 1470 testString.extractBetween(start, gotoffset, selected); 1473 testString.extractBetween(gotoffset, start, selected);
|
H A D | dcfmtest.cpp | 207 UnicodeString testString(FALSE, testData, len); 227 RegexMatcher lineMat(UNICODE_STRING_SIMPLE("(?m)^(.*?)$"), testString, 0, status);
|
H A D | csdetest.cpp | 157 void CharsetDetectionTest::checkEncoding(const UnicodeString &testString, const UnicodeString &encoding, const UnicodeString &id) argument 160 int32_t testLength = testString.length(); 172 char *bytes = extractBytes(testString, codepage, byteLength); 220 if (testString.compare(decoded, dLength) != 0) { 225 if(testString[i] != decoded[i]) {
|
H A D | regextst.cpp | 1128 UnicodeString testString("This is test data"); 1129 RegexMatcher m(".*", testString, 0, status); 1132 REGEX_ASSERT(m.regionEnd() == testString.length()); 1145 REGEX_ASSERT(m.regionEnd() == testString.length()); 1181 UnicodeString testString("aabb"); 1182 RegexMatcher m1(".*", testString, 0, status); 1189 RegexMatcher m2("a*", testString, 0, status); 1196 RegexMatcher m3(".*$", testString, 0, status); 1234 UnicodeString testString("aaaaaaaaaaaaaaaaaaaaa"); 1235 RegexMatcher matcher("(a+)+b", testString, 1289 UnicodeString testString = "abc"; local [all...] |
H A D | tsmthred.cpp | 1447 UnicodeString *testString = new UnicodeString("This is the original test string."); local 1454 tests[j] = new StringThreadTest2(testString, j); 1525 delete testString;
|
/macosx-10.10.1/ICU-531.30/icuSources/test/iotest/ |
H A D | stream.cpp | 217 testString( argument 219 const char* testString, 229 sstrm << testString; local 231 /*log_verbose("iostream before operator::>>() call \"%s\" ", testString); 236 log_verbose("iostream after operator::>>() call \"%s\" ", testString); 244 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString); 308 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL); 309 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF); 311 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL); 312 testString(USt [all...] |
/macosx-10.10.1/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonKeyDerivation.c | 43 static char * testString(char *format, CCDigestAlgorithm alg) { function 59 ok(status = expectedEqualsComputed(testString("Original PBKDF2-HMac-%s", alg), expected, derivedKey), "Derived key is as expected"); 72 ok(status = expectedEqualsComputed(testString("New PBKDF2-HMac-%s", alg), expected, derivedKey), "Derived key is as expected");
|
H A D | CommonHMac.c | 83 static char * testString(char *format, CCDigestAlgorithm alg) { function 95 ok(status = expectedEqualsComputed(testString("Original OneShot HMac-%s", alg), expected, computedMD), "HMac is as expected"); 109 ok(status = expectedEqualsComputed(testString("Original Discreet HMac-%s", alg), expected, computedMD), "HMac is as expected"); 119 ok(status = expectedEqualsComputed(testString("New OneShot HMac-%s", alg), expected, computedMD), "HMac is as expected"); 137 ok(status = expectedEqualsComputed(testString("New OneShot HMac-%s", alg), expected, computedMD), "HMac is as expected"); 138 ok(status = expectedEqualsComputed(testString("New OneShot HMac-%s", alg), expected, computedMD2), "HMac is as expected");
|
H A D | CommonDigest.c | 165 static char * testString(char *format, CCDigestAlgorithm alg) { function 190 ok(status = expectedEqualsComputed(testString("Original OneShot Digest %s", alg), expected, computedMD), "Digest is as expected"); 323 ok(status = expectedEqualsComputed(testString("Original Discreet Digest %s", alg), expected, computedMD), "Digest is as expected"); 324 ok(status = expectedEqualsComputed(testString("Original Discreet Digest Intermediate %s", alg), expectedIntermediate, comp_intr), "Intermediate State is as expected"); 335 ok(status = expectedEqualsComputed(testString("New OneShot Digest %s", alg), expected, computedMD), "Digest is as expected"); 368 ok(status = expectedEqualsComputed(testString("New OneShot Digest %s", alg), expected, computedMD), "Digest is as expected"); 369 ok(status = expectedEqualsComputed(testString("New OneShot Digest %s", alg), expected, computedMD2), "Digest is as expected");
|
/macosx-10.10.1/ICU-531.30/icuSources/samples/citer/ |
H A D | citer.cpp | 47 UnicodeString testString(testChars,""); 48 const UChar *testText = testString.getTerminatedBuffer(); 114 UnicodeString testString(testChars,""); 115 const UChar *testText = testString.getTerminatedBuffer();
|
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/ |
H A D | custrtst.c | 479 const UChar testString[] = {0x0061, 0x0062, 0x0063, 0x0064, 0x0064, 0x0061, 0}; local 503 if (u_strpbrk(testString, a) != &testString[0]) { 506 if (u_strpbrk(testString, dc) != &testString[2]) { 509 if (u_strpbrk(testString, cd) != &testString[2]) { 512 if (u_strpbrk(testString, cdh) != &testString[2]) { 515 if (u_strpbrk(testString, [all...] |
H A D | cbiapts.c | 625 UChar testString[TEST_STRING_LENGTH]; local 638 u_uastrncpy(testString, "ABC", TEST_STRING_LENGTH); 641 bi = ubrk_openRules(rules, -1, testString, -1, NULL, &status);
|
/macosx-10.10.1/xnu-2782.1.97/iokit/Tests/ |
H A D | Tests.h | 56 extern void testString();
|
H A D | TestContainers.cpp | 247 void testString() function 323 verPrintf(("testString(s) test 6b failed\n")); res = false; 341 verPrintf(("testString(s) test 7b failed\n")); res = false; 353 verPrintf(("testString: All OSString Tests passed\n")); 355 logPrintf(("testString: Some OSString Tests failed\n"));
|
/macosx-10.10.1/ruby-106/ruby/test/rexml/ |
H A D | test_functions.rb | 103 testString = REXML::Functions::substring_after("helloworld","hello") 104 assert_equal( 'world', testString )
|
/macosx-10.10.1/BerkeleyDB-21/db/test/scr024/src/com/sleepycat/bind/tuple/test/ |
H A D | TupleOrderingTest.java | 146 public void testString() { method in class:TupleOrderingTest
|