Home
last modified time | relevance | path

Searched defs:obj (Results 1 – 25 of 623) sorted by relevance

12345678910>>...25

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Value.cpp36 void ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject()
49 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue()
64 void ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean()
69 void ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte()
74 void ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort()
79 void ValueAPISetFieldChar(EtsObject *obj, EtsLong i, EtsChar val) in ValueAPISetFieldChar()
84 void ValueAPISetFieldInt(EtsObject *obj, EtsLong i, EtsInt val) in ValueAPISetFieldInt()
89 void ValueAPISetFieldLong(EtsObject *obj, EtsLong i, EtsLong val) in ValueAPISetFieldLong()
94 void ValueAPISetFieldFloat(EtsObject *obj, EtsLong i, EtsFloat val) in ValueAPISetFieldFloat()
99 void ValueAPISetFieldDouble(EtsObject *obj, EtsLong i, EtsDouble val) in ValueAPISetFieldDouble()
[all …]
Dcompiler_intrinsics.cpp147 T CompilerEtsLdObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByName()
242 void CompilerEtsStObjByName(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, T… in CompilerEtsStObjByName()
276 void CompilerEtsStObjByNameRef(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameRef()
307 …2_t CompilerEtsLdObjByNameI32(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByNameI32()
312 …4_t CompilerEtsLdObjByNameI64(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByNameI64()
317 …oat CompilerEtsLdObjByNameF32(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByNameF32()
322 …ble CompilerEtsLdObjByNameF64(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj) in CompilerEtsLdObjByNameF64()
328 ark::ObjectHeader *obj) in CompilerEtsLdObjByNameObj()
333 …void CompilerEtsStObjByNameI8(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameI8()
340 …oid CompilerEtsStObjByNameI16(ark::Method *method, int32_t id, uint32_t pc, ark::ObjectHeader *obj, in CompilerEtsStObjByNameI16()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/
Doptional_reference_type.js39 function fnWithSubsetPick(obj) { argument
45 function fnWithSubsetOmit(obj) { argument
51 function fnWithSubsetPartial(obj) { argument
57 function fnWithUnionParam(obj) { argument
79 function fnWithUserClass(obj) { argument
85 function fnWithUserInterface(obj) { argument
91 function fnWithAnyParamObject(obj) { argument
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_accessor-inl.h30 inline ObjectHeader *ObjectAccessor::GetObject(const void *obj, size_t offset) in GetObject()
41 inline void ObjectAccessor::SetObject(void *obj, size_t offset, ObjectHeader *value) in SetObject()
71 …ectHeader *ObjectAccessor::GetObject([[maybe_unused]] const ManagedThread *thread, const void *obj, in GetObject()
83 inline void ObjectAccessor::SetObject(const ManagedThread *thread, void *obj, size_t offset, Object… in SetObject()
111 inline T ObjectAccessor::GetFieldPrimitive(const void *obj, const Field &field) in GetFieldPrimitive()
121 inline void ObjectAccessor::SetFieldPrimitive(void *obj, const Field &field, T value) in SetFieldPrimitive()
133 inline ObjectHeader *ObjectAccessor::GetFieldObject(const void *obj, const Field &field) in GetFieldObject()
144 inline void ObjectAccessor::SetFieldObject(void *obj, const Field &field, ObjectHeader *value) in SetFieldObject()
157 inline ObjectHeader *ObjectAccessor::GetFieldObject(const ManagedThread *thread, const void *obj, c… in GetFieldObject()
168 inline void ObjectAccessor::SetFieldObject(const ManagedThread *thread, void *obj, const Field &fie… in SetFieldObject()
[all …]
Dobject_accessor.h33 static T GetPrimitive(const void *obj, size_t offset) in GetPrimitive()
39 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
123 static inline T GetDynValue(const void *obj, size_t offset) in GetDynValue()
179 static T Get(const void *obj, size_t offset) in Get()
192 static void Set(void *obj, size_t offset, T value) in Set()
205 static T Get(const void *obj, size_t offset, std::memory_order memoryOrder) in Get()
214 static void Set(void *obj, size_t offset, T value, std::memory_order memoryOrder) in Set()
222 static ObjectPointerType EncodeObjectPointerType(ObjectHeader *obj) in EncodeObjectPointerType()
227 static coretypes::TaggedType EncodeTaggedType(ObjectHeader *obj) in EncodeTaggedType()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.h79 GateRef IsContainer(GateRef obj, ContainersType type) in IsContainer()
175 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet()
194 GateRef ContainerGetSize(GateRef obj, ContainersType type) in ContainerGetSize()
254 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue()
298 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey()
316 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode()
342 GateRef PlainArrayGetKey(GateRef obj, GateRef index) in PlainArrayGetKey()
348 GateRef QueueGetNextPosition(GateRef obj, GateRef index) in QueueGetNextPosition()
354 GateRef QueueGetCurrentFront(GateRef obj) in QueueGetCurrentFront()
Dcontainers_deque_stub_builder.h31 GateRef GetSize(GateRef obj) in GetSize()
41 GateRef Get(GateRef obj, GateRef index) in Get()
51 GateRef GetFirst(GateRef obj) in GetFirst()
56 GateRef GetLast(GateRef obj) in GetLast()
61 GateRef GetElementsLength(GateRef obj) in GetElementsLength()
Dcontainers_plainarray_stub_builder.h30 GateRef GetSize(GateRef obj) in GetSize()
35 GateRef Get(GateRef obj, GateRef index) in Get()
42 GateRef GetKey(GateRef obj, GateRef index) in GetKey()
48 void Set(GateRef glue, GateRef obj, GateRef index, GateRef value) in Set()
Dcontainers_lightweightset_stub_builder.h31 GateRef GetSize(GateRef obj) in GetSize()
36 GateRef GetKey(GateRef obj, GateRef index) in GetKey()
41 GateRef GetValue(GateRef obj, GateRef index) in GetValue()
Dcontainers_lightweightmap_stub_builder.h31 GateRef GetSize(GateRef obj) in GetSize()
36 GateRef GetKey(GateRef obj, GateRef index) in GetKey()
43 GateRef GetValue(GateRef obj, GateRef index) in GetValue()
Dcontainers_queue_stub_builder.h31 GateRef GetArrayLength(GateRef obj) in GetArrayLength()
62 GateRef Get(GateRef obj, GateRef index) in Get()
72 GateRef GetNextPosition(GateRef obj, GateRef index) in GetNextPosition()
80 GateRef GetCurrentFront(GateRef obj) in GetCurrentFront()
Dcontainers_vector_stub_builder.h30 GateRef GetSize(GateRef obj) in GetSize()
35 GateRef Get(GateRef obj, GateRef index) in Get()
41 void Set(GateRef glue, GateRef obj, GateRef index, GateRef value) in Set()
Dcontainers_stack_stub_builder.h30 GateRef GetSize(GateRef obj) in GetSize()
36 GateRef Get(GateRef obj, GateRef index) in Get()
42 void Set(GateRef glue, GateRef obj, GateRef index, GateRef value) in Set()
Dcontainers_arraylist_stub_builder.h30 GateRef GetSize(GateRef obj) in GetSize()
36 GateRef Get(GateRef obj, GateRef index) in Get()
43 void Set(GateRef glue, GateRef obj, GateRef index, GateRef value) in Set()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_scoped_objects_fix.h63 EtsObject *ToInternalType(ets_object obj) in ToInternalType()
94 T *Convert(ets_object obj) in Convert()
100 static T *Convert(PandaEtsNapiEnv *env, ets_object obj) in Convert()
115 ets_object AddGlobalRef(EtsObject *obj) in AddGlobalRef()
121 ets_object AddLocalRef(EtsObject *obj) in AddLocalRef()
126 static ets_object AddLocalRef(PandaEtsNapiEnv *env, EtsObject *obj) in AddLocalRef()
133 ets_object AddWeakGlobalRef(EtsObject *obj) in AddWeakGlobalRef()
138 static ets_object AddWeakGlobalRef(PandaEtsNapiEnv *env, EtsObject *obj) in AddWeakGlobalRef()
147 void DelLocalRef(ets_object obj) in DelLocalRef()
152 static void DelLocalRef(PandaEtsNapiEnv *env, ets_object obj) in DelLocalRef()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Djson_parser_test.cpp31 JsonObject obj(str); local
56 JsonObject obj(str); in TEST() local
105 JsonObject obj(str); in TEST() local
155 JsonObject obj(str); in TEST() local
176 JsonObject obj(str); in TEST() local
207 JsonObject obj(str); in TEST() local
226 JsonObject obj(repeatedKeys); in TEST() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dvn.cpp37 static bool AddClassInst(Inst *inst, VnObject *obj) in AddClassInst()
56 static bool AddGlobalVarInst(Inst *inst, VnObject *obj) in AddGlobalVarInst()
68 static bool AddSelectImmInst(Inst *inst, VnObject *obj) in AddSelectImmInst()
88 static bool AddCommutativeInst(Inst *inst, VnObject *obj) in AddCommutativeInst()
112 static void AddSpecialTraits(Inst *inst, VnObject *obj) in AddSpecialTraits()
146 static bool AddResolver(Inst *inst, VnObject *obj) in AddResolver()
220 ObjType obj = static_cast<ObjType>(obj1) << SHIFT16; in Add() local
225 void VnObject::Add(ObjType obj) in Add()
231 void VnObject::Add(DoubleObjType obj) in Add()
240 bool VnObject::Compare(VnObject *obj) in Compare()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dbarriers-inl.h31 static ARK_INLINE void WriteBarrier(const JSThread *thread, void *obj, size_t offset, JSTaggedType … in WriteBarrier()
77 inline void Barriers::SetObject(const JSThread *thread, void *obj, size_t offset, JSTaggedType valu… in SetObject()
86 inline void Barriers::SynchronizedSetClass(const JSThread *thread, void *obj, JSTaggedType value) in SynchronizedSetClass()
92 inline void Barriers::SynchronizedSetObject(const JSThread *thread, void *obj, size_t offset, JSTag… in SynchronizedSetObject()
Dbarriers.h32 static inline void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
40 static inline T AtomicSetPrimitive(volatile void *obj, size_t offset, T oldValue, T value) in AtomicSetPrimitive()
56 static inline T GetValue(const void *obj, size_t offset) in GetValue()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Dcalling_methods_test_helper.h33 [[maybe_unused]] static void CallVoidMethodListHelper(EtsEnv *env, ets_object obj, ets_method metho… in CallVoidMethodListHelper()
40 [[maybe_unused]] static ets_object CallObjectMethodListHelper(EtsEnv *env, ets_object obj, ets_meth… in CallObjectMethodListHelper()
47 [[maybe_unused]] static ets_boolean CallBooleanMethodListHelper(EtsEnv *env, ets_object obj, ets_me… in CallBooleanMethodListHelper()
54 [[maybe_unused]] static ets_byte CallByteMethodListHelper(EtsEnv *env, ets_object obj, ets_method m… in CallByteMethodListHelper()
61 [[maybe_unused]] static ets_char CallCharMethodListHelper(EtsEnv *env, ets_object obj, ets_method m… in CallCharMethodListHelper()
68 [[maybe_unused]] static ets_short CallShortMethodListHelper(EtsEnv *env, ets_object obj, ets_method… in CallShortMethodListHelper()
75 [[maybe_unused]] static ets_int CallIntMethodListHelper(EtsEnv *env, ets_object obj, ets_method met… in CallIntMethodListHelper()
82 [[maybe_unused]] static ets_long CallLongMethodListHelper(EtsEnv *env, ets_object obj, ets_method m… in CallLongMethodListHelper()
89 [[maybe_unused]] static ets_float CallFloatMethodListHelper(EtsEnv *env, ets_object obj, ets_method… in CallFloatMethodListHelper()
96 [[maybe_unused]] static ets_double CallDoubleMethodListHelper(EtsEnv *env, ets_object obj, ets_meth… in CallDoubleMethodListHelper()
[all …]
/arkcompiler/runtime_core/static_core/verification/util/
Dcallable.h70 constexpr callable(const T &obj) // NOLINT(google-explicit-constructor) in callable()
77 constexpr callable(T &obj) // NOLINT(google-explicit-constructor) in callable()
84 constexpr callable(const T &obj, R (T::*paramMethod)(Args...) const) in callable() argument
91 constexpr callable(T &obj, R (T::*paramMethod)(Args...)) in callable()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dvn.cpp24 static void AddSpecialTraits(Inst *inst, VnObject *obj) in AddSpecialTraits()
61 void VnObject::Add(uint32_t obj) in Add()
67 void VnObject::Add(uint64_t obj) in Add()
76 bool VnObject::Compare(VnObject *obj) in Compare()
132 auto obj = GetGraph()->GetLocalAllocator()->New<VnObject>(); in FindEqualVnOrCreateNew() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp22 JSTaggedValue BuiltinsLazyCallback::Date(JSThread *thread, const JSHandle<JSObject> &obj) in Date()
37 JSTaggedValue BuiltinsLazyCallback::Set(JSThread *thread, const JSHandle<JSObject> &obj) in Set()
52 JSTaggedValue BuiltinsLazyCallback::Map(JSThread *thread, const JSHandle<JSObject> &obj) in Map()
67 JSTaggedValue BuiltinsLazyCallback::WeakMap(JSThread *thread, const JSHandle<JSObject> &obj) in WeakMap()
81 JSTaggedValue BuiltinsLazyCallback::WeakSet(JSThread *thread, const JSHandle<JSObject> &obj) in WeakSet()
95 JSTaggedValue BuiltinsLazyCallback::WeakRef(JSThread *thread, const JSHandle<JSObject> &obj) in WeakRef()
109 …edValue BuiltinsLazyCallback::FinalizationRegistry(JSThread *thread, const JSHandle<JSObject> &obj) in FinalizationRegistry()
123 JSTaggedValue BuiltinsLazyCallback::TypedArray(JSThread *thread, const JSHandle<JSObject> &obj) in TypedArray()
172 JSTaggedValue BuiltinsLazyCallback::DataView(JSThread *thread, const JSHandle<JSObject> &obj) in DataView()
187 …aggedValue BuiltinsLazyCallback::SharedArrayBuffer(JSThread *thread, const JSHandle<JSObject> &obj) in SharedArrayBuffer()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_atomics_test.cpp193 static JSTaggedValue AtomicsAlgorithm(JSThread *thread, JSHandle<JSTaggedValue>& obj, std::vector<i… in AtomicsAlgorithm()
262 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0() local
268 static JSTaggedValue AddCommon(JSThread *thread, DataViewType type, JSHandle<JSTaggedValue>& obj) in AddCommon()
282 JSHandle<JSTaggedValue> obj; in HWTEST_F_L0() local
290 JSHandle<JSTaggedValue> obj; in HWTEST_F_L0() local
304 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0() local
325 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0() local
337 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, in HWTEST_F_L0() local
354 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0() local
366 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/test/moduletest/arrayRelease/
DarrayRelease.js25 let obj = { variable
29 Array.prototype.fill.call(obj, str); argument

12345678910>>...25