Home
last modified time | relevance | path

Searched refs:v8_isolate (Results 1 - 23 of 23) sorted by relevance

/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-sourcemap.cc24 WasmModuleSourceMap::WasmModuleSourceMap(v8::Isolate* v8_isolate, in WasmModuleSourceMap() argument
26 v8::HandleScope scope(v8_isolate); in WasmModuleSourceMap()
27 v8::Local<v8::Context> context = v8::Context::New(v8_isolate); in WasmModuleSourceMap()
37 ->Get(context, v8::String::NewFromUtf8Literal(v8_isolate, "version")) in WasmModuleSourceMap()
47 ->Get(context, v8::String::NewFromUtf8Literal(v8_isolate, "sources")) in WasmModuleSourceMap()
56 ->Get(context, v8::String::NewFromUtf8Literal(v8_isolate, "length")) in WasmModuleSourceMap()
69 auto file_name_sz = file_name->Utf8Length(v8_isolate); in WasmModuleSourceMap()
71 file_name->WriteUtf8(v8_isolate, file_name_buf.get()); in WasmModuleSourceMap()
78 ->Get(context, v8::String::NewFromUtf8Literal(v8_isolate, "mappings")) in WasmModuleSourceMap()
84 int mappings_sz = mappings->Utf8Length(v8_isolate); in WasmModuleSourceMap()
[all...]
H A Dwasm-module-sourcemap.h40 WasmModuleSourceMap(v8::Isolate* v8_isolate,
H A Dwasm-engine.cc357 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in IsolateInfo() local
359 foreground_task_runner = platform->GetForegroundTaskRunner(v8_isolate); in IsolateInfo()
1030 auto callback = [](v8::Isolate* v8_isolate, v8::GCType type, in AddIsolate()
1032 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in AddIsolate()
H A Dwasm-code-manager.cc276 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in LogCode() local
278 load_wasm_source_map(v8_isolate, external_url_string.c_str()); in LogCode()
280 std::make_unique<WasmModuleSourceMap>(v8_isolate, source_map_str)); in LogCode()
H A Dmodule-compiler.cc2022 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in AsyncCompileJob() local
2024 foreground_task_runner_ = platform->GetForegroundTaskRunner(v8_isolate); in AsyncCompileJob()
/third_party/node/deps/v8/src/debug/
H A Ddebug-interface.cc143 MaybeLocal<Array> GetInternalProperties(Isolate* v8_isolate, in GetInternalProperties() argument
145 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in GetInternalProperties()
302 void SetBreakPointsActive(Isolate* v8_isolate, bool is_active) { in SetBreakPointsActive() argument
303 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in SetBreakPointsActive()
308 void PrepareStep(Isolate* v8_isolate, StepAction action) { in PrepareStep() argument
309 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in PrepareStep()
318 void ClearStepping(Isolate* v8_isolate) { in ClearStepping() argument
319 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in ClearStepping()
325 void BreakRightNow(Isolate* v8_isolate, in BreakRightNow() argument
327 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in BreakRightNow()
333 SetTerminateOnResume(Isolate* v8_isolate) SetTerminateOnResume() argument
339 CanBreakProgram(Isolate* v8_isolate) CanBreakProgram() argument
652 RemoveBreakpoint(Isolate* v8_isolate, BreakpointId id) RemoveBreakpoint() argument
804 GetLoadedScripts(Isolate* v8_isolate, PersistentValueVector<Script>& scripts) GetLoadedScripts() argument
829 CompileInspectorScript(Isolate* v8_isolate, Local<String> source) CompileInspectorScript() argument
851 TierDownAllModulesPerIsolate(Isolate* v8_isolate) TierDownAllModulesPerIsolate() argument
856 TierUpAllModulesPerIsolate(Isolate* v8_isolate) TierUpAllModulesPerIsolate() argument
862 SetDebugDelegate(Isolate* v8_isolate, DebugDelegate* delegate) SetDebugDelegate() argument
867 SetAsyncEventDelegate(Isolate* v8_isolate, AsyncEventDelegate* delegate) SetAsyncEventDelegate() argument
871 ResetBlackboxedStateCache(Isolate* v8_isolate, Local<Script> script) ResetBlackboxedStateCache() argument
885 EstimatedValueSize(Isolate* v8_isolate, Local<Value> value) EstimatedValueSize() argument
921 GetBuiltin(Isolate* v8_isolate, Builtin requested_builtin) GetBuiltin() argument
945 SetConsoleDelegate(Isolate* v8_isolate, ConsoleDelegate* delegate) SetConsoleDelegate() argument
964 CreateMessageFromException( Isolate* v8_isolate, v8::Local<v8::Value> v8_error) CreateMessageFromException() argument
1094 SetReturnValue(v8::Isolate* v8_isolate, v8::Local<v8::Value> value) SetReturnValue() argument
1099 GetNextRandomInt64(v8::Isolate* v8_isolate) GetNextRandomInt64() argument
[all...]
H A Ddebug-scope-iterator.cc17 v8::Isolate* v8_isolate, v8::Local<v8::Function> v8_func) { in CreateForFunction()
33 reinterpret_cast<internal::Isolate*>(v8_isolate), function)); in CreateForFunction()
38 v8::Isolate* v8_isolate, v8::Local<v8::Object> v8_generator) { in CreateForGeneratorObject()
43 reinterpret_cast<internal::Isolate*>(v8_isolate), in CreateForGeneratorObject()
16 CreateForFunction( v8::Isolate* v8_isolate, v8::Local<v8::Function> v8_func) CreateForFunction() argument
37 CreateForGeneratorObject( v8::Isolate* v8_isolate, v8::Local<v8::Object> v8_generator) CreateForGeneratorObject() argument
/third_party/node/deps/v8/src/execution/
H A Dmicrotask-queue.cc80 void MicrotaskQueue::EnqueueMicrotask(v8::Isolate* v8_isolate, in EnqueueMicrotask() argument
82 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in EnqueueMicrotask()
89 void MicrotaskQueue::EnqueueMicrotask(v8::Isolate* v8_isolate, in EnqueueMicrotask() argument
92 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in EnqueueMicrotask()
113 void MicrotaskQueue::PerformCheckpointInternal(v8::Isolate* v8_isolate) { in PerformCheckpointInternal() argument
123 v8_isolate, this, v8::MicrotasksScope::kDoNotRunMicrotasks)); in PerformCheckpointInternal()
125 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in PerformCheckpointInternal()
H A Dfutex-emulation.cc517 auto v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in FutexWaitListNode() local
518 task_runner_ = V8::GetCurrentPlatform()->GetForegroundTaskRunner(v8_isolate); in FutexWaitListNode()
522 promise_.Reset(v8_isolate, local_promise); in FutexWaitListNode()
527 native_context_.Reset(v8_isolate, local_native_context); in FutexWaitListNode()
752 auto v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in CleanupAsyncWaiterPromise() local
756 Utils::OpenHandle(*node->promise_.Get(v8_isolate))); in CleanupAsyncWaiterPromise()
760 Utils::OpenHandle(*node->native_context_.Get(v8_isolate))); in CleanupAsyncWaiterPromise()
780 auto v8_isolate = in ResolveAsyncWaiterPromise() local
796 Local<v8::Context> native_context = node->native_context_.Get(v8_isolate); in ResolveAsyncWaiterPromise()
799 Utils::OpenHandle(*node->promise_.Get(v8_isolate))); in ResolveAsyncWaiterPromise()
[all...]
H A Dmicrotask-queue.h117 void PerformCheckpointInternal(v8::Isolate* v8_isolate);
/third_party/node/deps/v8/src/heap/
H A Dfinalization-registry-cleanup-task.cc62 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RunInternal() local
63 v8::TryCatch catcher(v8_isolate); in RunInternal()
75 v8_isolate, microtask_queue, v8::MicrotasksScope::kDoNotRunMicrotasks)); in RunInternal()
/third_party/node/deps/v8/src/d8/
H A Dasync-hooks-wrapper.cc246 v8::Isolate* v8_isolate = hooks->isolate_; in PromiseHookDispatch()
247 HandleScope handle_scope(v8_isolate); in PromiseHookDispatch()
249 Local<Value> rcv = Undefined(v8_isolate); in PromiseHookDispatch()
250 Local<Context> context = v8_isolate->GetCurrentContext(); in PromiseHookDispatch()
252 promise->GetPrivate(context, hooks->async_id_smb.Get(v8_isolate)) in PromiseHookDispatch()
260 async_id, String::NewFromUtf8Literal(v8_isolate, "PROMISE"), in PromiseHookDispatch()
261 promise->GetPrivate(context, hooks->trigger_id_smb.Get(v8_isolate)) in PromiseHookDispatch()
/third_party/node/deps/v8/src/runtime/
H A Druntime-test-wasm.cc102 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
107 WasmCompileControls& ctrl = (*GetPerIsolateWasmControls())[v8_isolate]; in RUNTIME_FUNCTION()
110 v8_isolate->SetWasmModuleCallback(WasmModuleOverride); in RUNTIME_FUNCTION()
116 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
118 v8_isolate->SetWasmInstanceCallback(WasmInstanceOverride); in RUNTIME_FUNCTION()
261 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
262 v8_isolate->SetAllowWasmCodeGenerationCallback( in RUNTIME_FUNCTION()
H A Druntime-test.cc844 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
845 Local<v8::ObjectTemplate> desc = v8::ObjectTemplate::New(v8_isolate); in RUNTIME_FUNCTION()
849 desc->NewInstance(v8_isolate->GetCurrentContext()).ToLocalChecked(); in RUNTIME_FUNCTION()
866 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
867 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(v8_isolate); in RUNTIME_FUNCTION()
870 v8_isolate->GetCurrentContext(); in RUNTIME_FUNCTION()
872 t->GetFunction(v8_isolate->GetCurrentContext()) in RUNTIME_FUNCTION()
874 ->NewInstance(v8_isolate->GetCurrentContext()) in RUNTIME_FUNCTION()
1323 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
1324 v8_isolate in RUNTIME_FUNCTION()
1713 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); RUNTIME_FUNCTION() local
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-trace.cc50 auto* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in MaybeUtf8() local
51 len = local->Utf8Length(v8_isolate); in MaybeUtf8()
54 local->WriteUtf8(v8_isolate, reinterpret_cast<char*>(buf_)); in MaybeUtf8()
/third_party/node/deps/v8/src/profiler/
H A Dtick-sample.cc157 DISABLE_ASAN void TickSample::Init(Isolate* v8_isolate, in Init() argument
166 if (!GetStackSample(v8_isolate, &regs, record_c_entry_frame, stack, in Init()
206 bool TickSample::GetStackSample(Isolate* v8_isolate, RegisterState* regs, in GetStackSample() argument
212 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in GetStackSample()
/third_party/node/deps/v8/src/api/
H A Dapi.cc890 Value* Eternalize(Isolate* v8_isolate, Value* value) { in Eternalize() argument
891 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in Eternalize()
957 EscapableHandleScope::EscapableHandleScope(Isolate* v8_isolate) { in EscapableHandleScope() argument
958 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in EscapableHandleScope()
961 Initialize(v8_isolate); in EscapableHandleScope()
2099 auto v8_isolate = context->GetIsolate(); in Run() local
2100 auto isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in Run()
2136 reinterpret_cast<i::Isolate*>(v8_isolate), in Run()
2140 Local<Value> result = v8::Undefined(v8_isolate); in Run()
2205 Local<PrimitiveArray> PrimitiveArray::New(Isolate* v8_isolate, in argument
2219 Set(Isolate* v8_isolate, int index, Local<Primitive> item) Set() argument
2232 Get(Isolate* v8_isolate, int index) Get() argument
2488 CompileUnboundInternal( Isolate* v8_isolate, Source* source, CompileOptions options, NoCacheReason no_cache_reason) CompileUnboundInternal() argument
2542 CompileUnboundScript( Isolate* v8_isolate, Source* source, CompileOptions options, NoCacheReason no_cache_reason) CompileUnboundScript() argument
2702 StartStreaming( Isolate* v8_isolate, StreamedSource* source, v8::ScriptType type) StartStreaming() argument
2722 StartConsumingCodeCache( Isolate* v8_isolate, std::unique_ptr<CachedData> cached_data) StartConsumingCodeCache() argument
3152 GetFrame(Isolate* v8_isolate, uint32_t index) const GetFrame() argument
3174 CurrentScriptNameOrSourceURL(Isolate* v8_isolate) CurrentScriptNameOrSourceURL() argument
3302 WriteHostObject(Isolate* v8_isolate, Local<Object> object) WriteHostObject() argument
3311 GetSharedArrayBufferId( Isolate* v8_isolate, Local<SharedArrayBuffer> shared_array_buffer) GetSharedArrayBufferId() argument
3320 GetWasmModuleTransferId( Isolate* v8_isolate, Local<WasmModuleObject> module) GetWasmModuleTransferId() argument
3327 GetSharedValueId( Isolate* v8_isolate, Local<Value> shared_value) GetSharedValueId() argument
3407 ReadHostObject( Isolate* v8_isolate) ReadHostObject() argument
3416 GetWasmModuleFromId( Isolate* v8_isolate, uint32_t id) GetWasmModuleFromId() argument
3427 GetSharedValueFromId( Isolate* v8_isolate, uint32_t shared_value_id) GetSharedValueFromId() argument
3437 GetSharedArrayBufferFromId(Isolate* v8_isolate, uint32_t id) GetSharedArrayBufferFromId() argument
5684 WriteUtf8(Isolate* v8_isolate, char* buffer, int capacity, int* nchars_ref, int options) const WriteUtf8() argument
6899 Concat(Isolate* v8_isolate, Local<String> left, Local<String> right) Concat() argument
7205 New(Isolate* v8_isolate, Local<String> value) New() argument
9611 PerformCheckpoint(Isolate* v8_isolate) PerformCheckpoint() argument
9618 GetCurrentDepth(Isolate* v8_isolate) GetCurrentDepth() argument
9625 IsRunningMicrotasks(Isolate* v8_isolate) IsRunningMicrotasks() argument
9723 Isolate* v8_isolate = reinterpret_cast<Isolate*>(isolate); PreviewEntries() local
[all...]
/third_party/node/deps/v8/src/web-snapshot/
H A Dweb-snapshot.cc263 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in TakeSnapshot() local
269 exports->Get(v8_isolate, i)->ToString(context).ToLocalChecked(); in TakeSnapshot()
293 exports->Get(v8_isolate, i)->ToString(context).ToLocalChecked(); in TakeSnapshot()
449 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in SerializeString() local
451 int length = api_string->Utf8Length(v8_isolate); in SerializeString()
453 api_string->WriteUtf8(v8_isolate, buffer.get(), length); in SerializeString()
1411 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in DeserializeScript() local
1414 v8_isolate, reinterpret_cast<const char*>(deserializer_.position_), in DeserializeScript()
1418 ScriptOrigin origin(v8_isolate, Utils::ToLocal(script_name_)); in DeserializeScript()
1422 if (!ScriptCompiler::CompileUnboundScript(v8_isolate, in DeserializeScript()
[all...]
H A Dweb-snapshot.h277 WebSnapshotDeserializer(v8::Isolate* v8_isolate, const uint8_t* data,
/third_party/node/deps/v8/src/objects/
H A Dvalue-serializer.cc912 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in WriteJSArrayBuffer() local
914 v8_isolate, Utils::ToLocalShared(array_buffer)); in WriteJSArrayBuffer()
1090 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in WriteSharedObject() local
1092 delegate_->GetSharedValueId(v8_isolate, Utils::ToLocal(object)); in WriteSharedObject()
1107 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in WriteHostObject() local
1109 delegate_->WriteHostObject(v8_isolate, Utils::ToLocal(object)); in WriteHostObject()
2217 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in ReadSharedObject() local
2221 !delegate_->GetSharedValueFromId(v8_isolate, shared_value_id) in ReadSharedObject()
2236 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate_); in ReadHostObject() local
2238 if (!delegate_->ReadHostObject(v8_isolate) in ReadHostObject()
[all...]
H A Djs-locale.cc241 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate);
248 v8::String::Utf8Value bcp47_tag(v8_isolate, v8::Utils::ToLocal(tag));
/third_party/node/deps/v8/include/v8-include/
H A Dv8-isolate.h392 explicit SafeForTerminationScope(v8::Isolate* v8_isolate);
/third_party/node/deps/v8/src/interpreter/
H A Dbytecode-generator.cc1299 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in AllocateDeferredConstants() local
1304 v8_isolate, Utils::ToLocal(expr->name())); in AllocateDeferredConstants()

Completed in 60 milliseconds