Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/expat/expat/xmlwf/
Dxmlfile.c123 resolveSystemId(const XML_Char *base, const XML_Char *systemId, in resolveSystemId() argument
127 if (! base || *systemId == T('/') in resolveSystemId()
129 || *systemId == T('\\') in resolveSystemId()
130 || (isAsciiLetter(systemId[0]) && systemId[1] == T(':')) in resolveSystemId()
133 return systemId; in resolveSystemId()
134 *toFree = (XML_Char *)malloc((tcslen(base) + tcslen(systemId) + 2) in resolveSystemId()
137 return systemId; in resolveSystemId()
146 tcscpy(s, systemId); in resolveSystemId()
152 const XML_Char *base, const XML_Char *systemId, in externalEntityRefFilemap() argument
163 filename = resolveSystemId(base, systemId, &s); in externalEntityRefFilemap()
[all …]
Dxmlwf.c78 const XML_Char *systemId; member
338 free((void *)notationListHead->systemId); in freeNotations()
421 if (notations[i]->systemId != NULL) { in endDoctypeDecl()
424 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
427 } else if (notations[i]->systemId != NULL) { in endDoctypeDecl()
429 fputts(notations[i]->systemId, data->fp); in endDoctypeDecl()
447 const XML_Char *systemId, const XML_Char *publicId) { in notationDecl() argument
463 if (systemId != NULL) { in notationDecl()
464 entry->systemId = xcsdup(systemId); in notationDecl()
465 if (entry->systemId == NULL) { in notationDecl()
[all …]
/third_party/parse5/packages/parse5/lib/common/
Ddoctype.ts96 (token.systemId === null || token.systemId === VALID_SYSTEM_ID)
105 const { systemId } = token; constant
107 if (systemId && systemId.toLowerCase() === QUIRKS_MODE_SYSTEM_ID) {
120 …let prefixes = systemId === null ? QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES : QUIRKS_MODE_PUBLI…
127systemId === null ? LIMITED_QUIRKS_PUBLIC_ID_PREFIXES : LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PR…
Dtoken.ts57 systemId: string | null; property
/third_party/python/Lib/xml/dom/
Dxmlbuilder.py192 if fp is None and options.systemId:
194 fp = urllib.request.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 = urllib.parse.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)
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 …]
Dminidom.py1296 def _identified_mixin_init(self, publicId, systemId): argument
1298 self.systemId = systemId
1304 return self.systemId
1311 systemId = None variable in DocumentType
1336 notation = Notation(n.nodeName, n.publicId, n.systemId)
1340 entity = Entity(e.nodeName, e.publicId, e.systemId,
1357 % (newl, self.publicId, newl, self.systemId))
1358 elif self.systemId:
1359 writer.write("%s SYSTEM '%s'" % (newl, self.systemId))
1375 def __init__(self, name, publicId, systemId, notation): argument
[all …]
/third_party/python/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.py293 def notationDecl(self, name, publicId, systemId): argument
294 self._dtd_handler.notationDecl(name, publicId, systemId)
296 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
297 self._dtd_handler.unparsedEntityDecl(name, publicId, systemId, ndata)
301 def resolveEntity(self, publicId, systemId): argument
302 return self._ent_handler.resolveEntity(publicId, systemId)
/third_party/parse5/packages/parse5-htmlparser2-tree-adapter/lib/
Dindex.ts41 export function serializeDoctypeContent(name: string, publicId: string, systemId: string): string {
50 } else if (systemId) {
54 if (systemId) {
55 str += ` ${enquoteDoctypeId(systemId)}`;
139 setDocumentType(document: Document, name: string, publicId: string, systemId: string): void {
140 const data = serializeDoctypeContent(name, publicId, systemId);
154 doctypeNode['x-systemId'] = systemId ?? undefined;
/third_party/parse5/packages/parse5-sax-parser/test/
Dsax-parser.test.ts24 parser.on('doctype', ({ name, publicId, systemId }) => {
29 } else if (systemId !== null) {
33 if (systemId !== null) {
34 actual += ` "${systemId}"`;
/third_party/parse5/packages/parse5/lib/tree-adapters/
Ddefault.ts91 systemId: string; property
178 setDocumentType(document: Document, name: string, publicId: string, systemId: string): void {
186 doctypeNode.systemId = systemId;
192 systemId,
292 return doctypeNode.systemId;
Dinterface.ts259 … setDocumentType(document: T['document'], name: string, publicId: string, systemId: string): void;
/third_party/parse5/test/utils/
Dserialize-to-dat-file-format.ts37 const systemId = treeAdapter.getDocumentTypeNodeSystemId(node); constant
41 if (publicId || systemId) {
42 str += ` "${publicId}" "${systemId}"`;
/third_party/parse5/packages/parse5-html-rewriting-stream/lib/
Dindex.ts106 } else if (token.systemId !== null) {
110 if (token.systemId !== null) {
111 res += ` "${token.systemId}"`;
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c235 const XML_Char *systemId, const XML_Char *publicId, in dummy_entity_decl_handler() argument
243 UNUSED_P(systemId); in dummy_entity_decl_handler()
251 const XML_Char *base, const XML_Char *systemId, in dummy_notation_decl_handler() argument
256 UNUSED_P(systemId); in dummy_notation_decl_handler()
358 const XML_Char *systemId, in dummy_unparsed_entity_decl_handler() argument
364 UNUSED_P(systemId); in dummy_unparsed_entity_decl_handler()
412 const XML_Char *base, const XML_Char *systemId, in external_entity_optioner() argument
420 if (! xcstrcmp(systemId, options->system_id)) { in external_entity_optioner()
450 const XML_Char *systemId, const XML_Char *publicId, in param_entity_match_handler() argument
454 UNUSED_P(systemId); in param_entity_match_handler()
[all …]
/third_party/parse5/packages/parse5-sax-parser/lib/
Dindex.ts199 systemId: token.systemId, constant
273 systemId: string | null; property
/third_party/expat/
D20-backport-tests-Cover-overeager-DTD-destruction-in-XML_Externa.patch23 + const XML_Char *systemId,
26 + UNUSED_P(systemId);
/third_party/python/Modules/expat/
Dexpat.h347 const XML_Char *systemId, const XML_Char *publicId,
364 const XML_Char *systemId, const XML_Char *publicId,
374 const XML_Char *systemId,
438 const XML_Char *systemId,
/third_party/skia/third_party/externals/expat/expat/lib/
Dexpat.h348 const XML_Char *systemId, const XML_Char *publicId,
365 const XML_Char *systemId, const XML_Char *publicId,
375 const XML_Char *systemId,
439 const XML_Char *systemId,
/third_party/parse5/packages/parse5/lib/tokenizer/
Dindex.ts452 systemId: null,
2671 token.systemId = '';
2677 token.systemId = '';
2716 token.systemId = '';
2721 token.systemId = '';
2756 token.systemId = '';
2762 token.systemId = '';
2803 token.systemId = '';
2808 token.systemId = '';
2847 token.systemId += REPLACEMENT_CHARACTER;
[all …]
/third_party/python/Modules/
Dpyexpat.c188 const XML_Char *systemId, in error_external_entity_ref_handler() argument
482 const XML_Char *systemId,
487 string_intern(self, systemId), string_intern(self, publicId),
497 const XML_Char *systemId,
503 string_intern(self, base), string_intern(self, systemId),
616 const XML_Char *systemId,
620 string_intern(self, systemId), string_intern(self, publicId)))
663 const XML_Char *systemId,
668 string_intern(self, systemId), string_intern(self, publicId)),
/third_party/python/Lib/test/
Dtest_minidom.py730 and clone.systemId == doctype.systemId
744 and ce.systemId == se.systemId
755 and cn.systemId == sn.systemId)
769 and clone.systemId == doctype.systemId
1572 self.assertEqual(no1.systemId, no2.systemId)
1579 self.assertEqual(e1.systemId, e2.systemId)
Dtest_sax.py952 def notationDecl(self, name, publicId, systemId): argument
953 self._notations.append((name, publicId, systemId))
955 def unparsedEntityDecl(self, name, publicId, systemId, ndata): argument
956 self._entities.append((name, publicId, systemId, ndata))
963 def resolveEntity(self, publicId, systemId): argument
964 self.entities.append((publicId, systemId))
967 source.setSystemId(systemId)
1019 def resolveEntity(self, publicId, systemId): argument
/third_party/parse5/scripts/generate-parser-feedback-test/
Dindex.ts69 () => ['DOCTYPE', token.name, token.publicId, token.systemId, !token.forceQuirks]

12