Home
last modified time | relevance | path

Searched refs:qname (Results 1 – 25 of 113) sorted by relevance

12345

/external/apache-xml/src/main/java/org/apache/xml/utils/
DQName.java232 public QName(String qname, Stack namespaces) in QName() argument
234 this(qname, namespaces, false); in QName()
247 public QName(String qname, Stack namespaces, boolean validate) in QName() argument
252 int indexOfNSSep = qname.indexOf(':'); in QName()
256 prefix = qname.substring(0, indexOfNSSep); in QName()
300 ? qname : qname.substring(indexOfNSSep + 1); in QName()
324 public QName(String qname, Element namespaceContext, in QName() argument
327 this(qname, namespaceContext, resolver, false); in QName()
341 public QName(String qname, Element namespaceContext, in QName() argument
347 int indexOfNSSep = qname.indexOf(':'); in QName()
[all …]
/external/smack/src/com/kenai/jbosh/
DBodyQName.java37 private final QName qname; field in BodyQName
46 qname = wrapped; in BodyQName()
96 return qname.getNamespaceURI(); in getNamespaceURI()
105 return qname.getLocalPart(); in getLocalPart()
115 return qname.getPrefix(); in getPrefix()
125 return qname.equals(other.qname); in equals()
136 return qname.hashCode(); in hashCode()
162 return qname.equals(otherName); in equalsQName()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DPYXWriter.java151 public void endElement(String uri, String localname, String qname) throws SAXException { in endElement() argument
152 if (qname.length() == 0) qname = localname; in endElement()
154 theWriter.println(qname); in endElement()
176 public void startElement(String uri, String localname, String qname, in startElement() argument
178 if (qname.length() == 0) qname=localname; in startElement()
180 theWriter.println(qname); in startElement()
183 qname = atts.getQName(i); in startElement()
184 if (qname.length() == 0) qname = atts.getLocalName(i); in startElement()
187 theWriter.print(qname); in startElement()
/external/chromium_org/net/dns/
Ddns_query_unittest.cc40 base::StringPiece qname(qname_data, sizeof(qname_data)); in TEST() local
41 DnsQuery q1(0xbeef, qname, dns_protocol::kTypeA); in TEST()
46 EXPECT_EQ(qname, q1.qname()); in TEST()
56 base::StringPiece qname(qname_data, sizeof(qname_data)); in TEST() local
58 DnsQuery q1(0, qname, dns_protocol::kTypeA); in TEST()
Ddns_query.cc21 DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype) in DnsQuery() argument
22 : qname_size_(qname.size()) { in DnsQuery()
23 DCHECK(!DNSDomainToString(qname).empty()); in DnsQuery()
38 writer.WriteBytes(qname.data(), qname.size()); in DnsQuery()
56 base::StringPiece DnsQuery::qname() const { in qname() function in net::DnsQuery
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DQName.java27 public QName(String qname) in QName() argument
29 int colon = qname.indexOf(':'); in QName()
33 prefix = qname.substring(0, colon); in QName()
34 localName = qname.substring(colon + 1); in QName()
39 localName = qname; in QName()
/external/chromium_org/net/tools/dns_fuzz_stub/
Ddns_fuzz_stub.cc50 uint16* id, std::string* qname, uint16* qtype, in ReadTestCase() argument
90 if (!dict->GetStringASCII("qname", qname)) { in ReadTestCase()
130 << "qname=" << *qname << ", " in ReadTestCase()
137 void RunTestCase(uint16 id, std::string& qname, uint16 qtype, in RunTestCase() argument
139 net::DnsQuery query(id, qname, qtype); in RunTestCase()
169 std::string qname; in ReadAndRunTestCase() local
177 if (!ReadTestCase(filename, &id, &qname, &qtype, &resp_buf, &crash_test)) in ReadAndRunTestCase()
190 if (!net::DNSDomainFromDot(qname, &qname_dns)) { in ReadAndRunTestCase()
191 LOG(ERROR) << filename << ": DNSDomainFromDot(" << qname << ") failed."; in ReadAndRunTestCase()
/external/apache-xml/src/main/java/org/apache/xpath/
DArg.java197 public Arg(QName qname, String expression, boolean isFromWithParam) in Arg() argument
200 m_qname = qname; in Arg()
214 public Arg(QName qname, XObject val) in Arg() argument
217 m_qname = qname; in Arg()
249 public Arg(QName qname, XObject val, boolean isFromWithParam) in Arg() argument
252 m_qname = qname; in Arg()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DDOM2Helper.java91 String qname = n.getNodeName(); in getLocalNameOfNodeFallback() local
92 int index = qname.indexOf(':'); in getLocalNameOfNodeFallback()
94 return (index < 0) ? qname : qname.substring(index + 1); in getLocalNameOfNodeFallback()
/external/chromium_org/third_party/libxslt/libxslt/
Dxsltutils.c774 xmlChar *qname; in xsltGetQNameURI() local
779 qname = *name; in xsltGetQNameURI()
780 if ((qname == NULL) || (*qname == 0)) in xsltGetQNameURI()
785 qname); in xsltGetQNameURI()
786 xmlFree(qname); in xsltGetQNameURI()
792 if (qname[0] == ':') in xsltGetQNameURI()
799 while ((qname[len] != 0) && (qname[len] != ':')) in xsltGetQNameURI()
802 if (qname[len] == 0) in xsltGetQNameURI()
808 if ((qname[0] == 'x') && (qname[1] == 'm') && in xsltGetQNameURI()
809 (qname[2] == 'l') && (qname[3] == ':')) { in xsltGetQNameURI()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java71 public final int getIndex(String qname) in getIndex() argument
79 index = super.getIndex(qname); in getIndex()
84 Integer i = (Integer)m_indexFromQName.get(qname); in getIndex()
106 String qname, in addAttribute() argument
111 super.addAttribute(uri, local, qname, type, val); in addAttribute()
128 m_indexFromQName.put(qname, i); in addAttribute()
DSerializerBase.java277 protected String patchName(String qname) in patchName() argument
281 final int lastColon = qname.lastIndexOf(':'); in patchName()
284 final int firstColon = qname.indexOf(':'); in patchName()
285 final String prefix = qname.substring(0, firstColon); in patchName()
286 final String localName = qname.substring(lastColon + 1); in patchName()
297 return qname; in patchName()
306 protected static String getLocalName(String qname) in getLocalName() argument
308 final int col = qname.lastIndexOf(':'); in getLocalName()
309 return (col > 0) ? qname.substring(col + 1) : qname; in getLocalName()
819 protected static final String getPrefixPart(String qname) in getPrefixPart() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DJAXPVariableStack.java49 public XObject getVariableOrParam(XPathContext xctxt, QName qname) in getVariableOrParam() argument
51 if ( qname == null ) { in getVariableOrParam()
61 qname.getNamespace(), in getVariableOrParam()
62 qname.getLocalPart()); in getVariableOrParam()
/external/markdown/markdown/
Dhtml4.py214 def add_qname(qname): argument
217 if qname[:1] == "{":
218 uri, tag = qname[1:].split("}", 1)
227 qnames[qname] = encode("%s:%s" % (prefix, tag))
229 qnames[qname] = encode(tag) # default element
237 qnames[qname] = encode(qname)
239 _raise_serialization_error(qname)
/external/chromium_org/third_party/markdown/
Dserializers.py253 def add_qname(qname): argument
256 if qname[:1] == "{":
257 uri, tag = qname[1:].split("}", 1)
266 qnames[qname] = "%s:%s" % (prefix, tag)
268 qnames[qname] = tag # default element
275 qnames[qname] = qname
277 _raise_serialization_error(qname)
/external/mdnsresponder/mDNSPosix/
DIdentify.c209 mDNSlocal mStatus StartQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mD… in StartQuery() argument
212 if (qname) MakeDomainNameFromDNSNameString(&q->qname, qname); in StartQuery()
237 mDNSlocal void DoOneQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQ… in DoOneQuery() argument
239 mStatus status = StartQuery(q, qname, qtype, target, callback); in DoOneQuery()
249 mDNSlocal int DoQuery(DNSQuestion *q, char *qname, mDNSu16 qtype, const mDNSAddr *target, mDNSQuest… in DoQuery() argument
251 DoOneQuery(q, qname, qtype, target, callback); in DoQuery()
254 mprintf("%##s %s Trying multicast\n", q->qname.c, DNSTypeName(q->qtype)); in DoQuery()
255 DoOneQuery(q, qname, qtype, NULL, callback); in DoQuery()
258 mprintf("%##s %s *** No Answer ***\n", q->qname.c, DNSTypeName(q->qtype)); in DoQuery()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncQname.java53 String qname = dtm.getNodeNameX(context); in execute() local
54 val = (null == qname) ? XString.EMPTYSTRING : new XString(qname); in execute()
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dxmlparser.cc206 XmlParser::ParseContext::ResolveQName(const char* qname, bool isAttr) { in ResolveQName() argument
208 for (c = qname; *c; ++c) { in ResolveQName()
211 xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName()
218 return QName(STR_EMPTY, qname); in ResolveQName()
224 return QName(result.first, qname); in ResolveQName()
Dqname.cc18 QName::QName(const QName& qname) in QName() argument
19 : namespace_(qname.namespace_), in QName()
20 local_part_(qname.local_part_) { in QName()
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dxmlparser.cc223 XmlParser::ParseContext::ResolveQName(const char* qname, bool isAttr) { in ResolveQName() argument
225 for (c = qname; *c; ++c) { in ResolveQName()
228 xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName()
235 return QName(STR_EMPTY, qname); in ResolveQName()
241 return QName(result.first, qname); in ResolveQName()
Dqname.cc35 QName::QName(const QName& qname) in QName() argument
36 : namespace_(qname.namespace_), in QName()
37 local_part_(qname.local_part_) { in QName()
/external/chromium_org/cloud_print/gcp20/prototype/
Ddns_sd_server.cc203 if (query.qname == serv_params_.service_type_ || in ProccessQuery()
204 query.qname == serv_params_.secondary_service_type_) { in ProccessQuery()
205 builder->AppendPtr(query.qname, current_ttl, in ProccessQuery()
227 if (query.qname == serv_params_.service_name_) { in ProccessQuery()
236 if (query.qname == serv_params_.service_domain_name_) { in ProccessQuery()
244 if (query.qname == serv_params_.service_domain_name_) { in ProccessQuery()
252 if (query.qname == serv_params_.service_name_) { in ProccessQuery()
/external/mdnsresponder/mDNSCore/
DuDNS.c179 …LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->q… in PenalizeDNSServer()
184 …&q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNST… in PenalizeDNSServer()
236 …q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSSe… in PenalizeDNSServer()
273 …LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c,… in PenalizeDNSServer()
323 q->AuthInfo = GetAuthInfoForName_direct(m, &q->qname); in GetAuthInfoForName_internal()
325 …info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in GetAuthInfoForName_internal()
405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in mDNS_SetSecretForDomain()
690 debugf("StartLLQPolling: %##s", q->qname.c); in StartLLQPolling()
709 …ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qty… in putLLQ()
753 …if (q->tcp) { LogMsg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c… in sendChallengeResponse()
[all …]
/external/smack/src/org/xbill/DNS/
DSimpleResolver.java315 String qname; in sendAsync() local
317 qname = question.getName().toString(); in sendAsync()
319 qname = "(none)"; in sendAsync()
320 String name = this.getClass() + ": " + qname; in sendAsync()
330 Name qname = query.getQuestion().getName(); in sendAXFR() local
331 ZoneTransferIn xfrin = ZoneTransferIn.newAXFR(qname, address, tsig); in sendAXFR()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemUse.java151 QName qname = attributeSetsNames[i]; in applyAttrSets() local
152 java.util.List attrSets = stylesheet.getAttributeSetComposed(qname); in applyAttrSets()
172 new Object[] {qname}),this); in applyAttrSets()

12345