Lines Matching full:shell
104 return Shell::ReadFromStdin();
109 CounterMap* Shell::counter_map_;
110 i::OS::MemoryMappedFile* Shell::counters_file_ = NULL;
111 CounterCollection Shell::local_counters_;
112 CounterCollection* Shell::counters_ = &local_counters_;
113 i::Mutex* Shell::context_mutex_(i::OS::CreateMutex());
114 Persistent<Context> Shell::utility_context_;
117 LineEditor* Shell::console = NULL;
118 Persistent<Context> Shell::evaluation_context_;
119 ShellOptions Shell::options;
120 const char* Shell::kPrompt = "d8> ";
136 const char* Shell::ToCString(const v8::String::Utf8Value& value) {
142 bool Shell::ExecuteString(Handle<String> source,
188 Handle<Value> Shell::Print(const Arguments& args) {
196 Handle<Value> Shell::Write(const Arguments& args) {
213 Handle<Value> Shell::EnableProfiler(const Arguments& args) {
219 Handle<Value> Shell::DisableProfiler(const Arguments& args) {
225 Handle<Value> Shell::Read(const Arguments& args) {
238 Handle<String> Shell::ReadFromStdin() {
268 Handle<Value> Shell::Load(const Arguments& args) {
322 Handle<Value> Shell::CreateExternalArray(const Arguments& args,
449 void Shell::ExternalArrayWeakCallback(Persistent<Value> object, void* data) {
461 Handle<Value> Shell::ArrayBuffer(const Arguments& args) {
466 Handle<Value> Shell::Int8Array(const Arguments& args) {
471 Handle<Value> Shell::Uint8Array(const Arguments& args) {
476 Handle<Value> Shell::Int16Array(const Arguments& args) {
481 Handle<Value> Shell::Uint16Array(const Arguments& args) {
487 Handle<Value> Shell::Int32Array(const Arguments& args) {
492 Handle<Value> Shell::Uint32Array(const Arguments& args) {
497 Handle<Value> Shell::Float32Array(const Arguments& args) {
503 Handle<Value> Shell::Float64Array(const Arguments& args) {
509 Handle<Value> Shell::PixelArray(const Arguments& args) {
514 Handle<Value> Shell::Yield(const Arguments& args) {
520 Handle<Value> Shell::Quit(const Arguments& args) {
530 Handle<Value> Shell::Version(const Arguments& args) {
535 void Shell::ReportException(v8::TryCatch* try_catch) {
582 Handle<Array> Shell::GetCompletions(Handle<String> text, Handle<String> full) {
595 Handle<Object> Shell::DebugMessageDetails(Handle<String> message) {
606 Handle<Value> Shell::DebugCommandToJSONRequest(Handle<String> command) {
617 void Shell::DispatchDebugMessages() {
618 v8::Context::Scope scope(Shell::evaluation_context_);
656 void Shell::MapCounters(const char* name) {
683 Counter* Shell::GetCounter(const char* name, bool is_histogram) {
699 int* Shell::LookupCounter(const char* name) {
710 void* Shell::CreateHistogram(const char* name,
718 void Shell::AddHistogramSample(void* histogram, int sample) {
724 void Shell::InstallUtilityScript() {
745 // Run the d8 shell utility script in the utility context
757 // Mark the d8 shell script as native to avoid it showing up as normal source
804 Handle<ObjectTemplate> Shell::CreateGlobalTemplate() {
859 void Shell::Initialize() {
870 Shell::counter_map_ = new CounterMap();
891 v8::Debug::EnableAgent("d8 shell", i::FLAG_debugger_port, true);
899 Persistent<Context> Shell::CreateEvaluationContext() {
928 void Shell::Exit(int exit_code) {
950 void Shell::OnExit() {
1029 Handle<Value> Shell::ReadBinary(const Arguments& args) {
1070 Handle<String> Shell::ReadFile(const char* name) {
1080 void Shell::RunShell() {
1090 Handle<String> input = console->Prompt(Shell::kPrompt);
1132 Persistent<Context> thread_context = Shell::CreateEvaluationContext();
1145 Handle<String> str = Shell::ReadFile(filename);
1148 Shell::Exit(1);
1151 Shell::ExecuteString(str, String::New(filename), false, false);
1181 if (!Shell::ExecuteString(source, file_name, false, true)) {
1182 Shell::Exit(1);
1194 Shell::Exit(1);
1196 if (!Shell::ExecuteString(source, file_name, false, true)) {
1197 Shell::Exit(1);
1232 Persistent<Context> context = Shell::CreateEvaluationContext();
1240 } while (!Shell::options.last_run);
1256 if (Shell::options.last_run) {
1265 bool Shell::SetOptions(int argc, char* argv[]) {
1277 } else if (strcmp(argv[i], "--shell") == 0) {
1395 int Shell::RunMain(int argc, char* argv[]) {
1423 // Keep using the same context in the interactive shell.
1477 int Shell::Main(int argc, char* argv[]) {
1518 // Run interactive shell if explicitly requested or if no script has been
1546 return v8::Shell::Main(argc, argv);