Home
last modified time | relevance | path

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

12345678910>>...16

/ark/js_runtime/ecmascript/interpreter/
Dslow_runtime_stub.h30 …static JSTaggedValue CallSpreadDyn(JSThread *thread, JSTaggedValue func, JSTaggedValue obj, JSTagg…
31 static JSTaggedValue NegDyn(JSThread *thread, JSTaggedValue value);
32 static JSTaggedValue AsyncFunctionEnter(JSThread *thread);
33 static JSTaggedValue ToNumber(JSThread *thread, JSTaggedValue value);
34 static JSTaggedValue NotDyn(JSThread *thread, JSTaggedValue value);
35 static JSTaggedValue IncDyn(JSThread *thread, JSTaggedValue value);
36 static JSTaggedValue DecDyn(JSThread *thread, JSTaggedValue value);
37 static void ThrowDyn(JSThread *thread, JSTaggedValue value);
38 static JSTaggedValue GetPropIterator(JSThread *thread, JSTaggedValue value);
39 static void ThrowConstAssignment(JSThread *thread, JSTaggedValue value);
[all …]
Dfast_runtime_stub.h36 static inline JSTaggedValue FastTypeOf(JSThread *thread, JSTaggedValue obj);
38 …static inline JSTaggedValue NewLexicalEnvDyn(JSThread *thread, ObjectFactory *factory, uint16_t nu…
39 …static inline JSTaggedValue GetGlobalOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTagge…
45 …static inline bool SetElement(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedVa…
47 … static inline bool SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key,
49 …static inline bool SetGlobalOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue ke…
53 …static inline void SetOwnPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue ke…
56 …static inline bool SetOwnElement(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTagge…
57 …static inline bool FastSetProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JS…
59 …static inline JSTaggedValue FastGetProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValu…
[all …]
Dinterpreter_assembly.h30 …void (*)(JSThread *, const uint8_t *, JSTaggedType *, JSTaggedValue, JSTaggedValue, JSTaggedValue,…
40 …static void RunInternal(JSThread *thread, ConstantPool *constpool, const uint8_t *pc, JSTaggedType…
44 static inline JSTaggedValue UpdateHotnessCounter(JSThread* thread, TaggedType *sp);
52JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
55JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
58JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
61JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
64JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
67JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
70JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue prof…
[all …]
/ark/js_runtime/ecmascript/
Dtagged_tree.h45 static JSHandle<Derived> Create(const JSThread *thread, int numberOfElements);
47 …static JSHandle<Derived> Insert(JSThread *thread, JSHandle<Derived> &tree, const JSHandle<JSTagged…
50 static JSHandle<Derived> GrowCapacity(const JSThread *thread, JSHandle<Derived> &tree);
54 static void Remove(const JSThread *thread, const JSHandle<Derived> &tree, int entry);
66 inline void SetCapacity(const JSThread *thread, int capacity);
73 inline void SetNumberOfElements(const JSThread *thread, int num);
74 inline void SetNumberOfDeletedElements(const JSThread *thread, int num);
76 inline void SetRootEntries(const JSThread *thread, int num);
79 …static int FindEntry(JSThread *thread, const JSHandle<Derived> &tree, const JSHandle<JSTaggedValue…
81 …inline static ComparisonResult EntryCompare(JSThread *thread, const JSHandle<JSTaggedValue> valueX,
[all …]
Djs_tagged_value.h33 class JSThread; variable
145 … static JSTaggedValue OrdinaryToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged,
149 static JSTaggedValue ToPrimitive(JSThread *thread, const JSHandle<JSTaggedValue> &tagged,
152 static JSTaggedNumber ToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
153 static JSTaggedValue ToBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
154 static JSTaggedValue ToBigInt64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
155 static JSTaggedValue ToBigUint64(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
156 static JSTaggedNumber ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
157 static JSTaggedValue ToNumeric(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
158 static int32_t ToInt32(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
[all …]
Djs_bigint.h41 static JSHandle<BigInt> CreateBigint(JSThread *thread, uint32_t size);
48 static void InitializationZero(JSThread *thread, JSHandle<BigInt> bigint);
49 …static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigIn…
50 static JSHandle<BigInt> BitwiseAND(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
51 static JSHandle<BigInt> BitwiseXOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
52 static JSHandle<BigInt> BitwiseOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
53 … static JSHandle<BigInt> BitwiseSubOne(JSThread *thread, JSHandle<BigInt> bigint, uint32_t maxLen);
54 static JSHandle<BigInt> BitwiseAddOne(JSThread *thread, JSHandle<BigInt> bigint);
55 static JSHandle<EcmaString> ToString(JSThread *thread, JSHandle<BigInt> bigint,
57 static std::string ToStdString(JSThread *thread, JSHandle<BigInt> bigint,
[all …]
Djs_object.h63 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {} in PropertyDescriptor()
65 …explicit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), … in PropertyDescriptor()
67 …explicit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, boo… in PropertyDescriptor()
79 explicit PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
210 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc);
213 const JSThread *thread_{nullptr};
293 explicit OperationResult(const JSThread *thread, JSTaggedValue value, PropertyMetaData metaData) in OperationResult()
324 const JSThread *thread_ {nullptr};
378 …static JSHandle<JSTaggedValue> FromPropertyDescriptor(JSThread *thread, const PropertyDescriptor &…
381 …static void ToPropertyDescriptor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, PropertyDes…
[all …]
Dlinked_hash_table.h45 static JSHandle<Derived> Create(const JSThread *thread, int numberOfElements);
47 static JSHandle<Derived> Insert(const JSThread *thread, const JSHandle<Derived> &table,
50 static JSHandle<Derived> InsertWeakRef(const JSThread *thread, const JSHandle<Derived> &table,
53 static JSHandle<Derived> GrowCapacity(const JSThread *thread, const JSHandle<Derived> &table,
56 static JSHandle<Derived> Remove(const JSThread *thread, const JSHandle<Derived> &table,
59 …static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &table, int additi…
61 void Rehash(const JSThread *thread, Derived *newTable);
67 inline void RemoveEntry(const JSThread *thread, int entry);
88 inline void SetNumberOfElements(const JSThread *thread, int nof);
90 inline void SetNumberOfDeletedElements(const JSThread *thread, int nod);
[all …]
Dtagged_hash_table.h34 inline void IncreaseEntries(const JSThread *thread);
36 inline void IncreaseHoleEntriesCount(const JSThread *thread, int number = 1);
40 static JSHandle<Derived> GrowHashTable(const JSThread *thread, const JSHandle<Derived> &table,
43 static JSHandle<Derived> Create(const JSThread *thread, int numberOfElements);
45 static JSHandle<Derived> Insert(const JSThread *thread, JSHandle<Derived> &table,
48 static JSHandle<Derived> Remove(const JSThread *thread, JSHandle<Derived> &table,
53 …inline static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &table, int…
61 inline void GetAllKeys(const JSThread *thread, int offset, TaggedArray *keyArray) const;
63 …inline void GetAllKeysIntoVector(const JSThread *thread, std::vector<JSTaggedValue> &vector) const;
65 inline void Swap(const JSThread *thread, int src, int dst);
[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 bool RemoveByIndex(JSThread *thread, const JSHandle<JSAPIArrayList> &arrayList, int value);
[all …]
Djs_array.h33 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length);
34 static JSHandle<JSTaggedValue> ArrayCreate(JSThread *thread, JSTaggedNumber length,
36 … static JSTaggedValue ArraySpeciesCreate(JSThread *thread, const JSHandle<JSObject> &originalArray,
38 …static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescri…
39 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<JS…
41 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index,
44 static bool IsLengthString(JSThread *thread, const JSHandle<JSTaggedValue> &key);
46 …static JSHandle<JSArray> CreateArrayFromList(JSThread *thread, const JSHandle<TaggedArray> &elemen…
53 inline void SetArrayLength(const JSThread *thread, uint32_t length) in SetArrayLength()
71 …static bool PropertyKeyToArrayIndex(JSThread *thread, const JSHandle<JSTaggedValue> &key, uint32_t…
[all …]
Djs_proxy.h28 static JSHandle<JSProxy> ProxyCreate(JSThread *thread, const JSHandle<JSTaggedValue> &target,
31 static JSTaggedValue GetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy);
33 …static bool SetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTagged…
35 static bool IsExtensible(JSThread *thread, const JSHandle<JSProxy> &proxy);
37 static bool PreventExtensions(JSThread *thread, const JSHandle<JSProxy> &proxy);
39 …static bool GetOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTagg…
42 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JST…
45 …static bool HasProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTaggedV…
47 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty()
52 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy,
[all …]
Dtagged_dictionary.h43 static JSHandle<NameDictionary> Create(const JSThread *thread,
47 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData);
48 …void SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const JSTaggedValue &va…
50 void UpdateValueAndAttributes(const JSThread *thread, int entry, const JSTaggedValue &value,
52 void UpdateValue(const JSThread *thread, int entry, const JSTaggedValue &value);
54 void ClearEntry(const JSThread *thread, int entry);
55 void GetAllKeys(const JSThread *thread, int offset, TaggedArray *keyArray) const;
56 …void GetAllEnumKeys(const JSThread *thread, int offset, TaggedArray *keyArray, uint32_t *keys) con…
91 static JSHandle<NumberDictionary> Create(const JSThread *thread,
95 void SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaData);
[all …]
Djs_iterator.h31 … static JSTaggedValue IteratorCloseAndReturn(JSThread *thread, const JSHandle<JSTaggedValue> &iter,
34 … static JSHandle<JSTaggedValue> GetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &obj);
36 static JSHandle<JSTaggedValue> GetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
39 static JSHandle<JSObject> IteratorNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter,
42 static JSHandle<JSObject> IteratorNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
44 static bool IteratorComplete(JSThread *thread, const JSHandle<JSTaggedValue> &iterResult);
46 …static JSHandle<JSTaggedValue> IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &iter…
48 …static JSHandle<JSTaggedValue> IteratorStep(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
50 …static JSHandle<JSTaggedValue> IteratorClose(JSThread *thread, const JSHandle<JSTaggedValue> &iter,
53 …static JSHandle<JSObject> CreateIterResultObject(JSThread *thread, const JSHandle<JSTaggedValue> &…
Djs_thread.h38 class JSThread : public ManagedThread {
45 static JSThread *Cast(ManagedThread *thread) in Cast()
48 return reinterpret_cast<JSThread *>(thread); in Cast()
51 JSThread(Runtime *runtime, PandaVM *vm);
53 ~JSThread() override;
57 static JSThread *Create(Runtime *runtime, PandaVM *vm);
232 return MEMBER_OFFSET(JSThread, propertiesCache_); in GetPropertiesCacheOffset()
237 return MEMBER_OFFSET(JSThread, globalObject_); in GetGlobalObjectOffset()
242 return MEMBER_OFFSET(JSThread, globalConst_); in GetGlobalConstantsOffset()
247 return MEMBER_OFFSET(JSThread, globalStorage_); in GetGlobalStorageOffset()
[all …]
Djs_typed_array.h37 static JSHandle<JSTaggedValue> ToPropKey(JSThread *thread, const JSHandle<JSTaggedValue> &key);
41 static bool GetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
44 static bool HasProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
47 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
50 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
55 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty()
60 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
63 static inline bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
69 static bool SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
73 …static JSHandle<TaggedArray> OwnPropertyKeys(JSThread *thread, const JSHandle<JSTaggedValue> &type…
[all …]
Djs_function.h27 class JSThread; variable
39 static bool SetFunctionName(JSThread *thread, const JSHandle<JSFunctionBase> &func,
41 …static JSHandle<JSTaggedValue> GetFunctionName(JSThread *thread, const JSHandle<JSFunctionBase> &f…
43 void SetCallTarget([[maybe_unused]] const JSThread *thread, JSMethod *p) in SetCallTarget()
68 …static void InitializeJSFunction(JSThread *thread, const JSHandle<GlobalEnv> &env, const JSHandle<…
71 static bool OrdinaryHasInstance(JSThread *thread, const JSHandle<JSTaggedValue> &constructor,
80 static JSTaggedValue Call(JSThread *thread, const JSHandle<JSTaggedValue> &func,
83 …static JSTaggedValue Construct(JSThread *thread, const JSHandle<JSTaggedValue> &func, uint32_t arg…
85 static JSTaggedValue Invoke(JSThread *thread, const JSHandle<JSTaggedValue> &thisArg,
89 static JSTaggedValue CallInternal(JSThread *thread, const JSHandle<JSFunction> &func,
[all …]
Djs_thread.cpp28 JSThread *JSThread::Create(Runtime *runtime, PandaVM *vm) in Create()
30 auto jsThread = new JSThread(runtime, vm); in Create()
36 JSThread::SetCurrent(jsThread); in Create()
41 JSThread::JSThread(Runtime *runtime, PandaVM *vm) in JSThread() function in panda::ecmascript::JSThread
53 JSThread::~JSThread() in ~JSThread()
78 EcmaVM *JSThread::GetEcmaVM() const in GetEcmaVM()
83 void JSThread::SetException(JSTaggedValue exception) in SetException()
88 void JSThread::ClearException() in ClearException()
93 JSTaggedValue JSThread::GetCurrentLexenv() const in GetCurrentLexenv()
98 void JSThread::Iterate(const RootVisitor &v0, const RootRangeVisitor &v1) in Iterate()
[all …]
Dlayout_info.h44 void SetNumberOfElements(const JSThread *thread, int properties);
47 …void SetPropertyInit(const JSThread *thread, int index, const JSTaggedValue &key, const PropertyAt…
48 void SetKey(const JSThread *thread, int index, const JSTaggedValue &key);
49 void SetNormalAttr(const JSThread *thread, int index, const PropertyAttributes &attr);
54 void SetSortedIndex(const JSThread *thread, int index, int sortedIndex);
55 …void AddKey(const JSThread *thread, int index, const JSTaggedValue &key, const PropertyAttributes …
79 …int FindElementWithCache(JSThread *thread, JSHClass *cls, JSTaggedValue key, int propertiesNumber);
82 void GetAllKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray);
83 void GetAllKeys(const JSThread *thread, int end, std::vector<JSTaggedValue> &keyVector);
84 …void GetAllEnumKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray, uint32_t *…
[all …]
/ark/js_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…
54 …static void SetFrozenFunction(JSThread *thread, const JSHandle<JSObject> &obj, const char *key, Ec…
56 …static void SetFrozenConstructor(JSThread *thread, const JSHandle<JSObject> &obj, const char *keyC…
58 …static JSHandle<JSTaggedValue> CreateGetter(JSThread *thread, EcmaEntrypoint func, const char *nam…
60 static void SetGetter(JSThread *thread, const JSHandle<JSObject> &obj,
62 static void SetFunctionAtSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env,
65 static void SetStringTagSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env,
68 …static JSTaggedValue InitializeContainer(JSThread *thread, const JSHandle<JSObject> &obj, Initiali…
[all …]
/ark/js_runtime/ecmascript/ic/
Dic_runtime_stub.h26 … static inline JSTaggedValue LoadGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
28 …static inline JSTaggedValue StoreGlobalICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
31 static inline JSTaggedValue LoadICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
33 static inline JSTaggedValue TryLoadICByName(JSThread *thread, JSTaggedValue receiver,
35 static inline JSTaggedValue TryStoreICByName(JSThread *thread, JSTaggedValue receiver,
38 static inline JSTaggedValue StoreICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo,
42 …static inline JSTaggedValue LoadICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
44 …static inline JSTaggedValue StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
46 … static inline void StoreWithTransition(JSThread *thread, JSObject *receiver, JSTaggedValue value,
48 static inline JSTaggedValue StorePrototype(JSThread *thread, JSTaggedValue receiver,
[all …]
Dic_binary_op.h35 static inline JSTaggedValue AddWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
37 static inline JSTaggedValue SubWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
39 static inline JSTaggedValue MulWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
41 static inline JSTaggedValue DivWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
43 static inline JSTaggedValue ModWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
45 static inline void GetBitOPDate(JSThread *thread, JSTaggedValue left, JSTaggedValue right,
47 static inline JSTaggedValue ShlWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
49 static inline JSTaggedValue ShrWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
51 … static inline JSTaggedValue AshrWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
53 static inline JSTaggedValue AndWithTSType(JSThread *thread, EcmaVM *ecma_vm, JSTaggedValue left,
[all …]
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_regexp.h65 static JSTaggedValue RegExpCreate(JSThread *thread, const JSHandle<JSTaggedValue> &pattern,
67 static JSTaggedValue FlagsBitsToString(JSThread *thread, uint8_t flags);
73 …static RegExpExecutor::MatchResult Matcher(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
76 …static uint32_t AdvanceStringIndex(JSThread *thread, const JSHandle<JSTaggedValue> &inputStr, uint…
79 static bool GetFlagsInternal(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
82 static JSTaggedValue RegExpBuiltinExec(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
85 static JSTaggedValue RegExpExec(JSThread *thread, const JSHandle<JSTaggedValue> &regexp,
88 static JSTaggedValue RegExpAlloc(JSThread *thread, const JSHandle<JSTaggedValue> &newTarget);
90 static uint32_t UpdateExpressionFlags(JSThread *thread, const CString &checkStr);
93 static JSTaggedValue RegExpInitialize(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
[all …]
/ark/js_runtime/ecmascript/ts_types/
Dts_type_table.h49 static void Initialize(JSThread *thread, const panda_file::File &pf,
52 …static GlobalTSTypeRef GetPropertyType(JSThread *thread, JSHandle<TSTypeTable> &table, TSTypeKind …
55 static JSHandle<JSTaggedValue> ParseType(JSThread *thread, JSHandle<TSTypeTable> &table,
60 …static JSHandle<TaggedArray> GetExportValueTable(JSThread *thread, JSHandle<TSTypeTable> typeTable…
62 void SetTypeTableLength(const JSThread *thread, uint32_t length) in SetTypeTableLength()
74 static JSHandle<TSTypeTable> GenerateTypeTable(JSThread *thread, const panda_file::File &pf,
77 …static JSHandle<TaggedArray> GetExportTableFromPandFile(JSThread *thread, const panda_file::File &…
83 static JSHandle<TSClassType> ParseClassType(JSThread *thread, JSHandle<TSTypeTable> &typeTable,
86 …static JSHandle<TSInterfaceType> ParseInterfaceType(JSThread *thread, JSHandle<TSTypeTable> &typeT…
89 static JSHandle<TSImportType> ParseImportType(JSThread *thread,
[all …]
/ark/js_runtime/ecmascript/base/
Dtyped_array_helper.h37 … static JSHandle<JSObject> TypedArraySpeciesCreate(JSThread *thread, const JSHandle<JSObject> &obj,
39 …static JSHandle<JSObject> TypedArrayCreate(JSThread *thread, const JSHandle<JSTaggedValue> &constr…
41 static JSTaggedValue ValidateTypedArray(JSThread *thread, const JSHandle<JSTaggedValue> &value);
44 …inline static DataViewType GetTypeFromName(JSThread *thread, const JSHandle<JSTaggedValue> &typeNa…
45 …inline static JSHandle<JSTaggedValue> GetConstructor(JSThread *thread, const JSHandle<JSTaggedValu…
46 inline static JSHandle<JSFunction> GetConstructorFromName(JSThread *thread,
48 … inline static int32_t GetSizeFromName(JSThread *thread, const JSHandle<JSTaggedValue> &typeName);
49 inline static int32_t GetByteOffset(JSThread *thread, const JSHandle<JSObject> &obj);
50 inline static int32_t GetArrayLength(JSThread *thread, const JSHandle<JSObject> &obj);
51 static int32_t SortCompare(JSThread *thread, const JSHandle<JSTaggedValue> &callbackfnHandle,
[all …]

12345678910>>...16