| /arkcompiler/runtime_core/libabckit/tests/apps/deveco-hello-world/ |
| D | filesInfo.rel.txt | 1 …entry/src/main/ets/entrybackupability/EntryBackupAbility.ts;&entry/src/main/ets/entrybackupability… 2 …entry/src/main/ets/entryability/EntryAbility.ts;&entry/src/main/ets/entryability/EntryAbility&;esm… 3 modules/entry/src/main/ets/pages/Index.ts;&entry/src/main/ets/pages/Index&;esm;entry|entry|1.0.0|sr…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/ |
| D | @ohos.util.TreeMap.ets | 91 const entry = this.node; 103 return new IteratorResult<R>(this.mapper(entry!)); 132 let entry = this.rootEntry; 133 if (entry !== undefined) { 134 while (entry!.left !== undefined) { 135 entry = entry!.left; 137 return new TreeMapIterator<K, V, R>(entry!, fn); 144 let entry = this.rootEntry; 145 while (entry !== undefined) { 146 const res = this.comparator!(entry!.key, key); [all …]
|
| /arkcompiler/ets_frontend/es2panda/parser/module/ |
| D | sourceTextModuleRecord.cpp | 37 void SourceTextModuleRecord::AddImportEntry(SourceTextModuleRecord::ImportEntry *entry) in AddImportEntry() argument 39 CHECK_NOT_NULL(entry); in AddImportEntry() 40 ASSERT(entry != nullptr); in AddImportEntry() 41 ASSERT(!entry->importName_.Empty()); in AddImportEntry() 42 ASSERT(!entry->localName_.Empty()); in AddImportEntry() 43 ASSERT(entry->moduleRequestIdx_ != -1); in AddImportEntry() 44 regularImportEntries_.insert(std::make_pair(entry->localName_, entry)); in AddImportEntry() 48 CheckImplicitIndirectExport(entry); in AddImportEntry() 52 void SourceTextModuleRecord::AddStarImportEntry(SourceTextModuleRecord::ImportEntry *entry) in AddStarImportEntry() argument 54 ASSERT(!entry->localName_.Empty()); in AddStarImportEntry() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | itable.h | 28 class Entry { 50 Entry Copy(mem::InternalAllocatorPtr allocator) const in Copy() 52 Entry entry; in Copy() local 53 entry.interface_ = interface_; in Copy() 55 … entry.methods_ = {allocator->AllocArray<Method *>(methods_.size()), methods_.size()}; in Copy() 57 entry.methods_[idx] = methods_[idx]; in Copy() 60 return entry; in Copy() 65 return MEMBER_OFFSET(Entry, interface_); in GetInterfaceOffset() 75 explicit ITable(Span<Entry> elements) : elements_(elements) {} in ITable() 77 Span<Entry> Get() in Get() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | global_dictionary-inl.h | 51 PropertyBox *GlobalDictionary::GetBox(const JSThread *thread, int entry) const in GetBox() argument 53 int index = GetEntryIndex(entry) + ENTRY_VALUE_INDEX; in GetBox() 57 JSTaggedValue GlobalDictionary::GetValue(const JSThread *thread, int entry) const in GetValue() argument 59 return GetBox(thread, entry)->GetValue(thread); in GetValue() 62 PropertyAttributes GlobalDictionary::GetAttributes(const JSThread *thread, int entry) const in GetAttributes() argument 64 int index = GetEntryIndex(entry) + ENTRY_DETAILS_INDEX; in GetAttributes() 68 void GlobalDictionary::SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const … in SetEntry() argument 71 SetKey(thread, entry, key); in SetEntry() 72 SetAttributes(thread, entry, attributes); in SetEntry() 73 UpdateValueAndAttributes(thread, entry, value, attributes); in SetEntry() [all …]
|
| D | global_dictionary.h | 33 inline static int GetKeyIndex(int entry) in GetKeyIndex() argument 35 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_KEY_INDEX; in GetKeyIndex() 37 inline static int GetValueIndex(int entry) in GetValueIndex() argument 39 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_VALUE_INDEX; in GetValueIndex() 41 inline static int GetEntryIndex(int entry) in GetEntryIndex() argument 43 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize(); in GetEntryIndex() 53 …d InvalidatePropertyBox(JSThread *thread, const JSHandle<GlobalDictionary> &dictHandle, int entry); 56 … int entry, const JSHandle<JSTaggedValue> &oldValue); 58 inline bool IsValidateBox(const JSThread *thread, int entry) const; 60 inline PropertyBox *GetBox(const JSThread *thread, int entry) const; [all …]
|
| D | tagged_dictionary.h | 28 inline static int GetKeyIndex(int entry) in GetKeyIndex() argument 30 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_KEY_INDEX; in GetKeyIndex() 32 inline static int GetValueIndex(int entry) in GetValueIndex() argument 34 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_VALUE_INDEX; in GetValueIndex() 36 inline static int GetEntryIndex(int entry) in GetEntryIndex() argument 38 return OrderHashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize(); in GetEntryIndex() 55 // Returns the property metaData for the property at entry. 56 PropertyAttributes PUBLIC_API GetAttributes(const JSThread *thread, int entry) const; 57 …void PUBLIC_API SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &metaDat… 58 …void PUBLIC_API SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const JSTagg… [all …]
|
| D | transitions_dictionary.h | 61 inline static int GetKeyIndex(int entry) in GetKeyIndex() argument 63 return HashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_KEY_INDEX; in GetKeyIndex() 65 inline static int GetValueIndex(int entry) in GetValueIndex() argument 67 return HashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_VALUE_INDEX; in GetValueIndex() 69 inline static int GetEntryIndex(int entry) in GetEntryIndex() argument 71 return HashTableT::TABLE_HEADER_SIZE + entry * GetEntrySize(); in GetEntryIndex() 97 inline JSTaggedValue GetAttributes(const JSThread *thread, int entry) const in GetAttributes() argument 99 int index = GetEntryIndex(entry) + ENTRY_DETAILS_INDEX; in GetAttributes() 103 inline void SetAttributes(const JSThread *thread, int entry, JSTaggedValue metaData) in SetAttributes() argument 105 int index = GetEntryIndex(entry) + ENTRY_DETAILS_INDEX; in SetAttributes() [all …]
|
| D | js_weak_container.cpp | 38 int entry = mapHandle->FindElement(thread, key.GetTaggedValue()); in Delete() local 39 if (entry == -1) { in Delete() 42 mapHandle->RemoveEntry(thread, entry); in Delete() 64 JSTaggedValue JSWeakMap::GetKey(const JSThread *thread, int entry) const in GetKey() 66 …ASSERT_PRINT(entry >= 0 && entry < GetSize(thread), "entry must be non-negative integer less than … in GetKey() 67 return LinkedHashMap::Cast(GetLinkedMap(thread).GetTaggedObject())->GetKey(thread, entry); in GetKey() 70 JSTaggedValue JSWeakMap::GetValue(const JSThread *thread, int entry) const in GetValue() 72 …ASSERT_PRINT(entry >= 0 && entry < GetSize(thread), "entry must be non-negative integer less than … in GetValue() 73 return LinkedHashMap::Cast(GetLinkedMap(thread).GetTaggedObject())->GetValue(thread, entry); in GetValue() 90 int entry = weakSetHandle->FindElement(thread, value.GetTaggedValue()); in Delete() local [all …]
|
| D | tagged_tree.h | 59 static void Remove(const JSThread *thread, const JSHandle<Derived> &tree, int entry); 76 inline JSTaggedValue GetKey(const JSThread *thread, int entry) const in GetKey() argument 78 if (entry < 0) { in GetKey() 81 int index = EntryToIndex(entry); in GetKey() 85 inline JSTaggedValue GetValue(const JSThread *thread, int entry) const in GetValue() argument 87 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_VALUE_INDEX); in GetValue() 91 inline TreeColor GetColor(int entry) const in GetColor() argument 93 if (entry < 0) { in GetColor() 96 int index = static_cast<int>(EntryToIndex(entry) + Derived::ENTRY_COLOR_INDEX); in GetColor() 136 inline void SetKey(const JSThread *thread, uint32_t entry, JSTaggedValue key) in SetKey() argument [all …]
|
| D | linked_hash_table.h | 34 * 2.array[3,3+capacity] is buckets which store the position of entry 35 …ity+1,3+capacity + capacity*(entry_size+1)] is the entry stored in order, the last element of an e… 36 * is a number which point to next entry. 96 for (JSTaggedValue entry = GetElement(thread, BucketToIndex(bucket)); !entry.IsHole(); in FindElement() local 97 entry = GetNextEntry(thread, entry.GetInt())) { in FindElement() 98 JSTaggedValue element = GetKey(thread, entry.GetInt()); in FindElement() 106 return entry.GetInt(); in FindElement() 112 inline void RemoveEntry(const JSThread *thread, int entry) in RemoveEntry() argument 114 …ASSERT_PRINT(entry >= 0 && entry < Capacity(), "entry must be a non-negative integer less than cap… in RemoveEntry() 115 int index = static_cast<int>(EntryToIndex(entry)); in RemoveEntry() [all …]
|
| D | js_map.cpp | 36 int entry = mapHandle->FindElement(thread, key.GetTaggedValue()); in Delete() local 37 if (entry == -1) { in Delete() 40 mapHandle->RemoveEntry(thread, entry); in Delete() 67 JSTaggedValue JSMap::GetKey(JSThread *thread, uint32_t entry) const in GetKey() 69 …ASSERT_PRINT(entry >= 0 && entry < GetSize(thread), "entry must be non-negative integer less than … in GetKey() 70 return LinkedHashMap::Cast(GetLinkedMap(thread).GetTaggedObject())->GetKey(thread, entry); in GetKey() 73 JSTaggedValue JSMap::GetValue(JSThread *thread, uint32_t entry) const in GetValue() 75 …ASSERT_PRINT(entry >= 0 && entry < GetSize(thread), "entry must be non-negative integer less than … in GetValue() 76 return LinkedHashMap::Cast(GetLinkedMap(thread).GetTaggedObject())->GetValue(thread, entry); in GetValue()
|
| D | js_thread_hclass_entries.h | 41 struct Entry { struct 55 Entry entries[N_ENTRIES]; 73 return sizeof(Entry) * index + MEMBER_OFFSET(Entry, builtinHClass); in GetBuiltinHClassOffset() 79 return sizeof(Entry) * index + MEMBER_OFFSET(Entry, instanceHClass); in GetInstanceHClassOffset() 85 return sizeof(Entry) * index + MEMBER_OFFSET(Entry, extraHClass); in GetExtraHClassOffset() 91 return sizeof(Entry) * index + MEMBER_OFFSET(Entry, prototypeHClass); in GetPrototypeHClassOffset() 97 return sizeof(Entry) * index + MEMBER_OFFSET(Entry, prototypeOfPrototypeHClass); in GetPrototypeOfPrototypeHClassOffset()
|
| D | tagged_hash_table.h | 115 int entry = table->FindEntry(thread, key.GetTaggedValue()); in Insert() local 116 if (entry != -1) { in Insert() 117 table->SetValue(thread, entry, value.GetTaggedValue()); in Insert() 131 int entry = table->FindEntry(thread, key.GetTaggedValue()); in Remove() local 132 if (entry == -1) { in Remove() 136 table->RemoveElement(thread, entry); in Remove() 185 JSTaggedValue GetKey(const JSThread *thread, int entry) const in GetKey() argument 187 int index = Derived::GetKeyIndex(entry); in GetKey() 194 JSTaggedValue GetValue(const JSThread *thread, int entry) const in GetValue() argument 196 int index = Derived::GetValueIndex(entry); in GetValue() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/aarch64/ |
| D | compiled_code_to_runtime_bridge_aarch64.S | 40 .macro RUNTIME_CALL_CHECKER name, entry argument 44 .hidden \entry 47 .protected \entry 63 bl \entry 76 .macro ENTRYPOINT name, entry, paramsnum, ret_type 80 .hidden \entry 83 .protected \entry 90 CALL_RUNTIME RUNTIME_MODE_DEFAULT, \entry, \paramsnum, \ret_type 95 .macro ENTRYPOINT_ODD_SAVED name, entry, paramsnum, ret_type 99 .hidden \entry [all …]
|
| /arkcompiler/ets_runtime/ecmascript/require/ |
| D | js_cjs_module_cache.h | 37 inline static int GetKeyIndex(int entry) in GetKeyIndex() argument 39 return HashTable::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_KEY_INDEX; in GetKeyIndex() 42 inline static int GetValueIndex(int entry) in GetValueIndex() argument 44 return HashTable::TABLE_HEADER_SIZE + entry * GetEntrySize() + ENTRY_VALUE_INDEX; in GetValueIndex() 47 inline static int GetEntryIndex(int entry) in GetEntryIndex() argument 49 return HashTable::TABLE_HEADER_SIZE + entry * GetEntrySize(); in GetEntryIndex() 89 …for (uint32_t entry = GetFirstPosition(hash, size);; entry = GetNextPosition(entry, count++, size)… in FindEntry() local 90 keyValue = GetKey(thread, entry); in FindEntry() 98 return entry; in FindEntry() 106 int entry = FindEntry(thread, key); in ContainsModule() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | linked_hashtable_stub_builder.h | 69 GateRef GetKey(GateRef linkedTable, GateRef entry) in GetKey() argument 71 GateRef index = EntryToIndex(linkedTable, entry); in GetKey() 75 void SetKey(GateRef linkedTable, GateRef entry, GateRef key) in SetKey() argument 77 GateRef index = EntryToIndex(linkedTable, entry); in SetKey() 81 GateRef GetValue(GateRef linkedTable, GateRef entry) in GetValue() argument 83 GateRef index = EntryToIndex(linkedTable, entry); in GetValue() 88 void SetValue(GateRef linkedTable, GateRef entry, GateRef value) in SetValue() argument 90 GateRef index = EntryToIndex(linkedTable, entry); in SetValue() 95 GateRef EntryToIndex(GateRef linkedTable, GateRef entry) in EntryToIndex() argument 99 GateRef sumEntrySize = Int32Mul(entry, Int32Add(Int32(entrySize), Int32(1))); in EntryToIndex() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/extractortool/tests/ |
| D | source_map_test.cpp | 24 " \"entry/src/main/ets/pages/Index.ts\": {\n" 28 " \"entry/src/main/ets/pages/Index.ets\"\n" 54 " \"entry-package-info\": \"entry|1.0.0\n" 59 " \"entry/src/main/ets/pages/Index.ts\": {\n" 66 " \"entry-package-info\": \"entry|1.0.0\n" 71 " \"entry/src/main/ets/pages/Index.ts\": {\n" 75 " \"entry/src/main/ets/pages/Index.ets\"\n" 79 " \"entry-package-info\": \"entry|1.0.0\n" 84 " \"entry/src/main/ets/pages/Index.ts\": {\n" 88 " \"entry/src/main/ets/pages/Index.ets\"\n" [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.cpp | 31 CString entry, bool needUpdate, const ExecuteTypes &executeType) in ExecuteFromFile() argument 36 … JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, name, entry, needUpdate, executeType); in ExecuteFromFile() 49 jsPandaFile->CheckIsRecordWithBundleName(entry); in ExecuteFromFile() 51 PathHelper::AdaptOldIsaRecord(entry); in ExecuteFromFile() 55 JSRecordInfo *recordInfo = jsPandaFile->CheckAndGetRecordInfo(entry); in ExecuteFromFile() 57 CString msg = "Cannot find module '" + entry + "' , which is application Entry Point"; in ExecuteFromFile() 64 … ModuleResolver::HostResolveImportedModule(thread, name, entry, jsPandaFile.get(), executeType); in ExecuteFromFile() 74 return JSPandaFileExecutor::Execute(thread, jsPandaFile.get(), entry.c_str(), executeType); in ExecuteFromFile() 83 CString entry = entryPoint.data(); in ExecuteFromAbsolutePathAbcFile() local 86 return ExecuteFromFile(thread, name, entry, needUpdate, executeType); in ExecuteFromAbsolutePathAbcFile() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
| D | pool_template.h | 33 template <typename Entry, typename V> 63 auto &entry = result.first->second; in TryAdd() local 64 entry.SetEntryId(entryId); in TryAdd() 70 for (const auto &entry : pool_) { in GetEntryId() local 71 if (entry.second.GetData() == value) { in GetEntryId() 72 entryId = entry.first; in GetEntryId() 79 const Entry *GetEntry(ApEntityId id) const in GetEntry() 90 for (const auto &entry : pool_) { in GetEntryIdByNormalizedName() local 91 if (JSPandaFile::GetNormalizedFileDesc(entry.second.GetData()) == value) { in GetEntryIdByNormalizedName() 92 entryId = entry.first; in GetEntryIdByNormalizedName() [all …]
|
| D | pgo_record_pool.h | 39 class Entry : public PGOFileDataInterface { 41 explicit Entry(CString name) : name_(std::move(name)) {} in Entry() function 42 Entry() = default; 81 using PoolType = PoolTemplate<Entry, CString>; 117 const auto* entry = GetEntry(abcId); in GetPandaFileDescSafe() local 118 if (entry == nullptr) { in GetPandaFileDescSafe() 121 desc = entry->GetData(); in GetPandaFileDescSafe() 125 const Entry *GetEntry(ApEntityId entryId) const in GetEntry() 179 for (auto &entry : pool_) { in ProcessToBinary() 180 ProfileTypeRef profileTypeRef(context, entry.first); in ProcessToBinary() [all …]
|
| /arkcompiler/runtime_core/static_core/libziparchive/tests/ |
| D | libziparchive_tests.cpp | 60 // Create and append a directory entry for testing in GenerateZipfile() 88 // Append a file into directory entry for testing in GenerateZipfile() 126 EntryFileStat entry = EntryFileStat(); in UnzipFileCheckDirectory() local 127 if (GetCurrentFileInfo(zipfile, &entry) != 0) { in UnzipFileCheckDirectory() 141 GetCurrentFileOffset(zipfile, &entry); in UnzipFileCheckDirectory() 143 uint32_t uncompressedLength = entry.GetUncompressedSize(); in UnzipFileCheckDirectory() 145 ASSERT_GT(entry.GetOffset(), 0); in UnzipFileCheckDirectory() 147 ASSERT_FALSE(entry.IsCompressed()); in UnzipFileCheckDirectory() 149 ASSERT_TRUE(entry.IsCompressed()); in UnzipFileCheckDirectory() 153 … << "Compressed size: " << entry.GetCompressedSize() << "Compressed(): " << entry.IsCompressed() in UnzipFileCheckDirectory() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | keyword_completion_data_test.cpp | 31 for (const auto &entry : entries) { in AssertCompletionsContainAndNotContainEntries() local 32 if (entry == expectedEntry) { in AssertCompletionsContainAndNotContainEntries() 42 for (const auto &entry : entries) { in AssertCompletionsContainAndNotContainEntries() local 43 if (entry == unexpectedEntry) { in AssertCompletionsContainAndNotContainEntries() 60 for (const auto &entry : result.keywordCompletions) { in TEST_F() local 61 actual.push_back(entry.GetName()); in TEST_F() 74 for (const auto &entry : result.keywordCompletions) { in TEST_F() local 75 actual.push_back(entry.GetName()); in TEST_F() 88 for (const auto &entry : result.keywordCompletions) { in TEST_F() local 89 actual.push_back(entry.GetName()); in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/common_components/objects/string_table/ |
| D | hashtriemap-inl.h | 31 …Entry* oldEntry, Entry* newEntry, uint32_t oldHash, uint32_t newHash, uint32_t hashShift, Indirect… in Expand() 35 // Store the old entry in the overflow list of the new entry, and then store in Expand() 36 // the new entry. in Expand() 95 for (Entry* currentEntry = node->AsEntry(); currentEntry != nullptr; in Load() 150 // Entry, Search in overflow in LoadOrStore() 156 for (Entry* currentEntry = node->AsEntry(); currentEntry != nullptr; in LoadOrStore() 204 Entry* oldEntry = nullptr; in LoadOrStore() 208 for (Entry* currentEntry = oldEntry; currentEntry; in LoadOrStore() 231 Entry* newEntry = new Entry(value); in LoadOrStore() 234 // The simple case: Create a new entry and store it. in LoadOrStore() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_tree_set.cpp | 46 JSTaggedValue JSAPITreeSet::GetKey(JSThread *thread, int entry) const in GetKey() 48 ASSERT_PRINT(entry < GetSize(thread), "entry must less than capacity"); in GetKey() 49 …TaggedValue key = TaggedTreeSet::Cast(GetTreeSet(thread).GetTaggedObject())->GetKey(thread, entry); in GetKey() 57 int entry = TaggedTreeSet::FindEntry(thread, setHandle, key); in Delete() local 59 if (entry < 0) { in Delete() 62 JSTaggedValue newSet = TaggedTreeSet::Delete(thread, setHandle, entry); in Delete() 91 int entry = setHandle->GetMinimum(setHandle->GetRootEntries()); in PopFirst() local 92 if (entry < 0) { in PopFirst() 95 JSHandle<JSTaggedValue> value(thread, setHandle->GetKey(thread, entry)); in PopFirst() 96 JSTaggedValue newSet = TaggedTreeSet::Delete(thread, setHandle, entry); in PopFirst() [all …]
|