Home
last modified time | relevance | path

Searched refs:v8_num (Results 1 – 11 of 11) sorted by relevance

/external/v8/test/cctest/
Dtest-log-stack-tracer.cc93 ->Set(context, v8_str("low_bits"), v8_num(low_bits >> 1)) in construct_call()
99 args.This()->Set(context, v8_str("low_bits"), v8_num(low_bits)).FromJust(); in construct_call()
100 args.This()->Set(context, v8_str("high_bits"), v8_num(high_bits)).FromJust(); in construct_call()
Dtest-api.cc932 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()
[all …]
Dtest-api-interceptors.cc57 info.GetReturnValue().Set(v8_num(239)); in Return239Callback()
1054 CHECK(v8_num(637) in EchoIndexedProperty()
1058 info.GetReturnValue().Set(v8_num(index)); in EchoIndexedProperty()
1067 EchoIndexedProperty, 0, 0, 0, 0, v8_num(637))); in THREADED_TEST()
1658 info.GetReturnValue().Set(v8_num(625)); in IndexedPropertyGetter()
1696 CHECK(v8_num(5)->Equals(context.local(), result).FromJust()); in THREADED_TEST()
1698 CHECK(v8_num(23)->Equals(context.local(), result).FromJust()); in THREADED_TEST()
1700 CHECK(v8_num(23)->Equals(context.local(), result).FromJust()); in THREADED_TEST()
1702 CHECK(v8_num(625)->Equals(context.local(), result).FromJust()); in THREADED_TEST()
1710 info.GetReturnValue().Set(v8_num(index)); in UnboxedDoubleIndexedPropertyGetter()
[all …]
Dtest-accessors.cc50 info.GetReturnValue().Set(v8_num(900)); in handle_property()
56 info.GetReturnValue().Set(v8_num(902)); in handle_property_2()
63 info.GetReturnValue().Set(v8_num(907)); in handle_property()
125 info.GetReturnValue().Set(v8_num(*value)); in GetIntValue()
173 info.GetReturnValue().Set(v8_num(x_register[offset])); in XGetter()
203 info.GetReturnValue().Set(v8_num(-1)); in XSetter()
666 info.GetReturnValue().Set(v8_num(1)); in OneProperty()
Dtest-global-object.cc48 proto->Set(context.local(), var_name, v8_num(100)).FromJust(); in TEST()
Dtest-api-fast-accessor-builder.cc60 info.GetReturnValue().Set(v8_num(123)); in NativePropertyAccessor()
Dcctest.h332 static inline v8::Local<v8::Value> v8_num(double x) { in v8_num() function
Dtest-heap-profiler.cc671 global->SetInternalField(0, v8_num(17)); in TEST()
1211 array->Set(env.local(), 2, v8_num(7)).FromJust(); in TEST()
1226 array->Set(env.local(), i, v8_num(i)).FromJust(); in TEST()
Dtest-assembler-ia32.cc514 v8_vec->Set(env.local(), i, v8_num(vec[i])).FromJust(); in TEST()
Dtest-assembler-x64.cc669 v8_vec->Set(env.local(), i, v8_num(vec[i])).FromJust(); in TEST()
/external/v8/test/cctest/heap/
Dtest-heap.cc5454 v8::Local<v8::Value> args1[] = {v8_num(1)}; in TEST()