Searched defs:expect (Results 126 - 150 of 161) sorted by relevance

1234567

/external/icu/icu4c/source/test/intltest/
H A Dtranstst.cpp58 2. Make liberal use of the expect() method; it is your friend.
310 expect(UnicodeString("ab>x|y;", "") +
326 expect(UnicodeString("ab>x|yzacw;") +
353 expect(*t, "abcdefgABCDEFGU", "&bcd&fg!^**!^*&");
361 expect("{ [:Ll:] } x > y; [:Ll:] > z;", "aAbxq", "zAyzz");
362 expect("a[0-9]b > qrs", "1a7b9", "1qrs9");
364 expect(UnicodeString(
379 * of the transliterators and expect the identity function. F x
425 expect(*fwd, DATA[i], DATA[i+1]);
426 expect(*re
4698 void TransliteratorTest::expect(const UnicodeString& rules, function in class:TransliteratorTest
4705 void TransliteratorTest::expect(const UnicodeString& id, function in class:TransliteratorTest
4721 void TransliteratorTest::expect(const Transliterator& t, function in class:TransliteratorTest
4729 void TransliteratorTest::expect(const Transliterator& t, function in class:TransliteratorTest
[all...]
H A Dusettest.cpp590 errln((UnicodeString)"FAIL: c.set(a).add(b) = " + c + ", expect " + exp);
598 errln((UnicodeString)"FAIL: c.complement() = " + c + ", expect " + exp);
605 errln((UnicodeString)"FAIL: c.complement() = " + c + ", expect " + exp);
614 errln((UnicodeString)"FAIL: c.set(a).exclusiveOr(b) = " + c + ", expect " + exp);
622 errln((UnicodeString)"FAIL: bitsToSet(setToBits(c)) = " + c + ", expect " + exp);
1392 // this fails -- which is what we expect.
2925 // if we expect an even number of spans.
3227 int32_t i, j, expect; local
3229 expect=expectLimits[i];
3230 if(expect
[all...]
H A Ddtfmttst.cpp617 expect(DATA, ARRAY_SIZE(DATA), Locale("en", "", ""));
1398 // pattern, input, expected parse or NULL if expect parse failure
1444 // pattern, input, expected parse or NULL if expect parse failure
1465 // pattern, input, expected parse or null if expect parse failure
1584 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1585 expect(CS_DATA, ARRAY_SIZE(CS_DATA), Locale("cs", "", ""));
1630 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1631 expect(CS_DATA, ARRAY_SIZE(CS_DATA), Locale("cs", "", ""));
1654 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1655 expect(SV_DAT
1900 void DateFormatTest::expect(const char** data, int32_t data_length, function in class:DateFormatTest
2316 UnicodeString expect; local
[all...]
H A Dnumfmtst.cpp470 expect(*fmt, num, "$12.34");
472 expect(*fmt, num, "$1.23E1");
474 expect(*fmt, num, "$12.34");
485 expect(fmt, .01234, "12.3E-3");
486 expect(fmt, .1234, "123E-3");
487 expect(fmt, 1.234, "1.23E0");
488 expect(fmt, 12.34, "12.3E0");
489 expect(fmt, 123.4, "123E0");
490 expect(fmt, 1234., "1.23E3");
521 expect(fm
2441 void NumberFormatTest::expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) { function in class:NumberFormatTest
2515 void NumberFormatTest::expect(NumberFormat& fmt, const Formattable& n, function in class:NumberFormatTest
2553 void NumberFormatTest::expect(NumberFormat* fmt, const Formattable& n, function in class:NumberFormatTest
6723 UnicodeString expect = "0001"; local
6742 UnicodeString expect = "-9223372036854775808"; local
6761 UnicodeString expect = "9223372036854775807"; local
6780 UnicodeString expect = "0000000000000000000"; local
6794 UnicodeString expect = "-9223372036854775807"; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
H A Devent-parse.c1084 static int test_type(enum event_type type, enum event_type expect) argument
1086 if (type != expect) {
1088 expect, type);
1095 enum event_type expect, const char *expect_tok)
1097 if (type != expect) {
1099 expect, type);
1111 static int __read_expect_type(enum event_type expect, char **tok, int newline_ok) argument
1119 return test_type(type, expect);
1122 static int read_expect_type(enum event_type expect, char **tok) argument
1124 return __read_expect_type(expect, to
1094 test_type_token(enum event_type type, const char *token, enum event_type expect, const char *expect_tok) argument
1127 __read_expected(enum event_type expect, const char *str, int newline_ok) argument
1146 read_expected(enum event_type expect, const char *str) argument
1151 read_expected_item(enum event_type expect, const char *str) argument
[all...]
/external/valgrind/main/VEX/priv/
H A Dhost_mips_defs.c2121 /* We expect both amodes only to mention %ebp, so this is in
2275 /* We expect both amodes only to mention %ebp, so this is in
2698 UInt expect[2] = { 0, 0 }; local
2699 UChar* p = (UChar*)&expect[0];
2704 vassert(p == (UChar*)&expect[2]);
2706 ret = fetch32(p_to_check + 0) == expect[0]
2707 && fetch32(p_to_check + 4) == expect[1];
2709 UInt expect[6] = { 0, 0, 0, 0, 0, 0}; local
2710 UChar* p = (UChar*)&expect[0];
2723 vassert(p == (UChar*)&expect[
[all...]
H A Dhost_ppc_defs.c2646 /* We expect both amodes only to mention the GSP (r31), so this
2976 /* We expect both amodes only to mention the GSP (r31), so this
3517 UInt expect[2] = { 0, 0 }; local
3518 UChar* p = (UChar*)&expect[0];
3523 vassert(p == (UChar*)&expect[2]);
3525 return fetch32(p_to_check + 0) == expect[0]
3526 && fetch32(p_to_check + 4) == expect[1];
3529 UInt expect[5] = { 0, 0, 0, 0, 0 }; local
3530 UChar* p = (UChar*)&expect[0];
3550 vassert(p == (UChar*)&expect[
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcloctst.c397 /* NULL canonicalize() column means "expect same as getName()" */
509 /* NULL expected canonicalize() means "expect same as getName()" */
695 static const char *expect[] = { "Spanish (Calendar=Japanese Calendar, Sort Order=Traditional Sort Order)", /* note sorted order of keywords */ local
707 expectBuffer = CharsToUChars(expect[i]);
709 log_data_err("FAIL in uloc_getDisplayName(%s,%s,..) expected '%s' got '%s' (Are you missing data?)\n", aLocale, testL[i], expect[i], austrdup(buffer));
711 log_verbose("pass in uloc_getDisplayName(%s,%s,..) got '%s'\n", aLocale, testL[i], expect[i]);
1113 int32_t expect; local
1130 expect = ures_getSize(subRes);
1171 expect -= skipped; /* Ignore the skipped resources from structLocale */
1173 if(count!=expect) {
2688 const char *expect; /**< The expected locale result */ member in struct:__anon12224
[all...]
H A Dnucnvtst.c362 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
463 printSeq((const uint8_t *)expect, expectLen);
478 printSeqErr((const unsigned char*)expect, expectLen);
502 if(!memcmp(junkout, expect, expectLen)) {
511 printSeqErr((const unsigned char *)expect, expectLen);
519 static ETestConvertResult testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument
626 printUSeq(expect, expectlen);
665 if(!memcmp(junkout, expect, expectlen*2))
677 printUSeqErr(expect, expectlen);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ddtfmttst.cpp614 expect(DATA, ARRAY_SIZE(DATA), Locale("en", "", ""));
1395 // pattern, input, expected parse or NULL if expect parse failure
1441 // pattern, input, expected parse or NULL if expect parse failure
1462 // pattern, input, expected parse or null if expect parse failure
1581 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1582 expect(CS_DATA, ARRAY_SIZE(CS_DATA), Locale("cs", "", ""));
1627 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1628 expect(CS_DATA, ARRAY_SIZE(CS_DATA), Locale("cs", "", ""));
1651 expect(EN_DATA, ARRAY_SIZE(EN_DATA), Locale("en", "", ""));
1652 expect(SV_DAT
1897 void DateFormatTest::expect(const char** data, int32_t data_length, function in class:DateFormatTest
2313 UnicodeString expect; local
[all...]
H A Dnumfmtst.cpp466 expect(*fmt, num, "$12.34");
468 expect(*fmt, num, "$1.23E1");
470 expect(*fmt, num, "$12.34");
481 expect(fmt, .01234, "12.3E-3");
482 expect(fmt, .1234, "123E-3");
483 expect(fmt, 1.234, "1.23E0");
484 expect(fmt, 12.34, "12.3E0");
485 expect(fmt, 123.4, "123E0");
486 expect(fmt, 1234., "1.23E3");
517 expect(fm
2418 void NumberFormatTest::expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) { function in class:NumberFormatTest
2492 void NumberFormatTest::expect(NumberFormat& fmt, const Formattable& n, function in class:NumberFormatTest
2530 void NumberFormatTest::expect(NumberFormat* fmt, const Formattable& n, function in class:NumberFormatTest
6694 UnicodeString expect = "0001"; local
6713 UnicodeString expect = "-9223372036854775808"; local
6732 UnicodeString expect = "9223372036854775807"; local
6751 UnicodeString expect = "0000000000000000000"; local
6765 UnicodeString expect = "-9223372036854775807"; local
[all...]
/external/flac/libFLAC/
H A Dstream_encoder.c4214 FLAC__int32 expect = 0, got = 0; local
4219 expect = (FLAC__int32)encoder->private_->verify.input_fifo.data[channel][i];
4230 encoder->private_->verify.error_stats.expected = expect;
/external/icu/icu4c/source/test/cintltst/
H A Dcloctst.c397 /* NULL canonicalize() column means "expect same as getName()" */
509 /* NULL expected canonicalize() means "expect same as getName()" */
695 static const char *expect[] = { "Spanish (Calendar=Japanese Calendar, Sort Order=Traditional Sort Order)", /* note sorted order of keywords */ local
707 expectBuffer = CharsToUChars(expect[i]);
709 log_data_err("FAIL in uloc_getDisplayName(%s,%s,..) expected '%s' got '%s' (Are you missing data?)\n", aLocale, testL[i], expect[i], austrdup(buffer));
711 log_verbose("pass in uloc_getDisplayName(%s,%s,..) got '%s'\n", aLocale, testL[i], expect[i]);
1114 int32_t expect; local
1131 expect = ures_getSize(subRes);
1172 expect -= skipped; /* Ignore the skipped resources from structLocale */
1174 if(count!=expect) {
2689 const char *expect; /**< The expected locale result */ member in struct:__anon22024
[all...]
H A Dnucnvtst.c361 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
462 printSeq((const uint8_t *)expect, expectLen);
477 printSeqErr((const unsigned char*)expect, expectLen);
501 if(!memcmp(junkout, expect, expectLen)) {
510 printSeqErr((const unsigned char *)expect, expectLen);
518 static ETestConvertResult testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument
625 printUSeq(expect, expectlen);
664 if(!memcmp(junkout, expect, expectlen*2))
676 printUSeqErr(expect, expectlen);
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSPropertyParser.cpp4905 static bool parseColorIntOrPercentage(const CharacterType*& string, const CharacterType* end, const char terminator, CSSPrimitiveValue::UnitType& expect, int& value) argument
4933 if (expect == CSSPrimitiveValue::CSS_NUMBER && (*current == '.' || *current == '%'))
4949 if (expect == CSSPrimitiveValue::CSS_PERCENTAGE && *current != '%')
4953 expect = CSSPrimitiveValue::CSS_PERCENTAGE;
4960 expect = CSSPrimitiveValue::CSS_NUMBER;
5064 CSSPrimitiveValue::UnitType expect = CSSPrimitiveValue::CSS_UNKNOWN; local
5083 if (!parseColorIntOrPercentage(current, end, ',', expect, red))
5085 if (!parseColorIntOrPercentage(current, end, ',', expect, green))
5087 if (!parseColorIntOrPercentage(current, end, ',', expect, blue))
5104 if (!parseColorIntOrPercentage(current, end, ',', expect, re
[all...]
/external/valgrind/main/perf/
H A Dtinycc.c7104 void expect(const char *msg)
7132 expect("lvalue");
7811 expect("'\n' after '\r'");
7877 expect("#endif");
8975 expect("exponent");
8986 expect("exponent digits");
9039 expect("exponent digits");
9377 expect("'.'");
9810 expect(",");
12034 expect("attribut
7102 void expect(const char *msg) function
[all...]
/external/owasp/sanitizer/lib/junit/
H A Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/robolectric/lib/main/
H A Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/
H A Dhttpclient-4.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
H A Dhttpcore-4.1.jar ... DESTINATION public static final String ETAG public static final String EXPECT public static final String EXPIRES public static final String FROM ...
/external/smack/asmack-master/lib/
H A Dhttpclient-4.1.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...
H A Dhttpcore-4.1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 560 milliseconds

1234567