Lines Matching refs:v8_num

932   CHECK(global->Set(env.local(), v8_str("pi"), v8_num(3.1415926)).FromJust());  in THREADED_TEST()
943 info.GetReturnValue().Set(v8_num(102)); in handle_callback_impl()
962 ->Set(info.GetIsolate()->GetCurrentContext(), v8_str("x"), v8_num(1)) in construct_callback()
966 ->Set(info.GetIsolate()->GetCurrentContext(), v8_str("y"), v8_num(2)) in construct_callback()
978 info.GetReturnValue().Set(v8_num(239)); in Return239Callback()
1056 info.GetReturnValue().Set(v8_num(51423 + info.Length())); in SimpleCallback()
1689 CHECK(!str_obj->Delete(context.local(), v8_num(2)).FromJust()); in TEST()
1861 args.GetReturnValue().Set(v8_num(13.4)); in DummyCallHandler()
1868 info.GetReturnValue().Set(v8_num(876)); in GetM()
1880 templ->Set(isolate, "x", v8_num(200)); in THREADED_TEST()
1898 templ1->Set(isolate, "x", v8_num(10)); in THREADED_TEST()
1899 templ1->Set(isolate, "y", v8_num(13)); in THREADED_TEST()
1916 fun2->PrototypeTemplate()->Set(isolate, "nirk", v8_num(123)); in THREADED_TEST()
1918 templ2->Set(isolate, "a", v8_num(12)); in THREADED_TEST()
1948 args.GetReturnValue().Set(v8_num(17.2)); in GetFlabby()
1955 info.GetReturnValue().Set(v8_num(15.2)); in GetKnurd()
1966 super->PrototypeTemplate()->Set(isolate, "PI", v8_num(3.14)); in THREADED_TEST()
1972 base1->PrototypeTemplate()->Set(isolate, "v1", v8_num(20.1)); in THREADED_TEST()
1976 base2->PrototypeTemplate()->Set(isolate, "v2", v8_num(10.1)); in THREADED_TEST()
2280 Foo->PrototypeTemplate()->Set(v8_str("plak"), v8_num(321)); in THREADED_TEST()
2305 obj->SetInternalField(0, v8_num(17)); in THREADED_TEST()
2320 global->SetInternalField(0, v8_num(17)); in THREADED_TEST()
4614 CcTest::isolate()->AddMessageListener(check_message_0, v8_num(5.76)); in THREADED_TEST()
4895 ->Set(context.local(), v8_str("foo"), v8_num(14)) in THREADED_TEST()
4898 ->Set(context.local(), v8_str("12"), v8_num(92)) in THREADED_TEST()
4901 ->Set(context.local(), v8::Integer::New(isolate, 16), v8_num(32)) in THREADED_TEST()
4904 ->Set(context.local(), v8_num(13), v8_num(56)) in THREADED_TEST()
4925 ->Get(context.local(), v8_num(12)) in THREADED_TEST()
4940 ->Get(context.local(), v8_num(16)) in THREADED_TEST()
4955 ->Get(context.local(), v8_num(13)) in THREADED_TEST()
4967 CHECK(context->Global()->Set(context.local(), prop, v8_num(7)).FromJust()); in THREADED_TEST()
4974 ->DefineOwnProperty(context.local(), prop, v8_num(7), v8::ReadOnly) in THREADED_TEST()
4990 CHECK(context->Global()->Set(context.local(), prop, v8_num(10)).FromJust()); in THREADED_TEST()
4999 ->DefineOwnProperty(context.local(), prop, v8_num(13), v8::DontDelete) in THREADED_TEST()
5018 ->DefineOwnProperty(context.local(), prop, v8_num(28), v8::DontEnum) in THREADED_TEST()
5028 Local<Value> fake_prop = v8_num(1); in THREADED_TEST()
5055 CHECK(array->Set(context.local(), 2, v8_num(7)).FromJust()); in THREADED_TEST()
5202 v8::Local<Value> args1[] = {v8_num(1.1)}; in THREADED_TEST()
5211 v8::Local<Value> args2[] = {v8_num(2.2), v8_num(3.3)}; in THREADED_TEST()
5224 v8::Local<Value> args3[] = {v8_num(4.4), v8_num(5.5), v8_num(6.6)}; in THREADED_TEST()
5241 v8::Local<Value> args4[] = {v8_num(7.7), v8_num(8.8), v8_num(9.9), in THREADED_TEST()
5242 v8_num(10.11)}; in THREADED_TEST()
5272 ReturnThisSloppy->Call(context.local(), v8_num(42), 0, NULL) in THREADED_TEST()
5296 ReturnThisStrict->Call(context.local(), v8_num(42), 0, NULL) in THREADED_TEST()
5298 CHECK(r8->StrictEquals(v8_num(42))); in THREADED_TEST()
5330 v8::Local<Value> args1[] = {v8_num(1.1)}; in THREADED_TEST()
5339 v8::Local<Value> args2[] = {v8_num(2.2), v8_num(3.3)}; in THREADED_TEST()
5352 v8::Local<Value> args3[] = {v8_num(4.4), v8_num(5.5), v8_num(6.6)}; in THREADED_TEST()
5369 v8::Local<Value> args4[] = {v8_num(7.7), v8_num(8.8), v8_num(9.9), in THREADED_TEST()
5370 v8_num(10.11)}; in THREADED_TEST()
5832 v8::Local<Value> argv[] = {v8_num(count - 1), args[1], args[2], args[3]}; in CThrowCountDown()
5944 v8::Local<Value> a0[argc] = {v8_num(4), v8_num(2), v8_num(3), v8_num(2)}; in TEST()
5948 v8::Local<Value> a1[argc] = {v8_num(5), v8_num(6), v8_num(1), v8_num(2)}; in TEST()
5952 v8::Local<Value> a2[argc] = {v8_num(6), v8_num(7), v8_num(5), v8_num(5)}; in TEST()
5956 v8::Local<Value> a3[argc] = {v8_num(6), v8_num(6), v8_num(7), v8_num(6)}; in TEST()
5960 v8::Local<Value> a4[argc] = {v8_num(6), v8_num(4), v8_num(5), v8_num(4)}; in TEST()
5964 v8::Local<Value> a5[argc] = {v8_num(6), v8_num(4), v8_num(3), v8_num(3)}; in TEST()
6233 CHECK(v8_num(1)->Equals(context.local(), v8_num(1)).FromJust()); in THREADED_TEST()
6234 CHECK(v8_num(1.00)->Equals(context.local(), v8_num(1)).FromJust()); in THREADED_TEST()
6235 CHECK(!v8_num(1)->Equals(context.local(), v8_num(2)).FromJust()); in THREADED_TEST()
6240 CHECK(!v8_str("5")->StrictEquals(v8_num(5))); in THREADED_TEST()
6241 CHECK(v8_num(1)->StrictEquals(v8_num(1))); in THREADED_TEST()
6242 CHECK(!v8_num(1)->StrictEquals(v8_num(2))); in THREADED_TEST()
6243 CHECK(v8_num(0.0)->StrictEquals(v8_num(-0.0))); in THREADED_TEST()
6244 Local<Value> not_a_number = v8_num(std::numeric_limits<double>::quiet_NaN()); in THREADED_TEST()
6256 CHECK(!v8_str("5")->SameValue(v8_num(5))); in THREADED_TEST()
6257 CHECK(v8_num(1)->SameValue(v8_num(1))); in THREADED_TEST()
6258 CHECK(!v8_num(1)->SameValue(v8_num(2))); in THREADED_TEST()
6259 CHECK(!v8_num(0.0)->SameValue(v8_num(-0.0))); in THREADED_TEST()
6332 CHECK(result->Equals(context.local(), v8_num(42)).FromJust()); in THREADED_TEST()
6345 CHECK(result->Equals(context.local(), v8_num(43)).FromJust()); in THREADED_TEST()
6384 CHECK(result->Equals(context.local(), v8_num(42)).FromJust()); in THREADED_TEST()
6395 CHECK(result->Equals(context.local(), v8_num(43)).FromJust()); in THREADED_TEST()
6617 CHECK(value->Equals(context, v8_num(4)).FromJust()); in SetXValue()
6639 CHECK(v8_num(4) in THREADED_TEST()
6662 CHECK(v8_num(4) in THREADED_TEST()
6702 CHECK(global0->Set(context0.local(), v8_str("custom"), v8_num(1234)) in THREADED_TEST()
6713 CHECK(global1->Set(context1.local(), v8_str("custom"), v8_num(1234)) in THREADED_TEST()
6760 CHECK(proto0->Set(env0.local(), v8_str("custom"), v8_num(1234)).FromJust()); in THREADED_TEST()
8702 info.GetReturnValue().Set(v8_num(10)); in YGetter()
8963 CHECK(global0->Set(context0, v8_str("0"), v8_num(999)).FromJust()); in TEST()
9072 CHECK(other->Global()->Set(other, v8_num(42), v8_num(87)).FromJust()); in THREADED_TEST()
9122 ->Set(current.local(), v8_str("foo"), v8_num(100)) in THREADED_TEST()
9125 ->Set(current.local(), v8_num(99), v8_num(101)) in THREADED_TEST()
9190 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9223 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9257 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9296 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9641 info.GetReturnValue().Set(v8_num(g_echo_value)); in EchoGetter()
10010 info.GetReturnValue().Set(v8_num(10)); in ConstTenGetter()
10040 CHECK(global->Set(context0, v8_str("accessible"), v8_num(11)).FromJust()); in THREADED_TEST()
10197 args.GetReturnValue().Set(v8_num(12)); in InstanceFunctionCallback()
10209 instance->Set(v8_str("x"), v8_num(42)); in THREADED_TEST()
10243 instance_template->Set(v8_str("x"), v8_num(42)); in THREADED_TEST()
10335 args.GetReturnValue().Set(v8_num(42)); in ShadowFunctionCallback()
10356 info.GetReturnValue().Set(v8_num(shadow_y)); in ShadowYGetter()
10389 proto->Set(v8_str("x"), v8_num(12)); in THREADED_TEST()
10426 t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0)); in THREADED_TEST()
10429 t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1)); in THREADED_TEST()
10432 t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2)); in THREADED_TEST()
10434 t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3)); in THREADED_TEST()
10520 ht->InstanceTemplate()->Set(v8_str("x"), v8_num(0)); in THREADED_TEST()
10538 CHECK(o->Set(context.local(), v8_str("x"), v8_num(7)).FromJust()); in THREADED_TEST()
10550 CHECK(o->Set(context.local(), v8_str("y"), v8_num(6)).FromJust()); in THREADED_TEST()
10560 CHECK(p->Set(context.local(), v8_str("z"), v8_num(8)).FromJust()); in THREADED_TEST()
10573 CHECK(o->Set(context.local(), v8_str("z"), v8_num(9)).FromJust()); in THREADED_TEST()
10596 t->InstanceTemplate()->Set(v8_str("foo"), v8_num(75)); in THREADED_TEST()
10606 CHECK(o->Set(context.local(), v8_str("foo"), v8_num(42)).FromJust()); in THREADED_TEST()
10617 t0->InstanceTemplate()->Set(v8_str("x"), v8_num(0)); in THREADED_TEST()
10620 t1->InstanceTemplate()->Set(v8_str("y"), v8_num(1)); in THREADED_TEST()
10623 t2->InstanceTemplate()->Set(v8_str("z"), v8_num(2)); in THREADED_TEST()
10625 t3->InstanceTemplate()->Set(v8_str("u"), v8_num(3)); in THREADED_TEST()
10723 t1->InstanceTemplate()->Set(v8_str("foo"), v8_num(1)); in THREADED_TEST()
10726 t2->InstanceTemplate()->Set(v8_str("fuz1"), v8_num(2)); in THREADED_TEST()
10728 t2->InstanceTemplate()->Set(v8_str("fuz2"), v8_num(2)); in THREADED_TEST()
10731 t3->InstanceTemplate()->Set(v8_str("boo"), v8_num(3)); in THREADED_TEST()
10733 t4->InstanceTemplate()->Set(v8_str("baz"), v8_num(4)); in THREADED_TEST()
10739 t2->InstanceTemplate()->Set(v8_str(name_buf.start()), v8_num(2)); in THREADED_TEST()
10798 i1->Set(v8_str("n1"), v8_num(1)); in THREADED_TEST()
10799 i1->Set(v8_str("n2"), v8_num(2)); in THREADED_TEST()
10811 t2->InstanceTemplate()->Set(v8_str("mine"), v8_num(4)); in THREADED_TEST()
10821 CHECK(o1->Set(context.local(), sym, v8_num(3)).FromJust()); in THREADED_TEST()
11044 Local<Value> args1[] = {v8_num(28)}; in THREADED_TEST()
11131 Local<Value> args[] = {v8_num(29)}; in THREADED_TEST()
11159 Local<Value> args[] = {v8_num(23)}; in THREADED_TEST()
11188 Local<Value> args1[] = {v8_num(28)}; in THREADED_TEST()
11210 Local<Value> args2[] = {v8_num(28)}; in THREADED_TEST()
11353 ->Set(other.local(), v8_str("bis"), v8_num(1234)) in THREADED_TEST()
11447 v8_num(-args[0] in call_as_function()
11525 v8::Local<Value> args[] = {v8_num(28)}; in THREADED_TEST()
11558 v8::Local<Value> args[] = {v8_num(28)}; in THREADED_TEST()
11590 v8::Local<Value> args[] = {v8_num(23)}; in THREADED_TEST()
11618 instance->CallAsFunction(context.local(), v8_num(42), 0, NULL) in THREADED_TEST()
11660 ReturnThisSloppy->CallAsFunction(context.local(), v8_num(42), 0, NULL) in THREADED_TEST()
11688 ReturnThisStrict->CallAsFunction(context.local(), v8_num(42), 0, NULL) in THREADED_TEST()
11690 CHECK(a8->StrictEquals(v8_num(42))); in THREADED_TEST()
12722 info.GetReturnValue().Set(v8_num(1)); in ParentGetter()
12729 info.GetReturnValue().Set(v8_num(42)); in ChildGetter()
12952 Local<Value> valueNumber = v8_num(123); in TEST()
13728 v8::Local<Value> three = v8_num(3); in NestedScope()
13791 args.GetReturnValue().Set(v8_num(42)); in RuntimeCallback()
14508 args.GetReturnValue().Set(v8_num(42)); in FunctionNameCallback()
18185 info.GetReturnValue().Set(v8_num(42)); in GetterWhichReturns42()
18196 ->Set(info.GetIsolate()->GetCurrentContext(), v8_str("y"), v8_num(23)) in SetterWhichSetsYOnThisTo23()
18209 info.GetReturnValue().Set(v8_num(42)); in FooGetInterceptor()
18222 ->Set(info.GetIsolate()->GetCurrentContext(), v8_str("y"), v8_num(23)) in FooSetInterceptor()
18224 info.GetReturnValue().Set(v8_num(23)); in FooSetInterceptor()
18282 info.GetReturnValue().Set(v8_num(42)); in NamedPropertyGetterWhichReturns42()
18292 ->Set(info.GetIsolate()->GetCurrentContext(), v8_str("y"), v8_num(23)) in NamedPropertySetterWhichSetsYOnThisTo23()
18364 prototype->Set(context.local(), v8_str("y"), v8_num(42)).FromJust(); in TEST()
18777 ->Set(context0.local(), v8_str("x"), v8_num(42)) in TEST()
20070 obj->Set(context.local(), v8_num(2), v8_str("foobar")).FromJust(); in THREADED_TEST()
20073 obj->Get(context.local(), v8_num(2)).ToLocalChecked()) in THREADED_TEST()
20397 v8::Local<Value> args[] = {v8_num(0)}; in TEST()
20831 info.GetReturnValue().Set(v8_num(11)); in InstanceCheckedGetter()
20841 CHECK(value->Equals(info.GetIsolate()->GetCurrentContext(), v8_num(23)) in InstanceCheckedSetter()
21411 global0->Set(context0.local(), v8_str("x"), v8_num(42)).FromJust(); in TEST()
22041 CHECK(v8_num(1) in OptimizationCallback()
22796 CHECK(v8_num(12) in TEST()
22811 CHECK(v8_num(13) in TEST()
22815 Local<Value> args[] = {v8_num(14)}; in TEST()
22817 CHECK(v8_num(14) in TEST()
23885 v8::Local<Value> args[] = {v8_num(42)}; in TEST()
23893 v8::Local<Value> args[] = {v8_num(42), v8_num(555)}; in TEST()
23925 v8::Local<Value> args[] = {v8_num(42)}; in TEST()
23933 v8::Local<Value> args[] = {v8_num(42), v8_num(555)}; in TEST()
23954 obj->DefineOwnProperty(env.local(), v8_str("foo"), v8_num(1), v8::None) in TEST()
23956 obj->DefineOwnProperty(env.local(), v8_str("2"), v8_num(1), v8::None) in TEST()
23970 args.GetReturnValue().Set(v8_num(7)); in ExtrasBindingTestRuntimeFunction()
24336 object->Set(env.local(), v8_str("length"), v8_num(2)).FromJust(); in TEST()