Home
last modified time | relevance | path

Searched refs:platform_ (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/unittests/
Drun-all-unittests.cc14 DefaultPlatformEnvironment() : platform_(NULL) {} in DefaultPlatformEnvironment()
17 EXPECT_EQ(NULL, platform_); in SetUp()
18 platform_ = v8::platform::CreateDefaultPlatform(); in SetUp()
19 ASSERT_TRUE(platform_ != NULL); in SetUp()
20 v8::V8::InitializePlatform(platform_); in SetUp()
25 ASSERT_TRUE(platform_ != NULL); in TearDown()
28 delete platform_; in TearDown()
29 platform_ = NULL; in TearDown()
33 v8::Platform* platform_; member in __anon984c6b9a0111::DefaultPlatformEnvironment
/external/v8/src/
Dv8.cc36 v8::Platform* V8::platform_ = NULL; member in v8::internal::V8
96 CHECK(!platform_); in InitializePlatform()
98 platform_ = platform; in InitializePlatform()
103 CHECK(platform_); in ShutdownPlatform()
104 platform_ = NULL; in ShutdownPlatform()
109 DCHECK(platform_); in GetCurrentPlatform()
110 return platform_; in GetCurrentPlatform()
114 void V8::SetPlatformForTesting(v8::Platform* platform) { platform_ = platform; } in SetPlatformForTesting()
Dv8.h41 static v8::Platform* platform_; variable
/external/v8/test/cctest/heap/
Dtest-incremental-marking.cc35 : platform_(platform), idle_task_(nullptr), delayed_task_(nullptr) {} in MockPlatform()
43 platform_->CallOnBackgroundThread(task, expected_runtime); in CallOnBackgroundThread()
47 platform_->CallOnForegroundThread(isolate, task); in CallOnForegroundThread()
59 return platform_->MonotonicallyIncreasingTime(); in MonotonicallyIncreasingTime()
111 v8::Platform* platform_; member in v8::internal::MockPlatform
/external/pdfium/testing/
Dembedder_test.cpp54 &platform_); in EmbedderTest()
56 InitializeV8ForPDFium(&platform_); in EmbedderTest()
98 delete platform_; in TearDown()
Dembedder_test.h126 v8::Platform* platform_; variable