Home
last modified time | relevance | path

Searched refs:table_ (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
H A Dstring_table.cpp30 str = table_.GetOrInternString(mutf8Data, utf16Length, canBeCompressed, ctx); in GetOrInternString()
40 str = table_.GetOrInternString(utf16Data, utf16Length, ctx); in GetOrInternString()
49 str = table_.GetOrInternString(string, ctx); in GetOrInternString()
61 coretypes::String *str = table_.GetString(data.data, data.utf16Length, data.isAscii, ctx); in GetOrInternInternalString()
63 table_.PreBarrierOnGet(str); in GetOrInternInternalString()
71 table_.Sweep(gcObjectVisitor); in Sweep()
76 return table_.UpdateMoved(); in UpdateMoved()
81 return internalTable_.Size() + table_.Size(); in Size()
87 for (auto entry : table_) { in VisitStrings()
97 for (auto it = table_ in GetString()
[all...]
H A Dstring_table.h34 explicit StringTable(mem::InternalAllocatorPtr allocator) : internalTable_(allocator), table_(allocator) {} in StringTable()
61 table_.VisitStrings(visitor); in VisitStrings()
73 explicit Table(mem::InternalAllocatorPtr allocator) : table_(allocator->Adapter()) {} in Table()
102 PandaUnorderedMultiMap<uint32_t, coretypes::String *> table_ GUARDED_BY(tableLock_) {}; in GUARDED_BY()
166 Table table_; member in ark::StringTable
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dliveness_use_table.cpp19 UseTable::UseTable(ArenaAllocator *allocator) : table_(allocator->Adapter()), allocator_(allocator) {} in UseTable()
23 auto res = table_.try_emplace(inst, allocator_->Adapter()); in AddUseOnFixedLocation()
31 auto it = table_.find(inst); in HasUseOnFixedLocation()
32 if (it == table_.end()) { in HasUseOnFixedLocation()
41 auto it = table_.find(inst); in GetNextUseOnFixedLocation()
42 if (it == table_.end()) { in GetNextUseOnFixedLocation()
53 for (auto [inst, uses] : table_) { in Dump()
H A Dliveness_use_table.h37 ArenaUnorderedMap<const Inst *, FixedUses> table_; member in ark::compiler::UseTable
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dmultithreaded_intern_string_table_test.cpp68 table_ = new StringTable();
76 delete table_;
81 return table_; in GetTable()
115 ASSERT_EQ(table_->Size(), 1); in PostFree()
119 os::memory::WriteLockHolder holder(table_->table_.tableLock_); in PostFree()
120 table_->table_.table_.clear(); in PostFree()
123 os::memory::WriteLockHolder holder(table_ in PostFree()
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_table.h84 BitTableRow(const BitTableType *table, int row_index) : table_(table), row_index_(row_index) {} in BitTableRow()
85 explicit BitTableRow(Reversed *rhs) : table_(rhs->table_), row_index_(rhs->row_index_) {} in BitTableRow()
107 return table_->ReadColumn(row_index_, index); in Get()
117 return table_->GetColumnsCount(); in ColumnsCount()
127 return table_ == rhs.table_ && row_index_ == rhs.row_index_; in operator ==()
143 return table_; in GetTable()
147 const BitTableType *table_ {nullptr};
184 return row_.row_index_ >= 0 && helpers::ToUnsigned(row_.row_index_) < row_.table_ in operator bool()
324 BitTable *table_; global() member in panda::BitTable::Range
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_table.h92 BitTableRow(const BitTableType *table, int rowIndex) : table_(table), rowIndex_(rowIndex) {} in BitTableRow()
93 explicit BitTableRow(Reversed *rhs) : table_(rhs->table_), rowIndex_(rhs->row_index_) {} in BitTableRow()
115 return table_->ReadColumn(rowIndex_, index); in Get()
125 return table_->GetColumnsCount(); in ColumnsCount()
135 return table_ == rhs.table_ && rowIndex_ == rhs.rowIndex_; in operator ==()
151 return table_; in GetTable()
155 const BitTableType *table_ {nullptr};
199 return row_.row_index_ >= 0 && helpers::ToUnsigned(row_.row_index_) < row_.table_ in operator bool()
343 BitTable *table_; global() member in ark::BitTable::Range
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string_table.cpp84 auto range = stringTable_[GetTableId(hashcode)].table_.equal_range(hashcode); in GetStringThreadUnsafe()
97 auto range = stringTable_[GetTableId(hashcode)].table_.equal_range(hashcode); in GetStringThreadUnsafe()
110 auto range = stringTable_[GetTableId(hashcode)].table_.equal_range(hashcode); in GetStringThreadUnsafe()
122 auto range = stringTable_[GetTableId(hashcode)].table_.equal_range(hashcode); in GetStringWithHashThreadUnsafe()
134 auto range = stringTable_[GetTableId(hashcode)].table_.equal_range(hashcode); in GetStringThreadUnsafe()
152 stringTable_[GetTableId(hashcode)].table_.emplace(hashcode, string); in InternStringThreadUnsafe()
401 stringTable_[GetTableId(hashcode)].table_.emplace(hashcode, string); in InsertStringToTableWithHashThreadUnsafe()
523 auto &table = stringTable_[tableId].table_; in SweepWeakRef()
H A Decma_string_table.h102 seg.table_.clear(); in ~EcmaStringTable()
169 CUnorderedMultiMap<uint32_t, EcmaString *> table_; member

Completed in 5 milliseconds