/external/chromium/googleurl/src/ |
gurl_unittest.cc | 156 // The tricky cases for relative URL resolving are tested in the 196 } cases[] = { local 204 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { 205 GURL url(cases[i].input); 207 EXPECT_EQ(cases[i].expected, origin.spec()); 215 } cases[] = { local 221 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { 222 GURL url(cases[i].input); 224 EXPECT_EQ(cases[i].expected, empty_path.spec()); 274 } cases[] = local 355 } cases[] = { local [all...] |
url_canon_unittest.cc | 73 // Test cases for CanonicalizeIPAddress(). The inputs are identical to 129 // causes it to fail in other cases. It is left a template in case we have 543 IPAddressCase cases[] = { local 616 for (size_t i = 0; i < arraysize(cases); i++) { 619 static_cast<int>(strlen(cases[i].input8))); 624 url_canon::CanonicalizeIPAddress(cases[i].input8, component, &output1, 628 EXPECT_EQ(cases[i].expected_family, host_info.family); 630 EXPECT_STREQ(cases[i].expected, out_str1.c_str()); 631 EXPECT_EQ(cases[i].expected_component.begin, host_info.out_host.begin); 632 EXPECT_EQ(cases[i].expected_component.len, host_info.out_host.len) 659 IPAddressCase cases[] = { local 1237 } cases[] = { local 1508 } cases[] = { local 1637 } cases[] = { local [all...] |
url_parse_unittest.cc | 73 // Used for regular URL parse cases. 235 static URLParseCase cases[] = { variable 318 // Partially-complete IPv6 literals, and related cases. 330 // Declared outside for loop to try to catch cases in init() where we forget 333 for (size_t i = 0; i < arraysize(cases); i++) { 334 const char* url = cases[i].input; 338 EXPECT_TRUE(ComponentMatches(url, cases[i].scheme, parsed.scheme)); 339 EXPECT_TRUE(ComponentMatches(url, cases[i].username, parsed.username)); 340 EXPECT_TRUE(ComponentMatches(url, cases[i].password, parsed.password)); 341 EXPECT_TRUE(ComponentMatches(url, cases[i].host, parsed.host)) [all...] |
/external/icu4c/test/intltest/ |
calcasts.h | 7 * behavior of a calendar to a certain set of 'test cases', involving 40 * @param cases array of items to test. Terminate with a "-1" for era. 42 void doTestCases(const TestCase *cases, Calendar *cal); 56 // test cases
|
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
complex_rep.S | 2 # I thought up a lot of corner-cases in the rep code. This tries
|
/external/valgrind/main/exp-bbv/tests/x86/ |
complex_rep.S | 2 # I thought up a lot of corner-cases in the rep code. This tries
|
/external/webkit/LayoutTests/fast/url/script-tests/ |
ipv4.js | 3 cases = [ 92 for (var i = 0; i < cases.length; ++i) { 93 test_vector = cases[i][0]; 94 expected_result = cases[i][1];
|
segments-from-data-url.js | 3 cases = [ 76 for (var i = 0; i < cases.length; ++i) { 77 shouldBe("segments('" + cases[i][0] + "')", 78 "'" + JSON.stringify(cases[i][1]) + "'");
|
ipv6.js | 3 cases = [ 110 for (var i = 0; i < cases.length; ++i) { 111 test_vector = cases[i][0]; 112 expected_result = cases[i][1];
|
file-http-base.js | 3 cases = [ 60 for (var i = 0; i < cases.length; ++i) { 61 test_vector = cases[i][0]; 62 expected_result = cases[i][1];
|
file.js | 3 cases = [ 59 for (var i = 0; i < cases.length; ++i) { 60 test_vector = cases[i][0]; 61 expected_result = cases[i][1];
|
host.js | 3 cases = [ 65 for (var i = 0; i < cases.length; ++i) { 66 test_vector = cases[i][0]; 67 expected_result = cases[i][1];
|
path.js | 3 cases = [ 77 for (var i = 0; i < cases.length; ++i) { 78 test_vector = cases[i][0]; 79 expected_result = cases[i][1];
|
standard-url.js | 3 cases = [ 68 for (var i = 0; i < cases.length; ++i) { 69 test_vector = cases[i][0]; 70 expected_result = cases[i][1];
|
relative.js | 3 cases = [ 83 for (var i = 0; i < cases.length; ++i) { 84 baseURL = cases[i][0]; 85 relativeURL = cases[i][1]; 86 expectedURL = cases[i][2];
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_test.c | 23 TEST CASES SOURCE: 30 Test Cases for HMAC-MD5 and HMAC-SHA-1 53 } cases[] = { 55 3. Test Cases for HMAC-SHA-1 121 2. Test Cases for HMAC-MD5 268 for(i=0; i < (int)(sizeof(cases) / sizeof(cases[0])); i++) { 269 int hash = find_hash(cases[i].algo); 273 if((err = hmac_memory(hash, cases[i].key, cases[i].keylen, cases[i].data, cases[i].datalen, digest, &outlen)) != CRYPT_OK) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-2056.js | 30 var cases = [ variable 53 for (i = 0; i < cases.length; ++i) { 54 var c = cases[i]; 60 for (i = 0; i < cases.length; ++i) { 61 var c = cases[i];
|
/external/chromium/base/ |
time_win_unittest.cc | 184 TestCase cases[] = { local 192 while (cases[test_case].func) { 195 cases[test_case].func(); 204 printf("%s: %1.2fus per call\n", cases[test_case].description,
|
string_util_unittest.cc | 497 } cases[] = { local 509 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) 510 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes)); 519 } cases[] = { local 521 // under two pre-decimal digits, except in cases where it makes no 551 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) { 552 EXPECT_EQ(ASCIIToUTF16(cases[i].expected), 553 FormatBytes(cases[i].bytes, cases[i].units, false)) 566 } cases[] = { local 597 } cases[] = { local 1031 } cases[] = { local [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLTableSectionElement/script-tests/ |
rows.js | 1 description('Test behavior of the HTMLTableSectionElement rows attribute in cases where there is unusual nesting.');
|
/external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/ |
css-properties-case-sensitive.js | 8 debug('normal cases');
|
/dalvik/dx/src/com/android/dx/cf/code/ |
Machine.java | 183 * @param cases {@code non-null;} the list of key-target pairs, plus the default 186 public void auxSwitchArg(SwitchList cases);
|
BasicBlocker.java | 247 SwitchList cases, int padding) { 249 addWorkIfNecessary(cases.getDefaultTarget(), true); 251 int sz = cases.size(); 253 addWorkIfNecessary(cases.getTarget(i), true); 256 targetLists[offset] = cases.getTargets();
|
/external/chromium/chrome/browser/metrics/ |
metrics_log_unittest.cc | 252 } cases[] = { local 258 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); i++) { 259 std::string hash_string = MetricsLog::CreateHash(cases[i].input); 269 EXPECT_EQ(cases[i].output, hash_hex);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
CodeObserver.java | 155 SwitchList cases, int padding) { 156 int sz = cases.size(); 167 sb.append(Hex.s4(cases.getValue(i))); 169 sb.append(Hex.u2(cases.getTarget(i))); 174 sb.append(Hex.u2(cases.getDefaultTarget()));
|