/ark/js_runtime/ecmascript/ic/ |
D | ic_runtime.cpp | 178 bool success = JSTaggedValue::SetProperty(GetThread(), receiver, key, value, true); in StoreMiss() local 179 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 196 bool success = JSObject::SetProperty(&op, value, true); in StoreMiss() local 197 if (!success && GetICKind() == ICKind::NamedGlobalStoreIC) { in StoreMiss() 203 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 209 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 211 if (success) { in StoreMiss()
|
/ark/js_runtime/ecmascript/ |
D | js_tagged_value.cpp | 550 bool success = false; in SetProperty() local 552 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), key, value, mayThrow); in SetProperty() 554 …success = JSTypedArray::SetProperty(thread, obj, JSTypedArray::ToPropKey(thread, key), value, mayT… in SetProperty() 556 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty() 559 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, success); in SetProperty() 562 return success; in SetProperty() 573 bool success = false; in SetProperty() local 576 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), keyHandle, value, mayThrow); in SetProperty() 579 success = JSTypedArray::SetProperty( in SetProperty() 582 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty() [all …]
|
D | js_array.cpp | 242 [[maybe_unused]] bool success = GetOwnProperty(thread, array, lengthKeyHandle, oldLenDesc); in ArraySetLength() local 244 ASSERT(success); in ArraySetLength() 283 success = JSObject::DefineOwnProperty(thread, array, lengthKeyHandle, readonly); in ArraySetLength() 284 ASSERT_PRINT(success, "DefineOwnProperty of length must be success here!"); in ArraySetLength() 311 bool success = JSObject::OrdinaryDefineOwnProperty(thread, array, key, desc); in DefineOwnProperty() local 312 if (success) { in DefineOwnProperty() 319 return success; in DefineOwnProperty()
|
D | js_object.cpp | 870 bool success = false; in ValidateAndApplyPropertyDescriptor() local 872 success = op->AddPropertyInHolder(desc.GetValue(), attr); in ValidateAndApplyPropertyDescriptor() 884 success = op->AddPropertyInHolder(JSHandle<JSTaggedValue>::Cast(accessor), attr); in ValidateAndApplyPropertyDescriptor() 887 return success; in ValidateAndApplyPropertyDescriptor() 1130 bool success = CreateDataProperty(thread, obj, key, value); in CreateDataPropertyOrThrow() local 1131 if (!success) { in CreateDataPropertyOrThrow() 1132 THROW_TYPE_ERROR_AND_RETURN(thread, "failed to create data property", success); in CreateDataPropertyOrThrow() 1134 return success; in CreateDataPropertyOrThrow() 1142 bool success = CreateDataProperty(thread, obj, index, value); in CreateDataPropertyOrThrow() local 1143 if (!success) { in CreateDataPropertyOrThrow() [all …]
|
D | js_function.cpp | 66 … [[maybe_unused]] bool success = JSObject::DefineOwnProperty(thread, JSHandle<JSObject>(func), in InitializeJSFunction() local 68 ASSERT(success); in InitializeJSFunction()
|
/ark/js_runtime/ecmascript/tests/ |
D | tagged_tree_test.cpp | 354 bool success = tmap->HasValue(thread, value.GetTaggedValue()); in HWTEST_F_L0() local 355 EXPECT_TRUE(success); in HWTEST_F_L0() 858 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); in HWTEST_F_L0() local 859 EXPECT_TRUE(success); in HWTEST_F_L0() 867 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); in HWTEST_F_L0() local 868 EXPECT_TRUE(success); in HWTEST_F_L0() 877 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); in HWTEST_F_L0() local 878 EXPECT_TRUE(success); in HWTEST_F_L0() 884 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); in HWTEST_F_L0() local 885 EXPECT_TRUE(success); in HWTEST_F_L0() [all …]
|
D | js_serializer_test.cpp | 63 [[maybe_unused]] bool success = EcmaVM::Destroy(ecmaVm); in Destroy() local 64 EXPECT_TRUE(success) << "Cannot destroy Runtime"; in Destroy() 656 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(obj)); in HWTEST_F_L0() local 657 EXPECT_TRUE(success); in HWTEST_F_L0() 694 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(set)); in HWTEST_F_L0() local 695 EXPECT_TRUE(success); in HWTEST_F_L0() 726 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(array)); in HWTEST_F_L0() local 727 EXPECT_TRUE(success); in HWTEST_F_L0() 776 bool success = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>(ecmaString)); in HWTEST_F_L0() local 777 EXPECT_TRUE(success) << "Serialize EcmaString fail"; in HWTEST_F_L0() [all …]
|
D | gc_test.cpp | 48 [[maybe_unused]] bool success = Runtime::Create(options, {&lcEcma}); in SetUp() local 49 ASSERT_TRUE(success) << "Cannot create Runtime"; in SetUp()
|
D | js_object_test.cpp | 241 bool success = JSObject::CreateDataProperty(thread, obj, key, value); in HWTEST_F_L0() local 242 EXPECT_TRUE(success); in HWTEST_F_L0() 244 success = JSTaggedValue::HasOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), key); in HWTEST_F_L0() 245 EXPECT_TRUE(success); in HWTEST_F_L0() 248 success = JSObject::GetOwnProperty(thread, obj, key, desc); in HWTEST_F_L0() 249 EXPECT_TRUE(success); in HWTEST_F_L0() 266 bool success = JSObject::CreateMethodProperty(thread, obj, key, value); in HWTEST_F_L0() local 267 EXPECT_TRUE(success); in HWTEST_F_L0() 269 success = JSTaggedValue::HasOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), key); in HWTEST_F_L0() 270 EXPECT_TRUE(success); in HWTEST_F_L0() [all …]
|
D | concurrent_marking_test.cpp | 48 [[maybe_unused]] bool success = Runtime::Create(options, {&lcEcma}); in SetUp() local 49 ASSERT_TRUE(success) << "Cannot create Runtime"; in SetUp()
|
D | test_helper.h | 101 [[maybe_unused]] bool success = Runtime::Create(options, {&lcEcma}); variable 102 ASSERT_TRUE(success) << "Cannot create Runtime";
|
D | js_api_tree_set_test.cpp | 142 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() local 143 EXPECT_EQ(success, true); in HWTEST_F_L0() 268 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() local 269 EXPECT_EQ(success, true); in HWTEST_F_L0()
|
D | js_api_tree_map_test.cpp | 210 bool success = JSAPITreeMap::Replace(thread, tmap, key, value); in HWTEST_F_L0() local 211 EXPECT_EQ(success, true); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/snapshot/tests/ |
D | snapshot_test.cpp | 62 [[maybe_unused]] bool success = EcmaVM::Destroy(ecmaVm); in TearDown() local 63 ASSERT_TRUE(success) << "Cannot destroy Runtime"; in TearDown()
|
/ark/runtime_core/runtime/tests/ |
D | mem_stats_gc_test.cpp | 40 bool success = Runtime::Create(options); in SetupRuntime() local 41 ASSERT_TRUE(success) << "Cannot create Runtime"; in SetupRuntime() 52 bool success = Runtime::Destroy(); in TearDown() local 53 ASSERT_TRUE(success) << "Cannot destroy Runtime"; in TearDown()
|
/ark/runtime_core/libziparchive/ |
D | zip_archive.cpp | 165 int success = ZIPARCHIVE_OK; in CreateOrAddFileIntoZip() local 175 success = ZIPARCHIVE_ERR; in CreateOrAddFileIntoZip() 185 return success; in CreateOrAddFileIntoZip()
|
/ark/runtime_core/runtime/include/ |
D | object_accessor-inl.h | 268 bool success = false; in CompareAndSetFieldObject() local 274 success = value.first; in CompareAndSetFieldObject() 279 success = value.first; in CompareAndSetFieldObject() 291 if (success && !mem::IsEmptyBarrier(barrier_set->GetPostType())) { in CompareAndSetFieldObject() 294 return {success, result}; in CompareAndSetFieldObject() 298 return {success, result}; in CompareAndSetFieldObject()
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_json.cpp | 69 bool success = JSObject::CreateDataProperty(thread, root, rootName, result); in Parse() local 70 if (success) { in Parse()
|
D | builtins_object.cpp | 106 …bool success = JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(from), key, des… in Assign() local 110 if (success && desc.IsEnumerable()) { in Assign() 173 …bool success = JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(props), handleK… in ObjectDefineProperties() local 177 if (success && propDesc.IsEnumerable()) { in ObjectDefineProperties() 274 [[maybe_unused]] bool success = JSTaggedValue::DefinePropertyOrThrow(thread, obj, key, desc); in DefineProperty() local
|
/ark/js_runtime/ecmascript/tooling/backend/ |
D | js_debugger.cpp | 41 auto [_, success] = breakpoints_.emplace(method, location.GetBytecodeOffset(), in SetBreakpoint() 43 if (!success) { in SetBreakpoint()
|
/ark/js_runtime/test/moduletest/weaktransitions/ |
D | expect_output.txt | 14 success
|
/ark/runtime_core/libpandabase/os/unix/futex/ |
D | mutex.cpp | 527 …bool success = futex(GetCondAddr(), FUTEX_REQUEUE_PRIVATE, 0, reinterpret_cast<const timespec *>(t… in SignalCount() local 529 if (!success) { in SignalCount()
|
/ark/runtime_core/libpandabase/utils/ |
D | pandargs.h | 176 bool success = args_.insert(arg).second; in Add() local 177 if (!success) { in Add() 180 return success; in Add()
|
/ark/js_runtime/ecmascript/containers/ |
D | containers_treemap.cpp | 273 bool success = JSAPITreeMap::Replace(thread, map, key, value); in Replace() local 275 return GetTaggedBoolean(success); in Replace()
|
/ark/runtime_core/runtime/ |
D | monitor.cpp | 626 [[maybe_unused]] bool success = this->SetOwner(thread, nullptr); in Acquire() local 627 ASSERT(success); in Acquire()
|