Home
last modified time | relevance | path

Searched refs:v8_isolate (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/wasm/
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 …]
Dwasm-module-sourcemap.h40 WasmModuleSourceMap(v8::Isolate* v8_isolate,
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()
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()
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/
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()
[all …]
Ddebug-scope-iterator.cc17 v8::Isolate* v8_isolate, v8::Local<v8::Function> v8_func) { in CreateForFunction() argument
33 reinterpret_cast<internal::Isolate*>(v8_isolate), function)); in CreateForFunction()
38 v8::Isolate* v8_isolate, v8::Local<v8::Object> v8_generator) { in CreateForGeneratorObject() argument
43 reinterpret_cast<internal::Isolate*>(v8_isolate), in CreateForGeneratorObject()
/third_party/node/deps/v8/src/execution/
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()
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()
Dmicrotask-queue.h117 void PerformCheckpointInternal(v8::Isolate* v8_isolate);
/third_party/node/deps/v8/src/d8/
Dasync-hooks-wrapper.cc246 v8::Isolate* v8_isolate = hooks->isolate_; in PromiseHookDispatch() local
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/heap/
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/runtime/
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()
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->SetModifyCodeGenerationFromStringsCallback( in RUNTIME_FUNCTION()
[all …]
/third_party/node/deps/v8/src/builtins/
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/
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/
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, int length) { in New() argument
[all …]
/third_party/node/deps/v8/src/web-snapshot/
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, &script_source) in DeserializeScript()
[all …]
Dweb-snapshot.h277 WebSnapshotDeserializer(v8::Isolate* v8_isolate, const uint8_t* data,
/third_party/node/deps/v8/src/objects/
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).ToLocal(&object)) { in ReadHostObject()
Djs-locale.cc241 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in ApplyOptionsToTag() local
248 v8::String::Utf8Value bcp47_tag(v8_isolate, v8::Utils::ToLocal(tag)); in ApplyOptionsToTag()
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.cc1299 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in AllocateDeferredConstants() local
1304 v8_isolate, Utils::ToLocal(expr->name())); in AllocateDeferredConstants()