/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | dtifmtts.cpp | 343 errln("ERROR: DateIntervalFormat::format for tzCalif, expect " + fmtCalif + ", get " + res); 356 errln("ERROR: DateIntervalFormat::format for fmtTokyo, expect " + fmtTokyo + ", get " + res); 1037 expect(DATA, ARRAY_SIZE(DATA)); 1041 void DateIntervalFormatTest::expect(const char** data, int32_t data_length) { function in class:DateIntervalFormatTest 1060 dataerrln("contruct SimpleDateFormat in expect failed: %s", u_errorName(ec)); 1071 if (!assertSuccess("parse 1st data in expect", ec)) return; 1073 if (!assertSuccess("parse 2nd data in expect", ec)) return; 1079 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; 1082 if (!assertSuccess("format in expect", ec)) return;
|
H A D | thcoll.cpp | 258 Collator::EComparisonResult expect; local 260 expect = Collator::LESS; 262 expect = Collator::GREATER; 264 expect = Collator::EQUAL; 266 // expect = Integer.decode(tests[i+1]).intValue(); 275 doTest(&c, s1, s2, expect); 279 if (sign(result) != sign(expect)) 285 + ") got " + result + "; expected " + expect); 309 if (sign(result) != sign(expect)) { 314 + ")) got " + result + "; expected " + expect); [all...] |
H A D | incaltst.cpp | 452 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 457 simpleTest(loc, expect, expectDate, status); 461 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 466 simpleTest(loc, expect, expectDate, status); 470 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 475 simpleTest(loc, expect, expectDate, status); 479 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 484 simpleTest(loc, expect, expectDate, status); 571 UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc\\u65e5"); local 576 simpleTest(loc, expect, expectDat 579 UnicodeString expect = CharsToUnicodeString("\\\\u5e73\\\\u621013\\\\u5e749\\\\u67088\\\\u65e5\\\\u571f\\\\u66dc\\\\u65e5"); local 587 UnicodeString expect = CharsToUnicodeString("\\\\u5b89\\\\u6c385\\\\u5e747\\\\u67084\\\\u65e5\\\\u6728\\\\u66dc\\\\u65e5"); local 596 UnicodeString expect = CharsToUnicodeString("\\\\u662d\\\\u548c64\\\\u5e741\\\\u67086\\\\u65e5\\\\u91d1\\\\u66dc\\\\u65e5"); local 605 UnicodeString expect = CharsToUnicodeString("\\\\u5EB7\\\\u6B632\\\\u5e742\\\\u670829\\\\u65e5\\\\u65e5\\\\u66dc\\\\u65e5"); local 883 simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status) argument [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | BlitRowTest.cpp | 64 uint8_t expect8, uint32_t* expect) { 67 *expect = expect32; 71 *expect = expect16; 74 *expect = expect8; 77 *expect = 0; 85 uint32_t expect; local 86 Proc proc = find_proc(bm, expect32, expect16, expect8, &expect); 89 int x = proc(bm.getAddr(0, y), bm.width(), expect, &bad); 92 gColorTypeName[bm.colorType()], x, y, expect, bad); 63 find_proc(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, uint32_t* expect) argument
|
/external/chromium_org/v8/test/cctest/compiler/ |
H A D | test-machine-operator-reducer.cc | 88 // yields the {expect} value. 90 void CheckFoldBinop(volatile T expect, volatile T a, volatile T b) { argument 91 CheckFoldBinop<T>(expect, Constant<T>(a), Constant<T>(b)); 95 // the {expect} value. 97 void CheckFoldBinop(volatile T expect, Node* a, Node* b) { argument 104 CHECK_EQ(expect, ValueOf<T>(reduction.replacement()->op())); 108 // the {expect} node. 109 void CheckBinop(Node* expect, Node* a, Node* b) { argument 115 CHECK_EQ(expect, reduction.replacement());
|
/external/icu/icu4c/source/test/intltest/ |
H A D | cpdtrtst.cpp | 356 expect(*ct1, s, s); 395 expect(*ct2, Data[i+1], Data[i+2]); 407 void CompoundTransliteratorTest::expect(const CompoundTransliterator& t, function in class:CompoundTransliteratorTest
|
H A D | dtifmtts.cpp | 343 errln("ERROR: DateIntervalFormat::format for tzCalif, expect " + fmtCalif + ", get " + res); 356 errln("ERROR: DateIntervalFormat::format for fmtTokyo, expect " + fmtTokyo + ", get " + res); 1037 expect(DATA, ARRAY_SIZE(DATA)); 1041 void DateIntervalFormatTest::expect(const char** data, int32_t data_length) { function in class:DateIntervalFormatTest 1060 dataerrln("contruct SimpleDateFormat in expect failed: %s", u_errorName(ec)); 1071 if (!assertSuccess("parse 1st data in expect", ec)) return; 1073 if (!assertSuccess("parse 2nd data in expect", ec)) return; 1079 if (!assertSuccess("createInstance(skeleton) in expect", ec)) return; 1082 if (!assertSuccess("format in expect", ec)) return;
|
H A D | thcoll.cpp | 259 Collator::EComparisonResult expect; local 261 expect = Collator::LESS; 263 expect = Collator::GREATER; 265 expect = Collator::EQUAL; 267 // expect = Integer.decode(tests[i+1]).intValue(); 276 doTest(&c, s1, s2, expect); 280 if (sign(result) != sign(expect)) 286 + ") got " + result + "; expected " + expect); 310 if (sign(result) != sign(expect)) { 315 + ")) got " + result + "; expected " + expect); [all...] |
H A D | incaltst.cpp | 449 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 454 simpleTest(loc, expect, expectDate, status); 458 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 463 simpleTest(loc, expect, expectDate, status); 467 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 472 simpleTest(loc, expect, expectDate, status); 476 UnicodeString expect = CharsToUnicodeString("\\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48" local 481 simpleTest(loc, expect, expectDate, status); 568 UnicodeString expect = CharsToUnicodeString("\\u5e73\\u621013\\u5e749\\u67088\\u65e5\\u571f\\u66dc\\u65e5"); local 573 simpleTest(loc, expect, expectDat 576 UnicodeString expect = CharsToUnicodeString("\\\\u5e73\\\\u621013\\\\u5e749\\\\u67088\\\\u65e5\\\\u571f\\\\u66dc\\\\u65e5"); local 584 UnicodeString expect = CharsToUnicodeString("\\\\u5b89\\\\u6c385\\\\u5e747\\\\u67084\\\\u65e5\\\\u6728\\\\u66dc\\\\u65e5"); local 593 UnicodeString expect = CharsToUnicodeString("\\\\u662d\\\\u548c64\\\\u5e741\\\\u67086\\\\u65e5\\\\u91d1\\\\u66dc\\\\u65e5"); local 602 UnicodeString expect = CharsToUnicodeString("\\\\u5EB7\\\\u6B632\\\\u5e742\\\\u670829\\\\u65e5\\\\u65e5\\\\u66dc\\\\u65e5"); local 880 simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status) argument [all...] |
/external/skia/tests/ |
H A D | BlitRowTest.cpp | 64 uint8_t expect8, uint32_t* expect) { 67 *expect = expect32; 71 *expect = expect16; 74 *expect = expect8; 77 *expect = 0; 85 uint32_t expect; local 86 Proc proc = find_proc(bm, expect32, expect16, expect8, &expect); 89 int x = proc(bm.getAddr(0, y), bm.width(), expect, &bad); 92 gColorTypeName[bm.colorType()], x, y, expect, bad); 63 find_proc(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, uint32_t* expect) argument
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
H A D | Scanning.py | 450 def expect(self, what, message = None): member in class:PyrexScanner 473 self.expect('INDENT', 477 self.expect('DEDENT', 483 self.expect('NEWLINE', message)
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | putiltst.c | 47 static void doAssert(double expect, double got, const char *message); 420 static void doAssert(double got, double expect, const char *message) argument 422 if(! compareWithNAN(expect, got) ) { 423 log_err("ERROR : %s. Expected : %lf, Got: %lf\n", message, expect, got); 480 static void Test_aestrncpy(int32_t line, const uint8_t *expect, const uint8_t *src, int32_t len) argument 490 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { 492 log_verbose("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 496 log_err ("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 576 const char *expect = STRNULL(testCases[i].expectResult); local 579 if(result==expect||!strcm 670 const char *expect = STRNULL(testCases[i].expectResult); local [all...] |
H A D | usettest.c | 27 static void expect(const USet* set, 59 expect(s, "{abc}", "{ccc}", &status); 88 expect(set, "", "abc{ab}", NULL); 92 expect(set, "", "abc{ab}", NULL); 97 expect(set, "", "abc{ab}", NULL); 102 expect(set, "ABC", "DEF{ab}", NULL); 115 expect(set, "abc{ab}", "def{bc}", &ec); 119 expect(set, "abcd{ab}", "ef{bc}", NULL); 124 expect(set, "acd{ab}{bc}", "bef{cd}", NULL); 128 expect(se 236 static void expect(const USet* set, function [all...] |
/external/chromium_org/third_party/pexpect/ |
H A D | pexpect.py | 29 child.expect('Password:') 170 child.expect('(?i)password') 244 index = child.expect(patterns) 299 talk to. For normal use, see expect() and send() and sendline(). 307 child.expect(pexpect.EOF) 316 child.expect(pexpect.EOF) 333 access to the full buffer after expect() returns. 364 were experiencing. The typical problem was that a user would expect() a 779 p.sendline('1234') # We expect see this twice from the child... 780 p.expect(['123 1307 def expect(self, pattern, timeout=-1, searchwindowsize=-1): member in class:spawn [all...] |
/external/chromium_org/ui/events/ |
H A D | event_dispatcher_unittest.cc | 92 void set_expect_pre_target(bool expect) { expect_pre_target_ = expect; } argument 93 void set_expect_post_target(bool expect) { expect_post_target_ = expect; } argument
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fFboApiTest.cpp | 63 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) argument 66 testCtx.getLog() << TestLog::Message << "// " << (result == expect ? "Pass" : "Fail") << ", expected " << glu::getErrorStr(expect) << TestLog::EndMessage; 68 if (result != expect)
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboApiTests.cpp | 59 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) argument 62 testCtx.getLog() << TestLog::Message << "// " << (result == expect ? "Pass" : "Fail") << ", expected " << glu::getErrorStr(expect) << TestLog::EndMessage; 64 if (result != expect)
|
/external/e2fsprogs/e2fsck/ |
H A D | super.c | 322 blk_t expect; /* for resize inode, which is 32-bit only */ local 423 expect = pblk + (j * fs->super->s_blocks_per_group); 424 if (ind_buf[ind_off] != expect)
|
/external/easymock/src/org/easymock/ |
H A D | EasyMock.java | 178 * <code>expect(mock.getName()).andReturn("John Doe")<code>.
182 public static <T> IExpectationSetters<T> expect(T value) {
method in class:EasyMock
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | putiltst.c | 47 static void doAssert(double expect, double got, const char *message); 420 static void doAssert(double got, double expect, const char *message) argument 422 if(! compareWithNAN(expect, got) ) { 423 log_err("ERROR : %s. Expected : %lf, Got: %lf\n", message, expect, got); 480 static void Test_aestrncpy(int32_t line, const uint8_t *expect, const uint8_t *src, int32_t len) argument 490 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { 492 log_verbose("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 496 log_err ("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); 576 const char *expect = STRNULL(testCases[i].expectResult); local 579 if(result==expect||!strcm 670 const char *expect = STRNULL(testCases[i].expectResult); local [all...] |
H A D | usettest.c | 27 static void expect(const USet* set, 59 expect(s, "{abc}", "{ccc}", &status); 88 expect(set, "", "abc{ab}", NULL); 92 expect(set, "", "abc{ab}", NULL); 97 expect(set, "", "abc{ab}", NULL); 102 expect(set, "ABC", "DEF{ab}", NULL); 115 expect(set, "abc{ab}", "def{bc}", &ec); 119 expect(set, "abcd{ab}", "ef{bc}", NULL); 124 expect(set, "acd{ab}{bc}", "bef{cd}", NULL); 128 expect(se 236 static void expect(const USet* set, function [all...] |
/external/lldb/test/pexpect-2.4/ |
H A D | pexpect.py | 27 child.expect ('Password:') 163 child.expect ('(?i)password') 233 index = child.expect (patterns) 284 talk to. For normal use, see expect() and send() and sendline(). 292 child.expect(pexpect.EOF) 301 child.expect(pexpect.EOF) 318 access to the full buffer after expect() returns. 349 were experiencing. The typical problem was that a user would expect() a 742 p.expect (['1234']) 743 p.expect (['123 1238 def expect(self, pattern, timeout = -1, searchwindowsize=-1): member in class:spawn [all...] |
/external/mtpd/ |
H A D | pptp.c | 86 int expect; member in struct:packet 154 /* We are going to read a new message if incoming.expect is 0. */ 155 if (!incoming.expect) { 157 incoming.expect = HEADER_SIZE; 163 length = incoming.expect - incoming.length; 168 if (incoming.expect > MAX_PACKET_LENGTH) { 187 /* If incoming.header is valid, check cookie and update incoming.expect. */ 188 if (incoming.length == HEADER_SIZE && incoming.expect == HEADER_SIZE) { 194 incoming.expect = ntohs(incoming.header.length); 195 if (incoming.expect < HEADER_SIZ [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
H A D | native_backend_kwallet_x_unittest.cc | 589 const std::vector<const PasswordForm*>& expect = sorted_expected[i].second; local 590 EXPECT_EQ(expect.size(), forms.size()); 591 for (size_t j = 0; j < forms.size() && j < expect.size(); ++j) 592 CheckPasswordForm(*expect[j], *forms[j]);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | client_side_detection_host_unittest.cc | 435 void CheckIPUrlEqual(const std::vector<IPUrlInfo>& expect, argument 437 ASSERT_EQ(expect.size(), result.size()); 439 for (unsigned int i = 0; i < expect.size(); ++i) { 440 EXPECT_EQ(expect[i].url, result[i].url); 441 EXPECT_EQ(expect[i].method, result[i].method); 442 EXPECT_EQ(expect[i].referrer, result[i].referrer); 443 EXPECT_EQ(expect[i].resource_type, result[i].resource_type); 644 // We expect that the interstitial is shown for the second phishing URL and
|