Home
last modified time | relevance | path

Searched refs:v8_isolate (Results 1 – 9 of 9) sorted by relevance

/external/v8/test/cctest/
Dtest-serialize.cc65 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in NewInitialized() local
66 v8::Isolate::Scope isolate_scope(v8_isolate); in NewInitialized()
68 return v8_isolate; in NewInitialized()
121 v8::Isolate* v8_isolate = NULL; in InitializeFromBlob() local
126 v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in InitializeFromBlob()
127 v8::Isolate::Scope isolate_scope(v8_isolate); in InitializeFromBlob()
130 return v8_isolate; in InitializeFromBlob()
140 static void SanityCheck(v8::Isolate* v8_isolate) { in SanityCheck() argument
141 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in SanityCheck()
142 v8::HandleScope scope(v8_isolate); in SanityCheck()
[all …]
Dtest-global-handles.cc327 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in TEST() local
339 v8::Local<v8::Object> object = v8::Object::New(v8_isolate); in TEST()
340 object->Set(v8_isolate->GetCurrentContext(), i, in TEST()
341 v8::Integer::New(v8_isolate, i)) in TEST()
348 eternals[i].Set(v8_isolate, object); in TEST()
363 local = eternals[i].Get(v8_isolate); in TEST()
367 object->Get(v8_isolate->GetCurrentContext(), i).ToLocalChecked(); in TEST()
370 value->Int32Value(v8_isolate->GetCurrentContext()).FromJust()); in TEST()
379 v8::Local<v8::Object> object = v8::Object::New(v8_isolate); in TEST()
380 v8::Eternal<v8::Object> eternal(v8_isolate, object); in TEST()
[all …]
Dtest-debug.cc848 v8::Isolate* v8_isolate = CcTest::isolate(); in DebugEventBreakMax() local
860 v8::Debug::DebugBreak(v8_isolate); in DebugEventBreakMax()
864 v8_isolate->TerminateExecution(); in DebugEventBreakMax()
Dtest-api.cc15966 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in THREADED_TEST() local
15967 v8::HandleScope scope(v8_isolate); in THREADED_TEST()
15969 v8::Local<v8::Context> current = v8_isolate->GetCurrentContext(); in THREADED_TEST()
/external/v8/src/runtime/
Druntime-test.cc254 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in RUNTIME_FUNCTION() local
256 Local<v8::ObjectTemplate> desc = v8::ObjectTemplate::New(v8_isolate); in RUNTIME_FUNCTION()
259 if (!desc->NewInstance(v8_isolate->GetCurrentContext()).ToLocal(&obj)) { in RUNTIME_FUNCTION()
/external/v8/src/
Dapi.cc219 v8::Isolate* v8_isolate = in GetScriptOriginForScript() local
224 v8::Integer::New(v8_isolate, script->line_offset()), in GetScriptOriginForScript()
225 v8::Integer::New(v8_isolate, script->column_offset()), in GetScriptOriginForScript()
226 v8::Boolean::New(v8_isolate, options.IsSharedCrossOrigin()), in GetScriptOriginForScript()
227 v8::Integer::New(v8_isolate, script->id()), in GetScriptOriginForScript()
228 v8::Boolean::New(v8_isolate, options.IsEmbedderDebugScript()), in GetScriptOriginForScript()
230 v8::Boolean::New(v8_isolate, options.IsOpaque())); in GetScriptOriginForScript()
779 void V8::Eternalize(Isolate* v8_isolate, Value* value, int* index) { in Eternalize() argument
780 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in Eternalize()
786 Local<Value> V8::GetEternal(Isolate* v8_isolate, int index) { in GetEternal() argument
[all …]
Dcompiler.cc1713 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in GetSharedFunctionInfoForNative() local
1717 extension->GetNativeFunctionTemplate(v8_isolate, in GetSharedFunctionInfoForNative()
1723 *fun_template->GetFunction(v8_isolate->GetCurrentContext()) in GetSharedFunctionInfoForNative()
Dlog.cc647 v8::Isolate* v8_isolate = isolate(); in SampleStack() local
648 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in SampleStack()
/external/v8/test/cctest/heap/
Dtest-heap.cc4382 v8::Isolate* v8_isolate = CcTest::isolate(); in TEST() local
4390 v8::Local<v8::Context> c1 = v8::Context::New(v8_isolate); in TEST()
4393 v8::String::NewFromUtf8(v8_isolate, source, v8::NewStringType::kNormal) in TEST()
4396 v8::ScriptCompiler::CompileUnboundScript(v8_isolate, &script_source) in TEST()
4416 v8::Local<v8::Context> c2 = v8::Context::New(v8_isolate); in TEST()
4425 v8::Local<v8::Context> c3 = v8::Context::New(v8_isolate); in TEST()
4460 v8::Local<v8::Context> c4 = v8::Context::New(v8_isolate); in TEST()