Home
last modified time | relevance | path

Searched refs:IsNull (Results 1 – 25 of 55) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/tests/
Dglue_regs_test.cpp76 EXPECT_TRUE(globalConst->GetNull().IsNull()); in HWTEST_F_L0()
77 EXPECT_TRUE(globalConst->GetHandledNull()->IsNull()); in HWTEST_F_L0()
89 EXPECT_TRUE(!Name##value.IsNull()); \ in HWTEST_F_L0()
91 EXPECT_TRUE(!Name##handledValue->IsNull()); in HWTEST_F_L0()
103 EXPECT_TRUE(!Name##value.IsNull()); \ in HWTEST_F_L0()
105 EXPECT_TRUE(!Name##handledValue->IsNull()); in HWTEST_F_L0()
Djs_forin_iterator_test.cpp56 EXPECT_TRUE(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(grandfather)).IsNull()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_finalization_registry.cpp100 if (obj->GetPrev().IsNull() && obj->GetNext().IsNull()) { in CleanFinRegLists()
104 if (!obj->GetPrev().IsNull()) { in CleanFinRegLists()
108 if (!obj->GetNext().IsNull()) { in CleanFinRegLists()
132 while (!current->IsNull()) { in CheckAndCall()
226 if (!next->GetPrev().IsNull() || !next->GetNext().IsNull()) { in AddFinRegLists()
Djs_proxy.cpp56 if (handler->IsNull()) { in GetPrototype()
83 if (!handlerProto.IsECMAObject() && !handlerProto.IsNull()) { in GetPrototype()
113 ASSERT(proto->IsECMAObject() || proto->IsNull()); in SetPrototype()
117 if (handler.IsNull()) { in SetPrototype()
177 if (handler.IsNull()) { in IsExtensible()
233 if (handler.IsNull()) { in PreventExtensions()
286 if (handler.IsNull()) { in GetOwnProperty()
383 if (handler.IsNull()) { in DefineOwnProperty()
471 if (handler.IsNull()) { in HasProperty()
543 if (handler.IsNull()) { in GetProperty()
[all …]
Djs_arraybuffer.h37 return arrayBufferData.IsNull(); in IsDetach()
Djs_arraybuffer.cpp66 if (arrayBufferData.IsNull()) { in Detach()
Djs_tagged_value.cpp253 if (x->IsNull() && y->IsNull()) { in Equal()
261 if (x->IsNull() && y->IsUndefined()) { in Equal()
265 if (x->IsUndefined() && y->IsNull()) { in Equal()
527 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in GetProperty()
556 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in GetProperty()
584 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in GetProperty()
612 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in SetProperty()
641 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in SetProperty()
672 if (obj->IsUndefined() || obj->IsNull() || obj->IsHole()) { in SetProperty()
Djs_regexp_iterator.cpp69 if (matchHandle->IsNull()) { in Next()
Djs_object.cpp152 ASSERT(!jshclass->GetLayout().IsNull()); in TransitionToDictionary()
395 if (!enumCache.IsNull()) { in GetAllEnumKeys()
639 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
660 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
671 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in SetProperty()
852 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in GetProperty()
872 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in GetProperty()
881 …ASSERT_PRINT(!(obj->IsUndefined() || obj->IsNull() || obj->IsHole()), "Obj is not a valid object"); in GetProperty()
1185 ASSERT_PRINT(proto->IsECMAObject() || proto->IsNull(), "proto must be object or null"); in SetPrototype()
1196 if (tempProtoHandle->IsNull() || !tempProtoHandle->IsECMAObject()) { in SetPrototype()
[all …]
Djs_for_in_iterator.cpp116 if (object->IsNull() || object->IsUndefined()) { in NextInternal()
Djs_hclass-inl.h153 ASSERT(!GetLayout().IsNull()); in UpdatePropertyMetaData()
Djs_function.cpp205 while (!object->IsNull()) { in OrdinaryHasInstance()
583 if (proxy.IsNull()) { in ProxyRevocFunctions()
657 while (!mutableNewTargetProto->IsNull()) { in GetInstanceJSHClass()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_async_from_sync_iterator.cpp57 if (value->IsNull()) { in Next()
104 if (value->IsNull()) { in Throw()
179 if (value->IsNull()) { in Return()
Dbuiltins_object.cpp54 if (value->IsNull() || value->IsUndefined()) { in ObjectConstructor()
89 if (!source->IsNull() && !source->IsUndefined()) { in Assign()
220 if (!obj->IsECMAObject() && !obj->IsNull()) { in Create()
652 if (!proto->IsNull() && !proto->IsECMAObject()) { in SetPrototypeOf()
728 while (!msgValueHandle->IsNull()) { in IsPrototypeOf()
848 if (msg->IsNull()) { in ToString()
928 if (!proto->IsNull() && !proto->IsECMAObject()) { in ProtoSetter()
991 if (iterable->IsUndefined() || iterable->IsNull()) { in FromEntries()
Dbuiltins_sharedarraybuffer.cpp71 if (bufferdata.IsNull()) { in IsSharedArrayBuffer()
89 if (dataSlot.IsNull()) { in IsShared()
Dbuiltins_weak_map.cpp56 if (iterable->IsUndefined() || iterable->IsNull()) { in WeakMapConstructor()
Dbuiltins_weak_set.cpp56 if (iterable->IsUndefined() || iterable->IsNull()) { in WeakSetConstructor()
Dbuiltins_regexp.cpp204 return GetTaggedBoolean(!matchResult.IsNull()); in Test()
463 if (result->IsNull()) { in Match()
821 if (execResult->IsNull()) { in Replace()
1074 if (result->IsNull()) { in Search()
1204 if (!execResult->IsNull()) { in Split()
1228 if (execResult->IsNull()) { in Split()
1575 if (!result.IsECMAObject() && !result.IsNull()) { in RegExpExec()
/arkcompiler/toolchain/tooling/base/
Dpt_json.h83 bool IsNull() const;
Dpt_json.cpp282 bool PtJson::IsNull() const in IsNull() function in panda::ecmascript::tooling::PtJson
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp229 ASSERT(proto->IsECMAObject() || proto->IsNull()); in SetPrototype()
230 return proto->IsNull(); in SetPrototype()
Djs_module_source_text.cpp430 if (resolution->IsNull() || resolution->IsString()) { in InitializeEnvironment()
672 if (resolution->IsNull() || resolution->IsString()) { in ModuleDeclarationEnvironmentSetup()
751 if (resolution->IsNull() || resolution->IsString()) { in ModuleDeclarationArrayEnvironmentSetup()
1335 if (resolution->IsNull()) { in GetStarResolution()
1341 if (starResolution->IsNull()) { in GetStarResolution()
1495 if (resolution->IsNull() || resolution->IsString()) { in CheckResolvedBinding()
1533 if (resolution->IsNull() || resolution->IsString()) { in CheckResolvedIndexBinding()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_plain_array.cpp307 if (!valueHandle->IsUndefined() && !valueHandle->IsNull()) { in ToString()
315 if (!keyHandle->IsUndefined() && !keyHandle->IsNull()) { in ToString()
Djs_api_lightweightmap.cpp365 if (!valueHandle->IsUndefined() && !valueHandle->IsNull()) { in ToString()
374 if (!keyHandle->IsUndefined() && !keyHandle->IsNull()) { in ToString()
/arkcompiler/ets_runtime/ecmascript/base/
Darray_helper.cpp86 if (!callbackfnHandle->IsUndefined() && !callbackfnHandle->IsNull()) { in SortCompare()

123