|
V8 Project
|
Collaboration diagram for v8::internal::Differencer:Classes | |
| class | ResultWriter |
Public Member Functions | |
| Differencer (Comparator::Input *input) | |
| ~Differencer () | |
| void | Initialize () |
| void | FillTable () |
| void | SaveResult (Comparator::Output *chunk_writer) |
Private Types | |
| enum | Direction { EQ = 0 , SKIP1 , SKIP2 , SKIP_ANY , MAX_DIRECTION_FLAG_VALUE = SKIP_ANY } |
Private Member Functions | |
| int | CompareUpToTail (int pos1, int pos2) |
| int & | get_cell (int i1, int i2) |
| void | set_value4_and_dir (int i1, int i2, int value4, Direction dir) |
| int | get_value4 (int i1, int i2) |
| Direction | get_direction (int i1, int i2) |
| void | StaticAssertHolder () |
Private Attributes | |
| Comparator::Input * | input_ |
| int * | buffer_ |
| int | len1_ |
| int | len2_ |
Static Private Attributes | |
| static const int | kDirectionSizeBits = 2 |
| static const int | kDirectionMask = (1 << kDirectionSizeBits) - 1 |
| static const int | kEmptyCellValue = ~0u << kDirectionSizeBits |
Definition at line 39 of file liveedit.cc.
|
private |
| Enumerator | |
|---|---|
| EQ | |
| SKIP1 | |
| SKIP2 | |
| SKIP_ANY | |
| MAX_DIRECTION_FLAG_VALUE | |
Definition at line 109 of file liveedit.cc.
|
inlineexplicit |
Definition at line 41 of file liveedit.cc.
|
inline |
Definition at line 45 of file liveedit.cc.
References buffer_, and v8::internal::DeleteArray().
Here is the call graph for this function:Definition at line 120 of file liveedit.cc.
References EQ, v8::internal::Comparator::Input::Equals(), get_value4(), input_, kDirectionSizeBits, kEmptyCellValue, len1_, len2_, set_value4_and_dir(), SKIP1, SKIP2, and SKIP_ANY.
Referenced by FillTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 58 of file liveedit.cc.
References CompareUpToTail().
Referenced by v8::internal::Comparator::CalculateDifference().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 158 of file liveedit.cc.
References buffer_, and len1_.
Referenced by get_direction(), get_value4(), and set_value4_and_dir().
Here is the caller graph for this function:Definition at line 171 of file liveedit.cc.
References get_cell(), and kDirectionMask.
Referenced by SaveResult().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 168 of file liveedit.cc.
References get_cell(), kDirectionMask, and v8::internal::kMaxUInt32.
Referenced by CompareUpToTail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 49 of file liveedit.cc.
References buffer_, kEmptyCellValue, len1_, and len2_.
Referenced by v8::internal::Comparator::CalculateDifference().
Here is the caller graph for this function:
|
inline |
Definition at line 62 of file liveedit.cc.
References v8::internal::Differencer::ResultWriter::close(), EQ, v8::internal::Differencer::ResultWriter::eq(), get_direction(), len1_, len2_, SKIP1, v8::internal::Differencer::ResultWriter::skip1(), SKIP2, v8::internal::Differencer::ResultWriter::skip2(), SKIP_ANY, and UNREACHABLE.
Referenced by v8::internal::Comparator::CalculateDifference().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 163 of file liveedit.cc.
References DCHECK, get_cell(), and kDirectionMask.
Referenced by CompareUpToTail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 181 of file liveedit.cc.
References kDirectionSizeBits, MAX_DIRECTION_FLAG_VALUE, and v8::internal::STATIC_ASSERT().
Here is the call graph for this function:
|
private |
Definition at line 105 of file liveedit.cc.
Referenced by Differencer(), get_cell(), Initialize(), and ~Differencer().
|
private |
Definition at line 104 of file liveedit.cc.
Referenced by CompareUpToTail().
|
staticprivate |
Definition at line 176 of file liveedit.cc.
Referenced by get_direction(), get_value4(), and set_value4_and_dir().
|
staticprivate |
Definition at line 175 of file liveedit.cc.
Referenced by CompareUpToTail(), and StaticAssertHolder().
|
staticprivate |
Definition at line 177 of file liveedit.cc.
Referenced by CompareUpToTail(), and Initialize().
|
private |
Definition at line 106 of file liveedit.cc.
Referenced by CompareUpToTail(), Differencer(), get_cell(), Initialize(), and SaveResult().
|
private |
Definition at line 107 of file liveedit.cc.
Referenced by CompareUpToTail(), Differencer(), Initialize(), and SaveResult().