v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "cctest.h"
#include "platform.h"
#include "utils-inl.h"
Go to the source code of this file.
Functions | |
TEST (Utils1) | |
TEST (SNPrintF) | |
void | TestMemCopy (Vector< byte > src, Vector< byte > dst, int source_alignment, int destination_alignment, int length_alignment) |
TEST (MemCopy) | |
TEST (Collector) | |
TEST (SequenceCollector) | |
TEST (SequenceCollectorRegression) | |
TEST | ( | Utils1 | ) |
Definition at line 39 of file test-utils.cc.
References CHECK_EQ, v8::internal::FastD2I(), v8::internal::FastD2IChecked(), and OS::nan_value().
TEST | ( | SNPrintF | ) |
Definition at line 77 of file test-utils.cc.
References CHECK, CHECK_EQ, Vector< T >::Dispose(), Vector< T >::New(), OS::SNPrintF(), Vector< T >::start(), and v8::internal::StrLength().
TEST | ( | MemCopy | ) |
Definition at line 122 of file test-utils.cc.
References Vector< T >::Dispose(), V8::Initialize(), OS::kMinComplexMemCopy, v8::internal::N, Vector< T >::New(), OS::SetUp(), and TestMemCopy().
TEST | ( | Collector | ) |
Definition at line 155 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), Collector< T, growth_factor, max_growth >::AddBlock(), CHECK_EQ, Vector< T >::Dispose(), Vector< T >::length(), and Collector< T, growth_factor, max_growth >::ToVector().
TEST | ( | SequenceCollector | ) |
Definition at line 185 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), CHECK_EQ, Vector< T >::Dispose(), SequenceCollector< T, growth_factor, max_growth >::EndSequence(), Vector< T >::length(), SequenceCollector< T, growth_factor, max_growth >::StartSequence(), and Collector< T, growth_factor, max_growth >::ToVector().
TEST | ( | SequenceCollectorRegression | ) |
Definition at line 216 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), Collector< T, growth_factor, max_growth >::AddBlock(), CHECK_EQ, SequenceCollector< T, growth_factor, max_growth >::EndSequence(), Vector< T >::length(), Vector< T >::start(), and SequenceCollector< T, growth_factor, max_growth >::StartSequence().
void TestMemCopy | ( | Vector< byte > | src, |
Vector< byte > | dst, | ||
int | source_alignment, | ||
int | destination_alignment, | ||
int | length_alignment | ||
) |
Definition at line 101 of file test-utils.cc.
References CHECK_EQ, OS::kMinComplexMemCopy, Vector< T >::length(), OS::MemCopy(), and Vector< T >::start().
Referenced by TEST().