Lines Matching refs:v8_num
761 global->Set(v8_str("pi"), v8_num(3.1415926));
769 return v8_num(102);
775 args.This()->Set(v8_str("x"), v8_num(1));
776 args.This()->Set(v8_str("y"), v8_num(2));
782 return v8_num(239);
1170 return v8_num(13.4);
1176 return v8_num(876);
1187 templ->Set("x", v8_num(200));
1201 templ1->Set("x", v8_num(10));
1202 templ1->Set("y", v8_num(13));
1209 fun->PrototypeTemplate()->Set("nirk", v8_num(123));
1211 templ2->Set("a", v8_num(12));
1224 return v8_num(17.2);
1230 return v8_num(15.2);
1239 super->PrototypeTemplate()->Set("PI", v8_num(3.14));
1245 base1->PrototypeTemplate()->Set("v1", v8_num(20.1));
1249 base2->PrototypeTemplate()->Set("v2", v8_num(10.1));
1605 CHECK_EQ(v8_num(637), info.Data());
1607 return v8_num(index);
1616 v8_num(637));
1889 Foo->PrototypeTemplate()->Set(v8_str("plak"), v8_num(321));
1907 obj->SetInternalField(0, v8_num(17));
1921 global->SetInternalField(0, v8_num(17));
2404 v8::V8::AddMessageListener(check_message, v8_num(5.76));
2421 context->Global()->Set(v8_str("foo"), v8_num(14));
2422 context->Global()->Set(v8_str("12"), v8_num(92));
2423 context->Global()->Set(v8::Integer::New(16), v8_num(32));
2424 context->Global()->Set(v8_num(13), v8_num(56));
2435 CHECK_EQ(92, context->Global()->Get(v8_num(12))->Int32Value());
2438 CHECK_EQ(32, context->Global()->Get(v8_num(16))->Int32Value());
2441 CHECK_EQ(56, context->Global()->Get(v8_num(13))->Int32Value());
2450 context->Global()->Set(prop, v8_num(7));
2454 context->Global()->Set(prop, v8_num(7), v8::ReadOnly);
2459 context->Global()->Set(prop, v8_num(10));
2463 context->Global()->Set(prop, v8_num(13), v8::DontDelete);
2470 context->Global()->Set(prop, v8_num(28), v8::DontEnum);
2475 Local<Value> fake_prop = v8_num(1);
2498 array->Set(2, v8_num(7));
2583 v8::Handle<Value> args1[] = { v8_num(1.1) };
2588 v8::Handle<Value> args2[] = { v8_num(2.2),
2589 v8_num(3.3) };
2595 v8::Handle<Value> args3[] = { v8_num(4.4),
2596 v8_num(5.5),
2597 v8_num(6.6) };
2604 v8::Handle<Value> args4[] = { v8_num(7.7),
2605 v8_num(8.8),
2606 v8_num(9.9),
2607 v8_num(10.11) };
2738 v8::Handle<Value> args1[] = { v8_num(1.1) };
2743 v8::Handle<Value> args2[] = { v8_num(2.2),
2744 v8_num(3.3) };
2750 v8::Handle<Value> args3[] = { v8_num(4.4),
2751 v8_num(5.5),
2752 v8_num(6.6) };
2759 v8::Handle<Value> args4[] = { v8_num(7.7),
2760 v8_num(8.8),
2761 v8_num(9.9),
2762 v8_num(10.11) };
3142 v8::Handle<Value> argv[] = { v8_num(count - 1),
3247 v8::Handle<Value> a0[argc] = { v8_num(4), v8_num(2), v8_num(3), v8_num(2) };
3251 v8::Handle<Value> a1[argc] = { v8_num(5), v8_num(6), v8_num(1), v8_num(2) };
3255 v8::Handle<Value> a2[argc] = { v8_num(6), v8_num(7), v8_num(5), v8_num(5) };
3259 v8::Handle<Value> a3[argc] = { v8_num(6), v8_num(6), v8_num(7), v8_num(6) };
3263 v8::Handle<Value> a4[argc] = { v8_num(6), v8_num(4), v8_num(5), v8_num(4) };
3267 v8::Handle<Value> a5[argc] = { v8_num(6), v8_num(4), v8_num(3), v8_num(3) };
3375 CHECK_EQ(v8_num(1), v8_num(1));
3376 CHECK_EQ(v8_num(1.00), v8_num(1));
3377 CHECK_NE(v8_num(1), v8_num(2));
3382 CHECK(!v8_str("5")->StrictEquals(v8_num(5)));
3383 CHECK(v8_num(1)->StrictEquals(v8_num(1)));
3384 CHECK(!v8_num(1)->StrictEquals(v8_num(2)));
3385 CHECK(v8_num(0)->StrictEquals(v8_num(-0)));
3386 Local<Value> not_a_number = v8_num(i::OS::nan_value());
3451 CHECK_EQ(result, v8_num(42));
3464 CHECK_EQ(result, v8_num(43));
3496 CHECK_EQ(result, v8_num(42));
3509 CHECK_EQ(result, v8_num(43));
3688 CHECK_EQ(value, v8_num(4));
3706 CHECK_EQ(v8_num(4), xValue);
3839 return v8::Handle<Value>(v8_num(625));
3876 CHECK_EQ(v8_num(5), result);
3878 CHECK_EQ(v8_num(23), result);
3880 CHECK_EQ(v8_num(23), result);
3882 CHECK_EQ(v8_num(625), result);
3891 return v8::Handle<Value>(v8_num(index));
3903 return v8::Handle<Value>(v8_num(index));
3944 CHECK_EQ(v8_num(40013), result);
3967 return v8::Handle<Value>(v8_num(index));
3990 CHECK_EQ(v8_num(4), result);
4285 global0->Set(v8_str("custom"), v8_num(1234));
4292 global1->Set(v8_str("custom"), v8_num(1234));
4322 proto0->Set(v8_str("custom"), v8_num(1234));
5310 CHECK_EQ(v8_compile("k[2]")->Run(), v8_num(2));
6035 return v8_num(10);
6243 global0->Set(v8_str("0"), v8_num(999));
6347 other->Global()->Set(v8_num(42), v8_num(87));
6361 CHECK(!access_other1->Run()->Equals(v8_num(87)));
6376 CHECK(!access_f1->Run()->Equals(v8_num(87)));
6389 current->Global()->Set(v8_str("foo"), v8_num(100));
6390 current->Global()->Set(v8_num(99), v8_num(101));
6396 CHECK(!access_f2->Run()->Equals(v8_num(100)));
6398 CHECK(!access_f3->Run()->Equals(v8_num(101)));
6417 env1->Global()->Set(v8_str("prop"), v8_num(3));
6450 env1->Global()->Set(v8_str("prop"), v8_num(3));
6485 env1->Global()->Set(v8_str("prop"), v8_num(3));
6671 return v8_num(g_echo_value);
7096 return v8_num(10);
7128 global->Set(v8_str("accessible"), v8_num(11));
7378 return v8_num(42);
7462 return v8_num(12);
7473 instance->Set(v8_str("x"), v8_num(42));
7504 instance_template->Set(v8_str("x"), v8_num(42));
7593 return v8_num(42);
7612 return v8_num(shadow_y);
7647 proto->Set(v8_str("x"), v8_num(12));
7678 t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0));
7681 t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1));
7684 t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2));
7686 t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3));
7722 t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0));
7725 t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1));
7728 t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2));
7730 t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3));
7784 t1->InstanceTemplate()->Set(v8_str("foo"), v8_num(1));
7787 t2->InstanceTemplate()->Set(v8_str("fuz1"), v8_num(2));
7789 t2->InstanceTemplate()->Set(v8_str("fuz2"), v8_num(2));
7792 v8_num(3));
7794 t4->InstanceTemplate()->Set(v8_str("baz"), v8_num(4));
7800 t2->InstanceTemplate()->Set(v8_str(name_buf.start()), v8_num(2));
7962 Local<Value> args1[] = { v8_num(28) };
8037 Local<Value> args[] = { v8_num(29) };
8060 Local<Value> args[] = { v8_num(23) };
8085 Local<Value> args1[] = { v8_num(28) };
8103 Local<Value> args2[] = { v8_num(28) };
8222 other->Global()->Set(v8_str("bis"), v8_num(1234));
8314 return v8_num(-args[0]->Int32Value());
8376 v8::Handle<Value> args[] = { v8_num(28) };
8402 v8::Handle<Value> args[] = { v8_num(28) };
8427 v8::Handle<Value> args[] = { v8_num(23) };
10003 return v8::ThrowException(v8_num(42));
10046 return v8::ThrowException(v8_num(42));
10078 templ->Set("x", v8_num(42));
10093 templ->Set("42", v8_num(42));
10245 return v8_num(1);
10252 return v8_num(42);
10849 v8::Handle<Value> three = v8_num(3);
11002 return v8_num(42);
11229 context->Global()->Set(v8_str("a"), v8_num(1));
11252 CHECK(f1->Call(global, 0, NULL)->Equals(v8_num(1)));
11254 CHECK(f2->Call(global, 0, NULL)->Equals(v8_num(1)));
11258 CHECK(g1->Call(global, 0, NULL)->Equals(v8_num(1)));
11260 CHECK(g2->Call(global, 0, NULL)->Equals(v8_num(1)));
11276 CHECK(h->Call(global, 0, NULL)->Equals(v8_num(1)));
11310 context->Global()->Set(v8_str("a"), v8_num(1));
11335 CHECK(f1->Call(global, 0, NULL)->Equals(v8_num(1)));
11337 CHECK(f2->Call(global, 0, NULL)->Equals(v8_num(1)));
11341 CHECK(g1->Call(global, 0, NULL)->Equals(v8_num(1)));
11343 CHECK(g2->Call(global, 0, NULL)->Equals(v8_num(1)));
11360 CHECK(h->Call(global, 0, NULL)->Equals(v8_num(1)));
14490 return v8_num(42);
14497 info.This()->Set(v8_str("y"), v8_num(23));
14538 return v8_num(42);
14545 info.This()->Set(v8_str("y"), v8_num(23));
14597 prototype->Set(v8_str("y"), v8_num(42));
14917 context0->Global()->Set(v8_str("x"), v8_num(42));
15797 if (index == 42) return v8_num(1).As<v8::Integer>();
15804 if (property->Equals(v8_str("foo"))) return v8_num(1).As<v8::Integer>();
15811 if (property->Equals(v8_str("bar"))) return v8_num(1).As<v8::Integer>();
15993 obj->Set(v8_num(2), v8_str("DONT_CHANGE"), v8::ReadOnly);
15994 obj->Set(v8_num(2), v8_str("foobar"));
15995 CHECK_EQ(v8_str("DONT_CHANGE"), obj->Get(v8_num(2)));
16327 v8::Handle<Value> args[] = { v8_num(0) };