Home
last modified time | relevance | path

Searched refs:IndexedString (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/serialization/
H A Dindexedstring.h52 IndexedString() = default;
68 explicit IndexedString(const char* str);
70 explicit IndexedString(char c);
72 explicit IndexedString(bool) = delete;
96 IndexedString ret; in fromIndex()
107 IndexedString(const IndexedString&) noexcept;
109 ~IndexedString();
114 explicit IndexedString(const QUrl& url);
168 IndexedString& operator=(const IndexedString&) noexcept;
170 friend KDEVPLATFORMSERIALIZATION_EXPORT void swap(IndexedString&, IndexedString&) noexcept;
[all …]
H A Dindexedstring.cpp221 IndexedString::IndexedString(const char* str, unsigned short length, uint hash) in IndexedString() function in IndexedString
240 IndexedString::IndexedString(char c) in IndexedString() function in IndexedString
244 IndexedString::IndexedString(const QUrl& url) in IndexedString() function in IndexedString
256 IndexedString::IndexedString(const QString& string) in IndexedString() function in IndexedString
260 IndexedString::IndexedString(const char* str) in IndexedString() function in IndexedString
264 IndexedString::IndexedString(const QByteArray& str) in IndexedString() function in IndexedString
276 IndexedString::~IndexedString() in ~IndexedString()
283 IndexedString::IndexedString(const IndexedString& rhs) noexcept in IndexedString() function in IndexedString
291 IndexedString& IndexedString::operator=(const IndexedString& rhs) noexcept in operator =()
306 void KDevelop::swap(IndexedString& a, IndexedString& b) noexcept in swap()
[all …]
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/qmljs/duchain/
H A Dcache.h55 QString modulePath(const KDevelop::IndexedString& baseFile, const QString& uri,
69 void setFileCustomIncludes(const KDevelop::IndexedString& file,
75 …void addDependency(const KDevelop::IndexedString& file, const KDevelop::IndexedString& dependency);
80 QList<KDevelop::IndexedString> filesThatDependOn(const KDevelop::IndexedString& file);
85 QList<KDevelop::IndexedString> dependencies(const KDevelop::IndexedString& file);
91 bool isUpToDate(const KDevelop::IndexedString& file);
92 void setUpToDate(const KDevelop::IndexedString& file, bool upToDate);
109 QHash<KDevelop::IndexedString, QSet<KDevelop::IndexedString>> m_dependees;
110 QHash<KDevelop::IndexedString, QSet<KDevelop::IndexedString>> m_dependencies;
111 QHash<KDevelop::IndexedString, bool> m_isUpToDate;
[all …]
H A Dcache.cpp40 KDevelop::Path::List QmlJS::Cache::libraryPaths(const KDevelop::IndexedString& baseFile) const in libraryPaths()
46 KDevelop::Path::List QmlJS::Cache::libraryPaths_internal(const KDevelop::IndexedString& baseFile) c… in libraryPaths_internal()
65 QString QmlJS::Cache::modulePath(const KDevelop::IndexedString& baseFile, const QString& uri, const… in modulePath()
220 void QmlJS::Cache::setFileCustomIncludes(const KDevelop::IndexedString& file, const KDevelop::Path:… in setFileCustomIncludes()
227 void QmlJS::Cache::addDependency(const KDevelop::IndexedString& file, const KDevelop::IndexedString in addDependency()
235 QList<KDevelop::IndexedString> QmlJS::Cache::filesThatDependOn(const KDevelop::IndexedString& file) in filesThatDependOn()
242 QList<KDevelop::IndexedString> QmlJS::Cache::dependencies(const KDevelop::IndexedString& file) in dependencies()
249 bool QmlJS::Cache::isUpToDate(const KDevelop::IndexedString& file) in isUpToDate()
256 void QmlJS::Cache::setUpToDate(const KDevelop::IndexedString& file, bool upToDate) in setUpToDate()
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/serialization/tests/
H A Dtest_indexedstring.cpp54 IndexedString indexed(url); in testUrl()
63 IndexedString indexed(data); in test()
77 IndexedString moved = std::move(indexed); in test()
97 IndexedString movedFrom(text); in testMoveAssignment()
100 IndexedString notRefCounted; in testMoveAssignment()
112 IndexedString* const refCounted = new (indexedStringData) IndexedString(toBeDerefed); in testMoveAssignment()
117 refCounted->~IndexedString(); in testMoveAssignment()
142 m_string->~IndexedString(); in testSwap()
153 IndexedString m_notRefCounted; in testSwap()
157 IndexedString* const m_string = nullptr; in testSwap()
[all …]
H A Dbench_indexedstring.cpp53 IndexedString idx(item); in bench_index()
65 IndexedString idx(item); in setupTest()
77 IndexedString str = IndexedString::fromIndex(index); in bench_length()
88 IndexedString str = IndexedString::fromIndex(index); in bench_qstring()
99 IndexedString str = IndexedString::fromIndex(index); in bench_kurl()
123 sum += qHash(IndexedString::fromIndex(index)); in bench_qhashIndexedString()
168 QSet<IndexedString> set; in bench_qSet()
171 set.insert(IndexedString::fromIndex(index)); in bench_qSet()
178 std::vector<IndexedString> result; in createIndexedStrings()
234 IndexedString a("foo"); in bench_swap()
[all …]
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/shell/
H A Dwatcheddocumentset.cpp88 void addDocument(const IndexedString& doc, ActionFlags flags = {}) in addDocument()
97 void delDocument(const IndexedString& doc, ActionFlags flags = {}) in delDocument()
142 for (const IndexedString& doc : qAsConst(m_documents)) { in getImportsFromDUChain()
197 void WatchedDocumentSet::setCurrentDocument(const IndexedString&) in setCurrentDocument() argument
223 void CurrentDocumentSet::setCurrentDocument(const IndexedString& url) in setCurrentDocument()
242 d->addDocument(IndexedString(doc->url())); in OpenDocumentSet()
254 d->delDocument(IndexedString(doc->url()), DoUpdate | DoEmit); in documentClosed()
261 d->addDocument(IndexedString(doc->url()), DoUpdate | DoEmit); in documentCreated()
292 d->delDocument(IndexedString(oldFile.pathOrUrl())); in fileRenamed()
320 void CurrentProjectSet::setCurrentDocument(const IndexedString& url) in setCurrentDocument()
[all …]
H A Dwatcheddocumentset.h32 using DocumentSet = QSet<IndexedString>;
43 virtual void setCurrentDocument(const IndexedString& url);
62 explicit CurrentDocumentSet(const IndexedString& document, QObject* parent);
63 void setCurrentDocument(const IndexedString& url) override;
108 explicit CurrentProjectSet(const IndexedString& document, QObject* parent);
109 void setCurrentDocument(const IndexedString& url) override;
113 void setCurrentDocumentInternal(const IndexedString& url); // to avoid virtual in constructor
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/codegen/
H A Dutilities.cpp34 Identifier identifier = Identifier(IndexedString(input)); in validate()
44 IndexedString fetchImplementationFileForClass(const Declaration& targetClass) in fetchImplementationFileForClass()
53 return IndexedString(); in fetchImplementationFileForClass()
59 return IndexedString(); in fetchImplementationFileForClass()
65 QMap<IndexedString, unsigned int> implementationsInFile; in fetchImplementationFileForClass()
76 QMultiMap<unsigned int, IndexedString> sorter; in fetchImplementationFileForClass()
78 const IndexedString& file = it.key(); in fetchImplementationFileForClass()
82 QList<IndexedString> sortedFiles = sorter.values(); in fetchImplementationFileForClass()
91 const QList<IndexedString> tiedFiles = sorter.values(sorter.end().key()); in fetchImplementationFileForClass()
96 IndexedString mostUsesFile; in fetchImplementationFileForClass()
[all …]
H A Ddocumentchangeset.cpp42 using ChangesHash = QHash<IndexedString, ChangesList>;
53 QHash<IndexedString, IndexedString> documentsRename;
219 for (const IndexedString& file : changedFiles) { in applyAllChanges()
228 QHash<IndexedString, IndexedString>::const_iterator it = d->documentsRename.constBegin(); in applyAllChanges()
272 QMap<IndexedString, QString> newTexts; in applyAllChanges()
278 for (const IndexedString& file : files) { in applyAllChanges()
300 QMap<IndexedString, QString> oldTexts; in applyAllChanges()
303 for (const IndexedString& file : files) { in applyAllChanges()
322 for (const IndexedString& file : files) { in applyAllChanges()
573 for (const IndexedString& file : files) { in updateFiles()
[all …]
/dports/devel/kdev-php/kdev-php-21.12.3/duchain/
H A Dcompletioncodemodel.h21 class IndexedString; variable
34 KDevelop::IndexedString prettyName;
57 …id addItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
59 …void removeItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& i…
62 …updateItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
69 …void items(const KDevelop::IndexedString& file, uint& count, const CompletionCodeModelItem*& items…
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev4-php/duchain/
H A Dcompletioncodemodel.h21 class IndexedString; variable
34 KDevelop::IndexedString prettyName;
57 …id addItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
59 …void removeItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& i…
62 …updateItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
69 …void items(const KDevelop::IndexedString& file, uint& count, const CompletionCodeModelItem*& items…
H A Dhelper.cpp174 static const IndexedString phpLangString("Php"); in findDeclarationInPST()
296 return IndexedString(); in findIncludeFileUrl()
303 return IndexedString(includeFile); in findIncludeFileUrl()
311 return IndexedString(url); in findIncludeFileUrl()
319 return IndexedString(url); in findIncludeFileUrl()
330 return IndexedString(url); in findIncludeFileUrl()
336 return IndexedString(); in findIncludeFileUrl()
347 return IndexedString(); in getIncludeFileForNode()
353 return IndexedString(); in getIncludeFileForNode()
376 const KDevelop::IndexedString& internalFunctionFile() in internalFunctionFile()
[all …]
/dports/devel/umbrello/umbrello-21.12.3/lib/kdev5-php/duchain/
H A Dcompletioncodemodel.h21 class IndexedString; variable
34 KDevelop::IndexedString prettyName;
57 …id addItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
59 …void removeItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& i…
62 …updateItem(const KDevelop::IndexedString& file, const KDevelop::IndexedQualifiedIdentifier& id, co…
69 …void items(const KDevelop::IndexedString& file, uint& count, const CompletionCodeModelItem*& items…
H A Dhelper.cpp176 static const IndexedString phpLangString("Php"); in findDeclarationInPST()
281 static IndexedString findIncludeFile(const QString &includePath, const IndexedString &currentDocume… in findIncludeFile()
284 return IndexedString(); in findIncludeFile()
291 return IndexedString(includePath); in findIncludeFile()
299 return IndexedString(include.pathOrUrl()); in findIncludeFile()
318 return IndexedString(); in findIncludeFile()
329 return IndexedString(); in getIncludeFileForNode()
335 return IndexedString(); in getIncludeFileForNode()
358 const KDevelop::IndexedString& internalFunctionFile() in internalFunctionFile()
364 const KDevelop::IndexedString& phpLanguageString() in phpLanguageString()
[all …]
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/clang/duchain/
H A Dclangindex.h46 KDevelop::IndexedString translationUnitForUrl(const KDevelop::IndexedString& url);
51 …void pinTranslationUnitForUrl(const KDevelop::IndexedString& tu, const KDevelop::IndexedString& ur…
56 void unpinTranslationUnitForUrl(const KDevelop::IndexedString& url);
65 QHash<KDevelop::IndexedString, KDevelop::IndexedString> m_tuForUrl;
H A Dmacrodefinition.cpp14 DEFINE_LIST_MEMBER_HASH(MacroDefinitionData, parameters, IndexedString)
39 IndexedString definition;
43 APPENDED_LIST_FIRST(MacroDefinitionData, IndexedString, parameters);
70 IndexedString MacroDefinition::definition() const in definition()
75 void MacroDefinition::setDefinition(const IndexedString& definition) in setDefinition()
90 const IndexedString* MacroDefinition::parameters() const in parameters()
100 void MacroDefinition::addParameter(const IndexedString& str) in addParameter()
H A Dclangindex.cpp47 UrlParseLock pchLock(IndexedString(pchInclude.pathOrUrl())); in pch()
68 IndexedString ClangIndex::translationUnitForUrl(const IndexedString& url) in translationUnitForUrl()
116 return IndexedString(buddyPath); in translationUnitForUrl()
123 void ClangIndex::pinTranslationUnitForUrl(const IndexedString& tu, const IndexedString& url) in pinTranslationUnitForUrl()
129 void ClangIndex::unpinTranslationUnitForUrl(const IndexedString& url) in unpinTranslationUnitForUrl()
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/duchain/
H A Dduchain.h76 void updateContextForUrl(const IndexedString& document, TopDUContext::Features minFeatures,
90 KDevelop::ReferencedTopDUContext waitForUpdate(const KDevelop::IndexedString& document,
102 TopDUContext* chainForDocument(const IndexedString& document, bool proxyContext = false) const;
115 QList<TopDUContext*> chainsForDocument(const IndexedString& document) const;
136 …TopDUContext* chainForDocument(const IndexedString& document, const ParsingEnvironment* environmen…
151 ParsingEnvironmentFilePointer environmentFileForDocument(const IndexedString& document,
160 QList<ParsingEnvironmentFilePointer> allEnvironmentFiles(const IndexedString& document);
185 IndexedString urlForIndex(uint index) const;
192 QList<IndexedString> indexedDocuments() const;
259 …void updateReady(const KDevelop::IndexedString& url, const KDevelop::ReferencedTopDUContext& topCo…
[all …]
H A Dparsingenvironment.h87 KDevelop::IndexedString m_url;
89 IndexedString m_language;
112 explicit ParsingEnvironmentFile(const IndexedString& url);
113 ParsingEnvironmentFile(ParsingEnvironmentFileData& data, const IndexedString& url);
129 KDevelop::IndexedString url() const override;
177 void addModificationRevision(const IndexedString& url, const ModificationRevision& revision);
184 IndexedString language() const;
192 void setLanguage(const IndexedString& language);
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/classmodel/
H A Ddocumentclassesfolder.h34 void parseDocument(const KDevelop::IndexedString& a_file);
37 bool updateDocument(const KDevelop::IndexedString& a_file);
40 void closeDocument(const KDevelop::IndexedString& a_file);
43 QSet<KDevelop::IndexedString> allOpenDocuments() const;
60 QSet<KDevelop::IndexedString> m_updatedFiles;
70 OpenedFileClassItem(const KDevelop::IndexedString& a_file,
75 KDevelop::IndexedString file;
91 KDevelop::IndexedString,
121 QSet<KDevelop::IndexedString> m_openFiles;
H A Dclassmodelnodescontroller.h22 virtual void documentChanged(const KDevelop::IndexedString& a_file) = 0;
40 …void registerForChanges(const KDevelop::IndexedString& a_file, ClassModelNodeDocumentChangedInterf…
42 …void unregisterForChanges(const KDevelop::IndexedString& a_file, ClassModelNodeDocumentChangedInte…
50 QSet<KDevelop::IndexedString> m_updatedFiles;
55 using FilesMap = QMultiMap<KDevelop::IndexedString, ClassModelNodeDocumentChangedInterface*>;
/dports/devel/kdev-python/kdev-python-21.12.3/duchain/assistants/
H A Dmissingincludeassistant.h22 MissingIncludeProblem(const QString& moduleName, KDevelop::IndexedString currentDocument);
27 KDevelop::IndexedString m_currentDocument;
34 DocumentationGeneratorAction(const QString& module, const KDevelop::IndexedString& document);
42 const KDevelop::IndexedString document;
49 MissingIncludeAssistant(const QString& module, const KDevelop::IndexedString& document);
53 const KDevelop::IndexedString document;
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/duchain/navigation/
H A Dusescollector.h41 virtual bool shouldRespectFile(const IndexedString& url);
84 … void updateReady(const KDevelop::IndexedString& url, KDevelop::ReferencedTopDUContext topContext);
101 QSet<IndexedString> m_waitForUpdate;
102 QSet<IndexedString> m_updateReady;
105 QSet<IndexedString> m_processed;
111 QSet<IndexedString> m_staticFeaturesManipulated;
/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/editor/
H A Dmodificationrevision.h17 class IndexedString; variable
37 static ModificationRevision revisionForFile(const IndexedString& fileName);
42 static void clearModificationCache(const IndexedString& fileName);
60 static void setEditorRevisionForFile(const IndexedString& filename, int revision);
61 static void clearEditorRevisionForFile(const IndexedString& filename);

12345678910>>...18