/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
QName.java | 15 public class QName 24 * Splits a qname into prefix and localname. 25 * @param qname a QName 27 public QName(String qname) 29 int colon = qname.indexOf(':'); 33 prefix = qname.substring(0, colon); 34 localName = qname.substring(colon + 1); 39 localName = qname; [all...] |
/external/smack/src/com/kenai/jbosh/ |
BodyQName.java | 21 * analagous to the {@code javax.xml.namespace.QName} class. 37 private final QName qname; field in class:BodyQName 42 * @param wrapped QName instance to wrap 45 final QName wrapped) { 46 qname = wrapped; 84 return new BodyQName(new QName(uri, local)); 86 return new BodyQName(new QName(uri, local, prefix)); 96 return qname.getNamespaceURI(); 105 return qname.getLocalPart() [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
DOM2Helper.java | 91 String qname = n.getNodeName(); local 92 int index = qname.indexOf(':'); 94 return (index < 0) ? qname : qname.substring(index + 1);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
QName.java | 19 * $Id: QName.java 468655 2006-10-28 07:12:06Z minchau $ 36 * [12 Variables and Parameters]) is specified as a QName. If it has a prefix, 44 public class QName implements java.io.Serializable 79 * Constructs an empty QName. 82 public QName(){} 85 * Constructs a new QName with the specified namespace URI and 91 public QName(String namespaceURI, String localName) 97 * Constructs a new QName with the specified namespace URI and 102 * @param validate If true the new QName will be validated and an IllegalArgumentException will 105 public QName(String namespaceURI, String localName, boolean validate) 611 QName qname = (QName) object; local 636 QName qname; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
Arg.java | 23 import org.apache.xml.utils.QName; 35 /** Field m_qname: The name of this argument, expressed as a QName 40 private QName m_qname; 45 * @return QName object containing the qualified name 47 public final QName getQName() 55 * @param name QName object representing the new Qualified Name. 57 public final void setQName(QName name) 175 * Construct a dummy parameter argument, with no QName and no 182 m_qname = new QName(""); 193 * @param qname Name of the argument, expressed as a QName object [all...] |
/external/chromium_org/net/dns/ |
dns_query_unittest.cc | 31 0x03, 'w', 'w', 'w', // QNAME: www.example.com in DNS format. 40 base::StringPiece qname(qname_data, sizeof(qname_data)); 41 DnsQuery q1(0xbeef, qname, dns_protocol::kTypeA); 46 EXPECT_EQ(qname, q1.qname()); 56 base::StringPiece qname(qname_data, sizeof(qname_data)); 58 DnsQuery q1(0, qname, dns_protocol::kTypeA);
|
dns_query.h | 21 // Constructs a query message from |qname| which *MUST* be in a valid 23 DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype); 31 base::StringPiece qname() const;
|
dns_query.cc | 21 DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) 22 : qname_size_(qname.size()) { 23 DCHECK(!DNSDomainToString(qname).empty()); 24 // QNAME + QTYPE + QCLASS 38 writer.WriteBytes(qname.data(), qname.size()); 56 base::StringPiece DnsQuery::qname() const { function in class:net::DnsQuery
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncQname.java | 29 * Execute the Qname() function. 53 String qname = dtm.getNodeNameX(context); local 54 val = (null == qname) ? XString.EMPTYSTRING : new XString(qname);
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
JAXPVariableStack.java | 25 import org.apache.xml.utils.QName; 49 public XObject getVariableOrParam(XPathContext xctxt, QName qname) 51 if ( qname == null ) { 56 new Object[] {"Variable qname"} ); 59 javax.xml.namespace.QName name = 60 new javax.xml.namespace.QName( 61 qname.getNamespace(), 62 qname.getLocalPart());
|
/external/chromium_org/net/tools/dns_fuzz_stub/ |
dns_fuzz_stub.cc | 50 uint16* id, std::string* qname, uint16* qtype, 90 if (!dict->GetStringASCII("qname", qname)) { 91 LOG(ERROR) << filename << ": qname is missing or not a string."; 130 << "qname=" << *qname << ", " 137 void RunTestCase(uint16 id, std::string& qname, uint16 qtype, 139 net::DnsQuery query(id, qname, qtype); 169 std::string qname; local 177 if (!ReadTestCase(filename, &id, &qname, &qtype, &resp_buf, &crash_test) 191 LOG(ERROR) << filename << ": DNSDomainFromDot(" << qname << ") failed."; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
AttributesImplSerializer.java | 32 * faster lookup of an index by qName, which is commonly done in the stream 42 * Hash table of qName/index values to quickly lookup the index 43 * of an attributes qName. qNames are in uppercase in the hash table 66 * This method gets the index of an attribute given its qName. 67 * @param qname the qualified name of the attribute, e.g. "prefix1:locName1" 71 public final int getIndex(String qname) 79 index = super.getIndex(qname); 84 Integer i = (Integer)m_indexFromQName.get(qname); 92 * This method adds the attribute, but also records its qName/index pair in 93 * the hashtable for fast lookup by getIndex(qName) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
qname.cc | 28 #include "talk/xmllite/qname.h" 32 QName::QName() { 35 QName::QName(const QName& qname) 36 : namespace_(qname.namespace_), 37 local_part_(qname.local_part_) { 40 QName::QName(const StaticQName& const_value [all...] |
xmlparser.h | 52 virtual QName ResolveQName(const char * qname, bool isAttr) = 0; 92 virtual QName ResolveQName(const char * qname, bool isAttr);
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXWriter.java | 151 public void endElement(String uri, String localname, String qname) throws SAXException { 152 if (qname.length() == 0) qname = localname; 154 theWriter.println(qname); 176 public void startElement(String uri, String localname, String qname, 178 if (qname.length() == 0) qname=localname; 180 theWriter.println(qname); 183 qname = atts.getQName(i); 184 if (qname.length() == 0) qname = atts.getLocalName(i) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemUse.java | 30 import org.apache.xml.utils.QName; 48 private QName m_attributeSetsNames[] = null; 56 * sets. Each name is specified as a QName, which is expanded as 66 m_attributeSetsNames = new QName[n]; 70 m_attributeSetsNames[i] = (QName) v.elementAt(i); 80 * sets. Each name is specified as a QName, which is expanded as 85 public void setUseAttributeSets(QName[] v) 98 * sets. Each name is specified as a QName, which is expanded as 103 public QName[] getUseAttributeSets() 141 TransformerImpl transformer, StylesheetRoot stylesheet, QName attributeSetsNames[] 151 QName qname = attributeSetsNames[i]; local [all...] |
DecimalFormatProperties.java | 25 import org.apache.xml.utils.QName; 32 * name %qname; #IMPLIED 79 * attribute is a QName, which is expanded as described in [2.4 Qualified Names]. 101 private QName m_qname = null; 108 * @param qname The name to set as the "name" attribute. 110 public void setName(QName qname) 112 m_qname = qname; 122 public QName getName() 126 return new QName(""); [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPSchemaRegistry.java | 165 * @param qname 166 * an XML conform qname 167 * @return Returns if an alias definition for the given qname to another 170 XMPAliasInfo findAlias(String qname); 174 * @return Returns the registered aliases as map, where the key is the "qname" (prefix and name)
|
/external/chromium_org/third_party/libxslt/libxslt/ |
xsltutils.c | 730 * @name: the full QName 755 * @node: the node holding the QName 756 * @name: pointer to the initial QName value 774 xmlChar *qname; local 779 qname = *name; 780 if ((qname == NULL) || (*qname == 0)) 784 "QName: no element for namespace lookup %s\n", 785 qname); 786 xmlFree(qname); 848 xmlChar *qname; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExpressionContext.java | 72 * @param qname The qualified name of the variable. 78 public XObject getVariableOrParam(org.apache.xml.utils.QName qname)
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_packet_parser.cc | 26 size_t consumed = ReadName(&result.qname);
|
dns_packet_parser.h | 18 std::string qname; // in dotted form member in struct:DnsQueryRecord
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_xml_parser.cc | 12 #include "third_party/libjingle/source/talk/xmllite/qname.h" 48 buzz::QName qname = context->ResolveQName(name, false); local 49 const std::string& element = qname.LocalPart(); 57 buzz::QName attribute_qname = context->ResolveQName(*attrs, true); 82 buzz::QName attribute_qname = context->ResolveQName(*attrs, true); 111 buzz::QName attribute_qname = context->ResolveQName(*attrs, true); 114 buzz::QName value_qname = context->ResolveQName(*attrs, true); 154 buzz::QName qname = context->ResolveQName(name, false) local [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 212 if (qname) MakeDomainNameFromDNSNameString(&q->qname, qname); 233 //mprintf("%##s %s ?\n", q->qname.c, DNSTypeName(qtype)); 237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 239 mStatus status = StartQuery(q, qname, qtype, target, callback); 249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuestionCallback callback) 251 DoOneQuery(q, qname, qtype, target, callback); 254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype)) [all...] |
/external/chromium_org/third_party/markdown/ |
serializers.py | 76 QName = util.etree.QName 189 if isinstance(k, QName): 191 if isinstance(v, QName): 253 def add_qname(qname): 254 # calculate serialized qname representation 256 if qname[:1] == "{": 257 uri, tag = qname[1:].split("}", 1) 266 qnames[qname] = "%s:%s" % (prefix, tag) 268 qnames[qname] = tag # default elemen [all...] |