Lines Matching refs:platform
5 #include "src/libplatform/default-platform.h"
11 #include "src/base/platform/platform.h"
12 #include "src/base/platform/time.h"
17 namespace platform {
20 v8::Platform* CreateDefaultPlatform(int thread_pool_size) {
21 DefaultPlatform* platform = new DefaultPlatform();
22 platform->SetThreadPoolSize(thread_pool_size);
23 platform->EnsureInitialized();
24 return platform;
28 bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate) {
29 return reinterpret_cast<DefaultPlatform*>(platform)->PumpMessageLoop(isolate);
196 } // namespace platform