Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodelookupnamespaceuri02.js98 var qname;
112 qname = "dom3:" + rootName;
113 newDoc = domImpl.createDocument(rootNS,qname,nullDocType);
Dnodelookupprefix02.js98 var qname;
112 qname = "dom3:" + rootName;
113 newDoc = domImpl.createDocument(rootNS,qname,nullDocType);
Dnodelookupprefix05.js99 var qname;
112 qname = "dom3:" + rootName;
114 newDoc = domImpl.createDocument(rootNS,qname,nullDocType);
Dnodelookupnamespaceuri05.js99 var qname;
112 qname = "dom3:" + rootName;
114 newDoc = domImpl.createDocument(rootNS,qname,nullDocType);
Dnodelookupprefix11.js101 var qname;
114 qname = "dom3doc:" + rootName;
116 newDoc = domImpl.createDocument(rootNS,qname,nullDocType);
/external/chromium/third_party/libjingle/source/talk/xmllite/
Dxmlparser.cc234 XmlParser::ParseContext::ResolveQName(const char *qname, bool isAttr) { in ResolveQName() argument
236 for (c = qname; *c; ++c) { in ResolveQName()
239 result = xmlnsstack_.NsForPrefix(std::string(qname, c - qname)); in ResolveQName()
247 return QName(STR_EMPTY, qname); in ResolveQName()
255 return QName(*result, qname); in ResolveQName()
/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 …]
DmDNS.c384 …LogInfo("GenerateNegativeResponse: Generating negative response for question %##s (%s)", q->qname.… in GenerateNegativeResponse()
386 …MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, mDNSInterf… in GenerateNegativeResponse()
395 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); in AnswerQuestionByFollowingCNAME()
398 …q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, selfref ? " (Self-Referential)" : "", RRD… in AnswerQuestionByFollowingCNAME()
419 q, q->qname.c, DNSTypeName(q->qtype), q->CNAMEReferrals, RRDisplayString(m, rr)); in AnswerQuestionByFollowingCNAME()
422 AssignDomainName(&q->qname, &rr->rdata->u.name); // Update qname in AnswerQuestionByFollowingCNAME()
423 q->qnamehash = DomainNameHashValue(&q->qname); // and namehash in AnswerQuestionByFollowingCNAME()
427 if (!mDNSOpaque16IsZero(q->TargetQID) && IsLocalDomain(&q->qname)) in AnswerQuestionByFollowingCNAME()
430 q, q->qname.c, DNSTypeName(q->qtype), RRDisplayString(m, rr)); in AnswerQuestionByFollowingCNAME()
495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
[all …]
/external/chromium/chrome/browser/autofill/
Dautofill_xml_parser.cc44 buzz::QName qname = context->ResolveQName(name, false); in StartElement() local
45 const std::string& element = qname.LocalPart(); in StartElement()
118 buzz::QName qname = context->ResolveQName(name, false); in StartElement() local
119 const std::string &element = qname.LocalPart(); in StartElement()
/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()
DOutputProperties.java427 QName qname = (QName) v.elementAt(i); in setQNameProperties() local
429 fsb.append(qname.toNamespacedString()); in setQNameProperties()
507 QName qname = QName.getQNameFromString(buf.toString()); in getQNameProperties() local
508 v.addElement(qname); in getQNameProperties()
524 QName qname = QName.getQNameFromString(buf.toString()); in getQNameProperties() local
525 v.addElement(qname); in getQNameProperties()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java1033 String qname = newnode.getNodeName(); in getLocalName() local
1034 if('#'==qname.charAt(0)) in getLocalName()
1042 int index = qname.indexOf(':'); in getLocalName()
1043 newname = (index < 0) ? qname : qname.substring(index + 1); in getLocalName()
1067 String qname = node.getNodeName(); in getLocalName() local
1068 int index = qname.indexOf(':'); in getLocalName()
1070 name = (index < 0) ? qname : qname.substring(index + 1); in getLocalName()
1106 String qname = node.getNodeName(); in getPrefix() local
1107 int index = qname.indexOf(':'); in getPrefix()
1109 prefix = (index < 0) ? "" : qname.substring(index + 1); in getPrefix()
[all …]
/external/kernel-headers/original/linux/sunrpc/
Dsched.h226 # define RPC_WAITQ_INIT(var,qname) { \ argument
235 # define RPC_WAITQ_INIT(var,qname) { \ argument
242 .name = qname, \
245 # define RPC_WAITQ(var,qname) struct rpc_wait_queue var = RPC_WAITQ_INIT(var,qname) argument

123