Home
last modified time | relevance | path

Searched refs:TSModuleTable (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_table_generator.cpp76 if (moduleIdBaseOnFile != TSModuleTable::NOT_FOUND) { in TryGetModuleId()
92 JSHandle<TSModuleTable> table = GetTSModuleTable(); in AddTypeTable()
94 if (TSModuleTable::GetTSTypeTableOffset(numberOfTSTypeTable) > table->GetLength()) { in AddTypeTable()
95 … table = JSHandle<TSModuleTable>(TaggedArray::SetCapacity(thread_, JSHandle<TaggedArray>(table), in AddTypeTable()
96 table->GetLength() * TSModuleTable::INCREASE_CAPACITY_RATE)); in AddTypeTable()
100 table->Set(thread_, TSModuleTable::GetModuleRequestOffset(numberOfTSTypeTable), recordNameStr); in AddTypeTable()
101 …table->Set(thread_, TSModuleTable::GetSortIdOffset(numberOfTSTypeTable), JSTaggedValue(numberOfTST… in AddTypeTable()
102 table->Set(thread_, TSModuleTable::GetTSTypeTableOffset(numberOfTSTypeTable), typeTable); in AddTypeTable()
Dts_type_table_generator.h41 inline JSHandle<TSModuleTable> GetTSModuleTable() const in GetTSModuleTable()
48 JSHandle<TSModuleTable> table = GetTSModuleTable(); in GetNextModuleId()
Dts_manager.h136 class TSModuleTable : public TaggedArray {
149 static TSModuleTable *Cast(TaggedObject *object) in Cast()
152 return static_cast<TSModuleTable *>(object); in Cast()
196 JSHandle<TSModuleTable> GetTSModuleTable() const in GetTSModuleTable()
198 return JSHandle<TSModuleTable>(reinterpret_cast<uintptr_t>(&globalModuleTable_)); in GetTSModuleTable()
201 void SetTSModuleTable(JSHandle<TSModuleTable> table) in SetTSModuleTable()
Dts_manager.cpp31 JSHandle<TSModuleTable> mTable = factory_->NewTSModuleTable(TSModuleTable::INITIAL_CAPACITY); in TSManager()
408 JSHandle<TSModuleTable> table = GetTSModuleTable(); in Dump()
509 JSHandle<TSModuleTable> mTable = GetTSModuleTable(); in GetOrCreateUnionType()
538 JSHandle<TSModuleTable> mTable = GetTSModuleTable(); in GetTSTypeTable()
539 uint32_t tableOffset = TSModuleTable::GetTSTypeTableOffset(entry); in GetTSTypeTable()
546 JSHandle<TSModuleTable> mTable = GetTSModuleTable(); in SetTSTypeTable()
547 uint32_t tableOffset = TSModuleTable::GetTSTypeTableOffset(tableId); in SetTSTypeTable()
1622 JSHandle<TSModuleTable> mTable = GetTSModuleTable(); in PrintNumOfTypes()
1668 JSHandle<EcmaString> TSModuleTable::GetModuleRequestByModuleId(JSThread *thread, int entry) const in GetModuleRequestByModuleId()
1675 int TSModuleTable::GetGlobalModuleID(JSThread *thread, JSHandle<EcmaString> amiPath) const in GetGlobalModuleID()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h97 class TSModuleTable; variable
508 JSHandle<TSModuleTable> NewTSModuleTable(uint32_t length);
Dobject_factory.cpp3384 JSHandle<TSModuleTable> ObjectFactory::NewTSModuleTable(uint32_t length) in NewTSModuleTable()
3392 JSHandle<TSModuleTable> array(thread_, header); in NewTSModuleTable()