v8_str 207 test/cctest/cctest.h return v8::Script::Compile(v8_str(x)); v8_str 57 test/cctest/test-accessors.cc fun_templ->InstanceTemplate()->SetAccessor(v8_str("foo"), handle_property); v8_str 60 test/cctest/test-accessors.cc env->Global()->Set(v8_str("Fun"), fun); v8_str 93 test/cctest/test-accessors.cc templ->InstanceTemplate()->SetAccessor(v8_str("foo"), v8_str 97 test/cctest/test-accessors.cc templ->InstanceTemplate()->SetAccessor(v8_str("bar"), v8_str 101 test/cctest/test-accessors.cc templ->InstanceTemplate()->SetAccessor(v8_str("baz"), v8_str 141 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("x"), XGetter, XSetter); v8_str 144 test/cctest/test-accessors.cc context->Global()->Set(v8_str("holder"), x_holder); v8_str 146 test/cctest/test-accessors.cc context->Global()->Set(v8_str("obj"), x_receiver); v8_str 175 test/cctest/test-accessors.cc templ->SetAccessor(v8_str("x"), v8_str 182 test/cctest/test-accessors.cc context->Global()->Set(v8_str("obj"), instance); v8_str 223 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("one"), HandleAllocatingGetter<1>); v8_str 224 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("many"), HandleAllocatingGetter<1024>); v8_str 260 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), v8_str 286 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), EmptyGetter, NULL, v8::String::New("data")); v8_str 304 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), EmptyGetter, NULL, v8::String::New("data")); v8_str 316 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), v8_str 335 test/cctest/test-accessors.cc return v8::ThrowException(v8_str("g")); v8_str 349 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("x"), v8_str 355 test/cctest/test-accessors.cc env->Global()->Set(v8_str("obj"), obj->NewInstance()); v8_str 360 test/cctest/test-accessors.cc result = Script::Compile(v8_str( v8_str 365 test/cctest/test-accessors.cc CHECK_EQ(v8_str("ggggg"), result); v8_str 372 test/cctest/test-accessors.cc CHECK_EQ(v8_str("01234"), result); v8_str 386 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), AllocGetter); v8_str 388 test/cctest/test-accessors.cc env->Global()->Set(v8_str("obj"), obj->NewInstance()); v8_str 419 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), StackCheck); v8_str 421 test/cctest/test-accessors.cc env->Global()->Set(v8_str("obj"), obj->NewInstance()); v8_str 446 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), AllocateHandles); v8_str 448 test/cctest/test-accessors.cc env->Global()->Set(v8_str("obj"), obj->NewInstance()); v8_str 172 test/cctest/test-api.cc v8_str("m"), v8_str 176 test/cctest/test-api.cc env->Global()->Set(v8_str("Fun"), fun->GetFunction()); v8_str 184 test/cctest/test-api.cc env->Global()->Set(v8_str("SubFun"), sub_fun->GetFunction()); v8_str 200 test/cctest/test-api.cc env->Global()->Set(v8_str("UnrelFun"), unrel_fun->GetFunction()); v8_str 214 test/cctest/test-api.cc cons->SetClassName(v8_str("Cons")); v8_str 219 test/cctest/test-api.cc env->Global()->Set(v8_str("Cons"), cons->GetFunction()); v8_str 220 test/cctest/test-api.cc env->Global()->Set(v8_str("Fun1"), fun->GetFunction()); v8_str 232 test/cctest/test-api.cc cons1->SetClassName(v8_str("Cons1")); v8_str 234 test/cctest/test-api.cc cons2->SetClassName(v8_str("Cons2")); v8_str 236 test/cctest/test-api.cc cons3->SetClassName(v8_str("Cons3")); v8_str 244 test/cctest/test-api.cc env->Global()->Set(v8_str("Cons1"), cons1->GetFunction()); v8_str 245 test/cctest/test-api.cc env->Global()->Set(v8_str("Cons2"), cons2->GetFunction()); v8_str 246 test/cctest/test-api.cc env->Global()->Set(v8_str("Cons3"), cons3->GetFunction()); v8_str 247 test/cctest/test-api.cc env->Global()->Set(v8_str("Fun2"), fun2->GetFunction()); v8_str 288 test/cctest/test-api.cc Local<Value> foo_before = obj->Get(v8_str("foo")); v8_str 290 test/cctest/test-api.cc Local<String> bar_str = v8_str("bar"); v8_str 291 test/cctest/test-api.cc obj->Set(v8_str("foo"), bar_str); v8_str 292 test/cctest/test-api.cc Local<Value> foo_after = obj->Get(v8_str("foo")); v8_str 305 test/cctest/test-api.cc Local<String> bar_str = v8_str("bar"); v8_str 313 test/cctest/test-api.cc CHECK_EQ(v8_str("a"), value->Get(0)); v8_str 314 test/cctest/test-api.cc CHECK_EQ(v8_str("b"), value->Get(1)); v8_str 465 test/cctest/test-api.cc Local<String> source = v8_str(c_source); v8_str 723 test/cctest/test-api.cc Local<String> left = v8_str(one_byte_string_1); v8_str 736 test/cctest/test-api.cc right = v8_str(one_byte_string_2); v8_str 762 test/cctest/test-api.cc global->Set(v8_str("pi"), v8_num(3.1415926)); v8_str 763 test/cctest/test-api.cc Local<Value> pi = global->Get(v8_str("pi")); v8_str 776 test/cctest/test-api.cc args.This()->Set(v8_str("x"), v8_num(1)); v8_str 777 test/cctest/test-api.cc args.This()->Set(v8_str("y"), v8_num(2)); v8_str 794 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), fun); v8_str 804 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), fun); v8_str 812 test/cctest/test-api.cc fun_templ->SetClassName(v8_str("funky")); v8_str 813 test/cctest/test-api.cc fun_templ->InstanceTemplate()->SetAccessor(v8_str("m"), Return239); v8_str 815 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), fun); v8_str 820 test/cctest/test-api.cc CHECK_EQ(v8_str("[object funky]"), result); v8_str 843 test/cctest/test-api.cc obj->Set(v8_str("func"), v8_str 845 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), obj); v8_str 918 test/cctest/test-api.cc derived_instance2->Set(v8_str("__proto__"), derived_instance); v8_str 919 test/cctest/test-api.cc other_instance->Set(v8_str("__proto__"), derived_instance2); v8_str 1126 test/cctest/test-api.cc Local<String> str = v8_str("3.1415926"); v8_str 1141 test/cctest/test-api.cc date.As<v8::Date>()->Set(v8_str("property"), v8::Integer::New(42)); v8_str 1142 test/cctest/test-api.cc CHECK_EQ(42, date.As<v8::Date>()->Get(v8_str("property"))->Int32Value()); v8_str 1157 test/cctest/test-api.cc v8::Handle<String> str1 = v8_str(""); v8_str 1159 test/cctest/test-api.cc v8::Handle<String> str2 = v8_str("x"); v8_str 1189 test/cctest/test-api.cc templ->SetAccessor(v8_str("m"), GetM); v8_str 1206 test/cctest/test-api.cc env->Global()->Set(v8_str("p"), instance1); v8_str 1215 test/cctest/test-api.cc env->Global()->Set(v8_str("q"), instance2); v8_str 1242 test/cctest/test-api.cc super->InstanceTemplate()->SetAccessor(v8_str("knurd"), GetKnurd); v8_str 1254 test/cctest/test-api.cc env->Global()->Set(v8_str("s"), super->GetFunction()); v8_str 1255 test/cctest/test-api.cc env->Global()->Set(v8_str("base1"), base1->GetFunction()); v8_str 1256 test/cctest/test-api.cc env->Global()->Set(v8_str("base2"), base2->GetFunction()); v8_str 1269 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), v8_str 1277 test/cctest/test-api.cc env->Global()->Set(v8_str("obj2"), v8_str 1297 test/cctest/test-api.cc CHECK_EQ(v8_str("data"), info.Data()); v8_str 1307 test/cctest/test-api.cc return self->Get(String::Concat(v8_str("accessor_"), name)); v8_str 1313 test/cctest/test-api.cc self->Set(String::Concat(v8_str("accessor_"), name), value); v8_str 1338 test/cctest/test-api.cc return self->GetHiddenValue(v8_str(name_str + i)); v8_str 1371 test/cctest/test-api.cc AddAccessor(parent, v8_str("age"), v8_str 1375 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1390 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1410 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1425 test/cctest/test-api.cc AddAccessor(templ, v8_str("age"), v8_str 1429 test/cctest/test-api.cc env->Global()->Set(v8_str("Obj"), templ->GetFunction()); v8_str 1442 test/cctest/test-api.cc AddAccessor(templ, v8_str("age"), v8_str 1446 test/cctest/test-api.cc env->Global()->Set(v8_str("Obj"), templ->GetFunction()); v8_str 1461 test/cctest/test-api.cc AddAccessor(parent, v8_str("age"), v8_str 1465 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1480 test/cctest/test-api.cc AddAccessor(parent, v8_str("age"), v8_str 1484 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1499 test/cctest/test-api.cc env->Global()->Set(v8_str("Obj"), templ->GetFunction()); v8_str 1523 test/cctest/test-api.cc env->Global()->Set(v8_str("Obj"), templ->GetFunction()); v8_str 1549 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1566 test/cctest/test-api.cc env->Global()->Set(v8_str("Child"), child->GetFunction()); v8_str 1582 test/cctest/test-api.cc v8_str("data")); v8_str 1584 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), v8_str 1619 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), v8_str 1737 test/cctest/test-api.cc bottom->Set(v8_str("__proto__"), middle); v8_str 1738 test/cctest/test-api.cc middle->Set(v8_str("__proto__"), top); v8_str 1739 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), bottom); v8_str 1742 test/cctest/test-api.cc Script::Compile(v8_str("obj[0]"))->Run(); v8_str 1743 test/cctest/test-api.cc Script::Compile(v8_str("obj.x"))->Run(); v8_str 1746 test/cctest/test-api.cc Script::Compile(v8_str("obj[1] = 42"))->Run(); v8_str 1747 test/cctest/test-api.cc Script::Compile(v8_str("obj.y = 42"))->Run(); v8_str 1750 test/cctest/test-api.cc Script::Compile(v8_str("0 in obj"))->Run(); v8_str 1751 test/cctest/test-api.cc Script::Compile(v8_str("'x' in obj"))->Run(); v8_str 1754 test/cctest/test-api.cc Script::Compile(v8_str("delete obj[0]"))->Run(); v8_str 1755 test/cctest/test-api.cc Script::Compile(v8_str("delete obj.x"))->Run(); v8_str 1758 test/cctest/test-api.cc Script::Compile(v8_str("for (var p in obj) ;"))->Run(); v8_str 1765 test/cctest/test-api.cc if (v8_str("pre")->Equals(key)) { v8_str 1766 test/cctest/test-api.cc return v8_str("PrePropertyHandler: pre"); v8_str 1774 test/cctest/test-api.cc if (v8_str("pre")->Equals(key)) { v8_str 1789 test/cctest/test-api.cc Script::Compile(v8_str( v8_str 1791 test/cctest/test-api.cc v8::Handle<Value> result_pre = Script::Compile(v8_str("pre"))->Run(); v8_str 1792 test/cctest/test-api.cc CHECK_EQ(v8_str("PrePropertyHandler: pre"), result_pre); v8_str 1793 test/cctest/test-api.cc v8::Handle<Value> result_on = Script::Compile(v8_str("on"))->Run(); v8_str 1794 test/cctest/test-api.cc CHECK_EQ(v8_str("Object: on"), result_on); v8_str 1795 test/cctest/test-api.cc v8::Handle<Value> result_post = Script::Compile(v8_str("post"))->Run(); v8_str 1803 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str( v8_str 1815 test/cctest/test-api.cc int depth = args.This()->Get(v8_str("depth"))->Int32Value(); v8_str 1817 test/cctest/test-api.cc args.This()->Set(v8_str("depth"), v8::Integer::New(depth + 1)); v8_str 1825 test/cctest/test-api.cc int depth = args.This()->Get(v8_str("depth"))->Int32Value(); v8_str 1830 test/cctest/test-api.cc args.This()->Set(v8_str("depth"), v8::Integer::New(depth + 1)); v8_str 1832 test/cctest/test-api.cc args.This()->Get(v8_str("callFunctionRecursively")); v8_str 1840 test/cctest/test-api.cc global->Set(v8_str("callScriptRecursively"), v8_str 1842 test/cctest/test-api.cc global->Set(v8_str("callFunctionRecursively"), v8_str 1846 test/cctest/test-api.cc env->Global()->Set(v8_str("depth"), v8::Integer::New(0)); v8_str 1851 test/cctest/test-api.cc env->Global()->Set(v8_str("depth"), v8::Integer::New(0)); v8_str 1852 test/cctest/test-api.cc Script::Compile(v8_str("callFunctionRecursively()"))->Run(); v8_str 1877 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), obj->NewInstance()); v8_str 1878 test/cctest/test-api.cc v8::Handle<Value> otto = Script::Compile(v8_str( v8_str 1880 test/cctest/test-api.cc CHECK_EQ(v8_str("otto"), otto); v8_str 1881 test/cctest/test-api.cc v8::Handle<Value> netto = Script::Compile(v8_str( v8_str 1883 test/cctest/test-api.cc CHECK_EQ(v8_str("netto"), netto); v8_str 1890 test/cctest/test-api.cc Foo->PrototypeTemplate()->Set(v8_str("plak"), v8_num(321)); v8_str 1892 test/cctest/test-api.cc env->Global()->Set(v8_str("Foo"), Foo->GetFunction()); v8_str 1893 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("Foo.prototype.plak")); v8_str 2046 test/cctest/test-api.cc v8::Local<v8::String> key = v8_str("api-test::hidden-key"); v8_str 2047 test/cctest/test-api.cc v8::Local<v8::String> empty = v8_str(""); v8_str 2048 test/cctest/test-api.cc v8::Local<v8::String> prop_name = v8_str("prop_name"); v8_str 2097 test/cctest/test-api.cc v8::Local<v8::String> key = v8_str("hidden"); v8_str 2131 test/cctest/test-api.cc v8::Local<v8::String> key = v8_str("api-test::hidden-key"); v8_str 2150 test/cctest/test-api.cc env->Global()->Set(v8_str("ext"), ext); v8_str 2151 test/cctest/test-api.cc Local<Value> reext_obj = Script::Compile(v8_str("this.ext"))->Run(); v8_str 2181 test/cctest/test-api.cc Local<String> str = v8_str("str"); v8_str 2379 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("throw 'panama!';")); v8_str 2408 test/cctest/test-api.cc v8::ScriptOrigin(v8_str("6.75")); v8_str 2409 test/cctest/test-api.cc v8::Handle<v8::Script> script = Script::Compile(v8_str("throw 'error'"), v8_str 2411 test/cctest/test-api.cc script->SetData(v8_str("7.56")); v8_str 2422 test/cctest/test-api.cc context->Global()->Set(v8_str("foo"), v8_num(14)); v8_str 2423 test/cctest/test-api.cc context->Global()->Set(v8_str("12"), v8_num(92)); v8_str 2426 test/cctest/test-api.cc Local<Value> foo = Script::Compile(v8_str("this.foo"))->Run(); v8_str 2428 test/cctest/test-api.cc Local<Value> twelve = Script::Compile(v8_str("this[12]"))->Run(); v8_str 2430 test/cctest/test-api.cc Local<Value> sixteen = Script::Compile(v8_str("this[16]"))->Run(); v8_str 2432 test/cctest/test-api.cc Local<Value> thirteen = Script::Compile(v8_str("this[13]"))->Run(); v8_str 2435 test/cctest/test-api.cc CHECK_EQ(92, context->Global()->Get(v8_str("12"))->Int32Value()); v8_str 2438 test/cctest/test-api.cc CHECK_EQ(32, context->Global()->Get(v8_str("16"))->Int32Value()); v8_str 2441 test/cctest/test-api.cc CHECK_EQ(56, context->Global()->Get(v8_str("13"))->Int32Value()); v8_str 2450 test/cctest/test-api.cc Local<String> prop = v8_str("none"); v8_str 2454 test/cctest/test-api.cc prop = v8_str("read_only"); v8_str 2458 test/cctest/test-api.cc Script::Compile(v8_str("read_only = 9"))->Run(); v8_str 2463 test/cctest/test-api.cc prop = v8_str("dont_delete"); v8_str 2466 test/cctest/test-api.cc Script::Compile(v8_str("delete dont_delete"))->Run(); v8_str 2470 test/cctest/test-api.cc prop = v8_str("dont_enum"); v8_str 2474 test/cctest/test-api.cc prop = v8_str("absent"); v8_str 2505 test/cctest/test-api.cc Local<Value> obj = Script::Compile(v8_str("[1, 2, 3]"))->Run(); v8_str 2531 test/cctest/test-api.cc global->Set(v8_str("f"), v8::FunctionTemplate::New(HandleF)); v8_str 2578 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("Foo"))); v8_str 2677 test/cctest/test-api.cc templ->Set(v8_str("ProvokeOutOfMemory"), v8_str 2733 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("Foo"))); v8_str 2786 test/cctest/test-api.cc Local<Value> obj = env->Global()->Get(v8_str("obj")); v8_str 2792 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2798 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2804 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2810 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2816 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2822 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2834 test/cctest/test-api.cc Local<Value> obj = env->Global()->Get(v8_str("obj")); v8_str 2839 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2844 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2849 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2854 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2859 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2864 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2869 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2874 test/cctest/test-api.cc obj = env->Global()->Get(v8_str("obj")); v8_str 2887 test/cctest/test-api.cc Local<Value> obj = env->Global()->Get(v8_str("obj")); v8_str 2936 test/cctest/test-api.cc return v8::ThrowException(v8_str("konto")); v8_str 2953 test/cctest/test-api.cc templ->Set(v8_str("ThrowFromC"), v8_str 2963 test/cctest/test-api.cc Local<Value> thrown = context->Global()->Get(v8_str("thrown")); v8_str 2971 test/cctest/test-api.cc templ->Set(v8_str("ThrowFromC"), v8_str 2990 test/cctest/test-api.cc templ->Set(v8_str("CCatcher"), v8_str 3008 test/cctest/test-api.cc CHECK(message->Get()->Equals(v8_str(reference_error))); v8_str 3026 test/cctest/test-api.cc templ->Set(v8_str("fail"), v8::FunctionTemplate::New(Fail)); v8_str 3050 test/cctest/test-api.cc CHECK(string->Equals(v8_str("Whoops"))); v8_str 3072 test/cctest/test-api.cc templ->Set(v8_str("ThrowFromC"), v8_str 3086 test/cctest/test-api.cc templ->Set(v8_str("ThrowFromC"), v8_str 3117 test/cctest/test-api.cc templ->Set(v8_str("ThrowFromC"), v8_str 3123 test/cctest/test-api.cc = Script::Compile(v8_str("ThrowFromC(); throw 'panama';")); v8_str 3139 test/cctest/test-api.cc return v8::ThrowException(v8_str("FromC")); v8_str 3142 test/cctest/test-api.cc Local<Value> fun = global->Get(v8_str("JSThrowCountDown")); v8_str 3219 test/cctest/test-api.cc templ->Set(v8_str("check"), v8::FunctionTemplate::New(JSCheck)); v8_str 3220 test/cctest/test-api.cc templ->Set(v8_str("CThrowCountDown"), v8_str 3242 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("JSThrowCountDown"))); v8_str 3283 test/cctest/test-api.cc templ->Set(v8_str("Throw"), v8::FunctionTemplate::New(ThrowValue)); v8_str 3311 test/cctest/test-api.cc Script::Compile(v8_str("throw 10"))->Run(); v8_str 3316 test/cctest/test-api.cc Script::Compile(v8_str("throw 0"))->Run(); v8_str 3327 test/cctest/test-api.cc Script::Compile(v8_str("var o = {}; with (o) { throw 42; }"))->Run(); v8_str 3353 test/cctest/test-api.cc v8_str("native_with_try_catch"), v8_str 3371 test/cctest/test-api.cc CHECK(v8_str("a")->Equals(v8_str("a"))); v8_str 3372 test/cctest/test-api.cc CHECK(!v8_str("a")->Equals(v8_str("b"))); v8_str 3374 test/cctest/test-api.cc CHECK_EQ(v8_str("a"), v8_str("a")); v8_str 3375 test/cctest/test-api.cc CHECK_NE(v8_str("a"), v8_str("b")); v8_str 3381 test/cctest/test-api.cc CHECK(v8_str("a")->StrictEquals(v8_str("a"))); v8_str 3382 test/cctest/test-api.cc CHECK(!v8_str("a")->StrictEquals(v8_str("b"))); v8_str 3383 test/cctest/test-api.cc CHECK(!v8_str("5")->StrictEquals(v8_num(5))); v8_str 3402 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("x")); v8_str 3411 test/cctest/test-api.cc CHECK_EQ(info.Data(), v8_str("donut")); v8_str 3412 test/cctest/test-api.cc CHECK_EQ(name, v8_str("x")); v8_str 3420 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut")); v8_str 3422 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3423 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("obj.x")); v8_str 3426 test/cctest/test-api.cc CHECK_EQ(result, v8_str("x")); v8_str 3433 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut")); v8_str 3435 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3439 test/cctest/test-api.cc = Script::Compile(v8_str("var prop = Object.getOwnPropertyDescriptor( " v8_str 3447 test/cctest/test-api.cc = Script::Compile(v8_str("var desc = { get: function(){return 42; }," v8_str 3460 test/cctest/test-api.cc = Script::Compile(v8_str("var desc = { get: function(){return 43; }," v8_str 3480 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut")); v8_str 3482 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3484 test/cctest/test-api.cc Local<Script> script_desc = Script::Compile(v8_str("var prop =" v8_str 3492 test/cctest/test-api.cc Script::Compile(v8_str("var desc = {get: function(){return 42; }," v8_str 3505 test/cctest/test-api.cc Script::Compile(v8_str("var desc = {get: function(){return 43; }," v8_str 3525 test/cctest/test-api.cc return v8::Handle<v8::Object>::Cast((*context)->Global()->Get(v8_str(name))); v8_str 3534 test/cctest/test-api.cc context->Global()->Set(v8_str("obj1"), templ->NewInstance()); v8_str 3541 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3547 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3571 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3573 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3594 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3596 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3608 test/cctest/test-api.cc context->Global()->Set(v8_str("obj1"), templ->NewInstance()); v8_str 3612 test/cctest/test-api.cc v8_str("x"), v8_str 3614 test/cctest/test-api.cc v8_str("donut"), v8::DEFAULT, v8::DontDelete)); v8_str 3616 test/cctest/test-api.cc v8_str("x"), v8_str 3618 test/cctest/test-api.cc v8_str("donut"), v8::DEFAULT, v8::DontDelete)); v8_str 3627 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3629 test/cctest/test-api.cc SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("donut"))); v8_str 3653 test/cctest/test-api.cc CHECK_EQ(info.Data(), v8_str("donut")); v8_str 3654 test/cctest/test-api.cc CHECK_EQ(name, v8_str("239")); v8_str 3664 test/cctest/test-api.cc context->Global()->Set(v8_str("obj1"), templ->NewInstance()); v8_str 3668 test/cctest/test-api.cc v8_str("239"), v8_str 3670 test/cctest/test-api.cc v8_str("donut"))); v8_str 3672 test/cctest/test-api.cc v8_str("239"), v8_str 3674 test/cctest/test-api.cc v8_str("donut"))); v8_str 3690 test/cctest/test-api.cc CHECK_EQ(info.Data(), v8_str("donut")); v8_str 3691 test/cctest/test-api.cc CHECK_EQ(name, v8_str("x")); v8_str 3700 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), GetXValue, SetXValue, v8_str("donut")); v8_str 3702 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3703 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("obj.x = 4")); v8_str 3727 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3728 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("obj.x")); v8_str 3731 test/cctest/test-api.cc CHECK_EQ(result, v8_str("x")); v8_str 3742 test/cctest/test-api.cc context->Global()->Set(v8_str("interceptor_obj"), templ->NewInstance()); v8_str 3743 test/cctest/test-api.cc Local<Script> script = Script::Compile(v8_str("interceptor_obj.x")); v8_str 3746 test/cctest/test-api.cc CHECK_EQ(result, v8_str("x")); v8_str 3762 test/cctest/test-api.cc CHECK_EQ(result, v8_str("x")); v8_str 3776 test/cctest/test-api.cc context1->Global()->Set(v8_str("interceptor_obj"), object); v8_str 3787 test/cctest/test-api.cc context2->Global()->Set(v8_str("interceptor_obj"), object); v8_str 3796 test/cctest/test-api.cc CHECK_EQ(result, v8_str("x")); v8_str 3813 test/cctest/test-api.cc proto.As<v8::Object>()->Set(v8_str("x"), v8::Integer::New(23)); v8_str 3827 test/cctest/test-api.cc context->Global()->Set(v8_str("F"), function_template->GetFunction()); v8_str 3863 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3864 test/cctest/test-api.cc Local<Script> getter_script = Script::Compile(v8_str( v8_str 3866 test/cctest/test-api.cc Local<Script> setter_script = Script::Compile(v8_str( v8_str 3870 test/cctest/test-api.cc Local<Script> interceptor_setter_script = Script::Compile(v8_str( v8_str 3874 test/cctest/test-api.cc Local<Script> interceptor_getter_script = Script::Compile(v8_str( v8_str 3913 test/cctest/test-api.cc Local<Script> indexed_property_names_script = Script::Compile(v8_str( v8_str 3933 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3935 test/cctest/test-api.cc Local<Script> create_unboxed_double_script = Script::Compile(v8_str( v8_str 3942 test/cctest/test-api.cc Local<Script> key_count_check = Script::Compile(v8_str( v8_str 3952 test/cctest/test-api.cc Local<Script> indexed_property_names_script = Script::Compile(v8_str( v8_str 3985 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 3987 test/cctest/test-api.cc Script::Compile(v8_str( v8_str 4008 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 4029 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 4054 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4078 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4107 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4130 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4169 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4198 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4228 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4258 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 4278 test/cctest/test-api.cc templ->Set(v8_str("dummy"), v8::FunctionTemplate::New(DummyCallHandler)); v8_str 4280 test/cctest/test-api.cc Local<String> password = v8_str("Password"); v8_str 4286 test/cctest/test-api.cc global0->Set(v8_str("custom"), v8_num(1234)); v8_str 4287 test/cctest/test-api.cc CHECK_EQ(1234, global0->Get(v8_str("custom"))->Int32Value()); v8_str 4293 test/cctest/test-api.cc global1->Set(v8_str("custom"), v8_num(1234)); v8_str 4295 test/cctest/test-api.cc CHECK_EQ(1234, global0->Get(v8_str("custom"))->Int32Value()); v8_str 4296 test/cctest/test-api.cc CHECK_EQ(1234, global1->Get(v8_str("custom"))->Int32Value()); v8_str 4303 test/cctest/test-api.cc CHECK_EQ(0, global1->Get(v8_str("custom"))->Int32Value()); v8_str 4304 test/cctest/test-api.cc CHECK_EQ(0, global2->Get(v8_str("custom"))->Int32Value()); v8_str 4318 test/cctest/test-api.cc global0->Get(v8_str("Object")).As<v8::Object>(); v8_str 4320 test/cctest/test-api.cc object0->Get(v8_str("toString")).As<v8::Object>(); v8_str 4322 test/cctest/test-api.cc tostring0->Get(v8_str("__proto__")).As<v8::Object>(); v8_str 4323 test/cctest/test-api.cc proto0->Set(v8_str("custom"), v8_num(1234)); v8_str 4329 test/cctest/test-api.cc global1->Get(v8_str("Object")).As<v8::Object>(); v8_str 4331 test/cctest/test-api.cc object1->Get(v8_str("toString")).As<v8::Object>(); v8_str 4333 test/cctest/test-api.cc tostring1->Get(v8_str("__proto__")).As<v8::Object>(); v8_str 4334 test/cctest/test-api.cc CHECK(!proto1->Has(v8_str("custom"))); v8_str 4347 test/cctest/test-api.cc Local<String> source = v8_str("Object.prototype.obj = 1234;" v8_str 4370 test/cctest/test-api.cc env->Global()->Set(v8_str("undetectable"), obj); v8_str 4414 test/cctest/test-api.cc env->Global()->Set(v8_str("undetectable"), obj); v8_str 4458 test/cctest/test-api.cc env->Global()->Set(v8_str("undetectable"), obj); v8_str 4460 test/cctest/test-api.cc Local<String> source = v8_str("undetectable.x = 42;" v8_str 4469 test/cctest/test-api.cc source = v8_str("Object.preventExtensions(undetectable);"); v8_str 4474 test/cctest/test-api.cc source = v8_str("undetectable.y = 2000;"); v8_str 4487 test/cctest/test-api.cc env->Global()->Set(v8_str("undetectable"), obj); v8_str 4528 test/cctest/test-api.cc env->Global()->Set(v8_str("undetectable"), obj); v8_str 4529 test/cctest/test-api.cc env->Global()->Set(v8_str("detectable"), v8_str("bar")); v8_str 4560 test/cctest/test-api.cc Local<String> str = v8_str("foo"); v8_str 4563 test/cctest/test-api.cc Local<Script> scr = Script::Compile(v8_str("")); v8_str 4582 test/cctest/test-api.cc global_template->Set(v8_str("JSNI_Log"), v8_str 4586 test/cctest/test-api.cc Script::Compile(v8_str("JSNI_Log('LOG')"))->Run(); v8_str 4604 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("Foo()"))->Run(); v8_str 4640 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("Ret54321()"))->Run(); v8_str 4675 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("UseEval1()"))->Run(); v8_str 4677 test/cctest/test-api.cc result = Script::Compile(v8_str("UseEval2()"))->Run(); v8_str 4708 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("UseWith1()"))->Run(); v8_str 4710 test/cctest/test-api.cc result = Script::Compile(v8_str("UseWith2()"))->Run(); v8_str 4722 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("Foo()"))->Run(); v8_str 4779 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str(kNativeCallTest))->Run(); v8_str 4815 test/cctest/test-api.cc v8::Handle<Value> result = Script::Compile(v8_str("foo(42);"))->Run(); v8_str 4852 test/cctest/test-api.cc CHECK_EQ(String::New(expected), context->Global()->Get(v8_str("loaded"))); v8_str 4881 test/cctest/test-api.cc CHECK_EQ(v8_str("undefinedACBDE"), context->Global()->Get(v8_str("loaded"))); v8_str 4899 test/cctest/test-api.cc args.This()->Set(v8_str("data"), args.Data()); v8_str 4918 test/cctest/test-api.cc if (name->Equals(v8_str("A"))) { v8_str 4920 test/cctest/test-api.cc } else if (name->Equals(v8_str("B"))) { v8_str 4922 test/cctest/test-api.cc } else if (name->Equals(v8_str("C"))) { v8_str 4937 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(8), Script::Compile(v8_str("Foo(0)"))->Run()); v8_str 4938 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(7), Script::Compile(v8_str("Foo(1)"))->Run()); v8_str 4939 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(6), Script::Compile(v8_str("Foo(2)"))->Run()); v8_str 4953 test/cctest/test-api.cc Script::Compile(v8_str("(new A()).data"))->Run()); v8_str 4955 test/cctest/test-api.cc Script::Compile(v8_str("(new B()).data"))->Run()); v8_str 4957 test/cctest/test-api.cc Script::Compile(v8_str("(new C()).data"))->Run()); v8_str 5030 test/cctest/test-api.cc Script::Compile(v8_str("throw Error()"))->Run(); v8_str 5080 test/cctest/test-api.cc prev->Set(v8_str("next"), obj); v8_str 5102 test/cctest/test-api.cc context->Global()->Set(v8_str("whammy"), interceptor); v8_str 5213 test/cctest/test-api.cc object->Set(v8_str("x"), v8::Integer::New(1)); v8_str 5214 test/cctest/test-api.cc v8::Local<String> y_str = v8_str("y"); v8_str 5225 test/cctest/test-api.cc v8::Local<String> y_str = v8_str("y"); v8_str 5226 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(1), object->Get(v8_str("x"))); v8_str 5252 test/cctest/test-api.cc global->Set(v8_str("f"), v8::FunctionTemplate::New(ArgumentsTestCallback)); v8_str 5254 test/cctest/test-api.cc args_fun = context->Global()->Get(v8_str("f")).As<Function>(); v8_str 5273 test/cctest/test-api.cc if (!name->Equals(v8_str("foo"))) { v8_str 5296 test/cctest/test-api.cc context->Global()->Set(v8_str("k"), obj->NewInstance()); v8_str 5305 test/cctest/test-api.cc CHECK_EQ(v8_compile("k.foo")->Run(), v8_str("foo")); v8_str 5318 test/cctest/test-api.cc if (name->Equals(v8_str("foo")) || v8_str 5319 test/cctest/test-api.cc name->Equals(v8_str("bar")) || v8_str 5320 test/cctest/test-api.cc name->Equals(v8_str("baz"))) { v8_str 5337 test/cctest/test-api.cc result->Set(v8::Integer::New(0), v8_str("foo")); v8_str 5338 test/cctest/test-api.cc result->Set(v8::Integer::New(1), v8_str("bar")); v8_str 5339 test/cctest/test-api.cc result->Set(v8::Integer::New(2), v8_str("baz")); v8_str 5347 test/cctest/test-api.cc result->Set(v8::Integer::New(0), v8_str("0")); v8_str 5348 test/cctest/test-api.cc result->Set(v8::Integer::New(1), v8_str("1")); v8_str 5359 test/cctest/test-api.cc context->Global()->Set(v8_str("k"), obj->NewInstance()); v8_str 5386 test/cctest/test-api.cc CHECK_EQ(v8_str("5"), result->Get(v8::Integer::New(0))); v8_str 5387 test/cctest/test-api.cc CHECK_EQ(v8_str("10"), result->Get(v8::Integer::New(1))); v8_str 5388 test/cctest/test-api.cc CHECK_EQ(v8_str("140000"), result->Get(v8::Integer::New(2))); v8_str 5389 test/cctest/test-api.cc CHECK_EQ(v8_str("4294967295"), result->Get(v8::Integer::New(3))); v8_str 5392 test/cctest/test-api.cc CHECK_EQ(v8_str("0"), result->Get(v8::Integer::New(4))); v8_str 5393 test/cctest/test-api.cc CHECK_EQ(v8_str("1"), result->Get(v8::Integer::New(5))); v8_str 5395 test/cctest/test-api.cc CHECK_EQ(v8_str("a"), result->Get(v8::Integer::New(6))); v8_str 5396 test/cctest/test-api.cc CHECK_EQ(v8_str("b"), result->Get(v8::Integer::New(7))); v8_str 5397 test/cctest/test-api.cc CHECK_EQ(v8_str("c"), result->Get(v8::Integer::New(8))); v8_str 5398 test/cctest/test-api.cc CHECK_EQ(v8_str("4294967296"), result->Get(v8::Integer::New(9))); v8_str 5399 test/cctest/test-api.cc CHECK_EQ(v8_str("d"), result->Get(v8::Integer::New(10))); v8_str 5400 test/cctest/test-api.cc CHECK_EQ(v8_str("e"), result->Get(v8::Integer::New(11))); v8_str 5401 test/cctest/test-api.cc CHECK_EQ(v8_str("30000000000"), result->Get(v8::Integer::New(12))); v8_str 5402 test/cctest/test-api.cc CHECK_EQ(v8_str("f"), result->Get(v8::Integer::New(13))); v8_str 5404 test/cctest/test-api.cc CHECK_EQ(v8_str("foo"), result->Get(v8::Integer::New(14))); v8_str 5405 test/cctest/test-api.cc CHECK_EQ(v8_str("bar"), result->Get(v8::Integer::New(15))); v8_str 5406 test/cctest/test-api.cc CHECK_EQ(v8_str("baz"), result->Get(v8::Integer::New(16))); v8_str 5418 test/cctest/test-api.cc CHECK_EQ(info.Holder(), global->Get(v8_str("o1"))); v8_str 5419 test/cctest/test-api.cc if (name->Equals(v8_str("p1"))) { v8_str 5420 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o1"))); v8_str 5421 test/cctest/test-api.cc } else if (name->Equals(v8_str("p2"))) { v8_str 5422 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o2"))); v8_str 5423 test/cctest/test-api.cc } else if (name->Equals(v8_str("p3"))) { v8_str 5424 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o3"))); v8_str 5425 test/cctest/test-api.cc } else if (name->Equals(v8_str("p4"))) { v8_str 5426 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o4"))); v8_str 5435 test/cctest/test-api.cc context->Global()->Set(v8_str("o1"), obj->NewInstance()); v8_str 5453 test/cctest/test-api.cc CHECK_EQ(info.Holder(), global->Get(v8_str("o1"))); v8_str 5454 test/cctest/test-api.cc if (name->Equals(v8_str("p1"))) { v8_str 5455 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o1"))); v8_str 5456 test/cctest/test-api.cc } else if (name->Equals(v8_str("p2"))) { v8_str 5457 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o2"))); v8_str 5458 test/cctest/test-api.cc } else if (name->Equals(v8_str("p3"))) { v8_str 5459 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o3"))); v8_str 5460 test/cctest/test-api.cc } else if (name->Equals(v8_str("p4"))) { v8_str 5461 test/cctest/test-api.cc CHECK_EQ(info.This(), global->Get(v8_str("o4"))); v8_str 5470 test/cctest/test-api.cc obj->SetAccessor(v8_str("p1"), PGetter); v8_str 5471 test/cctest/test-api.cc obj->SetAccessor(v8_str("p2"), PGetter); v8_str 5472 test/cctest/test-api.cc obj->SetAccessor(v8_str("p3"), PGetter); v8_str 5473 test/cctest/test-api.cc obj->SetAccessor(v8_str("p4"), PGetter); v8_str 5493 test/cctest/test-api.cc templ->SetAccessor(v8_str("t"), PGetter2); v8_str 5495 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 5499 test/cctest/test-api.cc CHECK_NE(obj, context->Global()->Get(v8_str("o"))); v8_str 5500 test/cctest/test-api.cc context->Global()->Set(v8_str("o2"), obj); v8_str 5502 test/cctest/test-api.cc Script::Compile(v8_str("o.__proto__ === o2.__proto__"))->Run(); v8_str 5504 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), obj); v8_str 5544 test/cctest/test-api.cc v8::Handle<String> str = v8_str("abcde"); v8_str 5546 test/cctest/test-api.cc v8::Handle<String> str2 = v8_str("abc\303\260\342\230\203"); v8_str 5559 test/cctest/test-api.cc Handle<String> left_tree = global->Get(v8_str("left")).As<String>(); v8_str 5560 test/cctest/test-api.cc Handle<String> right_tree = global->Get(v8_str("right")).As<String>(); v8_str 5766 test/cctest/test-api.cc Local<v8::Array>::Cast(context->Global()->Get(v8_str(name))); v8_str 5768 test/cctest/test-api.cc Local<v8::Array>::Cast(context->Global()->Get(v8_str(lengths_name))); v8_str 5795 test/cctest/test-api.cc Local<v8::Array>::Cast(context->Global()->Get(v8_str(name))); v8_str 5797 test/cctest/test-api.cc Local<v8::Array>::Cast(context->Global()->Get(v8_str(lengths_name))); v8_str 5829 test/cctest/test-api.cc Handle<String> roundtrip = v8_str(buffer); v8_str 5964 test/cctest/test-api.cc Local<Value> s0 = global->Get(v8_str("sym0")); v8_str 5965 test/cctest/test-api.cc Local<Value> s0b = global->Get(v8_str("sym0b")); v8_str 5966 test/cctest/test-api.cc Local<Value> s1 = global->Get(v8_str("sym1")); v8_str 5967 test/cctest/test-api.cc Local<Value> s2 = global->Get(v8_str("sym2")); v8_str 5968 test/cctest/test-api.cc Local<Value> s3 = global->Get(v8_str("sym3")); v8_str 5969 test/cctest/test-api.cc Local<Value> s4 = global->Get(v8_str("sym4")); v8_str 5983 test/cctest/test-api.cc v8::Handle<String> str = v8_str("42"); v8_str 5987 test/cctest/test-api.cc str = v8_str("42asdf"); v8_str 5990 test/cctest/test-api.cc str = v8_str("-42"); v8_str 5993 test/cctest/test-api.cc str = v8_str("4294967295"); v8_str 6014 test/cctest/test-api.cc v8::Handle<String> foo = v8_str("foo"); v8_str 6015 test/cctest/test-api.cc v8::Handle<String> message = v8_str("message"); v8_str 6053 test/cctest/test-api.cc obj->SetAccessor(v8_str("y"), YGetter, YSetter); v8_str 6056 test/cctest/test-api.cc context->Global()->Set(v8_str("holder"), holder); v8_str 6124 test/cctest/test-api.cc arg_this->Get(v8_str("trouble_callee")) : v8_str 6125 test/cctest/test-api.cc arg_this->Get(v8_str("trouble_caller")); v8_str 6148 test/cctest/test-api.cc global->Set(v8_str("trouble"), fun->GetFunction()); v8_str 6150 test/cctest/test-api.cc Script::Compile(v8_str("function trouble_callee() {" v8_str 6157 test/cctest/test-api.cc Local<Value> trouble = global->Get(v8_str("trouble")); v8_str 6159 test/cctest/test-api.cc Local<Value> trouble_callee = global->Get(v8_str("trouble_callee")); v8_str 6161 test/cctest/test-api.cc Local<Value> trouble_caller = global->Get(v8_str("trouble_caller")); v8_str 6187 test/cctest/test-api.cc global->Set(v8_str("trouble"), fun->GetFunction()); v8_str 6189 test/cctest/test-api.cc Script::Compile(v8_str("function trouble() {\n" v8_str 6193 test/cctest/test-api.cc Local<Value> trouble = global->Get(v8_str("trouble")); v8_str 6204 test/cctest/test-api.cc Script::Compile(v8_str("This doesn't &*&@#$&*^ compile.")); v8_str 6214 test/cctest/test-api.cc Script::Compile(v8_str("try { throw ''; } catch (e) {}"))->Run(); v8_str 6216 test/cctest/test-api.cc Script::Compile(v8_str("try { throw ''; } finally {}"))->Run(); v8_str 6219 test/cctest/test-api.cc Script::Compile(v8_str("(function() {" v8_str 6223 test/cctest/test-api.cc Script::Compile(v8_str("(function()" v8_str 6244 test/cctest/test-api.cc global0->Set(v8_str("0"), v8_num(999)); v8_str 6245 test/cctest/test-api.cc v8::Handle<Value> foo0 = global0->Get(v8_str("foo")); v8_str 6247 test/cctest/test-api.cc v8::Handle<Value> z0 = global0->Get(v8_str("0")); v8_str 6258 test/cctest/test-api.cc global1->Set(v8_str("othercontext"), global0); v8_str 6264 test/cctest/test-api.cc v8::Handle<Value> foo1 = global0->Get(v8_str("foo")); v8_str 6267 test/cctest/test-api.cc v8::Handle<Value> z1 = global0->Get(v8_str("0")); v8_str 6275 test/cctest/test-api.cc global2->Set(v8_str("othercontext"), global0); v8_str 6279 test/cctest/test-api.cc v8::Handle<Value> foo2 = global0->Get(v8_str("foo")); v8_str 6281 test/cctest/test-api.cc v8::Handle<Value> z2 = global0->Get(v8_str("0")); v8_str 6298 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6299 test/cctest/test-api.cc Local<Value> bar = v8_str("bar"); v8_str 6305 test/cctest/test-api.cc Script::Compile(v8_str("spy=function(){return spy;}"))->Run(); v8_str 6306 test/cctest/test-api.cc Local<Value> spy = env1->Global()->Get(v8_str("spy")); v8_str 6310 test/cctest/test-api.cc Script::Compile(v8_str("spy2=function(){return new this.Array();}"))->Run(); v8_str 6311 test/cctest/test-api.cc Local<Value> spy2 = env1->Global()->Get(v8_str("spy2")); v8_str 6347 test/cctest/test-api.cc other_object = other->Global()->Get(v8_str("Object")); v8_str 6351 test/cctest/test-api.cc current->Global()->Set(v8_str("other"), other->Global()); v8_str 6385 test/cctest/test-api.cc other->Global()->Set(v8_str("__proto__"), current->Global()); v8_str 6390 test/cctest/test-api.cc current->Global()->Set(v8_str("foo"), v8_num(100)); v8_str 6411 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6412 test/cctest/test-api.cc Local<Value> bar = v8_str("bar"); v8_str 6418 test/cctest/test-api.cc env1->Global()->Set(v8_str("prop"), v8_num(3)); v8_str 6419 test/cctest/test-api.cc env2->Global()->Set(v8_str("env1"), env1->Global()); v8_str 6426 test/cctest/test-api.cc Script::Compile(v8_str("delete env1.prop"))->Run(); v8_str 6431 test/cctest/test-api.cc Local<Value> v = env1->Global()->Get(v8_str("prop")); v8_str 6444 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6445 test/cctest/test-api.cc Local<Value> bar = v8_str("bar"); v8_str 6451 test/cctest/test-api.cc env1->Global()->Set(v8_str("prop"), v8_num(3)); v8_str 6452 test/cctest/test-api.cc env2->Global()->Set(v8_str("env1"), env1->Global()); v8_str 6455 test/cctest/test-api.cc Local<String> test = v8_str("propertyIsEnumerable.call(env1, 'prop')"); v8_str 6479 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6480 test/cctest/test-api.cc Local<Value> bar = v8_str("bar"); v8_str 6486 test/cctest/test-api.cc env1->Global()->Set(v8_str("prop"), v8_num(3)); v8_str 6487 test/cctest/test-api.cc env2->Global()->Set(v8_str("env1"), env1->Global()); v8_str 6514 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6525 test/cctest/test-api.cc global2->Set(v8_str("prop"), v8::Integer::New(1)); v8_str 6528 test/cctest/test-api.cc env1->Global()->Set(v8_str("getProp"), v8_str 6529 test/cctest/test-api.cc global2->Get(v8_str("getProp"))); v8_str 6539 test/cctest/test-api.cc env3->SetSecurityToken(v8_str("bar")); v8_str 6544 test/cctest/test-api.cc CHECK(global3->Get(v8_str("prop"))->IsUndefined()); v8_str 6545 test/cctest/test-api.cc CHECK(global3->Get(v8_str("getProp"))->IsUndefined()); v8_str 6546 test/cctest/test-api.cc global3->Set(v8_str("prop"), v8::Integer::New(-1)); v8_str 6547 test/cctest/test-api.cc global3->Set(v8_str("prop2"), v8::Integer::New(2)); v8_str 6552 test/cctest/test-api.cc Local<Value> get_prop = global1->Get(v8_str("getProp")); v8_str 6562 test/cctest/test-api.cc Local<Value> r = global3->Get(v8_str("prop2")); v8_str 6578 test/cctest/test-api.cc Local<Value> foo = v8_str("foo"); v8_str 6587 test/cctest/test-api.cc env2->Global()->Set(v8_str("p"), v8::Integer::New(42)); v8_str 6591 test/cctest/test-api.cc env1->Global()->Set(v8_str("other"), env2->Global()); v8_str 6618 test/cctest/test-api.cc env3->Global()->Set(v8_str("p"), v8::Integer::New(24)); v8_str 6627 test/cctest/test-api.cc env3->SetSecurityToken(v8_str("bar")); v8_str 6706 test/cctest/test-api.cc v8_str("accessible_prop"), v8_str 6712 test/cctest/test-api.cc global_template->SetAccessor(v8_str("blocked_prop"), v8_str 6729 test/cctest/test-api.cc Local<Value> getter = global0->Get(v8_str("getter")); v8_str 6730 test/cctest/test-api.cc Local<Value> setter = global0->Get(v8_str("setter")); v8_str 6733 test/cctest/test-api.cc global0->Set(239, v8_str("239")); v8_str 6741 test/cctest/test-api.cc Local<Value> el_getter = global0->Get(v8_str("el_getter")); v8_str 6742 test/cctest/test-api.cc Local<Value> el_setter = global0->Get(v8_str("el_setter")); v8_str 6750 test/cctest/test-api.cc global1->Set(v8_str("other"), global0); v8_str 6950 test/cctest/test-api.cc v8_str("accessible_prop"), v8_str 6957 test/cctest/test-api.cc global_template->SetAccessor(v8_str("blocked_prop"), v8_str 6971 test/cctest/test-api.cc global1->Set(v8_str("other"), global0); v8_str 7031 test/cctest/test-api.cc obj_template->Set(v8_str("x"), v8::Integer::New(42)); v8_str 7047 test/cctest/test-api.cc global1->Set(v8_str("other"), global0); v8_str 7048 test/cctest/test-api.cc global1->Set(v8_str("object"), obj_template->NewInstance()); v8_str 7072 test/cctest/test-api.cc result->Set(0, v8_str("x")); v8_str 7081 test/cctest/test-api.cc obj_template->Set(v8_str("x"), v8::Integer::New(42)); v8_str 7087 test/cctest/test-api.cc global->Set(v8_str("object"), obj_template->NewInstance()); v8_str 7091 test/cctest/test-api.cc CHECK_EQ(v8_str("x"), value); v8_str 7113 test/cctest/test-api.cc proto_template->SetAccessor(v8_str("accessible"), v8_str 7119 test/cctest/test-api.cc global_template->SetAccessor(v8_str("unreachable"), v8_str 7129 test/cctest/test-api.cc global->Set(v8_str("accessible"), v8_num(11)); v8_str 7137 test/cctest/test-api.cc global1->Set(v8_str("other"), global); v8_str 7201 test/cctest/test-api.cc global1->Set(v8_str("obj"), object); v8_str 7350 test/cctest/test-api.cc global1->Set(v8_str("obj"), object); v8_str 7419 test/cctest/test-api.cc global1->Set(v8_str("obj"), object); v8_str 7474 test/cctest/test-api.cc instance->Set(v8_str("x"), v8_num(42)); v8_str 7475 test/cctest/test-api.cc instance->Set(v8_str("f"), v8_str 7480 test/cctest/test-api.cc context->Global()->Set(v8_str("i"), o); v8_str 7481 test/cctest/test-api.cc Local<Value> value = Script::Compile(v8_str("i.x"))->Run(); v8_str 7484 test/cctest/test-api.cc value = Script::Compile(v8_str("i.f()"))->Run(); v8_str 7505 test/cctest/test-api.cc instance_template->Set(v8_str("x"), v8_num(42)); v8_str 7506 test/cctest/test-api.cc instance_template->Set(v8_str("f"), v8_str 7531 test/cctest/test-api.cc Local<Value> value = Script::Compile(v8_str("x"))->Run(); v8_str 7533 test/cctest/test-api.cc value = Script::Compile(v8_str("f()"))->Run(); v8_str 7535 test/cctest/test-api.cc value = Script::Compile(v8_str(script))->Run(); v8_str 7542 test/cctest/test-api.cc Local<Value> value = Script::Compile(v8_str("x"))->Run(); v8_str 7544 test/cctest/test-api.cc value = Script::Compile(v8_str("f()"))->Run(); v8_str 7546 test/cctest/test-api.cc value = Script::Compile(v8_str(script))->Run(); v8_str 7580 test/cctest/test-api.cc foo = Script::Compile(v8_str(script))->Run(); v8_str 7586 test/cctest/test-api.cc env->Global()->Set(v8_str("foo"), foo); v8_str 7587 test/cctest/test-api.cc Script::Compile(v8_str("foo()"))->Run(); v8_str 7644 test/cctest/test-api.cc proto->Set(v8_str("f"), v8_str 7648 test/cctest/test-api.cc proto->Set(v8_str("x"), v8_num(12)); v8_str 7650 test/cctest/test-api.cc instance->SetAccessor(v8_str("y"), ShadowYGetter, ShadowYSetter); v8_str 7653 test/cctest/test-api.cc context->Global()->Set(v8_str("__proto__"), o); v8_str 7656 test/cctest/test-api.cc Script::Compile(v8_str("this.propertyIsEnumerable(0)"))->Run(); v8_str 7660 test/cctest/test-api.cc value = Script::Compile(v8_str("x"))->Run(); v8_str 7663 test/cctest/test-api.cc value = Script::Compile(v8_str("f()"))->Run(); v8_str 7666 test/cctest/test-api.cc Script::Compile(v8_str("y = 43"))->Run(); v8_str 7668 test/cctest/test-api.cc value = Script::Compile(v8_str("y"))->Run(); v8_str 7679 test/cctest/test-api.cc t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0)); v8_str 7682 test/cctest/test-api.cc t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1)); v8_str 7685 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2)); v8_str 7687 test/cctest/test-api.cc t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3)); v8_str 7695 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7696 test/cctest/test-api.cc o0->Set(v8_str("__proto__"), o1); v8_str 7697 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7698 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7699 test/cctest/test-api.cc o0->Set(v8_str("__proto__"), o2); v8_str 7700 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7701 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7702 test/cctest/test-api.cc CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value()); v8_str 7703 test/cctest/test-api.cc o0->Set(v8_str("__proto__"), o3); v8_str 7704 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7705 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7706 test/cctest/test-api.cc CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value()); v8_str 7707 test/cctest/test-api.cc CHECK_EQ(3, o0->Get(v8_str("u"))->Int32Value()); v8_str 7712 test/cctest/test-api.cc Local<Value> proto = o0->Get(v8_str("__proto__")); v8_str 7714 test/cctest/test-api.cc CHECK(proto.As<v8::Object>()->Get(v8_str("z"))->IsUndefined()); v8_str 7723 test/cctest/test-api.cc t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0)); v8_str 7726 test/cctest/test-api.cc t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1)); v8_str 7729 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2)); v8_str 7731 test/cctest/test-api.cc t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3)); v8_str 7739 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7741 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7742 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7744 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7745 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7746 test/cctest/test-api.cc CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value()); v8_str 7748 test/cctest/test-api.cc CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value()); v8_str 7749 test/cctest/test-api.cc CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value()); v8_str 7750 test/cctest/test-api.cc CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value()); v8_str 7751 test/cctest/test-api.cc CHECK_EQ(3, o0->Get(v8_str("u"))->Int32Value()); v8_str 7756 test/cctest/test-api.cc Local<Value> proto = o0->Get(v8_str("__proto__")); v8_str 7785 test/cctest/test-api.cc t1->InstanceTemplate()->Set(v8_str("foo"), v8_num(1)); v8_str 7788 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("fuz1"), v8_num(2)); v8_str 7789 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("objects"), v8::Object::New()); v8_str 7790 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("fuz2"), v8_num(2)); v8_str 7793 test/cctest/test-api.cc t3->InstanceTemplate()->Set(v8_str("boo"), v8_num(3)); v8_str 7795 test/cctest/test-api.cc t4->InstanceTemplate()->Set(v8_str("baz"), v8_num(4)); v8_str 7801 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str(name_buf.start()), v8_num(2)); v8_str 7816 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), o4); v8_str 7834 test/cctest/test-api.cc t1->PrototypeTemplate()->Set(v8_str("x"), v8::Integer::New(42)); v8_str 7836 test/cctest/test-api.cc context->Global()->Set(v8_str("func1"), t1->GetFunction()); v8_str 7848 test/cctest/test-api.cc t2->PrototypeTemplate()->Set(v8_str("x"), v8::Integer::New(42)); v8_str 7849 test/cctest/test-api.cc context->Global()->Set(v8_str("func2"), t2->GetFunction()); v8_str 7891 test/cctest/test-api.cc Local<v8::Object>::Cast(context->Global()->Get(v8_str("x"))); v8_str 7893 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); v8_str 7894 test/cctest/test-api.cc x->Get(v8_str("get")); v8_str 7895 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); v8_str 7896 test/cctest/test-api.cc x->Get(v8_str("get")); v8_str 7897 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); v8_str 7898 test/cctest/test-api.cc x->Get(v8_str("get")); v8_str 7899 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); v8_str 7900 test/cctest/test-api.cc x->Get(v8_str("get")); v8_str 7908 test/cctest/test-api.cc templ->SetClassName(v8_str("Fun")); v8_str 7910 test/cctest/test-api.cc context->Global()->Set(v8_str("Fun"), cons); v8_str 7934 test/cctest/test-api.cc This->Set(v8_str("a"), args[0]); v8_str 7952 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), instance); v8_str 7967 test/cctest/test-api.cc value = object1->Get(v8_str("a")); v8_str 7980 test/cctest/test-api.cc Local<Value> args2[] = { v8_str("tipli") }; v8_str 7984 test/cctest/test-api.cc value = object2->Get(v8_str("a")); v8_str 8000 test/cctest/test-api.cc value = object3->Get(v8_str("a")); v8_str 8010 test/cctest/test-api.cc value = object4->Get(v8_str("a")); v8_str 8019 test/cctest/test-api.cc value = object5->Get(v8_str("a")); v8_str 8027 test/cctest/test-api.cc context->Global()->Set(v8_str("obj2"), instance); v8_str 8050 test/cctest/test-api.cc context->Global()->Set(v8_str("obj3"), instance); v8_str 8074 test/cctest/test-api.cc context->Global()->Set(v8_str("obj4"), instance1); v8_str 8094 test/cctest/test-api.cc context->Global()->Set(v8_str("obj5"), instance2); v8_str 8116 test/cctest/test-api.cc templ->SetClassName(v8_str("Fun")); v8_str 8118 test/cctest/test-api.cc context->Global()->Set(v8_str("Fun"), cons); v8_str 8143 test/cctest/test-api.cc Script::Compile(v8_str("function f(x) { " v8_str 8154 test/cctest/test-api.cc CHECK_EQ(2, current->Global()->Get(v8_str("result1"))->Int32Value()); v8_str 8155 test/cctest/test-api.cc CHECK_EQ(0, current->Global()->Get(v8_str("result2"))->Int32Value()); v8_str 8156 test/cctest/test-api.cc CHECK_EQ(1, current->Global()->Get(v8_str("result3"))->Int32Value()); v8_str 8160 test/cctest/test-api.cc Script::Compile(v8_str("function f(x) { " v8_str 8167 test/cctest/test-api.cc CHECK_EQ(2, current->Global()->Get(v8_str("result4"))->Int32Value()); v8_str 8178 test/cctest/test-api.cc Local<String> token = v8_str("<security token>"); v8_str 8183 test/cctest/test-api.cc current->Global()->Set(v8_str("other"), other->Global()); v8_str 8187 test/cctest/test-api.cc Script::Compile(v8_str("other.eval('var foo = 1234')")); v8_str 8189 test/cctest/test-api.cc Local<Value> foo = other->Global()->Get(v8_str("foo")); v8_str 8191 test/cctest/test-api.cc CHECK(!current->Global()->Has(v8_str("foo"))); v8_str 8196 test/cctest/test-api.cc Script::Compile(v8_str("other.eval('na = 1234')")); v8_str 8198 test/cctest/test-api.cc CHECK_EQ(1234, other->Global()->Get(v8_str("na"))->Int32Value()); v8_str 8199 test/cctest/test-api.cc CHECK(!current->Global()->Has(v8_str("na"))); v8_str 8205 test/cctest/test-api.cc Script::Compile(v8_str("var bar = 42; other.eval('bar');")); v8_str 8213 test/cctest/test-api.cc Script::Compile(v8_str("(function() { " v8_str 8223 test/cctest/test-api.cc other->Global()->Set(v8_str("bis"), v8_num(1234)); v8_str 8224 test/cctest/test-api.cc script = Script::Compile(v8_str("other.eval('bis')")); v8_str 8230 test/cctest/test-api.cc other->Global()->Set(v8_str("t"), other->Global()); v8_str 8231 test/cctest/test-api.cc script = Script::Compile(v8_str("other.eval('this == t')")); v8_str 8239 test/cctest/test-api.cc Script::Compile(v8_str("with({x:2}){other.eval('x')}")); v8_str 8247 test/cctest/test-api.cc Script::Compile(v8_str("other.y = 1; eval.call(other, 'y')")); v8_str 8276 test/cctest/test-api.cc context1->Global()->Set(v8_str("fun"), fun); v8_str 8296 test/cctest/test-api.cc Local<String> token = v8_str("<security token>"); v8_str 8301 test/cctest/test-api.cc current->Global()->Set(v8_str("other"), other->Global()); v8_str 8305 test/cctest/test-api.cc Script::Compile(v8_str("other.eval('new Date(42)')")); v8_str 8334 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), instance); v8_str 8387 test/cctest/test-api.cc context->Global()->Set(v8_str("obj2"), instance); v8_str 8416 test/cctest/test-api.cc context->Global()->Set(v8_str("obj3"), instance); v8_str 8538 test/cctest/test-api.cc context->Global()->Set(v8_str("constructor"), function); v8_str 8570 test/cctest/test-api.cc context->Global()->Set(v8_str("constructor"), function); v8_str 8601 test/cctest/test-api.cc templ->SetNamedPropertyHandler(getter, 0, 0, 0, 0, v8_str("data")); v8_str 8603 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 8614 test/cctest/test-api.cc CHECK_EQ(v8_str("data"), info.Data()); v8_str 8615 test/cctest/test-api.cc CHECK_EQ(v8_str("x"), name); v8_str 8638 test/cctest/test-api.cc return v8_str("x")->Equals(name) v8_str 8811 test/cctest/test-api.cc templ->SetAccessor(v8_str("y"), Return239); v8_str 8813 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 8841 test/cctest/test-api.cc templ_p->SetAccessor(v8_str("y"), Return239); v8_str 8844 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 8845 test/cctest/test-api.cc context->Global()->Set(v8_str("p"), templ_p->NewInstance()); v8_str 8873 test/cctest/test-api.cc templ->SetAccessor(v8_str("y"), Return239); v8_str 8876 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 8902 test/cctest/test-api.cc templ_p->SetAccessor(v8_str("y"), Return239); v8_str 8905 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 8906 test/cctest/test-api.cc context->Global()->Set(v8_str("p"), templ_p->NewInstance()); v8_str 8930 test/cctest/test-api.cc templ_p->SetAccessor(v8_str("y"), Return239, SetOnThis); v8_str 8933 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 8934 test/cctest/test-api.cc context->Global()->Set(v8_str("p"), templ_p->NewInstance()); v8_str 8962 test/cctest/test-api.cc templ_p->SetAccessor(v8_str("y"), Return239, SetOnThis); v8_str 8965 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 8966 test/cctest/test-api.cc context->Global()->Set(v8_str("p"), templ_p->NewInstance()); v8_str 8988 test/cctest/test-api.cc CHECK(v8_str("x")->Equals(name)); v8_str 9002 test/cctest/test-api.cc CHECK(v8_str("x")->Equals(key)); v8_str 9014 test/cctest/test-api.cc 0, 0, 0, v8_str("data")); v8_str 9016 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9029 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9048 test/cctest/test-api.cc CHECK(v8_str("x")->Equals(name)); v8_str 9059 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9078 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9093 test/cctest/test-api.cc CHECK(v8_str("x")->Equals(name)); v8_str 9106 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9126 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9153 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9170 test/cctest/test-api.cc if (v8_str("x")->Equals(name)) v8_str 9185 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9204 test/cctest/test-api.cc if (v8_str("x")->Equals(name)) v8_str 9219 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9249 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9279 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9305 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 9343 test/cctest/test-api.cc CHECK(args.Data()->Equals(v8_str("method_data"))); v8_str 9353 test/cctest/test-api.cc CHECK(args.Data()->Equals(v8_str("method_data"))); v8_str 9356 test/cctest/test-api.cc CHECK(args.Holder()->HasRealNamedProperty(v8_str("foo"))); v8_str 9389 test/cctest/test-api.cc context->Global()->Set(v8_str("nativeobject"), nativeobject_obj); v8_str 9402 test/cctest/test-api.cc return v8::ThrowException(v8_str("g")); v8_str 9413 test/cctest/test-api.cc context->Global()->Set(v8_str("nativeobject"), nativeobject_obj); v8_str 9423 test/cctest/test-api.cc CHECK_EQ(v8_str("ggggg"), result); v8_str 9441 test/cctest/test-api.cc obj->SetAccessor(v8_str("p1"), DirectGetterCallback); v8_str 9442 test/cctest/test-api.cc context->Global()->Set(v8_str("o1"), obj->NewInstance()); v8_str 9455 test/cctest/test-api.cc return v8::ThrowException(v8_str("g")); v8_str 9463 test/cctest/test-api.cc obj->SetAccessor(v8_str("p1"), ThrowingDirectGetterCallback); v8_str 9464 test/cctest/test-api.cc context->Global()->Set(v8_str("o1"), obj->NewInstance()); v8_str 9471 test/cctest/test-api.cc CHECK_EQ(v8_str("ggggg"), result); v8_str 9481 test/cctest/test-api.cc v8_str("method_data"), v8_str 9484 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9492 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9498 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9508 test/cctest/test-api.cc v8_str("method_data"), v8_str 9511 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9519 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9528 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9538 test/cctest/test-api.cc v8_str("method_data"), v8_str 9541 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9549 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9563 test/cctest/test-api.cc CHECK_EQ(40, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9564 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9574 test/cctest/test-api.cc v8_str("method_data"), v8_str 9577 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9585 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9599 test/cctest/test-api.cc CHECK_EQ(40, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9600 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9610 test/cctest/test-api.cc v8_str("method_data"), v8_str 9613 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9621 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9637 test/cctest/test-api.cc CHECK_EQ(v8_str("TypeError: Object 333 has no method 'method'"), v8_str 9639 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9649 test/cctest/test-api.cc v8_str("method_data"), v8_str 9652 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9660 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9676 test/cctest/test-api.cc CHECK_EQ(v8_str("TypeError: Illegal invocation"), v8_str 9678 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9687 test/cctest/test-api.cc v8_str("method_data"), v8_str 9690 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9696 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9703 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9711 test/cctest/test-api.cc v8_str("method_data"), v8_str 9714 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9720 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9730 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9738 test/cctest/test-api.cc v8_str("method_data"), v8_str 9741 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9747 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9761 test/cctest/test-api.cc CHECK_EQ(40, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9762 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9770 test/cctest/test-api.cc v8_str("method_data"), v8_str 9773 test/cctest/test-api.cc proto_templ->Set(v8_str("method"), method_templ); v8_str 9779 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), fun->NewInstance()); v8_str 9795 test/cctest/test-api.cc CHECK_EQ(v8_str("TypeError: Object 333 has no method 'method'"), v8_str 9797 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9806 test/cctest/test-api.cc if (v8_str("x")->Equals(name)) { v8_str 9820 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9832 test/cctest/test-api.cc CHECK_EQ(42*5 + 40*5, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9844 test/cctest/test-api.cc context->Global()->Set(v8_str("proto1"), templ->NewInstance()); v8_str 9860 test/cctest/test-api.cc CHECK_EQ(42*5 + 40*5, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9871 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ->NewInstance()); v8_str 9886 test/cctest/test-api.cc CHECK_EQ(42*5 + 40*5, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9896 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 9910 test/cctest/test-api.cc CHECK_EQ(3, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9911 test/cctest/test-api.cc CHECK_EQ(239, context->Global()->Get(v8_str("saved_result"))->Int32Value()); v8_str 9920 test/cctest/test-api.cc context->Global()->Set(v8_str("proto"), templ_o->NewInstance()); v8_str 9932 test/cctest/test-api.cc CHECK_EQ(42*5 + 40*5, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9942 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), templ_o->NewInstance()); v8_str 9954 test/cctest/test-api.cc CHECK_EQ(42*5 + 40*5, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 9963 test/cctest/test-api.cc if (v8_str("x")->Equals(name) && interceptor_call_count++ < 20) { v8_str 10007 test/cctest/test-api.cc if (v8_str("x")->Equals(name) && ++interceptor_ic_exception_get_count < 20) { v8_str 10088 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 10103 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 10115 test/cctest/test-api.cc env->Global()->Set(v8_str("obj"), v8_str 10136 test/cctest/test-api.cc instance_templ->SetAccessor(v8_str("f"), ThrowingGetter); v8_str 10151 test/cctest/test-api.cc Local<Value> result = instance->GetRealNamedProperty(v8_str("f")); v8_str 10156 test/cctest/test-api.cc result = another->GetRealNamedProperty(v8_str("f")); v8_str 10161 test/cctest/test-api.cc result = another->GetRealNamedPropertyInPrototypeChain(v8_str("f")); v8_str 10166 test/cctest/test-api.cc result = another->Get(v8_str("f")); v8_str 10171 test/cctest/test-api.cc result = with_js_getter->GetRealNamedProperty(v8_str("f")); v8_str 10176 test/cctest/test-api.cc result = with_js_getter->Get(v8_str("f")); v8_str 10210 test/cctest/test-api.cc if (--call_depth) ThrowException(v8_str("ThrowViaApi")); v8_str 10227 test/cctest/test-api.cc context->Global()->Set(v8_str("func"), func); v8_str 10273 test/cctest/test-api.cc parent_instance_templ->SetAccessor(v8_str("f"), ParentGetter); v8_str 10282 test/cctest/test-api.cc child_instance_templ->SetAccessor(v8_str("f"), ChildGetter); v8_str 10284 test/cctest/test-api.cc child_instance_templ->SetAccessor(v8_str("g"), ParentGetter); v8_str 10285 test/cctest/test-api.cc child_instance_templ->SetAccessor(v8_str("g"), ChildGetter); v8_str 10290 test/cctest/test-api.cc child_proto_templ->SetAccessor(v8_str("h"), ParentGetter, 0, v8_str 10296 test/cctest/test-api.cc child_instance_templ->SetAccessor(v8_str("i"), ChildGetter, 0, v8_str 10305 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), instance); v8_str 10337 test/cctest/test-api.cc context->Global()->Set(v8_str("f"), templ->GetFunction()); v8_str 10348 test/cctest/test-api.cc templ->SetClassName(v8_str("MyClass")); v8_str 10352 test/cctest/test-api.cc Local<String> customized_tostring = v8_str("customized toString"); v8_str 10366 test/cctest/test-api.cc CHECK(value->IsString() && value->Equals(v8_str("[object MyClass]"))); v8_str 10370 test/cctest/test-api.cc CHECK(value->IsString() && value->Equals(v8_str("[object global]"))); v8_str 10375 test/cctest/test-api.cc CHECK(value->IsString() && value->Equals(v8_str("[object Object]"))); v8_str 10390 test/cctest/test-api.cc Local<v8::Value> p = context->Global()->Get(v8_str("p")); v8_str 10392 test/cctest/test-api.cc v8_str("Parent"))); v8_str 10394 test/cctest/test-api.cc Local<v8::Value> c = context->Global()->Get(v8_str("c")); v8_str 10396 test/cctest/test-api.cc v8_str("Child"))); v8_str 10398 test/cctest/test-api.cc Local<v8::Value> x = context->Global()->Get(v8_str("x")); v8_str 10400 test/cctest/test-api.cc v8_str("outer.inner"))); v8_str 10595 test/cctest/test-api.cc return v8_str("foo"); v8_str 10609 test/cctest/test-api.cc env->Global()->Set(v8_str("throw_in_js"), fun); v8_str 10631 test/cctest/test-api.cc env->Global()->Set(v8_str("throw_in_js"), fun); v8_str 10668 test/cctest/test-api.cc env->Global()->Set(v8_str("unlock_for_a_moment"), fun); v8_str 10682 test/cctest/test-api.cc env->Global()->Set(v8_str("unlock_for_a_moment"), fun); v8_str 10918 test/cctest/test-api.cc v8::Utils::OpenHandle(*env->Global()->Get(v8_str("bar")))); v8_str 10923 test/cctest/test-api.cc v8::Utils::OpenHandle(*env->Global()->Get(v8_str("foo")))); v8_str 11128 test/cctest/test-api.cc t->Set(v8_str("asdf"), v8::FunctionTemplate::New(FunctionNameCallback)); v8_str 11129 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), t->NewInstance()); v8_str 11252 test/cctest/test-api.cc templ->Set(v8_str("x"), v8::True()); v8_str 11254 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), instance); v8_str 11283 test/cctest/test-api.cc templ->Set(v8_str("a"), v8_str("a")); v8_str 11295 test/cctest/test-api.cc templ->Set(v8_str(buf), v8::Number::New(k)); v8_str 11301 test/cctest/test-api.cc context->Global()->Set(v8_str("obj_1"), instance_1); v8_str 11307 test/cctest/test-api.cc context->Global()->Set(v8_str("obj_2"), instance_2); v8_str 11347 test/cctest/test-api.cc context->Global()->Set(v8_str("a"), v8_num(1)); v8_str 11354 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("f1"))); v8_str 11356 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("f2"))); v8_str 11358 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("g1"))); v8_str 11360 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("g2"))); v8_str 11362 test/cctest/test-api.cc Local<Function>::Cast(context->Global()->Get(v8_str("h"))); v8_str 11428 test/cctest/test-api.cc context->Global()->Set(v8_str("a"), v8_num(1)); v8_str 11441 test/cctest/test-api.cc f1 = Local<Function>::Cast(context->Global()->Get(v8_str("f1"))); v8_str 11442 test/cctest/test-api.cc f2 = Local<Function>::Cast(context->Global()->Get(v8_str("f2"))); v8_str 11443 test/cctest/test-api.cc g1 = Local<Function>::Cast(context->Global()->Get(v8_str("g1"))); v8_str 11444 test/cctest/test-api.cc g2 = Local<Function>::Cast(context->Global()->Get(v8_str("g2"))); v8_str 11445 test/cctest/test-api.cc h = Local<Function>::Cast(context->Global()->Get(v8_str("h"))); v8_str 11483 test/cctest/test-api.cc f1 = Local<Function>::Cast(context->Global()->Get(v8_str("f1"))); v8_str 11484 test/cctest/test-api.cc f2 = Local<Function>::Cast(context->Global()->Get(v8_str("f2"))); v8_str 11485 test/cctest/test-api.cc g1 = Local<Function>::Cast(context->Global()->Get(v8_str("g1"))); v8_str 11486 test/cctest/test-api.cc g2 = Local<Function>::Cast(context->Global()->Get(v8_str("g2"))); v8_str 11487 test/cctest/test-api.cc CHECK(context->Global()->Get(v8_str("h"))->IsUndefined()); v8_str 11666 test/cctest/test-api.cc context->Global()->Set(v8_str("tmp"), v8::True()); v8_str 11667 test/cctest/test-api.cc context->Global()->Delete(v8_str("tmp")); v8_str 11673 test/cctest/test-api.cc context->Global()->Set(v8_str("tmp"), v8::True()); v8_str 11674 test/cctest/test-api.cc context->Global()->Delete(v8_str("tmp")); v8_str 11688 test/cctest/test-api.cc Local<String> token = v8_str("<security token>"); v8_str 11701 test/cctest/test-api.cc context1->Global()->Set(v8_str("other"), context0->Global()); v8_str 11960 test/cctest/test-api.cc obj->Set(v8_str("gamma"), v8_str("cloneme")); v8_str 11962 test/cctest/test-api.cc CHECK_EQ(v8_str("hello"), obj->Get(v8_str("alpha"))); v8_str 11963 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta"))); v8_str 11964 test/cctest/test-api.cc CHECK_EQ(v8_str("cloneme"), obj->Get(v8_str("gamma"))); v8_str 11968 test/cctest/test-api.cc CHECK_EQ(v8_str("hello"), clone->Get(v8_str("alpha"))); v8_str 11969 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), clone->Get(v8_str("beta"))); v8_str 11970 test/cctest/test-api.cc CHECK_EQ(v8_str("cloneme"), clone->Get(v8_str("gamma"))); v8_str 11973 test/cctest/test-api.cc clone->Set(v8_str("beta"), v8::Integer::New(456)); v8_str 11974 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta"))); v8_str 11975 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(456), clone->Get(v8_str("beta"))); v8_str 12048 test/cctest/test-api.cc env->Global()->Set(v8_str("lhs"), lhs); v8_str 12049 test/cctest/test-api.cc env->Global()->Set(v8_str("rhs"), rhs); v8_str 12087 test/cctest/test-api.cc env->Global()->Get(v8_str("cons"))); v8_str 12089 test/cctest/test-api.cc env->Global()->Get(v8_str("slice"))); v8_str 12091 test/cctest/test-api.cc env->Global()->Get(v8_str("slice_on_cons"))); v8_str 12267 test/cctest/test-api.cc v8::Handle<v8::Object>::Cast(global->Get(v8_str("__proto__"))); v8_str 12268 test/cctest/test-api.cc global_proto->Set(v8_str("x"), v8::Integer::New(0), v8::ReadOnly); v8_str 12269 test/cctest/test-api.cc global_proto->Set(v8_str("y"), v8::Integer::New(0), v8::ReadOnly); v8_str 12480 test/cctest/test-api.cc CHECK(context->Global()->ForceDelete(v8_str("foo"))); v8_str 12498 test/cctest/test-api.cc v8::Local<v8::Value> foo = ctx1->Global()->Get(v8_str("foo")); v8_str 12500 test/cctest/test-api.cc ctx2->Global()->Set(v8_str("o"), foo); v8_str 12553 test/cctest/test-api.cc Local<String> token = v8_str("<security token>"); v8_str 12562 test/cctest/test-api.cc calling_context0->Global()->Set(v8_str("callback"), v8_str 12569 test/cctest/test-api.cc calling_context1->Global()->Set(v8_str("context0"), v8_str 12577 test/cctest/test-api.cc calling_context2->Global()->Set(v8_str("context1"), v8_str 12670 test/cctest/test-api.cc obj->Set(v8_str("field"), v8::Int32::New(1503)); v8_str 12671 test/cctest/test-api.cc context->Global()->Set(v8_str("pixels"), obj); v8_str 12831 test/cctest/test-api.cc CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value()); v8_str 12837 test/cctest/test-api.cc CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value()); v8_str 12838 test/cctest/test-api.cc CHECK_EQ(23, v8::Object::Cast(*result)->Get(v8_str("1"))->Int32Value()); v8_str 13081 test/cctest/test-api.cc context->Global()->Set(v8_str("pixels"), obj); v8_str 13158 test/cctest/test-api.cc obj->Set(v8_str("field"), v8::Int32::New(1503)); v8_str 13159 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj); v8_str 13436 test/cctest/test-api.cc CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value()); v8_str 13442 test/cctest/test-api.cc CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value()); v8_str 13443 test/cctest/test-api.cc CHECK_EQ(23, v8::Object::Cast(*result)->Get(v8_str("1"))->Int32Value()); v8_str 13463 test/cctest/test-api.cc context->Global()->Set(v8_str("large_array"), large_obj); v8_str 13532 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field"), v8::Int32::New(256)); v8_str 13533 test/cctest/test-api.cc obj2->Set(v8_str(""), v8::Int32::New(1503)); v8_str 13538 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj2); v8_str 13546 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256)); v8_str 13551 test/cctest/test-api.cc obj2->Set(v8_str(""), v8::Int32::New(1503)); v8_str 13552 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj2); v8_str 13560 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256)); v8_str 13566 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj2); v8_str 13575 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field3"), v8::Int32::New(256)); v8_str 13578 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj2); v8_str 13585 test/cctest/test-api.cc obj3->Set(v8_str("ee_test_field3"), v8::Int32::New(256)); v8_str 13589 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj3); v8_str 13597 test/cctest/test-api.cc obj3->Set(v8_str("ee_test_field4"), v8::Int32::New(256)); v8_str 13605 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field4"), v8::Int32::New(256)); v8_str 13606 test/cctest/test-api.cc context->Global()->Set(v8_str("ext_array"), obj2); v8_str 13840 test/cctest/test-api.cc templ->Set(v8_str("AnalyzeStackInNativeCode"), v8_str 13901 test/cctest/test-api.cc Script::Compile(v8_str("function foo() {\n" v8_str 13907 test/cctest/test-api.cc v8_str("origin"))->Run(); v8_str 13909 test/cctest/test-api.cc Local<Value> trouble = global->Get(v8_str("bar")); v8_str 14073 test/cctest/test-api.cc v8::Handle<v8::String> url = v8_str("eval_url"); v8_str 14087 test/cctest/test-api.cc templ->Set(v8_str("AnalyzeStackOfEvalWithSourceURL"), v8_str 14243 test/cctest/test-api.cc env->Global()->Set(v8_str("get_stack_limit"), fun); v8_str 14268 test/cctest/test-api.cc env->Global()->Set(v8_str("get_stack_limit"), fun); v8_str 14683 test/cctest/test-api.cc info.This()->Set(v8_str("y"), v8_num(23)); v8_str 14690 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), v8_str 14694 test/cctest/test-api.cc context->Global()->Set(v8_str("P"), templ->NewInstance()); v8_str 14706 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C1();")); v8_str 14709 test/cctest/test-api.cc CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value()); v8_str 14710 test/cctest/test-api.cc CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value()); v8_str 14713 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C2();")); v8_str 14716 test/cctest/test-api.cc CHECK_EQ(42, c2->Get(v8_str("x"))->Int32Value()); v8_str 14717 test/cctest/test-api.cc CHECK_EQ(23, c2->Get(v8_str("y"))->Int32Value()); v8_str 14730 test/cctest/test-api.cc if (name->Equals(v8_str("x"))) { v8_str 14731 test/cctest/test-api.cc info.This()->Set(v8_str("y"), v8_num(23)); v8_str 14743 test/cctest/test-api.cc context->Global()->Set(v8_str("P"), templ->NewInstance()); v8_str 14755 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C1();")); v8_str 14758 test/cctest/test-api.cc CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value()); v8_str 14759 test/cctest/test-api.cc CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value()); v8_str 14762 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C2();")); v8_str 14765 test/cctest/test-api.cc CHECK_EQ(23, c2->Get(v8_str("x"))->Int32Value()); v8_str 14766 test/cctest/test-api.cc CHECK_EQ(42, c2->Get(v8_str("y"))->Int32Value()); v8_str 14783 test/cctest/test-api.cc prototype->Set(v8_str("y"), v8_num(42)); v8_str 14784 test/cctest/test-api.cc context->Global()->Set(v8_str("P"), prototype); v8_str 14789 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C1();")); v8_str 14794 test/cctest/test-api.cc CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value()); v8_str 14795 test/cctest/test-api.cc CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value()); v8_str 14800 test/cctest/test-api.cc templ->SetAccessor(v8_str("x"), v8_str 14803 test/cctest/test-api.cc context->Global()->Set(v8_str("P"), templ->NewInstance()); v8_str 14808 test/cctest/test-api.cc script = v8::Script::Compile(v8_str("new C1();")); v8_str 14811 test/cctest/test-api.cc CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value()); v8_str 14812 test/cctest/test-api.cc CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value()); v8_str 15103 test/cctest/test-api.cc context0->Global()->Set(v8_str("x"), v8_num(42)); v8_str 15109 test/cctest/test-api.cc context1->Global()->Set(v8_str("other"), global0); v8_str 15139 test/cctest/test-api.cc global0->SetAccessor(v8_str("x"), GetXValue, NULL, v8_str("x"))); v8_str 15153 test/cctest/test-api.cc CHECK_EQ(false, global0->HasRealNamedProperty(v8_str("x"))); v8_str 15154 test/cctest/test-api.cc CHECK_EQ(false, global0->HasRealNamedCallbackProperty(v8_str("x"))); v8_str 15677 test/cctest/test-api.cc CHECK(context->Global()->ForceDelete(v8_str("cell"))); v8_str 15697 test/cctest/test-api.cc context->Global()->Set(v8_str("cell"), v8_str("value"), v8::DontDelete); v8_str 15705 test/cctest/test-api.cc CHECK(context->Global()->ForceDelete(v8_str("cell"))); v8_str 15721 test/cctest/test-api.cc v8::Handle<v8::RegExp> re = v8::RegExp::New(v8_str("foo"), v8::RegExp::kNone); v8_str 15723 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("foo"))); v8_str 15726 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("bar"), v8_str 15730 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("bar"))); v8_str 15734 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("baz"), v8_str 15738 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("baz"))); v8_str 15744 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("quux"))); v8_str 15749 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("quux"))); v8_str 15757 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foobar"), v8::RegExp::kNone); v8_str 15759 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("foobar"))); v8_str 15762 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foobarbaz"), v8_str 15766 test/cctest/test-api.cc CHECK(re->GetSource()->Equals(v8_str("foobarbaz"))); v8_str 15770 test/cctest/test-api.cc context->Global()->Set(v8_str("re"), re); v8_str 15774 test/cctest/test-api.cc re->Set(v8_str("property"), v8::Integer::New(32)); v8_str 15779 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foo["), v8::RegExp::kNone); v8_str 15782 test/cctest/test-api.cc context->Global()->Set(v8_str("ex"), try_catch.Exception()); v8_str 15808 test/cctest/test-api.cc return v8_str("42!"); v8_str 15814 test/cctest/test-api.cc result->Set(0, v8_str("universalAnswer")); v8_str 15826 test/cctest/test-api.cc context->Global()->Set(v8_str("o"), tmpl->NewInstance()); v8_str 15830 test/cctest/test-api.cc CHECK_EQ(v8_str("universalAnswer"), result->Get(0)); v8_str 15853 test/cctest/test-api.cc Set(v8_str("context_id"), v8::Integer::New(id)); v8_str 15858 test/cctest/test-api.cc CHECK_EQ(expected, object->Get(v8_str("context_id"))->Int32Value()); v8_str 15969 test/cctest/test-api.cc if (index == 42) return v8_str("yes"); v8_str 15976 test/cctest/test-api.cc if (property->Equals(v8_str("foo"))) return v8_str("yes"); v8_str 15990 test/cctest/test-api.cc if (property->Equals(v8_str("foo"))) return v8_num(1).As<v8::Integer>(); v8_str 15997 test/cctest/test-api.cc if (property->Equals(v8_str("bar"))) return v8_num(1).As<v8::Integer>(); v8_str 16004 test/cctest/test-api.cc return v8_str("yes"); v8_str 16025 test/cctest/test-api.cc CHECK(object->Has(v8_str("foo"))); v8_str 16026 test/cctest/test-api.cc CHECK(!object->HasOwnProperty(v8_str("foo"))); v8_str 16027 test/cctest/test-api.cc CHECK(object->HasOwnProperty(v8_str("bar"))); v8_str 16028 test/cctest/test-api.cc CHECK(object->Has(v8_str("baz"))); v8_str 16029 test/cctest/test-api.cc CHECK(!object->HasOwnProperty(v8_str("baz"))); v8_str 16030 test/cctest/test-api.cc CHECK(object->HasOwnProperty(v8_str("bla"))); v8_str 16036 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("42"))); v8_str 16037 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("foo"))); v8_str 16038 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("bar"))); v8_str 16044 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("42"))); v8_str 16045 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("43"))); v8_str 16046 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("foo"))); v8_str 16052 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("foo"))); v8_str 16053 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("bar"))); v8_str 16059 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("42"))); v8_str 16060 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("41"))); v8_str 16064 test/cctest/test-api.cc templ->SetAccessor(v8_str("foo"), HasOwnPropertyAccessorGetter); v8_str 16066 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("foo"))); v8_str 16067 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("bar"))); v8_str 16075 test/cctest/test-api.cc CHECK(!instance->HasOwnProperty(v8_str("foo"))); v8_str 16076 test/cctest/test-api.cc CHECK(instance->HasOwnProperty(v8_str("bar"))); v8_str 16162 test/cctest/test-api.cc context->Global()->Set(v8_str("f"), function); v8_str 16175 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), obj); v8_str 16176 test/cctest/test-api.cc obj->Set(v8_str("1"), v8_str("DONT_CHANGE"), v8::ReadOnly); v8_str 16177 test/cctest/test-api.cc obj->Set(v8_str("1"), v8_str("foobar")); v8_str 16178 test/cctest/test-api.cc CHECK_EQ(v8_str("DONT_CHANGE"), obj->Get(v8_str("1"))); v8_str 16179 test/cctest/test-api.cc obj->Set(v8_num(2), v8_str("DONT_CHANGE"), v8::ReadOnly); v8_str 16180 test/cctest/test-api.cc obj->Set(v8_num(2), v8_str("foobar")); v8_str 16181 test/cctest/test-api.cc CHECK_EQ(v8_str("DONT_CHANGE"), obj->Get(v8_num(2))); v8_str 16184 test/cctest/test-api.cc obj->Set(v8_str("2000000000"), v8_str("DONT_CHANGE"), v8::ReadOnly); v8_str 16185 test/cctest/test-api.cc obj->Set(v8_str("2000000000"), v8_str("foobar")); v8_str 16186 test/cctest/test-api.cc CHECK_EQ(v8_str("DONT_CHANGE"), obj->Get(v8_str("2000000000"))); v8_str 16293 test/cctest/test-api.cc global_template->Set(v8_str("simple"), simple_object); v8_str 16294 test/cctest/test-api.cc global_template->Set(v8_str("protected"), protected_object); v8_str 16295 test/cctest/test-api.cc global_template->Set(v8_str("global"), global_object); v8_str 16296 test/cctest/test-api.cc global_template->Set(v8_str("proxy"), proxy_object); v8_str 16297 test/cctest/test-api.cc global_template->Set(v8_str("hidden"), object_with_hidden); v8_str 16298 test/cctest/test-api.cc global_template->Set(v8_str("phidden"), object_with_protected_hidden); v8_str 16330 test/cctest/test-api.cc env->Global()->Set(v8_str("Intercept"), intercept->GetFunction()); v8_str 16384 test/cctest/test-api.cc Local<String> password = v8_str("Password"); v8_str 16390 test/cctest/test-api.cc Local<String> i = v8_str("i"); v8_str 16391 test/cctest/test-api.cc Local<String> o = v8_str("o"); v8_str 16392 test/cctest/test-api.cc Local<String> id = v8_str("id"); v8_str 16403 test/cctest/test-api.cc context->Global()->Set(v8_str("func"), foreign_function); v8_str 16492 test/cctest/test-api.cc env->Global()->Set(v8_str("recursion"), v8_str 16513 test/cctest/test-api.cc Local<Function>::Cast(env->Global()->Get(v8_str("recursion"))); v8_str 16711 test/cctest/test-api.cc CHECK_EQ(name, v8_str("foo")); v8_str 16721 test/cctest/test-api.cc CHECK_EQ(name, v8_str("foo")); v8_str 16794 test/cctest/test-api.cc inst->SetAccessor(v8_str("foo"), v8_str 16800 test/cctest/test-api.cc context->Global()->Set(v8_str("f"), templ->GetFunction()); v8_str 16804 test/cctest/test-api.cc CHECK(templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16810 test/cctest/test-api.cc CHECK(!templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16823 test/cctest/test-api.cc inst->SetAccessor(v8_str("foo"), v8_str 16829 test/cctest/test-api.cc context->Global()->Set(v8_str("f"), templ->GetFunction()); v8_str 16833 test/cctest/test-api.cc CHECK(templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16839 test/cctest/test-api.cc CHECK(!templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16851 test/cctest/test-api.cc proto->SetAccessor(v8_str("foo"), v8_str 16857 test/cctest/test-api.cc context->Global()->Set(v8_str("f"), templ->GetFunction()); v8_str 16861 test/cctest/test-api.cc CHECK(templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16867 test/cctest/test-api.cc CHECK(!templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16875 test/cctest/test-api.cc CHECK(templ->HasInstance(context->Global()->Get(v8_str("obj")))); v8_str 16928 test/cctest/test-api.cc templ->SetAccessor(v8_str("foo"), v8_str 16931 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 16941 test/cctest/test-api.cc CHECK_EQ(42, context->Global()->Get(v8_str("result"))->Int32Value()); v8_str 16950 test/cctest/test-api.cc templ->SetAccessor(v8_str("foo"), v8_str 16953 test/cctest/test-api.cc context->Global()->Set(v8_str("obj"), templ->NewInstance()); v8_str 16962 test/cctest/test-api.cc CHECK(context->Global()->Get(v8_str("result"))->IsUndefined()); v8_str 377 test/cctest/test-compiler.cc *v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure1")))); v8_str 379 test/cctest/test-compiler.cc *v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure2")))); v8_str 391 test/cctest/test-compiler.cc v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name))); v8_str 7194 test/cctest/test-debug.cc env->Global()->Set(v8_str("scheduleBreak"), schedule_break); v8_str 110 test/cctest/test-deoptimization.cc v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name))); v8_str 131 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 147 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 169 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 186 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 209 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 210 test/cctest/test-deoptimization.cc CHECK_EQ(6, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 234 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 235 test/cctest/test-deoptimization.cc CHECK_EQ(11, env->Global()->Get(v8_str("calls"))->Int32Value()); v8_str 266 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 267 test/cctest/test-deoptimization.cc CHECK_EQ(14, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 287 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 288 test/cctest/test-deoptimization.cc CHECK(env->Global()->Get(v8_str("result"))->IsTrue()); v8_str 304 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 305 test/cctest/test-deoptimization.cc CHECK_EQ(3, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 333 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 334 test/cctest/test-deoptimization.cc CHECK_EQ(14, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 376 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 377 test/cctest/test-deoptimization.cc v8::Handle<v8::Value> result = env->Global()->Get(v8_str("result")); v8_str 435 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 436 test/cctest/test-deoptimization.cc CHECK_EQ(15, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 447 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 448 test/cctest/test-deoptimization.cc CHECK_EQ(-1, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 459 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 460 test/cctest/test-deoptimization.cc CHECK_EQ(56, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 471 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 472 test/cctest/test-deoptimization.cc CHECK_EQ(0, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 483 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 484 test/cctest/test-deoptimization.cc CHECK_EQ(7, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 526 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 527 test/cctest/test-deoptimization.cc CHECK_EQ(true, env->Global()->Get(v8_str("result"))->BooleanValue()); v8_str 606 test/cctest/test-deoptimization.cc CHECK_EQ(4, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 607 test/cctest/test-deoptimization.cc CHECK_EQ(13, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 687 test/cctest/test-deoptimization.cc CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); v8_str 688 test/cctest/test-deoptimization.cc CHECK_EQ(13, env->Global()->Get(v8_str("result"))->Int32Value()); v8_str 116 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("env2")); v8_str 150 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("sizes")); v8_str 177 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("sizes")); v8_str 214 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("children")); v8_str 240 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("code")); v8_str 302 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("numbers")); v8_str 321 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("strings")); v8_str 346 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("internals")); v8_str 376 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("s1")); v8_str 385 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("s2")); v8_str 418 test/cctest/test-heap-profiler.cc v8::Local<v8::String> s1_str = v8_str("s1"); v8_str 419 test/cctest/test-heap-profiler.cc v8::Local<v8::String> s2_str = v8_str("s2"); v8_str 475 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("s")); v8_str 541 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("json")); v8_str 552 test/cctest/test-heap-profiler.cc env->Global()->Set(v8_str("json_snapshot"), json_string); v8_str 559 test/cctest/test-heap-profiler.cc env->Global()->Get(v8_str("parsed"))->ToObject(); v8_str 560 test/cctest/test-heap-profiler.cc CHECK(parsed_snapshot->Has(v8_str("snapshot"))); v8_str 561 test/cctest/test-heap-profiler.cc CHECK(parsed_snapshot->Has(v8_str("nodes"))); v8_str 562 test/cctest/test-heap-profiler.cc CHECK(parsed_snapshot->Has(v8_str("edges"))); v8_str 563 test/cctest/test-heap-profiler.cc CHECK(parsed_snapshot->Has(v8_str("strings"))); v8_str 616 test/cctest/test-heap-profiler.cc parsed_snapshot->Get(v8_str("nodes"))->ToObject(); v8_str 621 test/cctest/test-heap-profiler.cc parsed_snapshot->Get(v8_str("strings"))->ToObject(); v8_str 635 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("abort")); v8_str 741 test/cctest/test-heap-profiler.cc v8_str("string1"); v8_str 760 test/cctest/test-heap-profiler.cc v8_str("string2"); v8_str 765 test/cctest/test-heap-profiler.cc v8_str("string3"); v8_str 766 test/cctest/test-heap-profiler.cc v8_str("string4"); v8_str 870 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("id")); v8_str 883 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("get_snapshot_object_id")); v8_str 907 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("unknown_object_id")); v8_str 942 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("abort"), v8_str 951 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("full"), v8_str 1055 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("AAA")); v8_str 1058 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("BBB")); v8_str 1061 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("CCC")); v8_str 1065 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("retained")); v8_str 1114 test/cctest/test-heap-profiler.cc (*env)->Global()->Set(v8_str("root_object"), objects_[0]); v8_str 1149 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("implicit_refs")); v8_str 1180 test/cctest/test-heap-profiler.cc CHECK_NE(NULL, v8::HeapProfiler::TakeSnapshot(v8_str("1"))); v8_str 1184 test/cctest/test-heap-profiler.cc CHECK_NE(NULL, v8::HeapProfiler::TakeSnapshot(v8_str("1"))); v8_str 1185 test/cctest/test-heap-profiler.cc CHECK_NE(NULL, v8::HeapProfiler::TakeSnapshot(v8_str("2"))); v8_str 1198 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("1")); v8_str 1208 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("2")); v8_str 1215 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("3")); v8_str 1238 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("document")); v8_str 1254 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("document")); v8_str 1272 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("document")); v8_str 1287 test/cctest/test-heap-profiler.cc v8::Handle<v8::String> name(v8_str("leakz")); v8_str 1299 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("iteration")); v8_str 1319 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("value")); v8_str 1328 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> js_obj = js_global->Get(v8_str("a")).As<v8::Object>(); v8_str 1333 test/cctest/test-heap-profiler.cc js_obj->Get(v8_str("s_prop")).As<v8::String>(); v8_str 1338 test/cctest/test-heap-profiler.cc js_obj->Get(v8_str("n_prop")).As<v8::Number>(); v8_str 1352 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("snapshot")); v8_str 1398 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj1 = js_global->Get(v8_str("obj1")).As<v8::Object>(); v8_str 1402 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj2 = js_global->Get(v8_str("obj2")).As<v8::Object>(); v8_str 1406 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj3 = js_global->Get(v8_str("obj3")).As<v8::Object>(); v8_str 1410 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj4 = js_global->Get(v8_str("obj4")).As<v8::Object>(); v8_str 1414 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj5 = js_global->Get(v8_str("obj5")).As<v8::Object>(); v8_str 1418 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj6 = js_global->Get(v8_str("obj6")).As<v8::Object>(); v8_str 1437 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("fastCaseGetter")); v8_str 1460 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("HiddenPropertiesFastCase1")); v8_str 1474 test/cctest/test-heap-profiler.cc v8_str("HiddenPropertiesFastCase2")); v8_str 1494 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("weaks")); v8_str 1529 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("weaks")); v8_str 1550 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("fun")); v8_str 1570 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("snapshot")); v8_str 1598 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("AAA")); v8_str 1602 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("BBB")); v8_str 1606 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("CCC")); v8_str 1628 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("snapshot")); v8_str 1649 test/cctest/test-heap-profiler.cc v8::HeapProfiler::TakeSnapshot(v8_str("snapshot")); v8_str 1377 test/cctest/test-heap.cc v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); v8_str 1379 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v); v8_str 1386 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); v8_str 1414 test/cctest/test-heap.cc v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); v8_str 1416 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v); v8_str 1423 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); v8_str 1449 test/cctest/test-heap.cc v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); v8_str 1451 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v); v8_str 1458 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); v8_str 1484 test/cctest/test-heap.cc v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); v8_str 1486 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v); v8_str 1497 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); v8_str 1538 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); v8_str 1555 test/cctest/test-heap.cc v8::Handle<v8::Function>::Cast(global->Get(v8_str("g"))); v8_str 1581 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("base")))); v8_str 1645 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); v8_str 1700 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); v8_str 1737 test/cctest/test-heap.cc CHECK_EQ(4, res->ToObject()->GetRealNamedProperty(v8_str("x"))->Int32Value()); v8_str 1769 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); v8_str 1837 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); v8_str 1890 test/cctest/test-heap.cc v8::Context::GetCurrent()->Global()->Get(v8_str("root")))); v8_str 206 test/cctest/test-log-stack-tracer.cc v8::Local<v8::Value> func = env->Global()->Get(v8_str(func_name)); v8_str 227 test/cctest/test-log-stack-tracer.cc args.This()->Set(v8_str("low_bits"), v8_num(low_bits >> 1)); v8_str 232 test/cctest/test-log-stack-tracer.cc args.This()->Set(v8_str("low_bits"), v8_num(low_bits)); v8_str 233 test/cctest/test-log-stack-tracer.cc args.This()->Set(v8_str("high_bits"), v8_num(high_bits)); v8_str 245 test/cctest/test-log-stack-tracer.cc constructor_template->SetClassName(v8_str("FPGrabber")); v8_str 247 test/cctest/test-log-stack-tracer.cc env->Global()->Set(v8_str(constructor_name), fun); v8_str 374 test/cctest/test-log.cc obj->SetClassName(v8_str("Obj")); v8_str 377 test/cctest/test-log.cc proto->Set(v8_str("method1"), v8_str 383 test/cctest/test-log.cc initialize_logger.env()->Global()->Set(v8_str("Obj"), obj->GetFunction()); v8_str 424 test/cctest/test-log.cc obj->SetClassName(v8_str("Obj")); v8_str 426 test/cctest/test-log.cc inst->SetAccessor(v8_str("prop1"), Prop1Getter, Prop1Setter); v8_str 427 test/cctest/test-log.cc inst->SetAccessor(v8_str("prop2"), Prop2Getter); v8_str 509 test/cctest/test-log.cc initialize_logger.env()->Global()->Set(v8_str("_log"), log_str); v8_str 515 test/cctest/test-log.cc v8::Handle<v8::Script> script = v8::Script::Compile(source_str, v8_str("")); v8_str 397 test/cctest/test-strings.cc global->Set(v8_str("external_ascii"), ascii_external_strings); v8_str 398 test/cctest/test-strings.cc global->Set(v8_str("external_non_ascii"), non_ascii_external_strings); v8_str 399 test/cctest/test-strings.cc global->Set(v8_str("max_length"), v8::Integer::New(kMaxLength));