v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "api.h"
#include "heap.h"
#include "objects.h"
#include "cctest.h"
Go to the source code of this file.
Functions | |
TEST (WeakArrayBuffersFromApi) | |
TEST (WeakArrayBuffersFromScript) | |
template<typename View > | |
void | TestViewFromApi () |
TEST (Uint8ArrayFromApi) | |
TEST (Int8ArrayFromApi) | |
TEST (Uint16ArrayFromApi) | |
TEST (Int16ArrayFromApi) | |
TEST (Uint32ArrayFromApi) | |
TEST (Int32ArrayFromApi) | |
TEST (Float32ArrayFromApi) | |
TEST (Float64ArrayFromApi) | |
TEST (Uint8ClampedArrayFromApi) | |
TEST (DataViewFromApi) | |
TEST (Uint8ArrayFromScript) | |
TEST (Int8ArrayFromScript) | |
TEST (Uint16ArrayFromScript) | |
TEST (Int16ArrayFromScript) | |
TEST (Uint32ArrayFromScript) | |
TEST (Int32ArrayFromScript) | |
TEST (Float32ArrayFromScript) | |
TEST (Float64ArrayFromScript) | |
TEST (Uint8ClampedArrayFromScript) | |
TEST (DataViewFromScript) | |
TEST | ( | WeakArrayBuffersFromApi | ) |
Definition at line 87 of file test-weaktypedarrays.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), Isolate::heap(), V8::Initialize(), Heap::kAbortIncrementalMarkingMask, ArrayBuffer::New(), Utils::OpenHandle(), v8::internal::s1, and v8::internal::s2.
TEST | ( | WeakArrayBuffersFromScript | ) |
Definition at line 123 of file test-weaktypedarrays.cc.
References Handle< T >::Cast(), CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), Isolate::heap(), V8::Initialize(), Heap::kAbortIncrementalMarkingMask, Utils::OpenHandle(), v8::internal::s1, v8::internal::s2, OS::SNPrintF(), and Vector< T >::start().
TEST | ( | Uint8ArrayFromApi | ) |
Definition at line 218 of file test-weaktypedarrays.cc.
TEST | ( | Int8ArrayFromApi | ) |
Definition at line 223 of file test-weaktypedarrays.cc.
TEST | ( | Uint16ArrayFromApi | ) |
Definition at line 228 of file test-weaktypedarrays.cc.
TEST | ( | Int16ArrayFromApi | ) |
Definition at line 233 of file test-weaktypedarrays.cc.
TEST | ( | Uint32ArrayFromApi | ) |
Definition at line 238 of file test-weaktypedarrays.cc.
TEST | ( | Int32ArrayFromApi | ) |
Definition at line 243 of file test-weaktypedarrays.cc.
TEST | ( | Float32ArrayFromApi | ) |
Definition at line 248 of file test-weaktypedarrays.cc.
TEST | ( | Float64ArrayFromApi | ) |
Definition at line 253 of file test-weaktypedarrays.cc.
TEST | ( | Uint8ClampedArrayFromApi | ) |
Definition at line 258 of file test-weaktypedarrays.cc.
TEST | ( | DataViewFromApi | ) |
Definition at line 263 of file test-weaktypedarrays.cc.
TEST | ( | Uint8ArrayFromScript | ) |
Definition at line 345 of file test-weaktypedarrays.cc.
TEST | ( | Int8ArrayFromScript | ) |
Definition at line 350 of file test-weaktypedarrays.cc.
TEST | ( | Uint16ArrayFromScript | ) |
Definition at line 355 of file test-weaktypedarrays.cc.
TEST | ( | Int16ArrayFromScript | ) |
Definition at line 360 of file test-weaktypedarrays.cc.
TEST | ( | Uint32ArrayFromScript | ) |
Definition at line 365 of file test-weaktypedarrays.cc.
TEST | ( | Int32ArrayFromScript | ) |
Definition at line 370 of file test-weaktypedarrays.cc.
TEST | ( | Float32ArrayFromScript | ) |
Definition at line 375 of file test-weaktypedarrays.cc.
TEST | ( | Float64ArrayFromScript | ) |
Definition at line 380 of file test-weaktypedarrays.cc.
TEST | ( | Uint8ClampedArrayFromScript | ) |
Definition at line 385 of file test-weaktypedarrays.cc.
TEST | ( | DataViewFromScript | ) |
Definition at line 390 of file test-weaktypedarrays.cc.
void TestViewFromApi | ( | ) |
Definition at line 185 of file test-weaktypedarrays.cc.
References CHECK, CHECK_EQ, Heap::CollectAllGarbage(), Context::GetIsolate(), Isolate::heap(), V8::Initialize(), Heap::kAbortIncrementalMarkingMask, ArrayBuffer::New(), Utils::OpenHandle(), v8::internal::s1, v8::internal::s2, and v8::internal::s3.