/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cdtrgtst.c | 478 const char* expect = "7:25:43 AM"; local 494 u_uastrcpy(temp, expect); 496 log_err("Fail: %s != %s\n", austrdup(result), expect); 499 log_verbose("Ok: %s == %s\n", austrdup(result), expect );
|
H A D | ncnvfbts.c | 129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 241 printSeq((const unsigned char*)expect, expectLen); 257 printSeqErr((const unsigned char*)expect, expectLen); 277 if(!memcmp(junkout, expect, expectLen)) 287 printSeqErr((const unsigned char*)expect, expectLen); 292 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument 403 printUSeq(expect, expectlen); 435 if(!memcmp(junkout, expect, expectlen*2)) 446 printUSeqErr(expect, expectlen);
|
H A D | cnormtst.c | 762 UChar input[1000], expect[1000], output[1000]; local 852 expect[expectLength++]=HANGUL_SYLLABLE; 854 expect[expectLength++]=HANGUL_SYLLABLE; 856 expect[expectLength++]=HANGUL_SYLLABLE; 858 expect[expectLength++]=HANGUL_SYLLABLE; 860 expect[expectLength++]=HANGUL_SYLLABLE; 862 expect[expectLength++]=HANGUL_SYLLABLE; 864 expect[expectLength++]=HANGUL_SYLLABLE; 866 expect[expectLength++]=HANGUL_SYLLABLE; 868 expect[expectLengt 970 expect[]={ local 1036 const UChar *expect, *outLimit, *in; local 1439 UChar expect[12]; member in struct:__anon12242 [all...] |
H A D | custrtst.c | 1095 static const UChar expect[]={ local 1101 static const int32_t explength = sizeof(expect)/sizeof(expect[0])-1; 1106 if(length!=explength || u_strcmp(buffer, expect)!=0) { 1113 if(length!=explength || u_strcmp(buffer, expect)!=0) {
|
H A D | ncnvtst.c | 42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, 47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 49 static UBool testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 989 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 1044 printSeqErr((const unsigned char*)expect, expectLen); 1048 if(memcmp(buffer, expect, expectLen)){ 1053 printSeqErr((const unsigned char *)expect, expectLen); 1078 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, argument 1159 if(memcmp(buffer, expect, expectLe 1175 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument 1347 testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testReset) argument [all...] |
/external/chromium_org/third_party/jinja2/ |
H A D | lexer.py | 360 def expect(self, expr): member in class:TokenStream
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
H A D | nasm-parse.c | 212 #define expect(token) expect_(parser_nasm, token) macro 279 /* All parse_* functions expect to be called with curtok being their first 301 if (!expect(INTNUM)) return NULL; 305 if (!expect('+')) return NULL; 308 if (!expect(INTNUM)) return NULL; 312 if (!expect(FILENAME)) return NULL; 336 if (!expect(DIRECTIVE_NAME)) 352 expect(']'); 380 expect(']'); 661 if (!expect(',')) { [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interface_ann.cc | 77 ExpectRace expect; member in struct:__tsan::DynamicAnnContext 146 InitList(&dyn_ann_ctx->expect); 152 if (CheckContains(&dyn_ann_ctx->expect, addr, size)) 306 while (dyn_ann_ctx->expect.next != &dyn_ann_ctx->expect) { 307 ExpectRace *race = dyn_ann_ctx->expect.next; 353 AddExpectRace(&dyn_ann_ctx->expect,
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | ByteStreamsTest.java | 162 private void equalHelper(boolean expect, int size1, int size2) argument 164 equalHelper(expect, newPreFilledByteArray(size1), 168 private void equalHelper(boolean expect, byte[] a, byte[] b) argument 170 assertEquals(expect, ByteStreams.equal( 468 private void skipHelper(long n, int expect, InputStream in) argument 471 assertEquals(expect, in.read()); 790 * @param expectRead the number of bytes we expect to read
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 478 const char* expect = "7:25:43 AM"; local 494 u_uastrcpy(temp, expect); 496 log_err("Fail: %s != %s\n", austrdup(result), expect); 499 log_verbose("Ok: %s == %s\n", austrdup(result), expect );
|
H A D | custrtst.c | 1091 static const UChar expect[]={ local 1097 static const int32_t explength = sizeof(expect)/sizeof(expect[0])-1; 1102 if(length!=explength || u_strcmp(buffer, expect)!=0) { 1109 if(length!=explength || u_strcmp(buffer, expect)!=0) {
|
H A D | ncnvfbts.c | 129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 241 printSeq((const unsigned char*)expect, expectLen); 257 printSeqErr((const unsigned char*)expect, expectLen); 277 if(!memcmp(junkout, expect, expectLen)) 287 printSeqErr((const unsigned char*)expect, expectLen); 292 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, argument 403 printUSeq(expect, expectlen); 435 if(!memcmp(junkout, expect, expectlen*2)) 446 printUSeqErr(expect, expectlen);
|
H A D | cnormtst.c | 762 UChar input[1000], expect[1000], output[1000]; local 852 expect[expectLength++]=HANGUL_SYLLABLE; 854 expect[expectLength++]=HANGUL_SYLLABLE; 856 expect[expectLength++]=HANGUL_SYLLABLE; 858 expect[expectLength++]=HANGUL_SYLLABLE; 860 expect[expectLength++]=HANGUL_SYLLABLE; 862 expect[expectLength++]=HANGUL_SYLLABLE; 864 expect[expectLength++]=HANGUL_SYLLABLE; 866 expect[expectLength++]=HANGUL_SYLLABLE; 868 expect[expectLengt 970 expect[]={ local 1036 const UChar *expect, *outLimit, *in; local 1439 UChar expect[12]; member in struct:__anon22041 [all...] |
H A D | ncnvtst.c | 42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, 47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 49 static UBool testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 1007 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument 1062 printSeqErr((const unsigned char*)expect, expectLen); 1066 if(memcmp(buffer, expect, expectLen)){ 1071 printSeqErr((const unsigned char *)expect, expectLen); 1096 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, argument 1177 if(memcmp(buffer, expect, expectLe 1193 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument 1365 testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testReset) argument [all...] |
/external/safe-iop/src/ |
H A D | safe_iop.c | 169 expect++; \ 175 expect++; \ 178 static int expect = 0, expect_succ = 0, expect_fail = 0; variable 1172 expect_succ, expect, expect_fail);
|
/external/valgrind/main/exp-sgcheck/ |
H A D | pc_common.c | 127 HChar expect[128]; member in struct:__anon32795::__anon32796::__anon32797 159 HChar* expect, HChar* actual, HChar* delta ) 166 VG_(strncpy)( &xe.XE.SorG.expect[0], 167 expect, sizeof(xe.XE.SorG.expect) ); 172 xe.XE.SorG.expect[ sizeof(xe.XE.SorG.expect)-1 ] = 0; 239 && 0 == VG_(strncmp)( &xe1->XE.SorG.expect[0], 240 &xe2->XE.SorG.expect[0], 241 sizeof(xe1->XE.SorG.expect) ) 157 sg_record_error_SorG( ThreadId tid, Addr addr, SSizeT sszB, HChar* expect, HChar* actual, HChar* delta ) argument [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | restsnew.cpp | 1018 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 D | tstnorm.cpp | 370 ", 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 D | ustrtest.cpp | 583 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);
|
/external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/ |
H A D | howExpensiveIs.cpp | 281 NumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) argument 283 fExpect(expect), 333 AttrNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE, UNumberFormatAttribute attr, int32_t newValue) argument 334 : NumTest(pat,num,expect,FILE,LINE), 361 NOXNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE /*, UNumberFormatAttribute attr, int32_t newValue */) argument 362 : NumTest(pat,num,expect,FILE,LINE) /* , 409 NumFmtTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) argument 411 fExpect(expect), 486 NumFmtInt64Test(const char *pat, const char *num, int64_t expect, const char *FILE, int LINE) argument 488 fExpect(expect), 566 NumFmtStringPieceTest(const char *pat, const char *num, const StringPiece& expect, const char *FILE, int LINE) argument [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
H A D | parse.cpp | 218 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) function 251 expect(state, TOK_STRING, &tokenValue, comment, line, status); 295 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); 318 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); 436 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); 459 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); 509 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); 558 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); 574 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status); 579 doesn't survive expect eithe [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
H A D | compute.c | 230 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/yasm/source/patched-yasm/modules/parsers/gas/ |
H A D | gas-parse.c | 171 #define expect(token) expect_(parser_gas, token) macro 262 We expect a positive integer (line) followed by a string (filename). If we 364 We expect a positive integer (line) followed by a plus sign, followed by 379 if (!expect(INTNUM)) return; 402 if (!expect('+')) return; 406 if (!expect(INTNUM)) return; 423 if (!expect(STRING)) { 460 if (!expect(INTNUM)) return NULL; 522 if (!expect(INTNUM)) return NULL; 529 if (!expect(INTNU [all...] |
/external/chromium_org/v8/test/cctest/compiler/ |
H A D | test-run-machops.cc | 3081 int32_t expect = *i; local 3082 CHECK_EQ(expect, m.Call(expect)); 3083 CHECK_EQ(static_cast<double>(expect), output); 3098 uint32_t expect = *i; local 3099 CHECK_EQ(expect, m.Call(expect)); 3100 CHECK_EQ(static_cast<double>(expect), output); 3134 int32_t expect = *i; local 3135 CHECK_EQ(expect, 3144 int32_t expect = static_cast<int32_t>(input); local 3151 int32_t expect = static_cast<int32_t>(input); local 3176 int32_t expect = static_cast<int32_t>(*i); local 3186 int32_t expect = static_cast<int32_t>(static_cast<uint32_t>(input)); local 3193 int32_t expect = static_cast<int32_t>(static_cast<uint32_t>(input)); local [all...] |
H A D | test-simplified-lowering.cc | 564 E expect = local 566 CHECK_EQ(expect, a.GetElement(j));
|