Home
last modified time | relevance | path

Searched refs:systemId (Results 1 – 25 of 123) sorted by relevance

12345

/external/apache-xml/src/main/java/org/apache/xml/utils/
DSystemIDResolver.java107 public static boolean isAbsoluteURI(String systemId) in isAbsoluteURI() argument
120 if(isWindowsAbsolutePath(systemId)){ in isAbsoluteURI()
124 final int fragmentIndex = systemId.indexOf('#'); in isAbsoluteURI()
125 final int queryIndex = systemId.indexOf('?'); in isAbsoluteURI()
126 final int slashIndex = systemId.indexOf('/'); in isAbsoluteURI()
127 final int colonIndex = systemId.indexOf(':'); in isAbsoluteURI()
130 int index = systemId.length() -1; in isAbsoluteURI()
148 public static boolean isAbsolutePath(String systemId) in isAbsolutePath() argument
150 if(systemId == null) in isAbsolutePath()
152 final File file = new File(systemId); in isAbsolutePath()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java114 public static boolean isAbsoluteURI(String systemId) in isAbsoluteURI() argument
127 if(isWindowsAbsolutePath(systemId)){ in isAbsoluteURI()
131 final int fragmentIndex = systemId.indexOf('#'); in isAbsoluteURI()
132 final int queryIndex = systemId.indexOf('?'); in isAbsoluteURI()
133 final int slashIndex = systemId.indexOf('/'); in isAbsoluteURI()
134 final int colonIndex = systemId.indexOf(':'); in isAbsoluteURI()
137 int index = systemId.length() -1; in isAbsoluteURI()
155 public static boolean isAbsolutePath(String systemId) in isAbsolutePath() argument
157 if(systemId == null) in isAbsolutePath()
159 final File file = new File(systemId); in isAbsolutePath()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/cenc/
DProtectionSystemSpecificHeaderBox.java41 byte[] systemId; field in ProtectionSystemSpecificHeaderBox
45 return systemId; in getSystemId()
48 public void setSystemId(byte[] systemId) { in setSystemId() argument
49 assert systemId.length == 16; in setSystemId()
50 this.systemId = systemId; in setSystemId()
73 assert systemId.length == 16; in getContent()
74 byteBuffer.put(systemId, 0, 16); in getContent()
82 systemId = new byte[16]; in _parseDetails()
83 content.get(systemId); in _parseDetails()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
DUuidBasedProtectionSystemSpecificHeaderBox.java31 UUID systemId; field in UuidBasedProtectionSystemSpecificHeaderBox
52 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getMostSignificantBits()); in getContent()
53 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getLeastSignificantBits()); in getContent()
65 systemId = UUIDConverter.convert(systemIdBytes); in _parseDetails()
67 protectionSpecificHeader = ProtectionSpecificHeader.createFor(systemId, content); in _parseDetails()
71 return systemId; in getSystemId()
74 public void setSystemId(UUID systemId) { in setSystemId() argument
75 this.systemId = systemId; in setSystemId()
79 return systemId.toString(); in getSystemIdString()
98 sb.append("{systemId=").append(systemId.toString()); in toString()
/external/expat/xmlwf/
Dxmlfile.c127 resolveSystemId(const XML_Char *base, const XML_Char *systemId, in resolveSystemId() argument
133 || *systemId == T('/') in resolveSystemId()
135 || *systemId == T('\\') in resolveSystemId()
136 || (isAsciiLetter(systemId[0]) && systemId[1] == T(':')) in resolveSystemId()
139 return systemId; in resolveSystemId()
140 *toFree = (XML_Char *)malloc((tcslen(base) + tcslen(systemId) + 2) in resolveSystemId()
143 return systemId; in resolveSystemId()
152 tcscpy(s, systemId); in resolveSystemId()
160 const XML_Char *systemId, in externalEntityRefFilemap() argument
171 filename = resolveSystemId(base, systemId, &s); in externalEntityRefFilemap()
[all …]
Dxmlwf.c57 const XML_Char *systemId; member
332 free((void *)notationListHead->systemId); in freeNotations()
412 if (notations[i]->systemId != NULL) { in endDoctypeDecl()
415 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
419 else if (notations[i]->systemId != NULL) { in endDoctypeDecl()
421 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
441 const XML_Char *systemId, in notationDecl() argument
458 if (systemId != NULL) { in notationDecl()
459 entry->systemId = xcsdup(systemId); in notationDecl()
460 if (entry->systemId == NULL) { in notationDecl()
[all …]
Dxmlwin32url.cxx68 const XML_Char *systemId, const XML_Char *publicId);
246 const XML_Char *systemId, in externalEntityRef() argument
250 XML_SetBase(entParser, systemId); in externalEntityRef()
251 int ret = processURL(entParser, baseMoniker_, systemId); in externalEntityRef()
282 const XML_Char *systemId, in externalEntityRef() argument
285 return ((Callback *)arg)->externalEntityRef(context, systemId, publicId); in externalEntityRef()
/external/cldr/tools/java/org/unicode/cldr/util/
DCachingEntityResolver.java116 public InputSource resolveEntity(String publicId, String systemId) { in resolveEntity() argument
126 … System.out.println("CRE: " + publicId + " | " + systemId + ", cache=" + theCache + ", override=" in resolveEntity()
133 if (systemId.startsWith("/")) { in resolveEntity()
134 File xFile = new File(systemId); in resolveEntity()
150 if (systemId.startsWith("file:") || !systemId.startsWith("http://")) { in resolveEntity()
153 return new InputSource(systemId); in resolveEntity()
157 StringBuffer systemNew = new StringBuffer(systemId); in resolveEntity()
193 int lastSlash = systemId.lastIndexOf('/'); in resolveEntity()
195 String shortName = systemId.substring(lastSlash + 1, systemId.length()); in resolveEntity()
212 new InputStreamReader(new java.net.URL(systemId).openStream())); in resolveEntity()
DXMLFileReader.java69 public void handleStartDtd(String name, String publicId, String systemId) { in handleStartDtd() argument
214 public void startDTD(String name, String publicId, String systemId) throws SAXException { in startDTD() argument
217 + ", systemId: " + systemId); in startDTD()
218 simpleHandler.handleStartDtd(name, publicId, systemId); in startDTD()
260 …public void externalEntityDecl(String name, String publicId, String systemId) throws SAXException { in externalEntityDecl() argument
261 if (SHOW_ALL) Log.logln("Internal Entity\t" + name + "\t" + publicId + "\t" + systemId); in externalEntityDecl()
264 public void notationDecl(String name, String publicId, String systemId) { in notationDecl() argument
267 + ", " + systemId); in notationDecl()
281 String systemId, String notationName) { in unparsedEntityDecl() argument
284 + ", " + systemId in unparsedEntityDecl()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DLocalEntityResolver.java32 public InputSource resolveEntity(final String publicId, String systemId) in resolveEntity() argument
34 final int sep = systemId.lastIndexOf('/'); in resolveEntity()
36 systemId = systemId.substring(sep + 1); in resolveEntity()
38 final InputStream in = resourceDelegate.getResourceAsStream(systemId); in resolveEntity()
40 throw new IOException("No local copy for " + systemId); in resolveEntity()
/external/python/cpython2/Lib/xml/dom/
Dxmlbuilder.py192 if fp is None and options.systemId:
194 fp = urllib2.urlopen(input.systemId)
215 def resolveEntity(self, publicId, systemId): argument
216 assert systemId is not None
219 source.systemId = systemId
220 source.byteStream = self._get_opener().open(systemId)
227 parts = urlparse.urlparse(systemId)
266 self.systemId = None
295 return self.systemId
296 def _set_systemId(self, systemId): argument
[all …]
Dexpatbuilder.py240 def start_doctype_decl_handler(self, doctypeName, systemId, publicId, argument
243 doctypeName, publicId, systemId)
310 base, systemId, publicId, notationName): argument
317 systemId, notationName)
327 def notation_decl_handler(self, notationName, base, systemId, publicId): argument
328 node = self.document._create_notation(notationName, publicId, systemId)
347 def external_entity_ref_handler(self, context, base, systemId, publicId): argument
639 % (doctype.publicId, doctype.systemId))
640 elif doctype.systemId:
641 ident = 'SYSTEM "%s"' % doctype.systemId
[all …]
/external/python/cpython3/Lib/xml/dom/
Dxmlbuilder.py193 if fp is None and options.systemId:
195 fp = urllib.request.urlopen(input.systemId)
216 def resolveEntity(self, publicId, systemId): argument
217 assert systemId is not None
220 source.systemId = systemId
221 source.byteStream = self._get_opener().open(systemId)
228 parts = urllib.parse.urlparse(systemId)
267 self.systemId = None
296 return self.systemId
297 def _set_systemId(self, systemId): argument
[all …]
Dexpatbuilder.py240 def start_doctype_decl_handler(self, doctypeName, systemId, publicId, argument
243 doctypeName, publicId, systemId)
306 base, systemId, publicId, notationName): argument
313 systemId, notationName)
323 def notation_decl_handler(self, notationName, base, systemId, publicId): argument
324 node = self.document._create_notation(notationName, publicId, systemId)
343 def external_entity_ref_handler(self, context, base, systemId, publicId): argument
632 % (doctype.publicId, doctype.systemId))
633 elif doctype.systemId:
634 ident = 'SYSTEM "%s"' % doctype.systemId
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerHandlerImpl.java248 public InputSource resolveEntity(String publicId, String systemId) in resolveEntity() argument
254 return m_entityResolver.resolveEntity(publicId, systemId); in resolveEntity()
276 public void notationDecl(String name, String publicId, String systemId) in notationDecl() argument
282 m_dtdHandler.notationDecl(name, publicId, systemId); in notationDecl()
298 String name, String publicId, String systemId, String notationName) in unparsedEntityDecl() argument
304 m_dtdHandler.unparsedEntityDecl(name, publicId, systemId, notationName); in unparsedEntityDecl()
768 public void startDTD(String name, String publicId, String systemId) in startDTD() argument
774 + publicId + ", " + systemId); in startDTD()
778 m_lexicalHandler.startDTD(name, publicId, systemId); in startDTD()
1025 String name, String publicId, String systemId) throws SAXException in externalEntityDecl() argument
[all …]
/external/python/cpython3/Lib/xml/sax/
Dhandler.py214 def notationDecl(self, name, publicId, systemId): argument
217 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
230 def resolveEntity(self, publicId, systemId): argument
234 return systemId
Dsaxutils.py294 def notationDecl(self, name, publicId, systemId): argument
295 self._dtd_handler.notationDecl(name, publicId, systemId)
297 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
298 self._dtd_handler.unparsedEntityDecl(name, publicId, systemId, ndata)
302 def resolveEntity(self, publicId, systemId): argument
303 return self._ent_handler.resolveEntity(publicId, systemId)
/external/python/cpython2/Lib/xml/sax/
Dhandler.py214 def notationDecl(self, name, publicId, systemId): argument
217 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
230 def resolveEntity(self, publicId, systemId): argument
234 return systemId
Dsaxutils.py265 def notationDecl(self, name, publicId, systemId): argument
266 self._dtd_handler.notationDecl(name, publicId, systemId)
268 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
269 self._dtd_handler.unparsedEntityDecl(name, publicId, systemId, ndata)
273 def resolveEntity(self, publicId, systemId): argument
274 return self._ent_handler.resolveEntity(publicId, systemId)
/external/libxml2/
DtestSAX.c364 resolveEntityDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *publicId, const xmlChar *systemId) in resolveEntityDebug() argument
377 if (systemId != NULL) in resolveEntityDebug()
378 fprintf(stdout, ", %s)\n", (char *)systemId); in resolveEntityDebug()
441 const xmlChar *publicId, const xmlChar *systemId, xmlChar *content) in entityDeclDebug() argument
447 if (systemId == NULL) in entityDeclDebug()
448 systemId = nullstr; in entityDeclDebug()
455 name, type, publicId, systemId, content); in entityDeclDebug()
514 const xmlChar *publicId, const xmlChar *systemId) in notationDeclDebug() argument
520 (char *) name, (char *) publicId, (char *) systemId); in notationDeclDebug()
535 const xmlChar *publicId, const xmlChar *systemId, in unparsedEntityDeclDebug() argument
[all …]
DtestHTML.c178 resolveEntityDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *publicId, const xmlChar *systemId) in resolveEntityDebug() argument
188 if (systemId != NULL) in resolveEntityDebug()
189 fprintf(stdout, ", %s)\n", (char *)systemId); in resolveEntityDebug()
246 const xmlChar *publicId, const xmlChar *systemId, xmlChar *content) in entityDeclDebug() argument
249 name, type, publicId, systemId, content); in entityDeclDebug()
297 const xmlChar *publicId, const xmlChar *systemId) in notationDeclDebug() argument
300 (char *) name, (char *) publicId, (char *) systemId); in notationDeclDebug()
315 const xmlChar *publicId, const xmlChar *systemId, in unparsedEntityDeclDebug() argument
319 (char *) name, (char *) publicId, (char *) systemId, in unparsedEntityDeclDebug()
/external/libxml2/include/libxml/
DSAX.h65 const xmlChar *systemId);
72 const xmlChar *systemId,
91 const xmlChar *systemId);
96 const xmlChar *systemId,
DSAX2.h63 const xmlChar *systemId);
70 const xmlChar *systemId,
89 const xmlChar *systemId);
94 const xmlChar *systemId,
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorInclude.java224 String systemId = handler.peekImportURL(); in parse() local
228 if (systemId != null) in parse()
229 handler.pushBaseIndentifier(systemId); in parse()
231 … TreeWalker walker = new TreeWalker(handler, new org.apache.xml.utils.DOM2Helper(), systemId); in parse()
241 if (systemId != null) in parse()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DNodeLocator.java48 public NodeLocator(String publicId, String systemId, in NodeLocator() argument
52 this.m_systemId = systemId; in NodeLocator()

12345