/external/chromium_org/v8/test/cctest/ |
test-object-observe.cc | 259 v8::Isolate* v8_isolate = CcTest::isolate(); local 260 HandleScope scope(v8_isolate); 261 LocalContext context(v8_isolate); 268 obj->Set(String::NewFromUtf8(v8_isolate, "foo"), 269 Number::New(v8_isolate, 7)); 270 obj->Set(1, Number::New(v8_isolate, 2)); 272 obj->ForceSet(String::NewFromUtf8(v8_isolate, "foo"), 273 Number::New(v8_isolate, 3)); 274 obj->ForceSet(Number::New(v8_isolate, 1), Number::New(v8_isolate, 4)) 306 v8::Isolate* v8_isolate = CcTest::isolate(); local [all...] |
test-serialize.cc | 375 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); local 381 env.Reset(v8_isolate, v8::Context::New(v8_isolate)); 385 v8::HandleScope handle_scope(v8_isolate); 386 v8::Local<v8::Context>::New(v8_isolate, env)->Enter(); 399 v8::HandleScope handle_scope(v8_isolate); 400 v8::Local<v8::String> foo = v8::String::NewFromUtf8(v8_isolate, "foo"); 410 v8::HandleScope handle_scope(v8_isolate); 411 v8::Local<v8::Context>::New(v8_isolate, env)->Exit(); 526 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate) local [all...] |
test-global-handles.cc | 327 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); local 339 v8::Local<v8::Object> object = v8::Object::New(v8_isolate); 340 object->Set(i, v8::Integer::New(v8_isolate, i)); 346 eternals[i].Set(v8_isolate, object); 361 local = eternals[i].Get(v8_isolate); 375 v8::Local<v8::Object> object = v8::Object::New(v8_isolate); 376 v8::Eternal<v8::Object> eternal(v8_isolate, object); 378 CHECK(object == eternal.Get(v8_isolate));
|
test-debug.cc | 905 v8::Isolate* v8_isolate = CcTest::isolate(); local [all...] |
test-api.cc | 15651 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); local [all...] |
/external/chromium_org/v8/src/ |
api.cc | 478 bool SetResourceConstraints(Isolate* v8_isolate, 480 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); 541 void V8::Eternalize(Isolate* v8_isolate, Value* value, int* index) { 542 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); 548 Local<Value> V8::GetEternal(Isolate* v8_isolate, int index) { 549 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); 602 EscapableHandleScope::EscapableHandleScope(Isolate* v8_isolate) { 603 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); 605 Initialize(v8_isolate); 821 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate) local 842 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); local 1713 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); local [all...] |