Home
last modified time | relevance | path

Searched refs:null_value (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium/chrome/common/
Djson_value_serializer_unittest.cc29 Value* null_value = NULL; in TEST() local
30 ASSERT_TRUE(root_dict->Get("null", &null_value)); in TEST()
31 ASSERT_TRUE(null_value); in TEST()
32 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST()
267 Value* null_value = NULL; in TEST_F() local
268 ASSERT_TRUE(root_dict->Get("null", &null_value)); in TEST_F()
269 ASSERT_TRUE(null_value); in TEST_F()
270 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST_F()
/external/v8/src/
Daccessors.cc49 if (obj == heap->null_value()) return NULL; in FindInPrototypeChain()
597 if (function->shared()->native()) return isolate->heap()->null_value(); in FunctionGetArguments()
651 return isolate->heap()->null_value(); in FunctionGetArguments()
733 if (holder->shared()->native()) return isolate->heap()->null_value(); in FunctionGetCaller()
741 return isolate->heap()->null_value(); in FunctionGetCaller()
748 if (caller == NULL) return isolate->heap()->null_value(); in FunctionGetCaller()
762 return isolate->heap()->null_value(); in FunctionGetCaller()
Dbuiltins.cc399 if (proto == heap->null_value()) return false; in ArrayPrototypeHasNoElements()
1022 if (!recv->IsJSObject()) return heap->null_value(); in TypeCheck()
1031 for (; holder != heap->null_value(); holder = holder->GetPrototype()) { in TypeCheck()
1036 if (holder == heap->null_value()) return holder; in TypeCheck()
1049 for (; current != heap->null_value(); current = current->GetPrototype()) { in TypeCheck()
1055 if (current == heap->null_value()) *arg = heap->undefined_value(); in TypeCheck()
Djson-parser.h271 return isolate()->factory()->null_value(); in ParseJsonValue()
Dliveedit.cc822 info.SetFunctionCode(function_code, Handle<Object>(HEAP->null_value())); in FunctionCode()
877 Handle<Object>(HEAP->null_value())); in SerializeFunctionScope()
1373 old_script_object = Handle<Object>(HEAP->null_value()); in ChangeScriptSource()
Dstring-stream.cc534 for (Object* p = receiver; p != heap->null_value(); p = p->GetPrototype()) { in PrintPrototype()
Dheap.cc1910 map->set_prototype(null_value(), SKIP_WRITE_BARRIER); in AllocateMap()
1911 map->set_constructor(null_value(), SKIP_WRITE_BARRIER); in AllocateMap()
2067 meta_map()->set_prototype(null_value()); in CreateInitialMaps()
2068 meta_map()->set_constructor(null_value()); in CreateInitialMaps()
2070 fixed_array_map()->set_prototype(null_value()); in CreateInitialMaps()
2071 fixed_array_map()->set_constructor(null_value()); in CreateInitialMaps()
2073 oddball_map()->set_prototype(null_value()); in CreateInitialMaps()
2074 oddball_map()->set_constructor(null_value()); in CreateInitialMaps()
2459 null_value()->Initialize("null", Smi::FromInt(0), Oddball::kNull); in CreateInitialObjects()
Dobjects.cc585 : Object::cast(heap->null_value()); in GetProperty()
655 holder != heap->null_value(); in GetElementWithReceiver()
730 return heap->null_value(); in GetPrototype()
2054 pt != heap->null_value(); in LookupCallbackSetterInPrototypes()
2077 pt != heap->null_value(); in SetElementWithCallbackSetterInPrototypes()
2538 pt != heap->null_value(); in LookupRealNamedPropertyInPrototypes()
4189 o != heap->null_value(); in IsSimpleEnum()
4302 current != heap->null_value(); in Lookup()
4315 current != heap->null_value() && current->IsJSObject(); in LookupCallback()
4690 obj != heap->null_value(); in LookupAccessor()
[all …]
Dbootstrapper.cc328 JSGlobalProxy::cast(env->global_proxy())->set_context(*factory->null_value()); in DetachGlobal()
330 factory->null_value()); in DetachGlobal()
472 factory->NewFunction(object_name, factory->null_value()); in CreateEmptyFunction()
Dhandles.cc615 *p != isolate->heap()->null_value(); in GetKeysInFixedArrayFor()
Druntime.cc669 prototype->IsJSReceiver() ? prototype : isolate->heap()->null_value(); in RUNTIME_FUNCTION()
681 prototype->IsJSReceiver() ? prototype : isolate->heap()->null_value(); in RUNTIME_FUNCTION()
844 if (!obj->IsJSObject()) return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
3601 return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
4009 return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
4029 if (result == RegExpImpl::RE_FAILURE) return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
7910 Handle<Object> prototype = isolate->factory()->null_value(); in TrySettingInlineConstructStub()
8121 ASSERT(*arguments != isolate->heap()->null_value()); in MaterializeArgumentsObjectInFrame()
9067 return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
9097 if (!global->IsJSGlobalObject()) return isolate->heap()->null_value(); in RUNTIME_FUNCTION()
[all …]
Dobjects-inl.h1815 ASSERT(!heap->InNewSpace(heap->null_value())); in set_null()
1816 WRITE_FIELD(this, kHeaderSize + index * kPointerSize, heap->null_value()); in set_null()
1849 ASSERT(!HEAP->InNewSpace(heap->null_value())); in set_null_unchecked()
1850 WRITE_FIELD(this, kHeaderSize + index * kPointerSize, heap->null_value()); in set_null_unchecked()
/external/llvm/unittests/Support/
DValueHandleTest.cpp101 Value *null_value = NULL; in TEST_F() local
102 EXPECT_EQ(null_value, WVH); in TEST_F()
103 EXPECT_EQ(null_value, WVH_Copy); in TEST_F()
104 EXPECT_EQ(null_value, WVH_Recreated); in TEST_F()
/external/chromium/chrome/browser/sync/glue/
Dpreference_model_associator_unittest.cc98 scoped_ptr<Value> null_value(Value::CreateNullValue()); in TEST_F() local
108 PreferenceModelAssociator::MergePreference(*pref, *null_value)); in TEST_F()
223 scoped_ptr<Value> null_value(Value::CreateNullValue()); in TEST_F() local
233 PreferenceModelAssociator::MergePreference(*pref, *null_value)); in TEST_F()
/external/v8/test/cctest/
Dtest-alloc.cc151 FACTORY->NewFunction(FACTORY->function_symbol(), FACTORY->null_value()); in TEST()
/external/v8/src/ia32/
Dfull-codegen-ia32.cc964 __ cmp(eax, isolate()->factory()->null_value()); in VisitForInStatement()
1429 __ push(Immediate(isolate()->factory()->null_value())); in EmitAccessor()
2478 __ cmp(eax, isolate()->factory()->null_value()); in EmitIsObject()
2838 __ mov(eax, isolate()->factory()->null_value()); in EmitClassOf()
4147 __ cmp(eax, isolate()->factory()->null_value()); in EmitLiteralCompareTypeof()
4168 __ cmp(eax, isolate()->factory()->null_value()); in EmitLiteralCompareTypeof()
4295 isolate()->factory()->null_value() : in EmitLiteralCompareNil()
4303 isolate()->factory()->null_value(); in EmitLiteralCompareNil()
Dlithium-codegen-ia32.cc1465 __ cmp(reg, factory()->null_value()); in DoBranch()
1646 factory()->null_value() : in DoIsNilAndBranch()
1654 factory()->null_value(); in DoIsNilAndBranch()
1678 __ cmp(input, isolate()->factory()->null_value()); in EmitIsObject()
2014 __ cmp(object, factory()->null_value()); in DoInstanceOfKnownGlobal()
2614 __ cmp(receiver, factory()->null_value()); in DoWrapReceiver()
4694 __ cmp(input, factory()->null_value()); in EmitTypeofIs()
4718 __ cmp(input, factory()->null_value()); in EmitTypeofIs()
4908 __ cmp(eax, isolate()->factory()->null_value()); in DoForInPrepareMap()
Dbuiltins-ia32.cc612 __ cmp(ebx, factory->null_value()); in Generate_FunctionCall()
805 __ cmp(ebx, factory->null_value()); in Generate_FunctionApply()
/external/v8/src/x64/
Dmacro-assembler-x64.h1304 void CheckEnumCache(Register null_value,
Dfull-codegen-x64.cc906 Register null_value = rdi; in VisitForInStatement() local
907 __ LoadRoot(null_value, Heap::kNullValueRootIndex); in VisitForInStatement()
908 __ cmpq(rax, null_value); in VisitForInStatement()
934 __ CheckEnumCache(null_value, &call_runtime); in VisitForInStatement()
/external/v8/src/arm/
Dmacro-assembler-arm.h1264 void CheckEnumCache(Register null_value, Label* call_runtime);
Dfull-codegen-arm.cc997 Register null_value = r5; in VisitForInStatement() local
998 __ LoadRoot(null_value, Heap::kNullValueRootIndex); in VisitForInStatement()
999 __ cmp(r0, null_value); in VisitForInStatement()
1025 __ CheckEnumCache(null_value, &call_runtime); in VisitForInStatement()
/external/v8/src/mips/
Dfull-codegen-mips.cc1007 Register null_value = t1; in VisitForInStatement() local
1008 __ LoadRoot(null_value, Heap::kNullValueRootIndex); in VisitForInStatement()
1009 __ Branch(&exit, eq, a0, Operand(null_value)); in VisitForInStatement()
1034 __ CheckEnumCache(null_value, &call_runtime); in VisitForInStatement()
Dmacro-assembler-mips.h1407 void CheckEnumCache(Register null_value, Label* call_runtime);
/external/chromium/chrome/browser/sync/engine/
Dsyncapi.cc1377 syncable::AutofillMigrationDebugInfo null_value = {0}; in GetAutofillMigrationDebugInfo() local
1378 return null_value; in GetAutofillMigrationDebugInfo()

12