Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/cctest/
Dtest-object-observe.cc259 v8::Isolate* v8_isolate = CcTest::isolate(); in TEST() local
260 HandleScope scope(v8_isolate); in TEST()
261 LocalContext context(v8_isolate); in TEST()
268 obj->Set(String::NewFromUtf8(v8_isolate, "foo"), in TEST()
269 Number::New(v8_isolate, 7)); in TEST()
270 obj->Set(1, Number::New(v8_isolate, 2)); in TEST()
272 obj->ForceSet(String::NewFromUtf8(v8_isolate, "foo"), in TEST()
273 Number::New(v8_isolate, 3)); in TEST()
274 obj->ForceSet(Number::New(v8_isolate, 1), Number::New(v8_isolate, 4)); in TEST()
276 obj->Set(Number::New(v8_isolate, 1), Number::New(v8_isolate, 5)); in TEST()
[all …]
Dtest-serialize.cc280 v8::Isolate* v8_isolate = NULL; in InitializeFromFile() local
286 v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in InitializeFromFile()
287 v8::Isolate::Scope isolate_scope(v8_isolate); in InitializeFromFile()
291 return v8_isolate; in InitializeFromFile()
302 static void SanityCheck(v8::Isolate* v8_isolate) { in SanityCheck() argument
303 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in SanityCheck()
304 v8::HandleScope scope(v8_isolate); in SanityCheck()
399 v8::Isolate* v8_isolate = v8::Isolate::New(params); in UNINITIALIZED_TEST() local
400 Isolate* isolate = reinterpret_cast<Isolate*>(v8_isolate); in UNINITIALIZED_TEST()
401 v8_isolate->Enter(); in UNINITIALIZED_TEST()
[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(i, v8::Integer::New(v8_isolate, i)); in TEST()
346 eternals[i].Set(v8_isolate, object); in TEST()
361 local = eternals[i].Get(v8_isolate); in TEST()
375 v8::Local<v8::Object> object = v8::Object::New(v8_isolate); in TEST()
376 v8::Eternal<v8::Object> eternal(v8_isolate, object); in TEST()
378 CHECK(object == eternal.Get(v8_isolate)); in TEST()
Dtest-debug.cc919 v8::Isolate* v8_isolate = CcTest::isolate(); in DebugEventBreakMax() local
942 v8::Debug::DebugBreak(v8_isolate); in DebugEventBreakMax()
946 v8::V8::TerminateExecution(v8_isolate); in DebugEventBreakMax()
Dtest-api.cc15668 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in THREADED_TEST() local
15669 v8::HandleScope scope(v8_isolate); in THREADED_TEST()
15671 v8::Local<v8::Context> current = v8_isolate->GetCurrentContext(); in THREADED_TEST()
/external/chromium_org/v8/src/
Dapi.cc530 void V8::Eternalize(Isolate* v8_isolate, Value* value, int* index) { in Eternalize() argument
531 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in Eternalize()
537 Local<Value> V8::GetEternal(Isolate* v8_isolate, int index) { in GetEternal() argument
538 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in GetEternal()
591 EscapableHandleScope::EscapableHandleScope(Isolate* v8_isolate) { in EscapableHandleScope() argument
592 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); in EscapableHandleScope()
594 Initialize(v8_isolate); in EscapableHandleScope()
809 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in Set() local
813 v8::Integer::New(v8_isolate, attribute)}; in Set()
832 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in SetAccessorProperty() local
[all …]
Dd8.cc338 Isolate* v8_isolate = args.GetIsolate(); in PerformanceNow() local
339 i::Heap* heap = reinterpret_cast<i::Isolate*>(v8_isolate)->heap(); in PerformanceNow()