Home
last modified time | relevance | path

Searched refs:JSThread (Results 1 – 25 of 847) sorted by relevance

12345678910>>...34

/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.h29 …static JSTaggedValue CallSpread(JSThread *thread, JSTaggedValue func, JSTaggedValue obj, JSTaggedV…
30 static JSTaggedValue Neg(JSThread *thread, JSTaggedValue value);
31 static JSTaggedValue AsyncFunctionEnter(JSThread *thread);
32 static JSTaggedValue ToNumber(JSThread *thread, JSTaggedValue value);
33 static JSTaggedValue ToNumeric(JSThread *thread, JSTaggedValue value);
34 static JSTaggedValue Not(JSThread *thread, JSTaggedValue value);
35 static JSTaggedValue Inc(JSThread *thread, JSTaggedValue value);
36 static JSTaggedValue Dec(JSThread *thread, JSTaggedValue value);
37 static void Throw(JSThread *thread, JSTaggedValue value);
38 static JSTaggedValue GetPropIterator(JSThread *thread, JSTaggedValue value);
[all …]
Dinterpreter.h45 JSThread *thread, JSHandle<JSTaggedValue> func, JSHandle<JSTaggedValue> thisObj,
48 JSThread *thread, EcmaRuntimeCallInfo* info, uint32_t numArgs, bool needCheckStack = true);
49 …static inline JSTaggedValue GeneratorReEnterInterpreter(JSThread *thread, JSHandle<GeneratorContex…
50 …static inline JSTaggedValue GeneratorReEnterAot(JSThread *thread, JSHandle<GeneratorContext> conte…
52 static inline void RunInternal(JSThread *thread, const uint8_t *pc, JSTaggedType *sp);
54 static inline void InitStackFrame(JSThread *thread);
61 …static inline bool UpdateHotnessCounter(JSThread* thread, JSTaggedType *sp, JSTaggedValue acc, int…
62 static inline void NotifyBytecodePcChanged(JSThread *thread);
63 static inline void NotifyDebuggerStmt(JSThread *thread);
64 static inline void MethodEntry(JSThread *thread);
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.h22 using InitializeFunction = JSHandle<JSTaggedValue> (*)(JSThread *);
50 …static JSHandle<JSFunction> NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &pr…
52 …static JSHandle<JSFunction> NewFunction(JSThread *thread, const JSHandle<JSTaggedValue> &key, Ecma…
55 …static void SetFrozenFunction(JSThread *thread, const JSHandle<JSObject> &obj, const char *key, Ec…
58 …static void SetFrozenConstructor(JSThread *thread, const JSHandle<JSObject> &obj, const char *keyC…
60 …static JSHandle<JSTaggedValue> CreateGetter(JSThread *thread, EcmaEntrypoint func, const char *nam…
62 static void SetGetter(JSThread *thread, const JSHandle<JSObject> &obj,
64 static void SetFunctionAtSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env,
67 static void SetStringTagSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env,
70 …static JSTaggedValue InitializeContainer(JSThread *thread, const JSHandle<JSObject> &obj, Initiali…
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.h53 static JSTaggedValue Date(JSThread *thread, const JSHandle<JSObject> &obj);
54 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSObject> &obj);
55 static JSTaggedValue Map(JSThread *thread, const JSHandle<JSObject> &obj);
56 static JSTaggedValue WeakMap(JSThread *thread, const JSHandle<JSObject> &obj);
57 static JSTaggedValue WeakSet(JSThread *thread, const JSHandle<JSObject> &obj);
58 static JSTaggedValue WeakRef(JSThread *thread, const JSHandle<JSObject> &obj);
59 static JSTaggedValue FinalizationRegistry(JSThread *thread, const JSHandle<JSObject> &obj);
60 static JSTaggedValue TypedArray(JSThread *thread, const JSHandle<JSObject> &obj);
61 static JSTaggedValue Int8Array(JSThread *thread, const JSHandle<JSObject> &obj);
62 static JSTaggedValue Uint8Array(JSThread *thread, const JSHandle<JSObject> &obj);
[all …]
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.h31 class JSThread; variable
320 static void Initialize(JSThread *thread);
392 static inline JSTaggedValue RuntimeInc(JSThread *thread, const JSHandle<JSTaggedValue> &value);
393 static inline JSTaggedValue RuntimeDec(JSThread *thread, const JSHandle<JSTaggedValue> &value);
394 …static inline JSTaggedValue RuntimeExp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponen…
395 static inline JSTaggedValue RuntimeIsIn(JSThread *thread, const JSHandle<JSTaggedValue> &prop,
397 …static inline JSTaggedValue RuntimeInstanceof(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
399 …static inline JSTaggedValue RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> t…
402 …static inline JSTaggedValue RuntimeCreateGeneratorObj(JSThread *thread, const JSHandle<JSTaggedVal…
404 static inline JSTaggedValue RuntimeCreateAsyncGeneratorObj(JSThread *thread,
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.h38 … static JSHandle<Derived> Create(const JSThread *thread, int numberOfNodes = DEFAULT_ARRAY_LENGHT);
39 …static JSHandle<Derived> GrowCapacity(const JSThread *thread, const JSHandle<Derived> &taggedList);
40 static JSTaggedValue AddNode(const JSThread *thread, const JSHandle<Derived> &taggedList,
42 …static JSTaggedValue TaggedListToArray(const JSThread *thread, const JSHandle<Derived> &taggedList…
43 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<Derived> &taggedList);
44 void CopyArray(const JSThread *thread, JSHandle<Derived> &taggedList);
45 void Clear(const JSThread *thread);
52 void RemoveNode(JSThread *thread, int prevDataIndex);
55 JSTaggedValue RemoveByIndex(JSThread *thread, const int &index);
78 inline void SetElement(const JSThread *thread, int index, const JSTaggedValue &element) in SetElement()
[all …]
Djs_array.h33 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length,
35 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length,
38 … static JSTaggedValue ArraySpeciesCreate(JSThread *thread, const JSHandle<JSObject> &originalArray,
40 …static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescri…
41 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<JS…
43 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index,
46 static bool IsLengthString(JSThread *thread, const JSHandle<JSTaggedValue> &key);
48 …static JSHandle<JSArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &elemen…
55 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength()
74 …static bool PropertyKeyToArrayIndex(JSThread *thread, const JSHandle<JSTaggedValue> &key, uint32_t…
[all …]
Djs_object.h58 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {} in PropertyDescriptor()
60 …PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), value_(v)… in PropertyDescriptor()
62 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor()
74 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
205 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc);
208 const JSThread *thread_{nullptr};
288 OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult()
319 const JSThread *thread_ {nullptr};
376 …static JSHandle<JSTaggedValue> FromPropertyDescriptor(JSThread *thread, const PropertyDescriptor &…
379 …static void ToPropertyDescriptor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, PropertyDes…
[all …]
Djs_bigint.h46 static JSHandle<BigInt> CreateBigint(JSThread *thread, uint32_t size);
52 …static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigIn…
53 static JSHandle<BigInt> BitwiseAND(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
54 static JSHandle<BigInt> BitwiseXOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
55 static JSHandle<BigInt> BitwiseOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
56 … static JSHandle<BigInt> BitwiseSubOne(JSThread *thread, JSHandle<BigInt> bigint, uint32_t maxLen);
57 static JSHandle<BigInt> BitwiseAddOne(JSThread *thread, JSHandle<BigInt> bigint);
58 static JSHandle<EcmaString> ToString(JSThread *thread, JSHandle<BigInt> bigint,
62 static JSHandle<BigInt> UnaryMinus(JSThread *thread, JSHandle<BigInt> x);
63 static JSHandle<BigInt> BitwiseNOT(JSThread *thread, JSHandle<BigInt> x);
[all …]
Dobject_fast_operator.h25 …static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
28 …static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
32 …static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
35 …static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
39 …static inline JSTaggedValue GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
42 …static inline JSTaggedValue SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
45 …static inline bool FastSetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue …
48 …static inline bool FastSetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index,
51 …static inline JSTaggedValue FastGetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTagg…
53 …static inline JSTaggedValue FastGetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTag…
[all …]
Djs_typed_array.h41 static JSHandle<JSTaggedValue> ToPropKey(JSThread *thread, const JSHandle<JSTaggedValue> &key);
45 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
48 static bool HasProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
51 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
54 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
59 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
64 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
67 static inline bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
73 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
77 static bool DeleteProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
[all …]
Dtagged_hash_array.h39 …static JSTaggedValue Create(const JSThread *thread, uint32_t numberOfElements = DEFAULT_INITIAL_CA…
40 static JSTaggedValue SetVal(JSThread *thread, JSHandle<TaggedHashArray> table, int hash,
42 … static JSHandle<TaggedHashArray> Resize(JSThread *thread, const JSHandle<TaggedHashArray> &oldTab,
44 … static JSHandle<LinkedNode> NewLinkedNode(JSThread *thread, int hash, JSHandle<JSTaggedValue> key,
46 … static JSHandle<LinkedNode> CreateLinkedNodeFrom(JSThread *thread, JSHandle<RBTreeNode> treeNode);
47 static JSHandle<RBTreeNode> NewTreeNode(JSThread *thread, int hash, JSHandle<JSTaggedValue> key,
49 … static JSHandle<RBTreeNode> CreateTreeNodeFrom(JSThread *thread, JSHandle<LinkedNode> linkedNode);
50 …static JSHandle<JSTaggedValue> GetCurrentNode(JSThread *thread, JSMutableHandle<TaggedQueue> &queu…
52 JSTaggedValue GetNode(JSThread *thread, int hash, JSTaggedValue key);
53 JSTaggedValue RemoveNode(JSThread *thread, int hash, JSTaggedValue key);
[all …]
Djs_proxy.h29 static JSHandle<JSProxy> ProxyCreate(JSThread *thread, const JSHandle<JSTaggedValue> &target,
32 static JSTaggedValue GetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy);
34 …static bool SetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTagged…
36 static bool IsExtensible(JSThread *thread, const JSHandle<JSProxy> &proxy);
38 static bool PreventExtensions(JSThread *thread, const JSHandle<JSProxy> &proxy);
40 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTagg…
43 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JST…
46 …static bool HasProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTaggedV…
48 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty()
53 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy,
[all …]
Djs_tagged_value.h36 class JSThread; variable
405 … static JSTaggedValue OrdinaryToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged,
409 static JSTaggedValue ToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged,
412 static JSTaggedNumber ToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
413 static JSTaggedValue ToBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
414 static JSTaggedValue ToBigInt64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
415 static JSTaggedValue ToBigUint64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
416 static JSTaggedNumber ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
417 static JSHandle<JSTaggedValue> ToNumeric(JSThread *thread, JSHandle<JSTaggedValue> tagged);
418 static int32_t ToInt32(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
[all …]
Djs_iterator.h52 …static JSTaggedValue IteratorCloseAndReturn(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
54 … static JSHandle<JSTaggedValue> GetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &obj);
56 static JSHandle<JSTaggedValue> GetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
59 …static JSHandle<JSTaggedValue> GetAsyncIterator(JSThread *thread, const JSHandle<JSTaggedValue> &o…
61 … static JSHandle<JSTaggedValue> IteratorNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter,
64 …static JSHandle<JSTaggedValue> IteratorNext(JSThread *thread, const JSHandle<AsyncIteratorRecord> …
67 …static JSHandle<JSTaggedValue> IteratorNext(JSThread *thread, const JSHandle<AsyncIteratorRecord> …
69 …static JSHandle<JSTaggedValue> IteratorNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
71 static bool IteratorComplete(JSThread *thread, const JSHandle<JSTaggedValue> &iterResult);
73 …static JSHandle<JSTaggedValue> IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &iter…
[all …]
Dtagged_dictionary.h50 static JSHandle<NameDictionary> Create(const JSThread *thread,
54 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData);
55 …void SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const JSTaggedValue &va…
57 void UpdateValueAndAttributes(const JSThread *thread, int entry, const JSTaggedValue &value,
59 void UpdateValue(const JSThread *thread, int entry, const JSTaggedValue &value);
61 void ClearEntry(const JSThread *thread, int entry);
62 void GetAllKeys(const JSThread *thread, int offset, TaggedArray *keyArray) const;
63 void GetAllKeysByFilter(const JSThread *thread, uint32_t &keyArrayEffectivelength,
65 …void GetAllEnumKeys(const JSThread *thread, int offset, TaggedArray *keyArray, uint32_t *keys) con…
100 static JSHandle<NumberDictionary> Create(const JSThread *thread,
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.h32 …static bool Add(JSThread *thread, const JSHandle<JSAPIVector> &vector, const JSHandle<JSTaggedValu…
34 static void Insert(JSThread *thread, const JSHandle<JSAPIVector> &vector,
37 static void SetLength(JSThread *thread, const JSHandle<JSAPIVector> &vector, uint32_t newSize);
41 …static void IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t newC…
43 static int32_t GetIndexOf(JSThread *thread, const JSHandle<JSAPIVector> &vector,
46 static int32_t GetIndexFrom(JSThread *thread, const JSHandle<JSAPIVector> &vector,
53 static int32_t GetLastIndexOf(JSThread *thread, const JSHandle<JSAPIVector> &vector,
56 static int32_t GetLastIndexFrom(JSThread *thread, const JSHandle<JSAPIVector> &vector,
59 …static bool Remove(JSThread *thread, const JSHandle<JSAPIVector> &vector, const JSHandle<JSTaggedV…
61 …static JSTaggedValue RemoveByIndex(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t …
[all …]
Djs_api_arraylist.h36 …static bool Add(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, const JSHandle<JSTagg…
37 static void Insert(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,
39 static void Clear(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
40 static JSHandle<JSAPIArrayList> Clone(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
41 static uint32_t GetCapacity(JSThread *thread, const JSHandle<JSAPIArrayList> &obj);
42 static void IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,
44 static void TrimToCurrentLength(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList);
46 static int GetIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,
48 static int GetLastIndexOf(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList,
50 …static JSTaggedValue RemoveByIndex(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, in…
[all …]
Djs_api_linked_list.h33 …static void Add(JSThread *thread, const JSHandle<JSAPILinkedList> &list, const JSHandle<JSTaggedVa…
34 static JSHandle<JSAPILinkedList> Clone(JSThread *thread, const JSHandle<JSAPILinkedList> &list);
35 …static void AddFirst(JSThread *thread, const JSHandle<JSAPILinkedList> &list, const JSHandle<JSTag…
36 static JSTaggedValue Insert(JSThread *thread, const JSHandle<JSAPILinkedList> &list,
38 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSAPILinkedList> &list,
40 …static JSTaggedValue ConvertToArray(const JSThread *thread, const JSHandle<JSAPILinkedList> &list);
41 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<JSAPILinkedList> &list);
42 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSAPILinkedList> &list,
44 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSAPILinkedList> &list,
46 static bool SetProperty(JSThread *thread, const JSHandle<JSAPILinkedList> &obj,
[all …]
Djs_api_lightweightmap.h46 …static void InsertValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMa…
48 …static void ReplaceValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightM…
50 static void Set(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
52 static JSTaggedValue Get(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
54 … static JSTaggedValue HasAll(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
56 … static JSTaggedValue HasKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
58 …static JSTaggedValue HasValue(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMa…
60 …static int32_t GetIndexOfKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
62 …static KeyState GetStateOfKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMa…
64 …static int32_t GetIndexOfValue(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightM…
[all …]
Djs_api_plain_array.h31 …static void Add(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj, JSHandle<JSTaggedValue> ke…
33 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj,
35 static JSHandle<TaggedArray> CreateSlot(const JSThread *thread, const uint32_t capacity);
36 …static JSHandle<JSAPIPlainArray> Clone(JSThread *thread, const JSHandle<JSAPIPlainArray> &plainArr…
37 …static JSHandle<JSTaggedValue> GetIteratorObj(JSThread *thread, const JSHandle<JSAPIPlainArray> &o…
39 static JSTaggedValue ForEach(JSThread *thread, const JSHandle<JSTaggedValue> &thisHandle,
41 static JSTaggedValue ToString(JSThread *thread, const JSHandle<JSAPIPlainArray> &plainarray);
42 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj,
44 static bool SetProperty(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj,
47 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj,
[all …]
Djs_api_list.h33 …static void Add(JSThread *thread, const JSHandle<JSAPIList> &list, const JSHandle<JSTaggedValue> &…
34 static JSTaggedValue Insert(JSThread *thread, const JSHandle<JSAPIList> &list,
36 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSAPIList> &list,
38 …static JSTaggedValue ReplaceAllElements(JSThread *thread, const JSHandle<JSTaggedValue> &thisHandl…
41 static JSTaggedValue Sort(JSThread *thread, const JSHandle<JSTaggedValue> &thisHandle,
43 static JSTaggedValue ConvertToArray(const JSThread *thread, const JSHandle<JSAPIList> &list);
44 static JSTaggedValue GetSubList(JSThread *thread, const JSHandle<JSAPIList> &list,
46 …static JSTaggedValue RemoveByIndex(JSThread *thread, const JSHandle<JSAPIList> &list, const int &i…
47 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<JSAPIList> &list);
48 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSAPIList> &list,
[all …]
Djs_api_lightweightset.h32 …static bool Add(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, const JSHandle<JSTagge…
33 static JSHandle<TaggedArray> CreateSlot(const JSThread *thread, const uint32_t capacity);
34 static void EnsureCapacity(const JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj,
36 …static void SizeCopy(const JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, uint32_t ca…
38 static bool AddAll(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj,
40 static bool Equal(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj,
42 …static void IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, int32_t…
43 static JSTaggedValue ToString(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj);
44 static JSTaggedValue ForEach(JSThread *thread, const JSHandle<JSTaggedValue> &thisHandle,
46 …static JSHandle<JSTaggedValue> GetIteratorObj(JSThread *thread, const JSHandle<JSAPILightWeightSet…
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub.h26 … static inline JSTaggedValue LoadGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
29 …static inline JSTaggedValue StoreGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
32 static inline JSTaggedValue LoadICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
34 static inline JSTaggedValue TryLoadICByName(JSThread *thread, JSTaggedValue receiver,
36 static inline JSTaggedValue TryStoreICByName(JSThread *thread, JSTaggedValue receiver,
39 static inline JSTaggedValue StoreICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
43 …static inline JSTaggedValue LoadICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
45 …static inline JSTaggedValue StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
47 … static inline void StoreWithTransition(JSThread *thread, JSObject *receiver, JSTaggedValue value,
49 static inline JSTaggedValue StoreTransWithProto(JSThread *thread, JSObject *receiver,
[all …]
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.h55 static JSHandle<JSTaggedValue> HostResolveImportedModule(JSThread *thread,
58 static JSHandle<JSTaggedValue> HostResolveImportedModuleWithMerge(JSThread *thread,
63 …static CVector<std::string> GetExportedNames(JSThread *thread, const JSHandle<SourceTextModule> &m…
67 …static JSHandle<JSTaggedValue> ResolveExport(JSThread *thread, const JSHandle<SourceTextModule> &m…
70 …static JSHandle<JSTaggedValue> ResolveExportObject(JSThread *thread, const JSHandle<SourceTextModu…
74 static int InnerModuleInstantiation(JSThread *thread,
79 …static void ModuleDeclarationEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModule> &…
80 …static void ModuleDeclarationArrayEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModu…
83 static int InnerModuleEvaluation(JSThread *thread, const JSHandle<ModuleRecord> &moduleRecord,
86 static int ModuleEvaluation(JSThread *thread, const JSHandle<ModuleRecord> &moduleRecord,
[all …]

12345678910>>...34