Home
last modified time | relevance | path

Searched refs:SameValue (Results 1 – 20 of 20) sorted by relevance

/external/v8/test/mjsunit/
Dsamevalue.js35 assertTrue(natives.SameValue(0, 0));
36 assertTrue(natives.SameValue(+0, +0));
37 assertTrue(natives.SameValue(-0, -0));
38 assertTrue(natives.SameValue(1, 1));
39 assertTrue(natives.SameValue(2, 2));
40 assertTrue(natives.SameValue(-1, -1));
41 assertTrue(natives.SameValue(0.5, 0.5));
42 assertTrue(natives.SameValue(true, true));
43 assertTrue(natives.SameValue(false, false));
44 assertTrue(natives.SameValue(NaN, NaN));
[all …]
/external/v8/test/cctest/
Dtest-ordered-hash-table.cc122 CHECK(lookup->SameValue(*val)); in TEST()
141 CHECK(lookup->SameValue(*val1)); in TEST()
143 CHECK(lookup->SameValue(*val2)); in TEST()
145 CHECK(lookup->SameValue(*val3)); in TEST()
153 CHECK(lookup->SameValue(*val)); in TEST()
155 CHECK(lookup->SameValue(*val1)); in TEST()
157 CHECK(lookup->SameValue(*val2)); in TEST()
159 CHECK(lookup->SameValue(*val3)); in TEST()
161 CHECK(lookup->SameValue(*val4)); in TEST()
Dtest-symbols.cc46 CHECK(symbols[i]->SameValue(*symbols[i])); in TEST()
48 CHECK(!symbols[i]->SameValue(*symbols[j])); in TEST()
Dcctest.h473 CHECK(result->SameValue(expected)); in ExpectObject()
Dtest-api.cc3005 CHECK(glob2->SameValue(glob)); in THREADED_TEST()
3009 CHECK(glob_api2->SameValue(glob_api)); in THREADED_TEST()
3010 CHECK(!glob_api->SameValue(glob)); in THREADED_TEST()
3013 CHECK(!sym->SameValue(glob)); in THREADED_TEST()
3017 CHECK(sym2->SameValue(glob)); in THREADED_TEST()
3018 CHECK(!sym2->SameValue(glob_api)); in THREADED_TEST()
3035 CHECK(value->SameValue(symbol)); in CheckWellKnownSymbol()
5613 CHECK(v8_str("a")->SameValue(v8_str("a"))); in THREADED_TEST()
5614 CHECK(!v8_str("a")->SameValue(v8_str("b"))); in THREADED_TEST()
5615 CHECK(!v8_str("5")->SameValue(v8_num(5))); in THREADED_TEST()
[all …]
/external/v8/src/
Dv8natives.js707 SameValue(desc.isEnumerable(), current.isEnumerable())) &&
709 SameValue(desc.isConfigurable(), current.isConfigurable())) &&
711 SameValue(desc.isWritable(), current.isWritable())) &&
713 SameValue(desc.getValue(), current.getValue())) &&
715 SameValue(desc.getGet(), current.getGet())) &&
717 SameValue(desc.getSet(), current.getSet()))) {
751 !SameValue(desc.getValue(), current.getValue())) {
761 if (desc.hasSetter() && !SameValue(desc.getSet(), current.getSet())) {
768 if (desc.hasGetter() && !SameValue(desc.getGet(),current.getGet())) {
Druntime.js589 function SameValue(x, y) { class
Daccessors.cc910 if (is_observed && !old_value->SameValue(*value)) { in SetFunctionPrototype()
Dobjects.cc865 bool Object::SameValue(Object* other) { in SameValue() function in v8::internal::Object
2948 if (is_observed && !value->SameValue(*maybe_old.ToHandleChecked())) { in SetDataProperty()
3848 DCHECK(result->SameValue(*value)); in SetOwnPropertyIgnoreAttributes()
3852 if (is_observed && !old_value->SameValue(*value)) { in SetOwnPropertyIgnoreAttributes()
3876 if (old_value->SameValue(*value)) { in SetOwnPropertyIgnoreAttributes()
3889 if (old_value->SameValue(*value)) { in SetOwnPropertyIgnoreAttributes()
3913 if (old_value->SameValue(*value)) { in SetOwnPropertyIgnoreAttributes()
12411 !old_length_handle->SameValue( in SetElement()
12436 bool value_changed = !old_value->SameValue(*new_value); in SetElement()
Dobjects-inl.h6890 return key->SameValue(other); in IsMatch()
6919 return key->SameValue(other); in IsMatch()
Dapi.cc3072 bool Value::SameValue(Handle<Value> that) const { in SameValue() function in v8::Value
3080 return obj->SameValue(*other); in SameValue()
Dobjects.h1179 bool SameValue(Object* other);
Druntime.cc1923 if (!new_value->SameValue(*old_value)) { in RUNTIME_FUNCTION()
/external/v8/test/cctest/compiler/
Dtest-codegen-deopt.cc221 CHECK(result->SameValue(Smi::FromInt(42))); in TEST()
310 CHECK(result->SameValue(Smi::FromInt(42))); in TEST()
Dcodegen-tester.h51 CHECK(this->isolate()->factory()->NewNumber(expected)->SameValue(number)); in CheckNumber()
56 this->isolate()->factory()->InternalizeUtf8String(expected)->SameValue( in CheckString()
Dfunction-tester.h117 CHECK(expected->SameValue(*result)); in CheckCall()
Dtest-changes-lowering.cc100 CHECK(this->isolate()->factory()->NewNumber(expected)->SameValue(number)); in CheckNumber()
Dtest-run-machops.cc3363 CHECK(rexpected->SameValue(buffer)); in TEST()
3397 CHECK(rexpected->SameValue(rbuffer)); in TEST()
3441 CHECK(rexpected->SameValue(rbuffer)); in TEST()
/external/v8/include/
Dv8.h1695 bool SameValue(Handle<Value> that) const;
/external/chromium-trace/trace-viewer/tracing/test_data/
Dv8.log1636 code-creation,LazyCompile,0,0x42436c80,612,"SameValue native runtime.js:606",0x234102d8,~
1658 code-creation,CallIC,7,0x42437340,129,"SameValue"
3730 code-creation,CallIC,7,0x4f012ac0,129,"SameValue"
5676 code-creation,CallIC,7,0x4f046720,129,"SameValue"
5957 code-creation,CallIC,7,0x4f04d240,129,"SameValue"
6161 code-creation,CallIC,7,0x4f053880,129,"SameValue"
6371 code-creation,CallIC,7,0x4f05a640,129,"SameValue"
6537 code-creation,CallIC,7,0x4f05fa60,129,"SameValue"
6733 code-creation,CallIC,7,0x4f065620,129,"SameValue"
6987 code-creation,CallIC,7,0x4f06ad20,129,"SameValue"
[all …]