Home
last modified time | relevance | path

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

12345678910>>...21

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Value.cpp37 EtsVoid *ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject()
51 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue()
66 EtsVoid *ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean()
72 EtsVoid *ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte()
78 EtsVoid *ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort()
84 EtsVoid *ValueAPISetFieldChar(EtsObject *obj, EtsLong i, EtsChar val) in ValueAPISetFieldChar()
90 EtsVoid *ValueAPISetFieldInt(EtsObject *obj, EtsLong i, EtsInt val) in ValueAPISetFieldInt()
96 EtsVoid *ValueAPISetFieldLong(EtsObject *obj, EtsLong i, EtsLong val) in ValueAPISetFieldLong()
102 EtsVoid *ValueAPISetFieldFloat(EtsObject *obj, EtsLong i, EtsFloat val) in ValueAPISetFieldFloat()
108 EtsVoid *ValueAPISetFieldDouble(EtsObject *obj, EtsLong i, EtsDouble val) in ValueAPISetFieldDouble()
[all …]
Dcompiler_intrinsics.cpp93 T CompilerEtsLdObjByName(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByName()
173 …rEtsStObjByName(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj, T storeV… in CompilerEtsStObjByName()
262 …CompilerEtsStObjByNameRef(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj, in CompilerEtsStObjByNameRef()
293 …CompilerEtsLdObjByNameI32(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByNameI32()
298 …CompilerEtsLdObjByNameI64(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByNameI64()
303 …CompilerEtsLdObjByNameF32(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByNameF32()
308 …CompilerEtsLdObjByNameF64(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj) in CompilerEtsLdObjByNameF64()
314 panda::ObjectHeader *obj) in CompilerEtsLdObjByNameObj()
319 …CompilerEtsStObjByNameI32(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj, in CompilerEtsStObjByNameI32()
325 …CompilerEtsStObjByNameI64(panda::Method *method, int32_t id, uint32_t pc, panda::ObjectHeader *obj, in CompilerEtsStObjByNameI64()
[all …]
/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()
132 inline ObjectHeader *ObjectAccessor::GetFieldObject(const void *obj, const Field &field) in GetFieldObject()
142 inline void ObjectAccessor::SetFieldObject(void *obj, const Field &field, ObjectHeader *value) in SetFieldObject()
154 inline ObjectHeader *ObjectAccessor::GetFieldObject(const ManagedThread *thread, const void *obj, c… in GetFieldObject()
164 inline void ObjectAccessor::SetFieldObject(const ManagedThread *thread, void *obj, const Field &fie… in SetFieldObject()
[all …]
Dobject_accessor.h31 static T GetPrimitive(const void *obj, size_t offset) in GetPrimitive()
37 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
121 static inline T GetDynValue(const void *obj, size_t offset) in GetDynValue()
133 static T Get(const void *obj, size_t offset) in Get()
146 static void Set(void *obj, size_t offset, T value) in Set()
159 static T Get(const void *obj, size_t offset, std::memory_order memoryOrder) in Get()
168 static void Set(void *obj, size_t offset, T value, std::memory_order memoryOrder) in Set()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.h79 GateRef IsContainer(GateRef obj, ContainersType type) in IsContainer()
155 void ContainerSet(GateRef glue, GateRef obj, GateRef index, GateRef value, ContainersType type) in ContainerSet()
174 GateRef ContainerGetSize(GateRef obj, ContainersType type) in ContainerGetSize()
234 GateRef ContainerGetValue(GateRef obj, GateRef index, ContainersType type) in ContainerGetValue()
278 GateRef ContainerGetKey(GateRef obj, GateRef index, ContainersType type) in ContainerGetKey()
296 GateRef ContainerGetNode(GateRef obj, GateRef index, ContainersType type) in ContainerGetNode()
322 GateRef PlainArrayGetKey(GateRef obj, GateRef index) in PlainArrayGetKey()
328 GateRef QueueGetNextPosition(GateRef obj, GateRef index) in QueueGetNextPosition()
334 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()
141 static bool AddResolver(Inst *inst, VnObject *obj) in AddResolver()
215 ObjType obj = static_cast<ObjType>(obj1) << SHIFT16; in Add() local
220 void VnObject::Add(ObjType obj) in Add()
226 void VnObject::Add(DoubleObjType obj) in Add()
235 bool VnObject::Compare(VnObject *obj) in Compare()
[all …]
/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/ets_runtime/ecmascript/mem/
Dbarriers-inl.h28 static ARK_INLINE void WriteBarrier(const JSThread *thread, void *obj, size_t offset, JSTaggedType … in WriteBarrier()
55 inline void Barriers::SetObject(const JSThread *thread, void *obj, size_t offset, JSTaggedType valu… in SetObject()
62 inline void Barriers::SynchronizedSetClass(const JSThread *thread, void *obj, JSTaggedType value) in SynchronizedSetClass()
68 inline void Barriers::SynchronizedSetObject(const JSThread *thread, void *obj, size_t offset, JSTag… in SynchronizedSetObject()
Dbarriers.h31 static inline void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
39 static inline T AtomicSetPrimitive(volatile void *obj, size_t offset, T oldValue, T value) in AtomicSetPrimitive()
55 static inline T GetValue(const void *obj, size_t offset) in GetValue()
/arkcompiler/ets_runtime/ecmascript/
Dsubtyping_operator-inl.h23 int SubtypingOperator::GetElementByKey(const JSThread *thread, T *obj, JSTaggedValue key) in GetElementByKey()
37 bool SubtypingOperator::IsLegalElement(const JSThread *thread, T *obj, JSTaggedValue key, JSTaggedV… in IsLegalElement()
73 uint32_t SubtypingOperator::GetLength(T *obj) in GetLength()
83 JSTaggedValue SubtypingOperator::GetKey(T *obj, uint32_t index) in GetKey()
93 JSTaggedValue SubtypingOperator::GetType(const JSThread *thread, T *obj, uint32_t index, ConditionT… in GetType()
Djs_tagged_value.cpp628 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
658 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, ui… in GetProperty()
685 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
713 bool JSTaggedValue::SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in SetProperty()
742 bool JSTaggedValue::SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t key, in SetProperty()
772 bool JSTaggedValue::SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in SetProperty()
802 bool JSTaggedValue::DeleteProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in DeleteProperty()
825 bool JSTaggedValue::DeletePropertyOrThrow(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in DeletePropertyOrThrow()
846 bool JSTaggedValue::DefinePropertyOrThrow(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in DefinePropertyOrThrow()
863 bool JSTaggedValue::DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in DefineOwnProperty()
[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/test/moduletest/definefunc/
Ddefinefunc.js17 return function t2(obj) { argument
24 let obj = {x : 123}; variable
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h104 uint32_t TypedArrayHelper::GetElementSize(const JSHandle<JSTypedArray> &obj) in GetElementSize()
129 …TaggedValue> TypedArrayHelper::GetConstructor(JSThread *thread, const JSHandle<JSTaggedValue> &obj) in GetConstructor()
220 JSThread *thread, const JSHandle<JSTypedArray> &obj, const DataViewType arrayType) in GetOnHeapHclassFromType()
252 JSThread *thread, const JSHandle<JSTypedArray> &obj, const DataViewType arrayType) in GetNotOnHeapHclassFromType()
305 bool TypedArrayHelper::IsAccessorHasChanged(const JSHandle<JSTaggedValue> &obj) in IsAccessorHasChanged()

12345678910>>...21