/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | QName.java | 232 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/ |
D | PYXWriter.java | 151 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-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | resolver.py | 93 def __init__(self, qname, rdtype, rdclass, response): argument 94 self.qname = qname 102 rrset = response.find_rrset(response.answer, qname, 111 qname, 117 qname = rd.target 544 def query(self, qname, rdtype=dns.rdatatype.A, rdclass=dns.rdataclass.IN, argument 570 if isinstance(qname, (str, unicode)): 571 qname = dns.name.from_text(qname, None) 577 if qname.is_absolute(): 578 qnames_to_try.append(qname) [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | QName.java | 27 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/ |
D | Arg.java | 197 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/ |
D | DOM2Helper.java | 91 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/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | AttributesImplSerializer.java | 71 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()
|
D | SerializerBase.java | 277 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/markdown/markdown/ |
D | html4.py | 214 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/ |
D | Identify.c | 209 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/jaxp/ |
D | JAXPVariableStack.java | 49 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/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncQname.java | 53 String qname = dtm.getNodeNameX(context); in execute() local 54 val = (null == qname) ? XString.EMPTYSTRING : new XString(qname); in execute()
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlparser.cc | 206 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()
|
D | qname.cc | 18 QName::QName(const QName& qname) in QName() argument 19 : namespace_(qname.namespace_), in QName() 20 local_part_(qname.local_part_) { in QName()
|
/external/mdnsresponder/mDNSCore/ |
D | uDNS.c | 179 …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 …]
|
D | mDNS.c | 384 …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/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
D | DOM2DTM.java | 1033 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/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemUse.java | 151 QName qname = attributeSetsNames[i]; in applyAttrSets() local 152 java.util.List attrSets = stylesheet.getAttributeSetComposed(qname); in applyAttrSets() 172 new Object[] {qname}),this); in applyAttrSets()
|
D | OutputProperties.java | 427 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()
|
D | StylesheetRoot.java | 811 public ElemTemplate getTemplateComposed(QName qname) in getTemplateComposed() argument 813 return m_templateList.getTemplate(qname); in getTemplateComposed() 846 public ElemVariable getVariableOrParamComposed(QName qname) in getVariableOrParamComposed() argument 855 if(var.getName().equals(qname)) in getVariableOrParamComposed() 1269 public int getQNameID(QName qname) in getQNameID() argument 1272 return m_ent.getExpandedTypeID(qname.getNamespace(), in getQNameID() 1273 qname.getLocalName(), in getQNameID() 1291 int addVariableName(final org.apache.xml.utils.QName qname) in addVariableName() argument 1294 m_variableNames.addElement(qname); in addVariableName()
|
/external/strace/tests/ |
D | truncate64.c | 44 static const char qname[] = "truncate64\\nfilename"; in main() local 52 qname, (unsigned long long) len); in main()
|
D | truncate.c | 46 static const char qname[] = "truncate\\nfilename"; in main() local 59 qname, (unsigned long long) len); in main()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/ |
D | SAX2DTM.java | 1151 String qname = m_valuesOrPrefixes.indexToString(prefixIndex); in getPrefix() local 1153 return getPrefix(qname, null); in getPrefix() 1164 String qname = m_valuesOrPrefixes.indexToString(prefixIndex); in getPrefix() local 1166 return getPrefix(qname, null); in getPrefix() 1392 public String getPrefix(String qname, String uri) in getPrefix() argument 1410 else if (null != qname) in getPrefix() 1412 int indexOfNSSep = qname.indexOf(':'); in getPrefix() 1414 if (qname.equals("xmlns")) in getPrefix() 1416 else if (qname.startsWith("xmlns:")) in getPrefix() 1417 prefix = qname.substring(indexOfNSSep + 1); in getPrefix() [all …]
|
/external/javassist/src/main/javassist/ |
D | CtClass.java | 343 String qname = qualifiedName; in getSimpleName() local 344 int index = qname.lastIndexOf('.'); in getSimpleName() 346 return qname; in getSimpleName() 348 return qname.substring(index + 1); in getSimpleName() 355 String qname = qualifiedName; in getPackageName() local 356 int index = qname.lastIndexOf('.'); in getPackageName() 360 return qname.substring(0, index); in getPackageName()
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | support.py | 161 def startElementNS(self, name, qname, attrs): argument 162 self.visited.append(('startElementNS', name, qname, dict(attrs))) 164 def endElementNS(self, name, qname): argument 165 self.visited.append(('endElementNS', name, qname))
|