/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SymbolCollectorTests.cpp | 57 MATCHER_P(QName, Name, "") { return (arg.Scope + arg.Name).str() == Name; } 346 {AllOf(QName("Foo"), ForCodeCompletion(true)), in TEST_F() 347 AllOf(QName("Foo::Foo"), ForCodeCompletion(false)), in TEST_F() 348 AllOf(QName("Foo::Foo"), ForCodeCompletion(false)), in TEST_F() 349 AllOf(QName("Foo::f"), ForCodeCompletion(false)), in TEST_F() 350 AllOf(QName("Foo::~Foo"), ForCodeCompletion(false)), in TEST_F() 351 AllOf(QName("Foo::operator="), ForCodeCompletion(false)), in TEST_F() 352 AllOf(QName("Foo::Nested"), ForCodeCompletion(false)), in TEST_F() 353 AllOf(QName("Foo::Nested::f"), ForCodeCompletion(false)), in TEST_F() 355 AllOf(QName("Friend"), ForCodeCompletion(true)), in TEST_F() [all …]
|
D | FindSymbolsTests.cpp | 31 MATCHER_P(QName, Name, "") { 65 ElementsAre(AllOf(QName("MACRO"), WithKind(SymbolKind::String)))); in TEST() 92 AllOf(QName("GlobalStruct"), WithKind(SymbolKind::Struct)), in TEST() 93 AllOf(QName("global_func"), WithKind(SymbolKind::Function)), in TEST() 94 AllOf(QName("global_var"), WithKind(SymbolKind::Variable)))); in TEST() 107 ElementsAre(AllOf(QName("UnnamedStruct"), in TEST() 110 ElementsAre(AllOf(QName("(anonymous struct)::InUnnamed"), in TEST() 121 ElementsAre(QName("test"), QName("test2"))); in TEST() 142 QName("ans1"), QName("ans1::ai1"), QName("ans1::ans2"), in TEST() 143 QName("ans1::ans2::ai2"), QName("ans1::ans2::ans3"), in TEST() [all …]
|
D | TestIndex.cpp | 16 Symbol symbol(llvm::StringRef QName) { in symbol() argument 18 Sym.ID = SymbolID(QName.str()); in symbol() 19 size_t Pos = QName.rfind("::"); in symbol() 21 Sym.Name = QName; in symbol() 24 Sym.Name = QName.substr(Pos + 2); in symbol() 25 Sym.Scope = QName.substr(0, Pos + 2); in symbol() 39 Symbol sym(llvm::StringRef QName, index::SymbolKind Kind, in sym() argument 43 size_t Pos = QName.rfind("::"); in sym() 45 Sym.Name = QName; in sym() 48 Sym.Name = QName.substr(Pos + 2); in sym() [all …]
|
D | FileIndexTests.cpp | 62 MATCHER_P(QName, N, "") { return (arg.Scope + arg.Name).str() == N; } 111 UnorderedElementsAre(QName("1"), QName("2"), QName("3"))); in TEST() 122 UnorderedElementsAre(QName("1"), QName("2"), QName("3"), in TEST() 123 QName("4"), QName("5"))); in TEST() 144 AllOf(QName("x"), DeclURI("file:///x1"), DefURI("file:///x2")))); in TEST() 155 UnorderedElementsAre(QName("1"), QName("2"), QName("3"))); in TEST() 164 UnorderedElementsAre(QName("1"), QName("2"), QName("3"))); in TEST() 195 UnorderedElementsAre(QName("ns::f"), QName("ns::X"))); in TEST() 204 UnorderedElementsAre(QName("ns"), QName("ns::f"), QName("ns::X"))); in TEST() 216 UnorderedElementsAre(QName("ns::f"), QName("ns::X"), QName("ns::ff"))); in TEST() [all …]
|
/external/llvm-project/clang/unittests/Index/ |
D | IndexTests.cpp | 57 std::string QName; member 66 return OS << S.QName << '[' << S.WrittenPos << ']' << '@' << S.DeclPos << '(' in operator <<() 85 S.QName = ND->getQualifiedNameAsString(); in handleDeclOccurrence() 98 S.QName = std::string(Name->getName()); in handleMacroOccurrence() 150 MATCHER_P(QName, Name, "") { return arg.QName == Name; } 160 EXPECT_THAT(Index->Symbols, UnorderedElementsAre(QName("X"), QName("f"))); in TEST() 169 EXPECT_THAT(Index->Symbols, Contains(QName("INDEX_MAC"))); in TEST() 184 EXPECT_THAT(Index->Symbols, Contains(QName("bar"))); in TEST() 189 EXPECT_THAT(Index->Symbols, Not(Contains(QName("bar")))); in TEST() 207 AllOf(Contains(AllOf(QName("Foo"), WrittenAt(Position(8, 7)), in TEST() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | OutputProperties.java | 35 import org.apache.xml.utils.QName; 118 public void setProperty(QName key, String value) in setProperty() 153 public String getProperty(QName key) in getProperty() 182 public void setBooleanProperty(QName key, boolean value) in setBooleanProperty() 210 public boolean getBooleanProperty(QName key) in getBooleanProperty() 238 public void setIntProperty(QName key, int value) in setIntProperty() 266 public int getIntProperty(QName key) in getIntProperty() 296 public void setQNameProperty(QName key, QName value) in setQNameProperty() 339 public void setQNameProperty(String key, QName value) in setQNameProperty() 354 public QName getQNameProperty(QName key) in getQNameProperty() [all …]
|
D | ElemUse.java | 30 import org.apache.xml.utils.QName; 48 private QName m_attributeSetsNames[] = null; 66 m_attributeSetsNames = new QName[n]; in setUseAttributeSets() 70 m_attributeSetsNames[i] = (QName) v.elementAt(i); in setUseAttributeSets() 85 public void setUseAttributeSets(QName[] v) in setUseAttributeSets() 103 public QName[] getUseAttributeSets() in getUseAttributeSets() 141 TransformerImpl transformer, StylesheetRoot stylesheet, QName attributeSetsNames[]) in applyAttrSets() 151 QName qname = attributeSetsNames[i]; in applyAttrSets()
|
D | ElemTemplate.java | 27 import org.apache.xml.utils.QName; 196 private QName m_name = null; 207 public void setName(QName v) in setName() 221 public QName getName() in getName() 231 private QName m_mode; 242 public void setMode(QName v) in setMode() 256 public QName getMode() in getMode()
|
D | DecimalFormatProperties.java | 25 import org.apache.xml.utils.QName; 101 private QName m_qname = null; 110 public void setName(QName qname) in setName() 122 public QName getName() in getName() 126 return new QName(""); in getName()
|
D | TemplateSubPatternAssociation.java | 27 import org.apache.xml.utils.QName; 121 boolean matchMode(QName m1) in matchMode() 134 private boolean matchModes(QName m1, QName m2) in matchModes() 151 public boolean matches(XPathContext xctxt, int targetNode, QName mode) in matches()
|
D | KeyDeclaration.java | 23 import org.apache.xml.utils.QName; 55 private QName m_name; 65 public void setName(QName name) in setName() 78 public QName getName() in getName()
|
D | ElemAttributeSet.java | 28 import org.apache.xml.utils.QName; 50 public QName m_qname = null; 58 public void setName(QName name) in setName() 69 public QName getName() in getName()
|
D | ElemElement.java | 28 import org.apache.xml.utils.QName; 227 prefix = QName.getPrefixPart(nodeName); in execute() 245 nodeName = (prefix + ":" + QName.getLocalPart(nodeName)); in execute() 247 nodeName = QName.getLocalPart(nodeName); in execute() 327 rhandler.startElement(nodeNamespace, QName.getLocalPart(nodeName), in constructNode() 340 rhandler.endElement(nodeNamespace, QName.getLocalPart(nodeName), in constructNode()
|
D | ElemWithParam.java | 27 import org.apache.xml.utils.QName; 94 private QName m_qname = null; 104 public void setName(QName v) in setName() 115 public QName getName() in getName()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | QName.java | 44 public class QName implements java.io.Serializable class 82 public QName(){} in QName() method in QName 91 public QName(String namespaceURI, String localName) in QName() method in QName 105 public QName(String namespaceURI, String localName, boolean validate) in QName() method in QName 137 public QName(String namespaceURI, String prefix, String localName) in QName() method in QName 152 public QName(String namespaceURI, String prefix, String localName, boolean validate) in QName() method in QName 189 public QName(String localName) in QName() method in QName 202 public QName(String localName, boolean validate) in QName() method in QName 232 public QName(String qname, Stack namespaces) in QName() method in QName 247 public QName(String qname, Stack namespaces, boolean validate) in QName() method in QName [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | Arg.java | 23 import org.apache.xml.utils.QName; 40 private QName m_qname; 47 public final QName getQName() in getQName() 57 public final void setQName(QName name) in setQName() 182 m_qname = new QName(""); in Arg() 197 public Arg(QName qname, String expression, boolean isFromWithParam) in Arg() 214 public Arg(QName qname, XObject val) in Arg() 234 if(obj instanceof QName) in equals() 249 public Arg(QName qname, XObject val, boolean isFromWithParam) in Arg()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/ |
D | TestJacksonAnnotationIntrospector.java | 7 import javax.xml.namespace.QName; 36 protected QName qname; 39 public QName getQname() in getQname() 45 public void setQname(QName qname) in setQname() 97 public static class QNameSerializer extends JsonSerializer<QName> { 100 public void serialize(QName value, JsonGenerator jgen, SerializerProvider provider) in serialize() 108 public static class QNameDeserializer extends StdDeserializer<QName> 110 public QNameDeserializer() { super(QName.class); } in QNameDeserializer() 112 public QName deserialize(JsonParser jp, DeserializationContext ctxt) in deserialize() 115 return QName.valueOf(jp.readValueAs(String.class)); in deserialize() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/ |
D | TestCoreXMLTypes.java | 4 import javax.xml.namespace.QName; 29 QName qn = new QName("http://abc", "tag", "prefix"); in testQNameSer() 96 sers.findBeanDeserializer(f.constructType(QName.class), null, null); in testDeserializerLoading() 101 QName qn = new QName("http://abc", "tag", "prefix"); in testQNameDeser() 105 qn, mapper.readValue(quote(qstr), QName.class)); in testQNameDeser()
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
D | KeyIterator.java | 32 import org.apache.xml.utils.QName; 48 private QName m_name; 56 public QName getName() in getName() 81 KeyIterator(QName name, Vector keyDeclarations) in KeyIterator() 107 QName name = ki.getName(); in acceptNode()
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | ProcessorOutputElem.java | 29 import org.apache.xml.utils.QName; 112 public void setMethod(org.apache.xml.utils.QName newValue) in setMethod() 153 QName key = new QName(attrUri, attrLocalName); in setForeignAttr() 163 QName key = new QName(attrUri, attrLocalName); in addLiteralResultAttribute()
|
/external/markdown/markdown/ |
D | html4.py | 42 QName = markdown.etree.QName variable 148 if isinstance(k, QName): 150 if isinstance(v, QName): 248 if isinstance(tag, QName) and tag.text not in qnames: 256 if isinstance(key, QName): 260 if isinstance(value, QName) and value.text not in qnames: 263 if isinstance(text, QName) and text.text not in qnames:
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
D | JAXPVariableStack.java | 25 import org.apache.xml.utils.QName; 49 public XObject getVariableOrParam(XPathContext xctxt, QName qname) in getVariableOrParam() 59 javax.xml.namespace.QName name = in getVariableOrParam() 60 new javax.xml.namespace.QName( in getVariableOrParam()
|
D | JAXPExtensionsProvider.java | 38 import javax.xml.namespace.QName; 74 javax.xml.namespace.QName myQName = new QName( ns, funcName ); in functionAvailable() 111 javax.xml.namespace.QName myQName = new QName( ns, funcName ); in extFunction() 167 javax.xml.namespace.QName myQName = in extFunction() 168 new javax.xml.namespace.QName( namespace, functionName ); in extFunction()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | QName.java | 15 public class QName class 27 public QName(String qname) in QName() method in QName 48 public QName(String prefix, String localName) in QName() method in QName
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
D | Variable.java | 26 import org.apache.xml.utils.QName; 51 protected QName m_qname; 124 QName qn = (QName)vars.elementAt(i); in fixupVariables() 158 public void setQName(QName qname) in setQName() 168 public QName getQName() in getQName()
|