/dports/chinese/libpinyin/libpinyin-2.3.0/src/storage/ |
H A D | chewing_large_table2.h | 60 const IndexItem * begin, const IndexItem * end, in convert() 113 const IndexItem * begin = (IndexItem *) m_chunk.begin(); in search() 114 const IndexItem * end = (IndexItem *) m_chunk.end(); in search() 126 const IndexItem * begin = (IndexItem *) m_chunk.begin(); in add_index() 127 const IndexItem * end = (IndexItem *) m_chunk.end(); in add_index() 151 const IndexItem * begin = (IndexItem *) m_chunk.begin(); in remove_index() 152 const IndexItem * end = (IndexItem *) m_chunk.end(); in remove_index() 177 const IndexItem * begin = (IndexItem *) m_chunk.begin(); in get_length() 178 const IndexItem * end = (IndexItem *) m_chunk.end(); in get_length() 185 const IndexItem * begin = (IndexItem *) m_chunk.begin(); in mask_out() [all …]
|
H A D | phrase_large_table2.cpp | 246 IndexItem search_elem(phrase, -1); in search() 247 std_lite::pair<IndexItem *, IndexItem *> range; in search() 257 const IndexItem * iter = NULL; in search() 413 IndexItem * begin, * end; in add_index() 415 IndexItem add_elem(phrase, token); in add_index() 419 std_lite::pair<IndexItem *, IndexItem *> range; in add_index() 423 IndexItem * cur_elem; in add_index() 440 IndexItem * begin, * end; in remove_index() 446 std_lite::pair<IndexItem *, IndexItem *> range; in remove_index() 450 IndexItem * cur_elem; in remove_index() [all …]
|
H A D | chewing_large_table.cpp | 77 IndexItem * begin, 78 IndexItem * end, 428 IndexItem * begin, IndexItem * end, in convert() 430 IndexItem * iter = NULL; in convert() 611 IndexItem * begin, * end; in add_index() 613 IndexItem add_elem(keys, token); in add_index() 617 std_lite::pair<IndexItem *, IndexItem *> range; in add_index() 621 IndexItem * cur_elem; in add_index() 638 IndexItem * begin, * end; in remove_index() 644 std_lite::pair<IndexItem *, IndexItem *> range; in remove_index() [all …]
|
/dports/games/chessx/chessx-1.5.6/src/database/ |
H A D | indexitem.cpp | 20 IndexItem::IndexItem() in IndexItem() function in IndexItem 24 IndexItem::~IndexItem() in ~IndexItem() 29 void IndexItem::set(TagIndex tagIndex, ValueIndex valueIndex) in set() 34 void IndexItem::remove(TagIndex tagIndex) in remove() 39 ValueIndex IndexItem::valueIndex(TagIndex tagIndex) const in valueIndex() 44 bool IndexItem::hasTagIndex(TagIndex tagIndex) const in hasTagIndex() 49 const QList<TagIndex> IndexItem::getTagIndices() const in getTagIndices() 54 void IndexItem::write(QDataStream& out) const in write() 59 void IndexItem::read(QDataStream& in) in read() 71 QDataStream & operator>>(QDataStream & stream, IndexItem & obj) in operator >>() [all …]
|
H A D | indexitem.h | 35 class IndexItem 38 IndexItem(); 39 ~IndexItem(); 62 bool isEqual(const IndexItem& rhs) const; 67 friend QDataStream &operator<<(QDataStream&, const IndexItem&); 68 friend QDataStream &operator>>(QDataStream&, IndexItem&);
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | IndexBuilder.java | 66 private final Map<IndexItem.Category, SortedSet<IndexItem>> itemsByCategory; 84 private final Comparator<IndexItem> mainComparator; 163 public void add(IndexItem item) { in add() 205 public SortedSet<IndexItem> getItems(IndexItem.Category cat) { in getItems() 260 add(IndexItem.of(typeElement, utils)); in indexTypeElements() 270 add(IndexItem.of(m, utils)); in indexModules() 281 add(IndexItem.of(packageElement, utils)); in indexPackage() 324 Comparator<IndexItem> labelComparator = in makeIndexComparator() 326 Comparator<IndexItem> searchTagComparator = in makeIndexComparator() 356 Comparator<IndexItem> simpleNameComparator = [all …]
|
H A D | IndexItem.java | 84 public class IndexItem { class 166 public static IndexItem of(TypeElement typeElement, Utils utils) { in of() 189 return new IndexItem(member, name) { in of() 222 return new IndexItem(element, label, link.toString()) { 254 return new IndexItem(null, label, path.getPath()) { 274 private IndexItem(Element element, String label) { 283 private IndexItem(Element element, String label, String url) { 441 public IndexItem setUrl(String u) { 462 public IndexItem setContainingModule(String m) { 474 public IndexItem setContainingPackage(String p) { [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | IndexBuilder.java | 66 private final Map<IndexItem.Category, SortedSet<IndexItem>> itemsByCategory; 84 private final Comparator<IndexItem> mainComparator; 163 public void add(IndexItem item) { in add() 205 public SortedSet<IndexItem> getItems(IndexItem.Category cat) { in getItems() 260 add(IndexItem.of(typeElement, utils)); in indexTypeElements() 270 add(IndexItem.of(m, utils)); in indexModules() 281 add(IndexItem.of(packageElement, utils)); in indexPackage() 324 Comparator<IndexItem> labelComparator = in makeIndexComparator() 326 Comparator<IndexItem> searchTagComparator = in makeIndexComparator() 356 Comparator<IndexItem> simpleNameComparator = [all …]
|
H A D | IndexItem.java | 84 public class IndexItem { class 166 public static IndexItem of(TypeElement typeElement, Utils utils) { in of() 189 return new IndexItem(member, name) { in of() 222 return new IndexItem(element, label, link.toString()) { 254 return new IndexItem(null, label, path.getPath()) { 274 private IndexItem(Element element, String label) { 283 private IndexItem(Element element, String label, String url) { 440 public IndexItem setUrl(String u) { 461 public IndexItem setContainingModule(String m) { 473 public IndexItem setContainingPackage(String p) { [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cpptools/ |
H A D | indexitem.cpp | 32 IndexItem::Ptr IndexItem::create(const QString &symbolName, const QString &symbolType, in create() 33 const QString &symbolScope, IndexItem::ItemType type, in create() 36 Ptr ptr(new IndexItem); in create() 50 IndexItem::Ptr IndexItem::create(const QString &fileName, int sizeHint) in create() 52 Ptr ptr(new IndexItem); in create() 63 bool IndexItem::unqualifiedNameAndScope(const QString &defaultName, QString *name, in unqualifiedNameAndScope() 78 QString IndexItem::representDeclaration() const in representDeclaration() 89 QString IndexItem::shortNativeFilePath() const in shortNativeFilePath() 94 void IndexItem::squeeze() in squeeze()
|
H A D | cpplocatorfilter.cpp | 51 Core::LocatorFilterEntry CppLocatorFilter::filterEntryFromIndexItem(IndexItem::Ptr info) in filterEntryFromIndexItem() 55 if (info->type() == IndexItem::Class || info->type() == IndexItem::Enum) in filterEntryFromIndexItem() 68 const IndexItem::ItemType wanted = matchTypes(); in matchesFor() 77 m_data->filterAllFiles([&](const IndexItem::Ptr &info) -> IndexItem::VisitorResult { in matchesFor() 79 return IndexItem::Break; in matchesFor() 80 const IndexItem::ItemType type = info->type(); in matchesFor() 87 if (!match.hasMatch() && (type == IndexItem::Function)) { in matchesFor() 124 if (info->type() & IndexItem::Enum) in matchesFor() 125 return IndexItem::Continue; in matchesFor() 127 return IndexItem::Recurse; in matchesFor() [all …]
|
H A D | searchsymbols.cpp | 40 using ScopedIndexItemPtr = Utils::ScopedSwap<IndexItem::Ptr>; 62 IndexItem::Ptr root = IndexItem::create(Internal::StringTable::insert(doc->fileName()), 100); in operator ()() 69 QTC_ASSERT(_parent, return IndexItem::Ptr()); in operator ()() 70 QTC_ASSERT(root, return IndexItem::Ptr()); in operator ()() 72 return IndexItem::Ptr()); in operator ()() 91 IndexItem::Ptr newParent = addChildItem(name, QString(), _scope, IndexItem::Enum, symbol); in visit() 145 symbol->type()->asFunctionType() ? IndexItem::Function in visit() 291 return IndexItem::Ptr(); in addChildItem() 301 IndexItem::Ptr newItem = IndexItem::create(Internal::StringTable::insert(symbolName), in addChildItem() 318 IndexItem::Ptr newParent; in processClass() [all …]
|
H A D | cppcurrentdocumentfilter.cpp | 72 const QList<IndexItem::Ptr> items = itemsOfCurrentDocument(); in matchesFor() 73 for (const IndexItem::Ptr &info : items) { in matchesFor() 78 if (info->type() == IndexItem::Declaration) in matchesFor() 80 else if (info->type() == IndexItem::Function) in matchesFor() 89 if (info->type() == IndexItem::Function) { in matchesFor() 126 IndexItem::Ptr info = qvariant_cast<CppTools::IndexItem::Ptr>(selection.internalData); in accept() 159 QList<CppTools::IndexItem::Ptr> CppCurrentDocumentFilter::itemsOfCurrentDocument() in itemsOfCurrentDocument() 164 return QList<CppTools::IndexItem::Ptr>(); in itemsOfCurrentDocument() 169 IndexItem::Ptr rootNode = search(thisDocument); in itemsOfCurrentDocument() 170 rootNode->visitAllChildren([&](const IndexItem::Ptr &info) -> IndexItem::VisitorResult { in itemsOfCurrentDocument() [all …]
|
H A D | indexitem.h | 38 class CPPTOOLS_EXPORT IndexItem 40 Q_DISABLE_COPY(IndexItem) 42 IndexItem() = default; 55 using Ptr = QSharedPointer<IndexItem>; 88 void addChild(IndexItem::Ptr childItem) { m_children.append(childItem); } in addChild() 97 using Visitor = std::function<VisitorResult (const IndexItem::Ptr &)>; 102 foreach (const IndexItem::Ptr &child, m_children) { in visitAllChildren() 129 QVector<IndexItem::Ptr> m_children; 134 Q_DECLARE_METATYPE(CppTools::IndexItem::Ptr)
|
H A D | cpplocatordata.h | 47 void filterAllFiles(IndexItem::Visitor func) const in filterAllFiles() 51 QHash<QString, IndexItem::Ptr> infosByFile = m_infosByFile; in filterAllFiles() 54 if (i.value()->visitAllChildren(func) == IndexItem::Break) in filterAllFiles() 67 mutable QHash<QString, IndexItem::Ptr> m_infosByFile;
|
H A D | searchsymbols.h | 52 IndexItem::Ptr operator()(CPlusPlus::Document::Ptr doc) in operator() 55 IndexItem::Ptr operator()(CPlusPlus::Document::Ptr doc, const QString &scope); 91 IndexItem::Ptr addChildItem(const QString &symbolName, const QString &symbolType, 92 const QString &symbolScope, IndexItem::ItemType type, 100 IndexItem::Ptr _parent;
|
H A D | cppfunctionsfilter.h | 43 IndexItem::ItemType matchTypes() const override { return IndexItem::Function; } in matchTypes() 44 Core::LocatorFilterEntry filterEntryFromIndexItem(IndexItem::Ptr info) override;
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | IndexBuilder.java | 56 private final Map<Character, SortedSet<IndexItem>> indexMap; 70 private final Comparator<IndexItem> comparator; 168 set.add(new IndexItem(element, typeElement, configuration.utils)); in indexElements() 184 set.add(new IndexItem(typeElement, configuration.utils)); in indexTypeElements() 199 SortedSet<IndexItem> set = indexMap.computeIfAbsent(ch, c -> new TreeSet<>(comparator)); in indexModules() 200 set.add(new IndexItem(m, configuration.utils)); in indexModules() 213 set.add(new IndexItem(packageElement, configuration.utils)); in indexPackage() 244 public Map<Character, SortedSet<IndexItem>> asMap() { in asMap() 255 public List<IndexItem> getMemberList(Character key) { in getMemberList() 256 SortedSet<IndexItem> set = indexMap.get(key); in getMemberList() [all …]
|
H A D | IndexItem.java | 44 public class IndexItem { class 51 public IndexItem(SearchIndexItem searchTag) { in IndexItem() method in IndexItem 57 private IndexItem(Element element) { in IndexItem() method in IndexItem 62 public IndexItem(TypeElement typeElement, Utils utils) { in IndexItem() method in IndexItem 67 public IndexItem(ModuleElement moduleElement, Utils utils) { in IndexItem() method in IndexItem 72 public IndexItem(PackageElement packageElement, Utils utils) { in IndexItem() method in IndexItem 77 public IndexItem(Element member, TypeElement typeElement, Utils utils) { in IndexItem() method in IndexItem
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ |
H A D | HtmlIndexBuilder.java | 45 import jdk.javadoc.internal.doclets.toolkit.util.IndexItem; 94 for (IndexItem item : getItems(ch)) { in addElements() 101 for (IndexItem item : getItems(ch)) { in addElements() 111 private void addContainingInfo(IndexItem item, boolean addModuleInfo) { in addContainingInfo() 166 IndexItem item = IndexItem.of(IndexItem.Category.PACKAGES, in createSearchIndexFiles() 171 IndexItem item = IndexItem.of(IndexItem.Category.TYPES, in createSearchIndexFiles() 176 for (IndexItem.Category category : IndexItem.Category.values()) { in createSearchIndexFiles() 217 SortedSet<IndexItem> indexItems, in createSearchIndexFile() 227 for (IndexItem item : indexItems) { in createSearchIndexFile()
|
H A D | SystemPropertiesWriter.java | 43 import jdk.javadoc.internal.doclets.toolkit.util.IndexItem; 120 configuration.mainIndex.add(IndexItem.of(IndexItem.Category.TAGS, title, path)); in buildSystemPropertiesPage() 130 Map<String, List<IndexItem>> searchIndexMap = groupSystemProperties(); in addSystemProperties() 136 for (Entry<String, List<IndexItem>> entry : searchIndexMap.entrySet()) { in addSystemProperties() 138 List<IndexItem> searchIndexItems = entry.getValue(); in addSystemProperties() 150 private Map<String, List<IndexItem>> groupSystemProperties() { in groupSystemProperties() 152 .collect(groupingBy(IndexItem::getLabel, TreeMap::new, toList())); in groupSystemProperties() 155 private Content createLink(IndexItem i) { in createLink()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ |
H A D | HtmlIndexBuilder.java | 45 import jdk.javadoc.internal.doclets.toolkit.util.IndexItem; 94 for (IndexItem item : getItems(ch)) { in addElements() 101 for (IndexItem item : getItems(ch)) { in addElements() 111 private void addContainingInfo(IndexItem item, boolean addModuleInfo) { in addContainingInfo() 166 IndexItem item = IndexItem.of(IndexItem.Category.PACKAGES, in createSearchIndexFiles() 171 IndexItem item = IndexItem.of(IndexItem.Category.TYPES, in createSearchIndexFiles() 176 for (IndexItem.Category category : IndexItem.Category.values()) { in createSearchIndexFiles() 217 SortedSet<IndexItem> indexItems, in createSearchIndexFile() 227 for (IndexItem item : indexItems) { in createSearchIndexFile()
|
H A D | SystemPropertiesWriter.java | 42 import jdk.javadoc.internal.doclets.toolkit.util.IndexItem; 117 configuration.mainIndex.add(IndexItem.of(IndexItem.Category.TAGS, title, path)); in buildSystemPropertiesPage() 127 Map<String, List<IndexItem>> searchIndexMap = groupSystemProperties(); in addSystemProperties() 133 for (Entry<String, List<IndexItem>> entry : searchIndexMap.entrySet()) { in addSystemProperties() 135 List<IndexItem> searchIndexItems = entry.getValue(); in addSystemProperties() 147 private Map<String, List<IndexItem>> groupSystemProperties() { in groupSystemProperties() 149 … .collect(groupingBy(IndexItem::getLabel, TreeMap::new, Collectors.toCollection(ArrayList::new))); in groupSystemProperties() 152 private Content createLink(IndexItem i) { in createLink()
|
/dports/java/javahelp/javahelp-3ca862d/jhMaster/JavaHelp/src/new/javax/help/ |
H A D | IndexItem.java | 42 public class IndexItem extends TreeItem { class 51 public IndexItem(ID id, HelpSet hs, Locale locale) { in IndexItem() method in IndexItem 61 public IndexItem(ID id, Locale locale) { in IndexItem() method in IndexItem 73 public IndexItem() { in IndexItem() method in IndexItem
|
/dports/java/javahelp/javahelp-3ca862d/jhMaster/JavaHelp/src/new/javax/help/plaf/basic/ |
H A D | BasicGlossaryNavigatorUI.java | 322 IndexItem indexItem = (IndexItem)node.getUserObject(); in findNodes() 451 IndexItem item = (IndexItem) child.getUserObject(); in remove() 477 IndexItem itemOne = (IndexItem) childOne.getUserObject(); in remove() 499 IndexItem item = (IndexItem)node.getUserObject(); in setVisibility() 534 IndexItem item = (IndexItem) tn.getUserObject(); in idChanged() 558 IndexItem item = (IndexItem) node.getUserObject(); in findID() 625 IndexItem item = (IndexItem) items[0]; in valueChanged() 706 IndexItem item = (IndexItem) node.getUserObject(); in searchName()
|