/external/v8/test/cctest/ |
D | test-mark-compact.cc | 99 Object* obj = HEAP->AllocateFixedArray(array_size)->ToObjectChecked(); in TEST() 132 ToObjectChecked(); in TEST() 172 array = HEAP->AllocateFixedArray(ARRAY_SIZE)->ToObjectChecked(); in TEST() 182 JSObject::kHeaderSize)->ToObjectChecked(); in TEST() 186 String::cast(HEAP->LookupAsciiSymbol("theFunction")->ToObjectChecked()); in TEST() 188 HEAP->AllocateSharedFunctionInfo(func_name)->ToObjectChecked()); in TEST() 192 HEAP->undefined_value())->ToObjectChecked()); in TEST() 195 JSObject::kHeaderSize)->ToObjectChecked()); in TEST() 198 func_name, function, NONE, kNonStrictMode)->ToObjectChecked(); in TEST() 201 HEAP->AllocateJSObject(function)->ToObjectChecked()); in TEST() [all …]
|
D | test-heap.cc | 61 Object* obj = HEAP->NumberFromDouble(value)->ToObjectChecked(); in CheckNumber() 82 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in CheckFindCodeObject() 96 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in CheckFindCodeObject() 109 Object* value = HEAP->NumberFromDouble(1.000123)->ToObjectChecked(); in TEST() 114 value = HEAP->NumberFromDouble(1.0)->ToObjectChecked(); in TEST() 119 value = HEAP->NumberFromInt32(1024)->ToObjectChecked(); in TEST() 124 value = HEAP->NumberFromInt32(Smi::kMinValue)->ToObjectChecked(); in TEST() 129 value = HEAP->NumberFromInt32(Smi::kMaxValue)->ToObjectChecked(); in TEST() 136 value = HEAP->NumberFromInt32(Smi::kMinValue - 1)->ToObjectChecked(); in TEST() 144 value = maybe_value->ToObjectChecked(); in TEST() [all …]
|
D | test-compiler.cc | 144 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Inc() 165 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Add() 185 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Abs() 206 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Sum() 260 CHECK_EQ(511.0, GetGlobalProperty("r")->ToObjectChecked()->Number()); in TEST() 276 ToObjectChecked()->Number()); in TEST() 301 Object* foo_symbol = FACTORY->LookupAsciiSymbol("foo")->ToObjectChecked(); in TEST() 304 Handle<Object> fun1(fun1_object->ToObjectChecked()); in TEST()
|
D | test-assembler-ia32.cc | 75 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 113 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 155 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 189 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 223 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 252 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 289 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 329 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 384 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST() 468 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in TEST()
|
D | test-dictionary.cc | 79 CHECK(key->GetIdentityHash(OMIT_CREATION)->ToObjectChecked()->IsSmi()); in TEST() 86 CHECK(key->GetIdentityHash(ALLOW_CREATION)->ToObjectChecked()->IsSmi()); in TEST() 89 CHECK(key->GetIdentityHash(OMIT_CREATION)->ToObjectChecked()->IsSmi()); in TEST()
|
D | test-random.cc | 86 Object* symbol = FACTORY->LookupAsciiSymbol("f")->ToObjectChecked(); in TEST() 89 Handle<JSFunction> fun(JSFunction::cast(fun_object->ToObjectChecked())); in TEST()
|
D | test-assembler-arm.cc | 72 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 109 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 155 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 203 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 318 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 378 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 413 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 489 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TestRoundingMode() 675 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); 790 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); [all …]
|
D | test-assembler-mips.cc | 79 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 117 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 257 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 323 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 389 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 458 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 531 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 610 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 709 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() 756 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); in TEST() [all …]
|
D | test-serialize.cc | 591 HEAP->AllocateFixedArray(kSmallFixedArrayLength)->ToObjectChecked(); in TEST() 604 TENURED)->ToObjectChecked(); in TEST() 624 TENURED)->ToObjectChecked(); in TEST() 642 42 * kPointerSize)->ToObjectChecked(); in TEST() 664 TENURED)->ToObjectChecked(); in TEST()
|
D | test-hashing.cc | 167 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in check() 196 Handle<Object>(HEAP->undefined_value()))->ToObjectChecked()); in check()
|
D | test-weakmaps.cc | 42 Object* table_obj = ObjectHashTable::Allocate(1)->ToObjectChecked(); in AllocateJSWeakMap()
|
D | test-alloc.cc | 64 *Isolate::Current()->object_function())->ToObjectChecked(); in AllocateAfterFailures()
|
/external/chromium_org/v8/test/cctest/ |
D | test-mark-compact.cc | 86 Object* obj = heap->AllocateFixedArray(array_length)->ToObjectChecked(); in TEST() 111 Object* obj = heap->AllocateFixedArray(array_length)->ToObjectChecked(); in TEST() 146 array = heap->AllocateFixedArray(ARRAY_SIZE)->ToObjectChecked(); in TEST() 156 JSObject::kHeaderSize)->ToObjectChecked(); in TEST() 160 heap->InternalizeUtf8String("theFunction")->ToObjectChecked()); in TEST() 162 heap->AllocateSharedFunctionInfo(func_name)->ToObjectChecked()); in TEST() 166 heap->undefined_value())->ToObjectChecked()); in TEST() 169 JSObject::kHeaderSize)->ToObjectChecked()); in TEST() 175 heap->AllocateJSObject(function)->ToObjectChecked()); in TEST() 179 heap->InternalizeUtf8String("theFunction")->ToObjectChecked()); in TEST() [all …]
|
D | test-global-handles.cc | 94 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 96 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 99 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 101 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 190 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 192 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 195 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 197 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 285 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() 287 global_handles->Create(heap->AllocateFixedArray(1)->ToObjectChecked()); in TEST() [all …]
|
D | test-assembler-ia32.cc | 66 Handle<Code>())->ToObjectChecked(); in TEST() 105 Handle<Code>())->ToObjectChecked(); in TEST() 148 Handle<Code>())->ToObjectChecked(); in TEST() 183 Handle<Code>())->ToObjectChecked()); in TEST() 218 Handle<Code>())->ToObjectChecked()); in TEST() 248 Handle<Code>())->ToObjectChecked()); in TEST() 285 Handle<Code>())->ToObjectChecked()); in TEST() 325 Handle<Code>())->ToObjectChecked()); in TEST() 381 Handle<Code>())->ToObjectChecked()); in TEST() 467 Handle<Code>())->ToObjectChecked()); in TEST() [all …]
|
D | test-compiler.cc | 134 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Inc() 155 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Add() 175 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Abs() 196 return GetGlobalProperty("result")->ToObjectChecked()->Number(); in Sum() 253 CHECK_EQ(511.0, GetGlobalProperty("r")->ToObjectChecked()->Number()); in TEST() 269 CHECK_EQ(42.0, isolate->pending_exception()->ToObjectChecked()->Number()); in TEST() 299 STATIC_ASCII_VECTOR("foo"))->ToObjectChecked(); in TEST() 302 Handle<Object> fun1(fun1_object->ToObjectChecked(), isolate); in TEST()
|
D | test-heap.cc | 103 Object* obj = CcTest::heap()->NumberFromDouble(value)->ToObjectChecked(); in CheckNumber() 127 Handle<Code>())->ToObjectChecked(); in CheckFindCodeObject() 141 Handle<Code>())->ToObjectChecked(); in CheckFindCodeObject() 157 Object* value = heap->NumberFromDouble(1.000123)->ToObjectChecked(); in TEST() 162 value = heap->NumberFromDouble(1.0)->ToObjectChecked(); in TEST() 167 value = heap->NumberFromInt32(1024)->ToObjectChecked(); in TEST() 172 value = heap->NumberFromInt32(Smi::kMinValue)->ToObjectChecked(); in TEST() 177 value = heap->NumberFromInt32(Smi::kMaxValue)->ToObjectChecked(); in TEST() 184 value = heap->NumberFromInt32(Smi::kMinValue - 1)->ToObjectChecked(); in TEST() 192 value = maybe_value->ToObjectChecked(); in TEST() [all …]
|
D | test-assembler-mips.cc | 67 Handle<Code>())->ToObjectChecked(); in TEST() 106 Handle<Code>())->ToObjectChecked(); in TEST() 247 Handle<Code>())->ToObjectChecked(); in TEST() 320 Handle<Code>())->ToObjectChecked(); in TEST() 388 Handle<Code>())->ToObjectChecked(); in TEST() 454 Handle<Code>())->ToObjectChecked(); in TEST() 527 Handle<Code>())->ToObjectChecked(); in TEST() 604 Handle<Code>())->ToObjectChecked(); in TEST() 703 Handle<Code>())->ToObjectChecked(); in TEST() 751 Handle<Code>())->ToObjectChecked(); in TEST() [all …]
|
D | test-assembler-arm.cc | 63 Handle<Code>())->ToObjectChecked(); 101 Handle<Code>())->ToObjectChecked(); 148 Handle<Code>())->ToObjectChecked(); 197 Handle<Code>())->ToObjectChecked(); 323 Handle<Code>())->ToObjectChecked(); 386 Handle<Code>())->ToObjectChecked(); 422 Handle<Code>())->ToObjectChecked(); 498 Handle<Code>())->ToObjectChecked(); in TestRoundingMode() 684 Handle<Code>())->ToObjectChecked(); 796 Handle<Code>())->ToObjectChecked(); [all …]
|
D | test-macro-assembler-arm.cc | 97 Handle<Code>())->ToObjectChecked(); in TEST() 224 Handle<Code>())->ToObjectChecked(); in TEST()
|
D | test-macro-assembler-mips.cc | 97 Handle<Code>())->ToObjectChecked(); in TEST()
|
D | test-assembler-x64.cc | 550 Handle<Code>())->ToObjectChecked()); in TEST() 602 Handle<Code>())->ToObjectChecked()); in DoSSE2() 665 Handle<Code>())->ToObjectChecked()); in TEST() 704 Handle<Code>())->ToObjectChecked()); in TEST()
|
D | test-alloc.cc | 53 *CcTest::i_isolate()->object_function())->ToObjectChecked(); in AllocateAfterFailures()
|
D | test-weakmaps.cc | 49 Object* table_obj = ObjectHashTable::Allocate(heap, 1)->ToObjectChecked(); in AllocateJSWeakMap()
|
D | test-weaksets.cc | 49 Object* table_obj = ObjectHashTable::Allocate(heap, 1)->ToObjectChecked(); in AllocateJSWeakSet()
|