Home
last modified time | relevance | path

Searched refs:global_template (Results 1 – 11 of 11) sorted by relevance

/external/v8/test/cctest/
Dtest-platform.cc39 v8::Handle<v8::ObjectTemplate> global_template = in TEST() local
41 global_template->Set(v8_str("get_stack_pointer"), in TEST()
44 LocalContext env(NULL, global_template); in TEST()
Dcctest.h281 v8::Handle<v8::ObjectTemplate> global_template =
284 Initialize(isolate, extensions, global_template, global_object);
288 v8::Handle<v8::ObjectTemplate> global_template =
291 Initialize(CcTest::isolate(), extensions, global_template, global_object);
313 v8::Handle<v8::ObjectTemplate> global_template, in Initialize() argument
318 global_template, in Initialize()
Dtest-assembler-ia32.cc499 v8::Handle<v8::ObjectTemplate> global_template = in TEST() local
501 global_template->Set(v8_str("do_sse2"), in TEST()
504 LocalContext env(NULL, global_template); in TEST()
Dtest-assembler-x64.cc643 v8::Handle<v8::ObjectTemplate> global_template = in TEST() local
645 global_template->Set(v8_str("do_sse2"), in TEST()
648 LocalContext env(NULL, global_template); in TEST()
Dtest-debug.cc77 v8::Handle<v8::ObjectTemplate> global_template = in DebugLocalContext() argument
81 context_(v8::Context::New(isolate, extensions, global_template, in DebugLocalContext()
87 v8::Handle<v8::ObjectTemplate> global_template = in DebugLocalContext() argument
92 global_template, global_object)) { in DebugLocalContext()
5256 v8::Handle<v8::ObjectTemplate> global_template = in Run() local
5258 global_template->Set( in Run()
5262 v8::Context::New(isolate_, NULL, global_template); in Run()
5628 v8::Handle<v8::ObjectTemplate> global_template = in TEST() local
5630 global_template->Set( in TEST()
5633 global_template->Set( in TEST()
[all …]
Dtest-api.cc2627 Local<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(isolate); in THREADED_TEST() local
2628 global_template->SetInternalFieldCount(1); in THREADED_TEST()
2629 LocalContext env(NULL, global_template); in THREADED_TEST()
6880 Local<ObjectTemplate> global_template = ObjectTemplate::New(isolate); in THREADED_TEST() local
6881 global_template->Set(v8_str("JSNI_Log"), in THREADED_TEST()
6883 v8::Local<Context> context = Context::New(isolate, 0, global_template); in THREADED_TEST()
8673 v8::Handle<v8::ObjectTemplate> global_template = in TEST() local
8675 global_template->SetAccessCheckCallbacks(NamedSecurityTestCallback, in TEST()
8678 v8::Handle<Context> context0 = Context::New(isolate, NULL, global_template); in TEST()
8694 Context::New(isolate, NULL, global_template); in TEST()
[all …]
Dtest-heap-profiler.cc435 v8::Local<v8::ObjectTemplate> global_template = in TEST() local
437 global_template->SetInternalFieldCount(1); in TEST()
438 LocalContext env(NULL, global_template); in TEST()
646 v8::Local<v8::ObjectTemplate> global_template = in TEST() local
648 global_template->SetInternalFieldCount(2); in TEST()
649 LocalContext env(NULL, global_template); in TEST()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc422 v8::Local<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); in InitV8() local
427 global_template->Set(ASCIILiteralToV8String(isolate_, "alert"), alert_template); in InitV8()
431 global_template->Set(ASCIILiteralToV8String(isolate_, "myIpAddress"), in InitV8()
436 global_template->Set(ASCIILiteralToV8String(isolate_, "dnsResolve"), in InitV8()
443 global_template->Set(ASCIILiteralToV8String(isolate_, "dnsResolveEx"), in InitV8()
448 global_template->Set(ASCIILiteralToV8String(isolate_, "myIpAddressEx"), in InitV8()
453 global_template->Set(ASCIILiteralToV8String(isolate_, "sortIpAddressList"), in InitV8()
458 global_template->Set(ASCIILiteralToV8String(isolate_, "isInNetEx"), in InitV8()
462 isolate_, v8::Context::New(isolate_, NULL, global_template)); in InitV8()
/external/v8/src/
Dd8.cc396 Handle<ObjectTemplate> global_template = CreateGlobalTemplate(isolate); in RealmCreate() local
398 isolate, Context::New(isolate, NULL, global_template)); in RealmCreate()
870 Handle<ObjectTemplate> global_template = ObjectTemplate::New(isolate); in CreateGlobalTemplate() local
871 global_template->Set(String::NewFromUtf8(isolate, "print"), in CreateGlobalTemplate()
873 global_template->Set(String::NewFromUtf8(isolate, "write"), in CreateGlobalTemplate()
875 global_template->Set(String::NewFromUtf8(isolate, "read"), in CreateGlobalTemplate()
877 global_template->Set(String::NewFromUtf8(isolate, "readbuffer"), in CreateGlobalTemplate()
879 global_template->Set(String::NewFromUtf8(isolate, "readline"), in CreateGlobalTemplate()
881 global_template->Set(String::NewFromUtf8(isolate, "load"), in CreateGlobalTemplate()
883 global_template->Set(String::NewFromUtf8(isolate, "quit"), in CreateGlobalTemplate()
[all …]
Dapi.cc5141 v8::Handle<ObjectTemplate> global_template, in CreateEnvironment() argument
5148 v8::Handle<ObjectTemplate> proxy_template = global_template; in CreateEnvironment()
5152 if (!global_template.IsEmpty()) { in CreateEnvironment()
5154 global_constructor = EnsureConstructor(isolate, *global_template); in CreateEnvironment()
5164 *Utils::OpenHandle(*global_template)); in CreateEnvironment()
5190 if (!global_template.IsEmpty()) { in CreateEnvironment()
5207 v8::Handle<ObjectTemplate> global_template, in New() argument
5216 CreateEnvironment(isolate, extensions, global_template, global_object); in New()
/external/v8/include/
Dv8.h5462 Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(),