/arkcompiler/runtime_core/libpandabase/utils/ |
D | expected.h | 78 bool HasValue() const noexcept in HasValue() function 84 return HasValue(); 89 ASSERT(!HasValue()); in Error() 94 ASSERT(!HasValue()); in Error() 99 ASSERT(!HasValue()); in Error() 105 ASSERT(HasValue()); in Value() 112 ASSERT(HasValue()); in Value() 117 ASSERT(HasValue()); in Value() 136 if (HasValue()) { in ValueOr() 144 if (HasValue()) { in ValueOr()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | unix_exec_test.cpp | 25 ASSERT_TRUE(res.HasValue());
|
D | unix_library_loader_test.cpp | 26 ASSERT_FALSE(res.HasValue());
|
D | serializer_test.cpp | 180 ASSERT_TRUE(ret.HasValue()); in TEST_F()
|
/arkcompiler/toolchain/test/fuzztest/pttypesinternalpropertydespvalue_fuzzer/ |
D | pttypesinternalpropertydespvalue_fuzzer.cpp | 37 desp.HasValue(); in PtTypesInternalPropertyDespValueFuzzTest()
|
/arkcompiler/toolchain/test/fuzztest/pttypesprivatepropertydespvalue_fuzzer/ |
D | pttypesprivatepropertydespvalue_fuzzer.cpp | 37 desp.HasValue(); in PtTypesPrivatePropertyDespValueFuzzTest()
|
/arkcompiler/toolchain/test/fuzztest/pttypesremoteobjectgetvalue_fuzzer/ |
D | pttypesremoteobjectgetvalue_fuzzer.cpp | 38 obj.HasValue(); in PtTypesRemoteObjectGetValueFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_hashmap.h | 27 static JSTaggedValue HasValue(EcmaRuntimeCallInfo *argv);
|
D | containers_treemap.h | 32 static JSTaggedValue HasValue(EcmaRuntimeCallInfo *argv);
|
D | containers_lightweightmap.h | 29 static JSTaggedValue HasValue(EcmaRuntimeCallInfo *argv);
|
D | containers_hashmap.cpp | 301 JSTaggedValue ContainersHashMap::HasValue(EcmaRuntimeCallInfo *argv) in HasValue() function in panda::ecmascript::containers::ContainersHashMap 305 BUILTINS_API_TRACE(thread, HashMap, HasValue); in HasValue() 320 return JSAPIHashMap::HasValue(thread, hashMap, value); in HasValue()
|
D | containers_treemap.cpp | 169 JSTaggedValue ContainersTreeMap::HasValue(EcmaRuntimeCallInfo *argv) in HasValue() function in panda::ecmascript::containers::ContainersTreeMap 171 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, HasValue); in HasValue() 187 bool flag = map->HasValue(thread, GetCallArg(argv, 0)); in HasValue()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_tree_map.cpp | 89 bool JSAPITreeMap::HasValue(JSThread *thread, const JSHandle<JSTaggedValue> &value) const in HasValue() function in panda::ecmascript::JSAPITreeMap 92 return mapHandle->HasValue(thread, value.GetTaggedValue()); in HasValue()
|
D | js_api_tree_map.h | 45 bool HasValue(JSThread *thread, const JSHandle<JSTaggedValue> &value) const;
|
D | js_api_hashmap.h | 35 static JSTaggedValue HasValue(JSThread *thread, JSHandle<JSAPIHashMap> hashMap,
|
D | js_api_lightweightmap.h | 58 …static JSTaggedValue HasValue(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMa…
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_hashmap_test.cpp | 188 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0() 201 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0() 269 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0() 298 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpIterValue); in HWTEST_F_L0() 314 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpValue); in HWTEST_F_L0() 328 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpIterValue); in HWTEST_F_L0() 393 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0() 397 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
|
D | js_api_tree_map_test.cpp | 170 bool hasValue = tmap->HasValue(thread, value); in HWTEST_F_L0() 183 bool hasValue = tmap->HasValue(thread, value); in HWTEST_F_L0() 271 bool hasValue = tmap->HasValue(thread, value); in HWTEST_F_L0()
|
D | js_api_lightweightmap_test.cpp | 269 EXPECT_EQ(JSAPILightWeightMap::HasValue(thread, lwm, value1), JSTaggedValue::False()); in HWTEST_F_L0() 434 EXPECT_EQ(JSAPILightWeightMap::HasValue(thread, lwp, value1), JSTaggedValue::True()); in HWTEST_F_L0() 438 EXPECT_EQ(JSAPILightWeightMap::HasValue(thread, lwp, value1), JSTaggedValue::False()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemaphasvalue_fuzzer/ |
D | containerstreemaphasvalue_fuzzer.cpp | 106 ContainersTreeMap::HasValue(callInfo); in ContainersTreeMapSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containershashmaphasvalue_fuzzer/ |
D | containershashmaphasvalue_fuzzer.cpp | 109 ContainersHashMap::HasValue(callInfo1); in ContainersHashMapHasValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapvalues_fuzzer/ |
D | containerslightweightmapvalues_fuzzer.cpp | 128 ContainersLightWeightMap::HasValue(callInfo4); in ContainersLightWeightMapValuesFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_lightweightmap_test.cpp | 262 JSTaggedValue valueResult = ContainersLightWeightMap::HasValue(callInfo); in HWTEST_F_L0() 388 JSTaggedValue valueResult = ContainersLightWeightMap::HasValue(callInfo); in HWTEST_F_L0() 469 JSTaggedValue valueResult = ContainersLightWeightMap::HasValue(callInfo); in HWTEST_F_L0() 511 JSTaggedValue valueResult = ContainersLightWeightMap::HasValue(callInfo); in HWTEST_F_L0() 598 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersLightWeightMap, HasValue); in HWTEST_F_L0()
|
D | containers_hashmap_test.cpp | 216 JSTaggedValue result = ContainersHashMap::HasValue(callInfo); in HWTEST_F_L0() 271 JSTaggedValue result = ContainersHashMap::HasValue(callInfo); in HWTEST_F_L0() 338 JSTaggedValue valueFlag = JSAPIHashMap::HasValue(thread, tMap, iterValue); in HWTEST_F_L0() 377 JSTaggedValue valueFlag = JSAPIHashMap::HasValue(thread, tMap, value); in HWTEST_F_L0() 408 JSTaggedValue valueFlag = JSAPIHashMap::HasValue(thread, tMap, iterValue); in HWTEST_F_L0() 419 JSTaggedValue valueFlag = JSAPIHashMap::HasValue(thread, tMap, value); in HWTEST_F_L0() 989 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersHashMap, HasValue); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_object.cpp | 55 if (desc.HasValue() && desc.GetValue()->IsAccessor()) { in PropertyAttributes() 972 if (desc.HasValue()) { in GlobalGetOwnProperty() 993 if (desc.HasValue() && obj->IsJSGlobalObject()) { in OrdinaryGetOwnProperty() 1086 (!desc.HasValue() || JSTaggedValue::SameValue(current.GetValue(), desc.GetValue())) && in ValidateAndApplyPropertyDescriptor() 1137 … if (desc.HasValue() && !JSTaggedValue::SameValue(current.GetValue(), desc.GetValue())) { in ValidateAndApplyPropertyDescriptor() 1624 if (desc.HasValue()) { in EnumerableOwnPropertyNamesHelper() 1801 if (desc.HasValue()) { in FromPropertyDescriptor() 1901 if (desc.HasValue() || desc.HasWritable()) { in ToPropertyDescriptorFast() 1983 if (desc.HasValue() || desc.HasWritable()) { in ToPropertyDescriptor() 2043 if (!desc.HasValue()) { in CompletePropertyDescriptor()
|