Searched defs:expect (Results 101 - 125 of 161) sorted by relevance

1234567

/external/icu/icu4c/source/test/intltest/
H A Drestsnew.cpp1018 const char* expect ="tab:\t cr:\r ff:\f newline:\n backslash:\\\\ quote=\\\' doubleQuote=\\\" singlequoutes=''"; local
1137 u_charsToUChars(expect,uExpect,(int32_t)uprv_strlen(expect)+1);
1147 expect ="test message ....";
1149 u_charsToUChars(expect,uExpect,(int32_t)uprv_strlen(expect)+1);
H A Dtstnorm.cpp370 ", expect " + hex(exp));
382 ", expect " + hex(exp));
536 UnicodeString& expect = tests[i][outCol]; local
543 if (output != expect) {
545 + " expected " + hex(expect) + "\n"
558 UnicodeString& expect = tests[i][outCol]; local
563 assertEqual(input, expect, iter, UnicodeString("ERROR: case ") + i + " ");
625 const UChar32 *expect, int32_t expectLength,
639 UChar32Iterator iter32(expect, expectLength, expectMiddle);
690 // src and expect string
624 TestPreviousNext(const UChar *src, int32_t srcLength, const UChar32 *expect, int32_t expectLength, const int32_t *expectIndex, int32_t srcMiddle, int32_t expectMiddle, const char *moves, UNormalizationMode mode, const char *name) argument
697 static const UChar32 expect[]={ local
801 UnicodeString left, right, expect, result, r; local
[all...]
H A Dustrtest.cpp583 static const char expect[]={ local
622 uprv_memcmp(buffer, expect, 13)!=0 ||
631 uprv_memcmp(buffer, expect, 13)!=0 ||
640 UnicodeString t(expect, sizeof(expect), cnv, errorCode);
H A Dtztest.cpp1395 const char *expect; member in struct:__anon22158
1420 for (i=0; kData[i].expect[0] != '\0'; i++)
1426 if (name.compare(kData[i].expect) != 0)
1427 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1430 for (i=0; kData[i].expect[0] != '\0'; i++)
1435 if (name.compare(kData[i].expect) != 0)
1436 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1479 // If not, we expect the en fallback behavior.
/external/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp285 NumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) argument
287 fExpect(expect),
337 AttrNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE, UNumberFormatAttribute attr, int32_t newValue) argument
338 : NumTest(pat,num,expect,FILE,LINE),
365 NOXNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE /*, UNumberFormatAttribute attr, int32_t newValue */) argument
366 : NumTest(pat,num,expect,FILE,LINE) /* ,
413 NumFmtTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) argument
415 fExpect(expect),
536 NumFmtInt64Test(const char *pat, const char *num, int64_t expect, const char *FILE, int LINE, EMode mode) argument
539 fExpect(expect),
628 NumFmtStringPieceTest(const char *pat, const char *num, const StringPiece& expect, const char *FILE, int LINE) argument
[all...]
/external/libpng/contrib/libtests/
H A Dmakepng.c873 check_param_count(int nparams, int expect) argument
875 if (nparams != expect)
/external/mesa3d/src/gallium/tests/trivial/
H A Dcompute.c230 void (*expect)(void *, int, int, int),
263 expect(exp, slot, x, y);
473 void expect(void *p, int s, int x, int y) { function
502 check_tex(ctx, 0, expect, NULL);
534 void expect(void *p, int s, int x, int y) { function
547 check_tex(ctx, 1, expect, NULL);
597 void expect(void *p, int s, int x, int y) { function
608 check_tex(ctx, 0, expect, NULL);
633 void expect(void *p, int s, int x, int y) { function
650 check_tex(ctx, 0, expect, NUL
703 void expect(void *p, int s, int x, int y) { function
790 void expect(void *p, int s, int x, int y) { function
830 void expect(void *p, int s, int x, int y) { function
895 void expect(void *p, int s, int x, int y) { function
934 void expect(void *p, int s, int x, int y) { function
976 void expect(void *p, int s, int x, int y) { function
1257 void expect(void *p, int s, int x, int y) { function
1379 void expect(void *p, int s, int x, int y) { function
1549 void expect(void *p, int s, int x, int y) { function
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/UglifyJS/
H A Dparse-js.js675 function expect(punc) { return expect_token("punc", punc); };
693 expect("(");
695 expect(")");
833 expect("(");
842 expect(")");
847 expect(";");
849 expect(";");
851 expect(")");
860 expect("(");
866 if (first) first = false; else expect(",");
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcnumtst.c370 /* Note: a==1234.56, but on parse expect a1=1235.0 */
1053 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s pos %d val %.1f, get %s pos %d val %.1f\n",
1065 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s pos %d val %.1f cur %s, get %s pos %d val %.1f cur %s\n",
1085 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s val %.1f, get %s val %.1f\n",
1097 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s val %.1f cur %s, get %s val %.1f cur %s\n",
1530 log_err("didn't expect lenient value: %d\n", isLenient);
1536 log_err("didn't expect lenient value after set: %d\n", isLenient);
1544 log_err("didn't expect double attribute\n");
1548 log_err("didn't expect -1 rounding increment\n");
1782 expect
2025 int32_t expect = 0; local
2118 UChar expect[] = { 0x0039, 0x0037, 0 }; local
[all...]
H A Dccapitst.c1105 log_data_err("Flush Cache failed [line %d], expect 0 got %d \n", __LINE__, flushCount);
1114 log_data_err("Flush Cache failed [line %d], expect 0 got %d \n", __LINE__, flushCount);
1145 /* Predetermined aliases that we expect to map back to ISO_2022
1183 " has no aliases; expect at least one\n",
1261 /* Check a list of predetermined aliases that we expect to map
1270 log_err("FAIL: \"%s\" -> \"%s\", expect \"ISO_2022,locale=ja,version=2\"\n",
1283 log_err("FAIL: \"%s\" -> \"%s\", expect UTF-8\n",
1289 * Check a list of predetermined aliases that we expect to map
1300 log_err("FAIL: \"%s\" -> \"%s\", expect %s\n",
2117 /* expect
2560 char utf8[600], expect[600]; local
[all...]
H A Dcreststn.c465 const char* expect ="tab:\t cr:\r ff:\f newline:\n backslash:\\\\ quote=\\\' doubleQuote=\\\" singlequoutes=''"; local
584 u_charsToUChars(expect,uExpect,(int32_t)strlen(expect)+1);
638 expect ="test message ....";
639 u_charsToUChars(expect,uExpect,(int32_t)strlen(expect)+1);
3079 log_data_err("CLDR version is too old, expect at least %s.", tmp);
H A Dcucdtst.c340 UBool expect, UBool diffIsError) {
346 * expect:
350 if(expect ? uset_containsAll(b, a) : uset_containsNone(a, b)) {
363 if(expect) {
389 if(expect) {
395 if(expect) {
822 UBool expect; local
827 expect=(UBool)((posixData[i].posixResults&mask)!=0);
828 if(posixClasses[cl].fn(posixData[i].c)!=expect) {
830 posixClasses[cl].name, posixData[i].c, expect
338 showADiffB(const USet *a, const USet *b, const char *a_name, const char *b_name, UBool expect, UBool diffIsError) argument
[all...]
H A Dnccbtst.c2619 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
2760 printSeq(expect, expectLen);
2776 printSeqErr(expect, expectLen);
2799 if(!memcmp(junkout, expect, expectLen))
2812 printSeqErr(expect, expectLen);
2817 UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument
2956 printUSeq(expect, expectlen);
2992 if(!memcmp(junkout, expect, expectlen*2))
3004 printUSeqErr(expect, expectlen);
3010 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, in argument
3190 testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtztest.cpp1404 const char *expect; member in struct:__anon12347
1429 for (i=0; kData[i].expect[0] != '\0'; i++)
1435 if (name.compare(kData[i].expect) != 0)
1436 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1439 for (i=0; kData[i].expect[0] != '\0'; i++)
1444 if (name.compare(kData[i].expect) != 0)
1445 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name);
1488 // If not, we expect the en fallback behavior.
H A Dtranstst.cpp58 2. Make liberal use of the expect() method; it is your friend.
311 expect(UnicodeString("ab>x|y;", "") +
327 expect(UnicodeString("ab>x|yzacw;") +
354 expect(*t, "abcdefgABCDEFGU", "&bcd&fg!^**!^*&");
362 expect("{ [:Ll:] } x > y; [:Ll:] > z;", "aAbxq", "zAyzz");
363 expect("a[0-9]b > qrs", "1a7b9", "1qrs9");
365 expect(UnicodeString(
380 * of the transliterators and expect the identity function. F x
426 expect(*fwd, DATA[i], DATA[i+1]);
427 expect(*re
4700 void TransliteratorTest::expect(const UnicodeString& rules, function in class:TransliteratorTest
4707 void TransliteratorTest::expect(const UnicodeString& id, function in class:TransliteratorTest
4723 void TransliteratorTest::expect(const Transliterator& t, function in class:TransliteratorTest
4731 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...]
/external/chromium_org/v8/test/cctest/
H A Dtest-strings.cc898 // The characters we expect to be output
1334 uint16_t expect = ConvertLatin1<unibrow::Ecma262UnCanonicalize, true>(c); local
1335 if (expect > unibrow::Latin1::kMaxChar) expect = 0;
1336 CHECK_EQ(expect, test);
/external/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c376 /* Note: a==1234.56, but on parse expect a1=1235.0 */
1059 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s pos %d val %.1f, get %s pos %d val %.1f\n",
1071 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s pos %d val %.1f cur %s, get %s pos %d val %.1f cur %s\n",
1089 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s val %.1f, get %s val %.1f\n",
1101 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s val %.1f cur %s, get %s val %.1f cur %s\n",
1533 log_err("didn't expect lenient value: %d\n", isLenient);
1539 log_err("didn't expect lenient value after set: %d\n", isLenient);
1547 log_err("didn't expect double attribute\n");
1551 log_err("didn't expect -1 rounding increment\n");
1785 expect
2028 int32_t expect = 0; local
2121 UChar expect[] = { 0x0039, 0x0037, 0 }; local
[all...]
H A Dcucdtst.c339 UBool expect, UBool diffIsError) {
345 * expect:
349 if(expect ? uset_containsAll(b, a) : uset_containsNone(a, b)) {
362 if(expect) {
388 if(expect) {
394 if(expect) {
821 UBool expect; local
826 expect=(UBool)((posixData[i].posixResults&mask)!=0);
827 if(posixClasses[cl].fn(posixData[i].c)!=expect) {
829 posixClasses[cl].name, posixData[i].c, expect
337 showADiffB(const USet *a, const USet *b, const char *a_name, const char *b_name, UBool expect, UBool diffIsError) argument
[all...]
H A Dccapitst.c1109 log_data_err("Flush Cache failed [line %d], expect 0 got %d \n", __LINE__, flushCount);
1118 log_data_err("Flush Cache failed [line %d], expect 0 got %d \n", __LINE__, flushCount);
1149 /* Predetermined aliases that we expect to map back to ISO_2022
1187 " has no aliases; expect at least one\n",
1265 /* Check a list of predetermined aliases that we expect to map
1274 log_err("FAIL: \"%s\" -> \"%s\", expect \"ISO_2022,locale=ja,version=2\"\n",
1287 log_err("FAIL: \"%s\" -> \"%s\", expect UTF-8\n",
1293 * Check a list of predetermined aliases that we expect to map
1304 log_err("FAIL: \"%s\" -> \"%s\", expect %s\n",
2121 /* expect
2564 char utf8[600], expect[600]; local
[all...]
H A Dcreststn.c467 const char* expect ="tab:\t cr:\r ff:\f newline:\n backslash:\\\\ quote=\\\' doubleQuote=\\\" singlequoutes=''"; local
586 u_charsToUChars(expect,uExpect,(int32_t)strlen(expect)+1);
640 expect ="test message ....";
641 u_charsToUChars(expect,uExpect,(int32_t)strlen(expect)+1);
3084 log_data_err("CLDR version is too old, expect at least %s.", tmp);
H A Dnccbtst.c2623 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
2764 printSeq(expect, expectLen);
2780 printSeqErr(expect, expectLen);
2803 if(!memcmp(junkout, expect, expectLen))
2816 printSeqErr(expect, expectLen);
2821 UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument
2960 printUSeq(expect, expectlen);
2996 if(!memcmp(junkout, expect, expectlen*2))
3008 printUSeqErr(expect, expectlen);
3014 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, in argument
3194 testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) argument
[all...]
/external/icu/icu4c/source/tools/genrb/
H A Dparse.cpp240 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) function
273 expect(state, TOK_STRING, &tokenValue, comment, line, status);
317 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
340 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status);
458 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
481 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status);
531 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
580 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status);
596 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
601 doesn't survive expect eithe
[all...]
/external/littlemock/src/com/google/testing/littlemock/
H A DLittleMock.java210 expect(mMethodCalls.isEmpty(), "Mock expected zero interactions, had " + mMethodCalls);
688 expect(mHowManyTimes != null, "verifying mock doesn't know how many times");
710 expect(mStubbingAction != null, "stubbing mock doesn't know what action to perform");
959 /** Call this function when you don't expect there to be any outstanding matcher objects. */
1080 private static void expect(boolean result, String message) { method in class:LittleMock
/external/lldb/test/
H A Dlldbtest.py933 By default, expect a pexpect spawned child and child prompt to be
1080 self.child.expect(pexpect.EOF)
1470 - The instance methods runCmd and expect are used heavily by existing
1473 expect method also provides a mode to peform string/pattern matching
1678 Otherwise, all the arguments have the same meanings as for the expect function"""
1718 def expect(self, str, msg=None, patterns=None, startstr=None, endstr=None, substrs=None, trace=False, error=False, matching=True, exe=True, inHistory=False): member in class:TestBase
1720 Similar to runCmd; with additional expect style output matching ability.
1724 message. We expect the output from running the command to start with

Completed in 461 milliseconds

1234567