Lines Matching refs:CHECK
3 // Check that we can traverse very deep stacks of ConsStrings using
4 // StringInputBuffer. Check that Get(int) works on very deep stacks
175 CHECK(to > from);
206 CHECK(buffer2.has_more());
221 CHECK(buffer2.has_more());
340 // Check that the contents are correct
343 // Check that the rest of the buffer hasn't been touched
492 CHECK(parent->IsConsString());
493 CHECK(!parent->IsFlat());
496 CHECK(parent->IsFlat());
497 CHECK(slice->IsSlicedString());
500 CHECK(SlicedString::cast(*slice)->parent()->IsSeqString());
501 CHECK(slice->IsFlat());
524 CHECK(string->IsExternalString());
526 CHECK(slice->IsSlicedString());
527 CHECK(string->IsExternalString());
529 CHECK(SlicedString::cast(*slice)->parent()->IsExternalString());
530 CHECK(slice->IsFlat());
543 const char* check = "str.slice(0,26)";
548 result = CompileRun(check);
549 CHECK(result->IsString());
551 CHECK(!string->IsSlicedString());
554 CHECK(!string->IsSlicedString());
556 CHECK(result->IsString());
558 CHECK(string->IsSlicedString());
577 CHECK(result->IsString());
579 CHECK(string->IsSlicedString());
580 CHECK(SlicedString::cast(*string)->parent()->IsSeqString());
584 CHECK(result->IsString());
586 CHECK(string->IsSlicedString());
587 CHECK(SlicedString::cast(*string)->parent()->IsSeqString());