Home
last modified time | relevance | path

Searched refs:os_templ (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dd8-posix.cc684 void Shell::AddOSMethods(Handle<ObjectTemplate> os_templ) { in AddOSMethods() argument
685 os_templ->Set(String::New("system"), FunctionTemplate::New(System)); in AddOSMethods()
686 os_templ->Set(String::New("chdir"), FunctionTemplate::New(ChangeDirectory)); in AddOSMethods()
687 os_templ->Set(String::New("setenv"), FunctionTemplate::New(SetEnvironment)); in AddOSMethods()
688 os_templ->Set(String::New("unsetenv"), in AddOSMethods()
690 os_templ->Set(String::New("umask"), FunctionTemplate::New(SetUMask)); in AddOSMethods()
691 os_templ->Set(String::New("mkdirp"), FunctionTemplate::New(MakeDirectory)); in AddOSMethods()
692 os_templ->Set(String::New("rmdir"), FunctionTemplate::New(RemoveDirectory)); in AddOSMethods()
Dd8-windows.cc38 void Shell::AddOSMethods(Handle<ObjectTemplate> os_templ) { in AddOSMethods() argument
Dd8.cc436 Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); in Initialize() local
437 AddOSMethods(os_templ); in Initialize()
438 global_template->Set(String::New("os"), os_templ); in Initialize()