Lines Matching refs:Shell
178 bool FindInObjectList(Local<Object> object, const Shell::ObjectList& list) { in FindInObjectList()
233 friend class Shell;
249 CounterMap* Shell::counter_map_;
250 base::OS::MemoryMappedFile* Shell::counters_file_ = NULL;
251 CounterCollection Shell::local_counters_;
252 CounterCollection* Shell::counters_ = &local_counters_;
253 base::LazyMutex Shell::context_mutex_;
254 const base::TimeTicks Shell::kInitialTicks =
256 Global<Function> Shell::stringify_function_;
257 base::LazyMutex Shell::workers_mutex_;
258 bool Shell::allow_new_workers_ = true;
259 i::List<Worker*> Shell::workers_;
260 i::List<SharedArrayBuffer::Contents> Shell::externalized_shared_contents_;
263 Global<Context> Shell::evaluation_context_;
264 ArrayBuffer::Allocator* Shell::array_buffer_allocator;
265 ShellOptions Shell::options;
266 base::OnceType Shell::quit_once_ = V8_ONCE_INIT;
278 const char* Shell::ToCString(const v8::String::Utf8Value& value) { in ToCString()
298 create_params.array_buffer_allocator = Shell::array_buffer_allocator; in CompileForCachedData()
336 MaybeLocal<Script> Shell::CompileString( in CompileString()
372 bool Shell::ExecuteString(Isolate* isolate, Local<String> source, in ExecuteString()
386 if (!Shell::CompileString(isolate, source, name, options.compile_options, in ExecuteString()
477 void Shell::PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args) { in PerformanceNow()
490 void Shell::RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmCurrent()
500 void Shell::RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmOwner()
518 void Shell::RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmGlobal()
526 MaybeLocal<Context> Shell::CreateRealm( in CreateRealm()
553 void Shell::RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmCreate()
559 void Shell::RealmCreateAllowCrossRealmAccess( in RealmCreateAllowCrossRealmAccess()
569 void Shell::RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmDispose()
586 void Shell::RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmSwitch()
596 void Shell::RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args) { in RealmEval()
625 void Shell::RealmSharedGet(Local<String> property, in RealmSharedGet()
633 void Shell::RealmSharedSet(Local<String> property, in RealmSharedSet()
642 void Shell::Print(const v8::FunctionCallbackInfo<v8::Value>& args) { in Print()
649 void Shell::Write(const v8::FunctionCallbackInfo<v8::Value>& args) { in Write()
680 void Shell::Read(const v8::FunctionCallbackInfo<v8::Value>& args) { in Read()
695 Local<String> Shell::ReadFromStdin(Isolate* isolate) { in ReadFromStdin()
732 void Shell::Load(const v8::FunctionCallbackInfo<v8::Value>& args) { in Load()
758 void Shell::WorkerNew(const v8::FunctionCallbackInfo<v8::Value>& args) { in WorkerNew()
799 void Shell::WorkerPostMessage(const v8::FunctionCallbackInfo<v8::Value>& args) { in WorkerPostMessage()
849 void Shell::WorkerGetMessage(const v8::FunctionCallbackInfo<v8::Value>& args) { in WorkerGetMessage()
861 if (Shell::DeserializeValue(isolate, *data, &offset).ToLocal(&data_value)) { in WorkerGetMessage()
869 void Shell::WorkerTerminate(const v8::FunctionCallbackInfo<v8::Value>& args) { in WorkerTerminate()
882 void Shell::QuitOnce(v8::FunctionCallbackInfo<v8::Value>* args) { in QuitOnce()
894 void Shell::Quit(const v8::FunctionCallbackInfo<v8::Value>& args) { in Quit()
900 void Shell::Version(const v8::FunctionCallbackInfo<v8::Value>& args) { in Version()
907 void Shell::ReportException(Isolate* isolate, v8::TryCatch* try_catch) { in ReportException()
997 void Shell::MapCounters(v8::Isolate* isolate, const char* name) { in MapCounters()
1024 Counter* Shell::GetCounter(const char* name, bool is_histogram) { in GetCounter()
1040 int* Shell::LookupCounter(const char* name) { in LookupCounter()
1051 void* Shell::CreateHistogram(const char* name, in CreateHistogram()
1059 void Shell::AddHistogramSample(void* histogram, int sample) { in AddHistogramSample()
1065 Local<String> Shell::Stringify(Isolate* isolate, Local<Value> value) { in Stringify()
1099 Local<ObjectTemplate> Shell::CreateGlobalTemplate(Isolate* isolate) { in CreateGlobalTemplate()
1243 void Shell::Initialize(Isolate* isolate) { in Initialize()
1254 Local<Context> Shell::CreateEvaluationContext(Isolate* isolate) { in CreateEvaluationContext()
1289 void Shell::Exit(int exit_code) { in Exit()
1309 void Shell::WriteIgnitionDispatchCountersFile(v8::Isolate* isolate) { in WriteIgnitionDispatchCountersFile()
1326 void Shell::OnExit(v8::Isolate* isolate) { in OnExit()
1432 void Shell::ReadBuffer(const v8::FunctionCallbackInfo<v8::Value>& args) { in ReadBuffer()
1463 Local<String> Shell::ReadFile(Isolate* isolate, const char* name) { in ReadFile()
1475 void Shell::RunShell(Isolate* isolate) { in RunShell()
1493 Local<String> input = Shell::ReadFromStdin(isolate); in RunShell()
1513 Shell::SourceType source_type = Shell::SCRIPT; in Execute()
1523 Shell::options.script_executed = true; in Execute()
1524 if (!Shell::ExecuteString(isolate, source, file_name, false, true)) { in Execute()
1532 source_type = Shell::MODULE; in Execute()
1547 Shell::Exit(1); in Execute()
1549 Shell::options.script_executed = true; in Execute()
1550 if (!Shell::ExecuteString(isolate, source, file_name, false, true, in Execute()
1556 if (exception_was_thrown != Shell::options.expected_to_throw) { in Execute()
1557 Shell::Exit(1); in Execute()
1586 create_params.array_buffer_allocator = Shell::array_buffer_allocator; in ExecuteInThread()
1588 for (int i = 0; i < Shell::options.stress_runs; ++i) { in ExecuteInThread()
1595 Local<Context> context = Shell::CreateEvaluationContext(isolate); in ExecuteInThread()
1602 Shell::CollectGarbage(isolate); in ExecuteInThread()
1640 Shell::array_buffer_allocator->Free(contents.Data(), in ~SerializationData()
1799 create_params.array_buffer_allocator = Shell::array_buffer_allocator; in ExecuteInThread()
1806 Local<Context> context = Shell::CreateEvaluationContext(isolate); in ExecuteInThread()
1832 if (Shell::ExecuteString(isolate, source, file_name, false, true)) { in ExecuteInThread()
1850 if (Shell::DeserializeValue(isolate, *data, &offset) in ExecuteInThread()
1861 Shell::CollectGarbage(isolate); in ExecuteInThread()
1883 Shell::ObjectList to_transfer; in PostMessageOut()
1885 Shell::ObjectList seen_objects; in PostMessageOut()
1887 if (Shell::SerializeValue(isolate, message, to_transfer, &seen_objects, in PostMessageOut()
1906 bool Shell::SetOptions(int argc, char* argv[]) { in SetOptions()
2036 int Shell::RunMain(Isolate* isolate, int argc, char* argv[], bool last_run) { in RunMain()
2070 void Shell::CollectGarbage(Isolate* isolate) { in CollectGarbage()
2086 void Shell::EmptyMessageQueues(Isolate* isolate) { in EmptyMessageQueues()
2098 bool Shell::SerializeValue(Isolate* isolate, Local<Value> value, in SerializeValue()
2237 MaybeLocal<Value> Shell::DeserializeValue(Isolate* isolate, in DeserializeValue()
2328 void Shell::CleanupWorkers() { in CleanupWorkers()
2353 Shell::array_buffer_allocator->Free(contents.Data(), contents.ByteLength()); in CleanupWorkers()
2415 int Shell::Main(int argc, char* argv[]) { in Main()
2457 Shell::array_buffer_allocator = &mock_arraybuffer_allocator; in Main()
2459 Shell::array_buffer_allocator = &shell_array_buffer_allocator; in Main()
2461 create_params.array_buffer_allocator = Shell::array_buffer_allocator; in Main()
2470 Shell::counter_map_ = new CounterMap(); in Main()
2561 return v8::Shell::Main(argc, argv); in main()