Lines Matching refs:global_template

805   Handle<ObjectTemplate> global_template = ObjectTemplate::New();
806 global_template->Set(String::New("print"), FunctionTemplate::New(Print));
807 global_template->Set(String::New("write"), FunctionTemplate::New(Write));
808 global_template->Set(String::New("read"), FunctionTemplate::New(Read));
809 global_template->Set(String::New("readbinary"),
811 global_template->Set(String::New("readline"),
813 global_template->Set(String::New("load"), FunctionTemplate::New(Load));
814 global_template->Set(String::New("quit"), FunctionTemplate::New(Quit));
815 global_template->Set(String::New("version"), FunctionTemplate::New(Version));
816 global_template->Set(String::New("enableProfiler"),
818 global_template->Set(String::New("disableProfiler"),
822 global_template->Set(String::New("ArrayBuffer"),
824 global_template->Set(String::New("Int8Array"),
826 global_template->Set(String::New("Uint8Array"),
828 global_template->Set(String::New("Int16Array"),
830 global_template->Set(String::New("Uint16Array"),
832 global_template->Set(String::New("Int32Array"),
834 global_template->Set(String::New("Uint32Array"),
836 global_template->Set(String::New("Float32Array"),
838 global_template->Set(String::New("Float64Array"),
840 global_template->Set(String::New("PixelArray"),
844 global_template->Set(String::New("lol_is_enabled"), True());
846 global_template->Set(String::New("lol_is_enabled"), False());
852 global_template->Set(String::New("os"), os_templ);
855 return global_template;
885 Handle<ObjectTemplate> global_template = CreateGlobalTemplate();
886 utility_context_ = Context::New(NULL, global_template);
905 Handle<ObjectTemplate> global_template = CreateGlobalTemplate();
906 Persistent<Context> context = Context::New(NULL, global_template);