| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | slow_runtime_stub.h | 29 …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 …]
|
| D | interpreter.h | 47 JSThread *thread, JSTaggedValue func, JSTaggedValue thisObj, JSTaggedValue newTarget, 50 JSThread *thread, JSHandle<JSTaggedValue> func, JSHandle<JSTaggedValue> thisObj, 53 …JSThread *thread, EcmaRuntimeCallInfo* info, int numArgs, StackCheck needCheckStack = StackCheck::… 54 …static JSTaggedValue GeneratorReEnterInterpreter(JSThread *thread, JSHandle<GeneratorContext> cont… 55 static JSTaggedValue GeneratorReEnterAot(JSThread *thread, JSHandle<GeneratorContext> context); 57 static void RunInternal(JSThread *thread, const uint8_t *pc, JSTaggedType *sp); 59 static void InitStackFrame(JSThread *thread); 65 static JSTaggedValue GetUnsharedConstpool(JSThread* thread, JSTaggedType *sp); 67 …static bool UpdateHotnessCounter(JSThread* thread, JSTaggedType *sp, JSTaggedValue acc, int32_t of… 68 static void NotifyBytecodePcChanged(JSThread *thread); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_private.h | 24 using InitializeFunction = JSHandle<JSTaggedValue> (*)(JSThread *); 53 …static JSHandle<JSFunction> NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &pr… 55 …static JSHandle<JSFunction> NewFunction(JSThread *thread, const JSHandle<JSTaggedValue> &key, Ecma… 58 …static void SetFrozenFunction(JSThread *thread, const JSHandle<JSObject> &obj, const char *key, Ec… 61 …static void SetFrozenConstructor(JSThread *thread, const JSHandle<JSObject> &obj, const char *keyC… 63 …static JSHandle<JSTaggedValue> CreateGetter(JSThread *thread, EcmaEntrypoint func, const char *nam… 65 static void SetGetter(JSThread *thread, const JSHandle<JSObject> &obj, 67 static void SetFunctionAtSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, 70 static void SetStringTagSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, 73 …static JSTaggedValue InitializeContainer(JSThread *thread, const JSHandle<JSObject> &obj, Initiali… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_lazy_callback.h | 55 static JSTaggedValue Date(JSThread *thread, const JSHandle<JSObject> &obj); 56 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSObject> &obj); 57 static JSTaggedValue Map(JSThread *thread, const JSHandle<JSObject> &obj); 58 static JSTaggedValue WeakMap(JSThread *thread, const JSHandle<JSObject> &obj); 59 static JSTaggedValue WeakSet(JSThread *thread, const JSHandle<JSObject> &obj); 60 static JSTaggedValue WeakRef(JSThread *thread, const JSHandle<JSObject> &obj); 61 static JSTaggedValue FinalizationRegistry(JSThread *thread, const JSHandle<JSObject> &obj); 62 static JSTaggedValue TypedArray(JSThread *thread, const JSHandle<JSObject> &obj); 63 static JSTaggedValue Int8Array(JSThread *thread, const JSHandle<JSObject> &obj); 64 static JSTaggedValue Uint8Array(JSThread *thread, const JSHandle<JSObject> &obj); [all …]
|
| D | builtins_regexp.h | 75 static JSTaggedValue RegExpCreate(JSThread *thread, const JSHandle<JSTaggedValue> &pattern, 77 static JSTaggedValue FlagsBitsToString(JSThread *thread, uint8_t flags); 79 static JSTaggedValue RegExpExec(JSThread *thread, const JSHandle<JSTaggedValue> ®exp, 88 static JSTaggedValue ReplaceInternal(JSThread *thread, 92 static JSTaggedValue GetAllFlagsInternal(JSThread *thread, JSHandle<JSTaggedValue> &thisObj); 93 static bool IsFastRegExp(JSThread *thread, JSHandle<JSTaggedValue> regexp, 95 …static bool GetFlag(JSThread *thread, const JSHandle<JSTaggedValue> regexp, uint32_t flag, bool is… 96 …static bool GetOriginalFlag(JSThread *thread, const JSHandle<JSTaggedValue> regexp, uint32_t flag); 97 static void SetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, 99 …static int64_t GetLastIndex(JSThread *thread, const JSHandle<JSTaggedValue> regexp, bool isFastPat… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.h | 31 class JSThread; variable 48 static void Initialize(JSThread *thread); 152 static JSTaggedValue RuntimeArraySort(JSThread *thread, JSHandle<JSTaggedValue> thisHandle); 166 static inline JSTaggedValue RuntimeInc(JSThread *thread, const JSHandle<JSTaggedValue> &value); 167 static inline JSTaggedValue RuntimeDec(JSThread *thread, const JSHandle<JSTaggedValue> &value); 168 …static inline JSTaggedValue RuntimeExp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponen… 169 static inline JSTaggedValue RuntimeIsIn(JSThread *thread, const JSHandle<JSTaggedValue> &prop, 171 …static inline JSTaggedValue RuntimeInstanceof(JSThread *thread, const JSHandle<JSTaggedValue> &obj, 173 …static inline JSTaggedValue RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> t… 176 …static inline JSTaggedValue RuntimeCreateGeneratorObj(JSThread *thread, const JSHandle<JSTaggedVal… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | tagged_list.h | 38 … 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 TaggedListToArray(const JSThread *thread, const JSHandle<Derived> &taggedList… 41 static JSHandle<TaggedArray> OwnKeys(JSThread *thread, const JSHandle<Derived> &taggedList); 42 void CopyArray(const JSThread *thread, JSHandle<Derived> &taggedList); 43 void Clear(const JSThread *thread); 50 void RemoveNode(JSThread *thread, int prevDataIndex); 53 JSTaggedValue RemoveByIndex(JSThread *thread, const int &index); 76 inline void SetElement(const JSThread *thread, int index, const JSTaggedValue &element) in SetElement() 102 inline void SetNumberOfDeletedNodes(const JSThread *thread, int nod) in SetNumberOfDeletedNodes() [all …]
|
| D | js_object.h | 67 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {} in PropertyDescriptor() 69 …PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), value_(v)… in PropertyDescriptor() 71 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor() 83 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor() 237 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc); 240 const JSThread *thread_{nullptr}; 323 OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult() 354 const JSThread *thread_ {nullptr}; 378 static void SetHash(const JSThread *thread, int32_t hash, const JSHandle<ECMAObject> &obj); 388 void SetNativePointerField(const JSThread *thread, int32_t index, void *nativePointer, [all …]
|
| D | js_bigint.h | 29 class JSThread; variable 47 static JSHandle<BigInt> CreateBigint(JSThread *thread, uint32_t size); 53 …static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigIn… 54 static JSHandle<BigInt> BitwiseAND(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y); 55 static JSHandle<BigInt> BitwiseXOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y); 56 static JSHandle<BigInt> BitwiseOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y); 57 … static JSHandle<BigInt> BitwiseSubOne(JSThread *thread, JSHandle<BigInt> bigint, uint32_t maxLen); 58 static JSHandle<BigInt> BitwiseAddOne(JSThread *thread, JSHandle<BigInt> bigint); 59 static JSHandle<EcmaString> ToString(JSThread *thread, JSHandle<BigInt> bigint, 63 static JSHandle<BigInt> UnaryMinus(JSThread *thread, JSHandle<BigInt> x); [all …]
|
| D | js_array.h | 34 static PUBLIC_API JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length, 36 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length, 39 … static JSTaggedValue ArraySpeciesCreate(JSThread *thread, const JSHandle<JSObject> &originalArray, 41 …static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescri… 42 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<JS… 44 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index, 47 static bool IsLengthString(JSThread *thread, const JSHandle<JSTaggedValue> &key); 49 …static JSHandle<JSArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &elemen… 50 …static JSHandle<JSArray> CreateArrayFromList(JSThread *thread, const JSHandle<JSTaggedValue> &newt… 58 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() [all …]
|
| D | js_typed_array.h | 43 static JSHandle<JSTaggedValue> ToPropKey(JSThread *thread, const JSHandle<JSTaggedValue> &key); 47 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 50 static bool HasProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 53 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 56 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty() 61 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty() 66 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 69 static inline bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 75 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, 79 static bool DeleteProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray, [all …]
|
| D | object_fast_operator.h | 51 static inline std::pair<JSTaggedValue, bool> HasOwnProperty(JSThread *thread, 55 static inline JSTaggedValue TryFastHasProperty(JSThread *thread, JSTaggedValue receiver, 59 static inline JSTaggedValue TryFastGetPropertyByValue(JSThread *thread, JSTaggedValue receiver, 63 …static inline JSTaggedValue TryFastGetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, ui… 66 …static inline JSTaggedValue TryGetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValu… 70 static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver, 75 …static inline JSTaggedValue TrySetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValu… 79 …static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa… 83 …static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t … 86 …static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t … [all …]
|
| D | js_proxy.h | 29 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 …]
|
| D | js_tagged_value.h | 36 class JSThread; variable 361 … static JSTaggedValue OrdinaryToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged, 365 static JSTaggedValue ToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged, 368 static JSTaggedNumber ToNumber(JSThread *thread, JSTaggedValue tagged); 369 static JSTaggedNumber ToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &tagged); 370 static JSTaggedValue ToBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &tagged); 371 static JSTaggedValue ToBigInt64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged); 372 static JSTaggedValue ToBigUint64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged); 373 static JSTaggedNumber ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tagged); 374 static JSHandle<JSTaggedValue> ToNumeric(JSThread *thread, JSHandle<JSTaggedValue> tagged); [all …]
|
| D | tagged_hash_array.h | 39 …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 …]
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime_stub.h | 26 … 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 LoadICWithElementHandler(JSThread *thread, JSTaggedValue receiver, 47 …static inline JSTaggedValue StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedV… 49 … static inline void StoreWithTransition(JSThread *thread, JSObject *receiver, JSTaggedValue value, [all …]
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_vector.h | 32 …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 …]
|
| D | js_api_arraylist.h | 36 …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 …]
|
| D | js_api_lightweightset.h | 32 …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 …]
|
| D | js_api_lightweightmap.h | 46 …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 …]
|
| D | js_api_linked_list.h | 33 …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 PUBLIC_API 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 …]
|
| D | js_api_plain_array.h | 31 …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 PUBLIC_API Set(JSThread *thread, const JSHandle<JSAPIPlainArray> &obj, [all …]
|
| /arkcompiler/ets_runtime/ecmascript/shared_objects/ |
| D | js_shared_array.h | 33 static PUBLIC_API 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); 47 …static JSHandle<JSSharedArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &… 54 inline void SetArrayLength([[maybe_unused]]const JSThread *thread, uint32_t length) in SetArrayLength() 117 …static bool PropertyKeyToArrayIndex(JSThread *thread, const JSHandle<JSTaggedValue> &key, uint32_t… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | js_shared_module_manager.h | 45 JSTaggedValue GetSendableModuleValue(JSThread *thread, int32_t index, JSTaggedValue jsFunc); 47 …JSTaggedValue GetSendableModuleValueImpl(JSThread *thread, int32_t index, JSTaggedValue currentMod… 49 JSTaggedValue GetLazySendableModuleValue(JSThread *thread, int32_t index, JSTaggedValue jsFunc); 51 …JSTaggedValue GetLazySendableModuleValueImpl(JSThread *thread, int32_t index, JSTaggedValue curren… 55 … JSHandle<JSTaggedValue> ResolveImportedModule(JSThread *thread, const CString &referencingModule, 58 …JSHandle<JSTaggedValue> PUBLIC_API ResolveImportedModuleWithMerge(JSThread *thread, const CString … 61 StateVisit &findModuleMutexWithLock(JSThread *thread, const JSHandle<SourceTextModule> &module); 63 bool SearchInSModuleManager(JSThread *thread, const CString &recordName); 65 void InsertInSModuleManager(JSThread *thread, const CString &recordName, 68 void PUBLIC_API TransferSModule(JSThread *thread); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.h | 34 static std::pair<CString, CString> ParseAbcEntryPoint(JSThread *thread, const CString &filename, 36 static Expected<JSTaggedValue, bool> ExecuteFromFile(JSThread *thread, const CString &name, 39 …static Expected<JSTaggedValue, bool> ExecuteFromAbsolutePathAbcFile(JSThread *thread, const CStrin… 43 … static Expected<JSTaggedValue, bool> ExecuteFromAbcFile(JSThread *thread, const CString &filename, 46 …static Expected<JSTaggedValue, bool> ExecuteFromBuffer(JSThread *thread, const void *buffer, size_… 49 …static Expected<JSTaggedValue, bool> ExecuteModuleBuffer(JSThread *thread, const void *buffer, siz… 51 …static Expected<JSTaggedValue, bool> CommonExecuteBuffer(JSThread *thread, bool isBundle, const CS… 54 static Expected<JSTaggedValue, bool> Execute(JSThread *thread, const JSPandaFile *jsPandaFile, 58 …static Expected<JSTaggedValue, bool> ExecuteSpecialModule(JSThread *thread, const CString &recordN… 61 static Expected<JSTaggedValue, bool> LazyExecuteModule(JSThread *thread, CString &recordName, [all …]
|