Home
last modified time | relevance | path

Searched refs:Isolate (Results 1 – 25 of 208) sorted by relevance

123456789

/third_party/node/src/
Dnode.h132 NODE_EXTERN v8::Local<v8::Value> ErrnoException(v8::Isolate* isolate,
137 NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
150 return ErrnoException(v8::Isolate::GetCurrent(),
162 return UVException(v8::Isolate::GetCurrent(),
178 v8::Isolate* isolate,
185 v8::Isolate* isolate,
192 v8::Isolate* isolate,
297 virtual bool FlushForegroundTasks(v8::Isolate* isolate) = 0;
298 virtual void DrainTasks(v8::Isolate* isolate) = 0;
303 virtual void CancelPendingDelayedTasks(v8::Isolate* isolate);
[all …]
Dnode_env_var.cc17 using v8::Isolate;
36 MaybeLocal<String> Get(Isolate* isolate, Local<String> key) const override;
38 void Set(Isolate* isolate, Local<String> key, Local<String> value) override;
39 int32_t Query(Isolate* isolate, Local<String> key) const override;
41 void Delete(Isolate* isolate, Local<String> key) override;
42 Local<Array> Enumerate(Isolate* isolate) const override;
47 MaybeLocal<String> Get(Isolate* isolate, Local<String> key) const override;
49 void Set(Isolate* isolate, Local<String> key, Local<String> value) override;
50 int32_t Query(Isolate* isolate, Local<String> key) const override;
52 void Delete(Isolate* isolate, Local<String> key) override;
[all …]
Dnode_platform.h58 PerIsolatePlatformData(v8::Isolate* isolate, uv_loop_t* loop);
103 v8::Isolate* const isolate_;
144 void DrainTasks(v8::Isolate* isolate) override;
152 bool IdleTasksEnabled(v8::Isolate* isolate) override;
156 bool FlushForegroundTasks(v8::Isolate* isolate) override;
158 void RegisterIsolate(v8::Isolate* isolate, uv_loop_t* loop) override;
159 void RegisterIsolate(v8::Isolate* isolate,
162 void UnregisterIsolate(v8::Isolate* isolate) override;
163 void AddIsolateFinishedCallback(v8::Isolate* isolate,
167 v8::Isolate* isolate) override;
[all …]
Dstring_bytes.h67 static v8::Maybe<size_t> StorageSize(v8::Isolate* isolate,
73 static v8::Maybe<size_t> Size(v8::Isolate* isolate,
81 static size_t Write(v8::Isolate* isolate,
89 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
99 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
104 static v8::MaybeLocal<v8::Value> Encode(v8::Isolate* isolate,
117 static size_t WriteUCS2(v8::Isolate* isolate,
Dnode_buffer.h44 NODE_EXTERN v8::MaybeLocal<v8::Object> Copy(v8::Isolate* isolate,
49 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
52 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
57 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
64 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
69 NODE_EXTERN v8::MaybeLocal<v8::Uint8Array> New(v8::Isolate* isolate,
Dnode_watchdog.h47 explicit Watchdog(v8::Isolate* isolate,
51 v8::Isolate* isolate() { return isolate_; } in isolate()
57 v8::Isolate* isolate_;
73 explicit SigintWatchdog(v8::Isolate* isolate,
76 v8::Isolate* isolate() { return isolate_; } in isolate()
80 v8::Isolate* isolate_;
Dstring_bytes.cc43 using v8::Isolate;
74 static MaybeLocal<Value> NewFromCopy(Isolate* isolate, in NewFromCopy()
98 static MaybeLocal<Value> New(Isolate* isolate, in New()
126 inline Isolate* isolate() const { return isolate_; } in isolate()
129 ExternString(Isolate* isolate, const TypeName* data, size_t length) in ExternString()
131 static MaybeLocal<Value> NewExternal(Isolate* isolate,
135 static MaybeLocal<Value> NewSimpleFromCopy(Isolate* isolate,
140 Isolate* isolate_;
154 Isolate* isolate, ExternOneByteString* h_str) { in NewExternal()
161 Isolate* isolate, ExternTwoByteString* h_str) { in NewExternal()
[all …]
Dnode_main_instance.cc20 using v8::Isolate;
25 NodeMainInstance::NodeMainInstance(Isolate* isolate, in NodeMainInstance()
45 Isolate* isolate, in Create()
55 Isolate::CreateParams* params, in NodeMainInstance()
69 isolate_ = Isolate::Allocate(); in NodeMainInstance()
75 Isolate::Initialize(isolate_, *params); in NodeMainInstance()
111 Isolate::Scope isolate_scope(isolate_); in Run()
Dnode_internals.h82 void PrintStackTrace(v8::Isolate* isolate, v8::Local<v8::StackTrace> stack);
83 void PrintCaughtException(v8::Isolate* isolate,
235 explicit inline DebugSealHandleScope(v8::Isolate* isolate = nullptr)
237 : actual_scope_(isolate != nullptr ? isolate : v8::Isolate::GetCurrent())
287 v8::Isolate* NewIsolate(v8::Isolate::CreateParams* params,
310 void SetIsolateErrorHandlers(v8::Isolate* isolate, const IsolateSettings& s);
311 void SetIsolateMiscHandlers(v8::Isolate* isolate, const IsolateSettings& s);
312 void SetIsolateCreateParamsForNode(v8::Isolate::CreateParams* params);
334 int WriteFileSync(v8::Isolate* isolate,
362 bool WriteSnapshot(v8::Isolate* isolate, const char* filename);
Dnode_main_instance.h39 v8::Isolate* isolate,
49 v8::Isolate::CreateParams* params,
77 NodeMainInstance(v8::Isolate* isolate,
86 v8::Isolate* isolate_;
Dnode_errors.h73 v8::Isolate* isolate, const char* format, Args&&... args) { \
89 v8::Isolate* isolate, const char* format, Args&&... args) { \
143 inline v8::Local<v8::Value> code(v8::Isolate* isolate) { \
146 inline void THROW_ ## code(v8::Isolate* isolate) { \
164 inline v8::Local<v8::Value> ERR_BUFFER_TOO_LARGE(v8::Isolate* isolate) { in ERR_BUFFER_TOO_LARGE()
172 inline v8::Local<v8::Value> ERR_STRING_TOO_LONG(v8::Isolate* isolate) { in ERR_STRING_TOO_LONG()
221 void TriggerUncaughtException(v8::Isolate* isolate,
223 void TriggerUncaughtException(v8::Isolate* isolate,
Dutil.cc58 using v8::Isolate;
64 static void MakeUtf8String(Isolate* isolate, in MakeUtf8String()
81 Utf8Value::Utf8Value(Isolate* isolate, Local<Value> value) { in Utf8Value()
89 TwoByteValue::TwoByteValue(Isolate* isolate, Local<Value> value) { in TwoByteValue()
106 BufferValue::BufferValue(Isolate* isolate, Local<Value> value) { in BufferValue()
131 auto isolate = Isolate::GetCurrent(); in LowMemoryNotification()
181 void ThrowErrStringTooLong(Isolate* isolate) { in ThrowErrStringTooLong()
216 int WriteFileSync(v8::Isolate* isolate, in WriteFileSync()
Dnode_platform.cc12 using v8::Isolate;
223 Isolate* isolate, uv_loop_t* loop) in PerIsolatePlatformData()
346 void NodePlatform::RegisterIsolate(Isolate* isolate, uv_loop_t* loop) { in RegisterIsolate()
356 void NodePlatform::RegisterIsolate(Isolate* isolate, in RegisterIsolate()
365 void NodePlatform::UnregisterIsolate(Isolate* isolate) { in UnregisterIsolate()
376 void NodePlatform::AddIsolateFinishedCallback(Isolate* isolate, in AddIsolateFinishedCallback()
435 void NodePlatform::DrainTasks(Isolate* isolate) { in DrainTasks()
495 IsolatePlatformDelegate* NodePlatform::ForIsolate(Isolate* isolate) { in ForIsolate()
503 NodePlatform::ForNodeIsolate(Isolate* isolate) { in ForNodeIsolate()
510 bool NodePlatform::FlushForegroundTasks(Isolate* isolate) { in FlushForegroundTasks()
[all …]
/third_party/node/test/cctest/
Dtest_platform.cc14 v8::Isolate* isolate, in RepostingTask()
36 v8::Isolate* isolate_;
43 v8::Isolate::Scope isolate_scope(isolate_); in TEST_F()
65 v8::Isolate::CreateParams create_params; in TEST_F()
67 auto isolate = v8::Isolate::Allocate(); in TEST_F()
75 v8::Isolate::Initialize(isolate, create_params); in TEST_F()
79 v8::Isolate::Scope isolate_scope(isolate); in TEST_F()
113 v8::Isolate::Scope isolate_scope(isolate_); in TEST_F()
/third_party/node/src/api/
Denvironment.cc22 using v8::Isolate;
40 bool ShouldAbortOnUncaughtException(Isolate* isolate) { in ShouldAbortOnUncaughtException()
202 void SetIsolateCreateParamsForNode(Isolate::CreateParams* params) { in SetIsolateCreateParamsForNode()
215 void SetIsolateErrorHandlers(v8::Isolate* isolate, const IsolateSettings& s) { in SetIsolateErrorHandlers()
219 Isolate::MessageErrorLevel::kMessageError | in SetIsolateErrorHandlers()
220 Isolate::MessageErrorLevel::kMessageWarning); in SetIsolateErrorHandlers()
238 void SetIsolateMiscHandlers(v8::Isolate* isolate, const IsolateSettings& s) { in SetIsolateMiscHandlers()
255 void SetIsolateUpForNode(v8::Isolate* isolate, in SetIsolateUpForNode()
261 void SetIsolateUpForNode(v8::Isolate* isolate) { in SetIsolateUpForNode()
266 Isolate* NewIsolate(ArrayBufferAllocator* allocator, uv_loop_t* event_loop) { in NewIsolate()
[all …]
Dencoding.cc9 using v8::Isolate;
109 enum encoding ParseEncoding(Isolate* isolate, in ParseEncoding()
122 Local<Value> Encode(Isolate* isolate, in Encode()
132 Local<Value> Encode(Isolate* isolate, const uint16_t* buf, size_t len) { in Encode()
139 ssize_t DecodeBytes(Isolate* isolate, in DecodeBytes()
148 ssize_t DecodeWrite(Isolate* isolate, in DecodeWrite()
Dhooks.cc11 using v8::Isolate;
122 void AddEnvironmentCleanupHook(Isolate* isolate, in AddEnvironmentCleanupHook()
130 void RemoveEnvironmentCleanupHook(Isolate* isolate, in RemoveEnvironmentCleanupHook()
154 Isolate* isolate, in AddEnvironmentCleanupHook()
175 async_id AsyncHooksGetExecutionAsyncId(Isolate* isolate) { in AsyncHooksGetExecutionAsyncId()
181 async_id AsyncHooksGetTriggerAsyncId(Isolate* isolate) { in AsyncHooksGetTriggerAsyncId()
188 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit()
199 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit()
223 void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) { in EmitAsyncDestroy()
Dcallback.cc12 using v8::Isolate;
20 CallbackScope::CallbackScope(Isolate* isolate, in CallbackScope()
218 MaybeLocal<Value> MakeCallback(Isolate* isolate, in MakeCallback()
229 MaybeLocal<Value> MakeCallback(Isolate* isolate, in MakeCallback()
252 MaybeLocal<Value> MakeCallback(Isolate* isolate, in MakeCallback()
280 Local<Value> MakeCallback(Isolate* isolate, in MakeCallback()
291 Local<Value> MakeCallback(Isolate* isolate, in MakeCallback()
302 Local<Value> MakeCallback(Isolate* isolate, in MakeCallback()
/third_party/cef/libcef/renderer/
Dv8_impl.cc61 v8::Isolate* isolate = context->GetIsolate(); in SetPrivate()
75 v8::Isolate* isolate = context->GetIsolate(); in GetPrivate()
89 : isolate_(v8::Isolate::GetCurrent()), in CefV8IsolateManager()
97 DCHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in ~CefV8IsolateManager()
103 DCHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in GetContextState()
125 DCHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in ReleaseContext()
137 DCHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in AddGlobalTrackObject()
142 DCHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in DeleteGlobalTrackObject()
164 v8::Isolate* isolate() const { return isolate_; } in isolate()
174 v8::Isolate* isolate_;
[all …]
Dv8_impl.h105 v8::Isolate* isolate() const { return isolate_; } in isolate()
118 CefV8HandleBase(v8::Isolate* isolate, v8::Local<v8::Context> context);
122 v8::Isolate* isolate_;
135 CefV8Handle(v8::Isolate* isolate, in CefV8Handle()
163 CefV8ContextImpl(v8::Isolate* isolate, v8::Local<v8::Context> context);
199 explicit CefV8ValueImpl(v8::Isolate* isolate);
200 CefV8ValueImpl(v8::Isolate* isolate,
294 Handle(v8::Isolate* isolate,
329 v8::Isolate* isolate_;
364 CefV8StackTraceImpl(v8::Isolate* isolate, v8::Local<v8::StackTrace> handle);
[all …]
/third_party/node/tools/code_cache/
Dmkcodecache.cc16 using v8::Isolate;
51 Isolate::CreateParams create_params;
54 Isolate* isolate = Isolate::New(create_params);
56 Isolate::Scope isolate_scope(isolate);
/third_party/node/test/addons/async-resource/
Dbinding.cc13 using v8::Isolate;
24 CustomAsyncResource(Isolate* isolate, Local<Object> resource) in CustomAsyncResource()
32 Isolate* isolate = args.GetIsolate(); in CreateAsyncResource()
53 Isolate* isolate = args.GetIsolate(); in CallViaFunction()
70 Isolate* isolate = args.GetIsolate(); in CallViaString()
83 Isolate* isolate = args.GetIsolate(); in CallViaUtf8Name()
111 Isolate* isolate = args.GetIsolate(); in RunSubclassTest()
/third_party/node/test/addons/buffer-free-callback/
Dbinding.cc15 v8::Isolate* isolate = args.GetIsolate(); in Alloc()
33 v8::Isolate* isolate = args.GetIsolate(); in Check()
35 v8::Isolate::kFullGarbageCollection); in Check()
/third_party/flutter/flutter/packages/fuchsia_remote_debug_protocol/test/src/dart/
Ddart_vm_test.dart72 'type': '@Isolate',
83 'type': '@Isolate',
130 'type': '@Isolate',
141 'type': '@Isolate',
186 'type': '@Isolate',
227 'type': '@Isolate',
234 'type': '@Isolate',
241 'type': '@Isolate',
248 'type': '@Isolate',
286 'type': '@Isolate',
/third_party/node/test/addons/callback-scope/
Dbinding.cc12 v8::Isolate* isolate = args.GetIsolate(); in RunInCallbackScope()
36 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in Callback()
49 v8::Isolate* isolate = args.GetIsolate(); in TestResolveAsync()

123456789