Home
last modified time | relevance | path

Searched refs:IsECMAObject (Results 1 – 25 of 85) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp109 ASSERT(targetHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
112 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
113 ASSERT(targetHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
126 ASSERT(funcHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
133 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
147 ASSERT(handlerHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
148 ASSERT(targetHandle->IsECMAObject()); in DEF_RUNTIME_STUBS()
162 ASSERT(value->IsECMAObject()); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_reflect.cpp95 if (!target->IsECMAObject()) { in ReflectDefineProperty()
119 if (!target->IsECMAObject()) { in ReflectDeleteProperty()
138 if (!val->IsECMAObject()) { in ReflectGet()
164 if (!target->IsECMAObject()) { in ReflectGetOwnPropertyDescriptor()
190 if (!val->IsECMAObject()) { in ReflectGetPrototypeOf()
206 if (!target->IsECMAObject()) { in ReflectHas()
224 if (!target->IsECMAObject()) { in ReflectIsExtensible()
240 if (!target->IsECMAObject()) { in ReflectOwnKeys()
260 if (!target->IsECMAObject()) { in ReflectPreventExtensions()
277 if (!targetVal->IsECMAObject()) { in ReflectSet()
[all …]
Dbuiltins_object.cpp142 if (!obj->IsECMAObject()) { in ObjectDefineProperties()
220 if (!obj->IsECMAObject() && !obj->IsNull()) { in Create()
261 if (!obj->IsECMAObject()) { in DefineProperty()
297 if (!obj->IsECMAObject()) { in Freeze()
491 if (!obj->IsECMAObject()) { in IsFrozen()
510 if (!obj->IsECMAObject()) { in IsSealed()
583 if (!obj->IsECMAObject()) { in PreventExtensions()
614 if (!msg->IsECMAObject()) { in Seal()
652 if (!proto->IsNull() && !proto->IsECMAObject()) { in SetPrototypeOf()
659 if (!object->IsECMAObject()) { in SetPrototypeOf()
[all …]
Dbuiltins_dataview.cpp43 if (!bufferHandle->IsECMAObject()) { in DataViewConstructor()
117 if (!thisHandle->IsECMAObject()) { in GetBuffer()
141 if (!thisHandle->IsECMAObject()) { in GetByteLength()
171 if (!thisHandle->IsECMAObject()) { in GetOffset()
356 if (!view->IsECMAObject()) { in GetViewValue()
411 if (!view->IsECMAObject()) { in SetViewValue()
Dbuiltins_sharedarraybuffer.cpp61 if (!arg->IsECMAObject()) { in IsSharedArrayBuffer()
143 if (!thisHandle->IsECMAObject()) { in GetByteLength()
169 if (!thisHandle->IsECMAObject()) { in Slice()
Dbuiltins_async_from_sync_iterator.cpp119 if (!result->IsECMAObject()) { in Throw()
194 if (!result->IsECMAObject()) { in Return()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp81 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
105 EXPECT_TRUE(targetHandle->IsECMAObject()); in HWTEST_F_L0()
113 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
146 EXPECT_TRUE(targetHandle->IsECMAObject()); in HWTEST_F_L0()
154 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
190 EXPECT_TRUE(targetHandle->IsECMAObject()); in HWTEST_F_L0()
196 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
231 EXPECT_TRUE(targetHandle->IsECMAObject()); in HWTEST_F_L0()
237 EXPECT_TRUE(handlerHandle->IsECMAObject()); in HWTEST_F_L0()
273 EXPECT_TRUE(targetHandle->IsECMAObject()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_global_object.h27 ASSERT(JSTaggedValue(object).IsECMAObject()); in Cast()
40 ASSERT(JSTaggedValue(object).IsECMAObject()); in Cast()
Djs_iterator.cpp70 if (!iter->IsECMAObject()) { in GetIterator()
107 if (!iterator->IsECMAObject()) { in GetAsyncIterator()
129 if (!ret.IsECMAObject()) { in IteratorNext()
152 if (!ret.IsECMAObject()) { in IteratorNext()
174 if (!ret.IsECMAObject()) { in IteratorNext()
193 if (!ret.IsECMAObject()) { in IteratorNext()
202 ASSERT_PRINT(iterResult->IsECMAObject(), "iterResult must be JSObject"); in IteratorComplete()
212 ASSERT_PRINT(iterResult->IsECMAObject(), "iterResult must be JSObject"); in IteratorValue()
243 ASSERT_PRINT(iter->IsECMAObject(), "iter must be JSObject"); in IteratorClose()
293 if (!innerResult->IsECMAObject()) { in IteratorClose()
Djs_proxy.cpp31 if (!target->IsECMAObject()) { in ProxyCreate()
37 if (!handler->IsECMAObject()) { in ProxyCreate()
60 ASSERT(handler->IsECMAObject()); in GetPrototype()
83 if (!handlerProto.IsECMAObject() && !handlerProto.IsNull()) { in GetPrototype()
113 ASSERT(proto->IsECMAObject() || proto->IsNull()); in SetPrototype()
121 ASSERT(handler.IsECMAObject()); in SetPrototype()
181 ASSERT(handler.IsECMAObject()); in IsExtensible()
236 ASSERT(handler.IsECMAObject()); in PreventExtensions()
289 ASSERT(handler.IsECMAObject()); in GetOwnProperty()
311 if (!trapResultObj.IsECMAObject() && !trapResultObj.IsUndefined()) { in GetOwnProperty()
[all …]
Djs_tagged_value.cpp350 if (tagged->IsECMAObject()) { in ToPrimitive()
365 if (!valueResult.IsECMAObject()) { in ToPrimitive()
381 ASSERT(tagged->IsECMAObject()); in OrdinaryToPrimitive()
398 if (!valueResult.IsECMAObject()) { in OrdinaryToPrimitive()
450 if (tagged->IsECMAObject()) { in ToString()
507 if (tagged->IsECMAObject()) { in ToObject()
724 if (!obj->IsECMAObject()) { in DeletePropertyOrThrow()
747 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid object"); in DefinePropertyOrThrow()
812 if (obj->IsSpecialContainer() || !obj->IsECMAObject()) { in SetPrototype()
829 if (!obj->IsECMAObject()) { in GetPrototype()
[all …]
Djs_object.cpp132 if (!argument->IsECMAObject()) { in IsRegExp()
474 ASSERT_PRINT(obj->IsECMAObject(), "obj is not object"); in GetAllElementKeysByFilter()
650 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid JSObject"); in SetProperty()
711 if (!receiver->IsECMAObject()) { in SetProperty()
862 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid JSObject"); 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()
1371 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid object"); in CreateDataProperty()
1385 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid object"); in CreateDataProperty()
1399 ASSERT_PRINT(obj->IsECMAObject(), "Obj is not a valid object"); in CreateDataPropertyOrThrow()
[all …]
Djs_object-inl.h71 inline bool JSObject::IsECMAObject() const in IsECMAObject() function
73 return GetJSHClass()->IsECMAObject(); in IsECMAObject()
366 if (!obj->IsECMAObject()) { in CreateListFromArrayLike()
Djs_generator_object.cpp27 if (!obj->IsECMAObject()) { in GeneratorValidate()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp131 EXPECT_TRUE(result->IsECMAObject()); in HWTEST_F_L0()
152 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0()
178 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_map_test.cpp92 EXPECT_TRUE(result.IsECMAObject()); in CreateBuiltinsWeakMap()
149 EXPECT_TRUE(result2.IsECMAObject()); in HWTEST_F_L0()
187 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
239 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_weak_set_test.cpp90 EXPECT_TRUE(result.IsECMAObject()); in CreateBuiltinsWeakSet()
144 EXPECT_TRUE(result2.IsECMAObject()); in HWTEST_F_L0()
182 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
233 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_errors_test.cpp143 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
179 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
268 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
303 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
394 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
429 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
514 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
549 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
635 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
670 EXPECT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
[all …]
Dbuiltins_proxy_test.cpp85 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
113 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_object_test.cpp108 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
185 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
208 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
283 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
325 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
379 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
408 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
432 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
650 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
666 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
[all …]
Dbuiltins_set_test.cpp94 EXPECT_TRUE(result.IsECMAObject()); in CreateBuiltinsSet()
157 EXPECT_TRUE(result2.IsECMAObject()); in HWTEST_F_L0()
218 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
262 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_boolean_test.cpp76 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
96 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_map_test.cpp94 EXPECT_TRUE(result.IsECMAObject()); in CreateBuiltinsMap()
164 EXPECT_TRUE(result2.IsECMAObject()); in HWTEST_F_L0()
202 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
244 EXPECT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
Dbuiltins_weak_ref_test.cpp106 ASSERT_TRUE(result.IsECMAObject()); in HWTEST_F_L0()
211 ASSERT_TRUE(result1.IsECMAObject()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Derror_helper.cpp41 if (!thisValue->IsECMAObject()) { in ErrorCommonToString()
174 if (options->IsECMAObject()) { in ErrorCommonConstructor()

1234