Home
last modified time | relevance | path

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

/external/v8/src/
Dd8-posix.cc677 void Shell::AddOSMethods(Handle<ObjectTemplate> os_templ) { in AddOSMethods() argument
678 os_templ->Set(String::New("system"), FunctionTemplate::New(System)); in AddOSMethods()
679 os_templ->Set(String::New("chdir"), FunctionTemplate::New(ChangeDirectory)); in AddOSMethods()
680 os_templ->Set(String::New("setenv"), FunctionTemplate::New(SetEnvironment)); in AddOSMethods()
681 os_templ->Set(String::New("unsetenv"), in AddOSMethods()
683 os_templ->Set(String::New("umask"), FunctionTemplate::New(SetUMask)); in AddOSMethods()
684 os_templ->Set(String::New("mkdirp"), FunctionTemplate::New(MakeDirectory)); in AddOSMethods()
685 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.cc850 Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); in CreateGlobalTemplate() local
851 AddOSMethods(os_templ); in CreateGlobalTemplate()
852 global_template->Set(String::New("os"), os_templ); in CreateGlobalTemplate()
/external/chromium_org/v8/src/
Dd8-posix.cc724 void Shell::AddOSMethods(Isolate* isolate, Handle<ObjectTemplate> os_templ) { in AddOSMethods() argument
725 os_templ->Set(String::NewFromUtf8(isolate, "system"), in AddOSMethods()
727 os_templ->Set(String::NewFromUtf8(isolate, "chdir"), in AddOSMethods()
729 os_templ->Set(String::NewFromUtf8(isolate, "setenv"), in AddOSMethods()
731 os_templ->Set(String::NewFromUtf8(isolate, "unsetenv"), in AddOSMethods()
733 os_templ->Set(String::NewFromUtf8(isolate, "umask"), in AddOSMethods()
735 os_templ->Set(String::NewFromUtf8(isolate, "mkdirp"), in AddOSMethods()
737 os_templ->Set(String::NewFromUtf8(isolate, "rmdir"), in AddOSMethods()
Dd8-windows.cc38 void Shell::AddOSMethods(Isolate* isolate, Handle<ObjectTemplate> os_templ) { in AddOSMethods() argument
Dd8.cc909 Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); in CreateGlobalTemplate() local
910 AddOSMethods(isolate, os_templ); in CreateGlobalTemplate()
911 global_template->Set(String::NewFromUtf8(isolate, "os"), os_templ); in CreateGlobalTemplate()