/third_party/python/Modules/expat/ |
D | expat.h | 171 XML_Char *name; 181 const XML_Char *name, 196 void *userData, const XML_Char *elname, const XML_Char *attname, 197 const XML_Char *att_type, const XML_Char *dflt, int isrequired); 211 const XML_Char *version, 212 const XML_Char *encoding, 228 XML_ParserCreate(const XML_Char *encoding); 242 XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); 254 XML_ParserCreate_MM(const XML_Char *encoding, 256 const XML_Char *namespaceSeparator); [all …]
|
D | xmlparse.c | 199 typedef const XML_Char *KEY; 249 XML_Char *uri; 255 const XML_Char *name; 260 const XML_Char *str; 261 const XML_Char *localPart; 262 const XML_Char *prefix; 292 const XML_Char *name; 293 const XML_Char *textPtr; 296 const XML_Char *systemId; 297 const XML_Char *base; [all …]
|
D | expat_external.h | 147 typedef wchar_t XML_Char; typedef 150 typedef unsigned short XML_Char; 154 typedef char XML_Char;
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
D | expat.h | 171 XML_Char *name; 181 const XML_Char *name, 196 void *userData, const XML_Char *elname, const XML_Char *attname, 197 const XML_Char *att_type, const XML_Char *dflt, int isrequired); 211 const XML_Char *version, 212 const XML_Char *encoding, 228 XML_ParserCreate(const XML_Char *encoding); 242 XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); 254 XML_ParserCreate_MM(const XML_Char *encoding, 256 const XML_Char *namespaceSeparator); [all …]
|
D | xmlparse.c | 199 typedef const XML_Char *KEY; 249 XML_Char *uri; 255 const XML_Char *name; 260 const XML_Char *str; 261 const XML_Char *localPart; 262 const XML_Char *prefix; 292 const XML_Char *name; 293 const XML_Char *textPtr; 296 const XML_Char *systemId; 297 const XML_Char *base; [all …]
|
D | expat_external.h | 142 typedef wchar_t XML_Char; typedef 145 typedef unsigned short XML_Char; 149 typedef char XML_Char;
|
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
D | xmlwf.c | 77 const XML_Char *notationName; 78 const XML_Char *systemId; 79 const XML_Char *publicId; 85 const XML_Char *currentDoctypeName; 93 characterData(void *userData, const XML_Char *s, int len) { in characterData() 128 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() 180 return tcscmp(*(const XML_Char **)att1, *(const XML_Char **)att2); in attcmp() 184 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() 186 const XML_Char **p; in startElement() 196 qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, attcmp); in startElement() [all …]
|
D | xmlfile.c | 84 static int processStream(const XML_Char *filename, XML_Parser parser); 87 reportError(XML_Parser parser, const XML_Char *filename) { in reportError() 89 const XML_Char *message = XML_ErrorString(code); in reportError() 102 processFile(const void *data, size_t size, const XML_Char *filename, in processFile() 116 isAsciiLetter(XML_Char c) { in isAsciiLetter() 122 static const XML_Char * 123 resolveSystemId(const XML_Char *base, const XML_Char *systemId, in resolveSystemId() 124 XML_Char **toFree) { in resolveSystemId() 125 XML_Char *s; in resolveSystemId() 134 *toFree = (XML_Char *)malloc((tcslen(base) + tcslen(systemId) + 2) in resolveSystemId() [all …]
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | runtests.c | 205 dummy_xdecl_handler(void *userData, const XML_Char *version, in dummy_xdecl_handler() 206 const XML_Char *encoding, int standalone) { in dummy_xdecl_handler() 214 dummy_start_doctype_handler(void *userData, const XML_Char *doctypeName, in dummy_start_doctype_handler() 215 const XML_Char *sysid, const XML_Char *pubid, in dummy_start_doctype_handler() 232 dummy_entity_decl_handler(void *userData, const XML_Char *entityName, in dummy_entity_decl_handler() 233 int is_parameter_entity, const XML_Char *value, in dummy_entity_decl_handler() 234 int value_length, const XML_Char *base, in dummy_entity_decl_handler() 235 const XML_Char *systemId, const XML_Char *publicId, in dummy_entity_decl_handler() 236 const XML_Char *notationName) { in dummy_entity_decl_handler() 250 dummy_notation_decl_handler(void *userData, const XML_Char *notationName, in dummy_notation_decl_handler() [all …]
|
D | structdata.c | 56 static XML_Char * 57 xmlstrdup(const XML_Char *s) { in xmlstrdup() 58 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() 59 XML_Char *dup = malloc(byte_count); in xmlstrdup() 75 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem()
|
D | chardata.h | 48 XML_Char data[2048]; 53 void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len); 55 int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
|
D | chardata.c | 47 xmlstrlen(const XML_Char *s) { in xmlstrlen() 62 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() 82 CharData_CheckXMLChars(CharData *storage, const XML_Char *expected) { in CharData_CheckXMLChars()
|
D | structdata.h | 43 const XML_Char *str; 57 void StructData_AddItem(StructData *storage, const XML_Char *s, int data0,
|
/third_party/expat/ |
D | 16-backport-lib-Fix-harmless-use-of-uninitialized-memory.patch | 14 @@ -718,8 +718,7 @@ XML_ParserCreate(const XML_Char *encodingName) { 17 XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep) { 18 - XML_Char tmp[2]; 20 + XML_Char tmp[2] = {nsSep, 0}; 24 @@ -1344,8 +1343,7 @@ XML_ExternalEntityParserCreate(XML_Parser oldParser, const XML_Char *context, 28 - XML_Char tmp[2]; 30 + XML_Char tmp[2] = {parser->m_namespaceSeparator, 0};
|
D | 02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch | 103 + if ((unsigned)(n + EXPAND_SPARE) > (size_t)(-1) / sizeof(XML_Char)) { 108 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); 125 + if ((unsigned)(len + EXPAND_SPARE) > (size_t)(-1) / sizeof(XML_Char)) { 130 XML_Char *temp = (XML_Char *)REALLOC( 131 parser, b->uri, sizeof(XML_Char) * (len + EXPAND_SPARE)); 147 + if ((unsigned)(len + EXPAND_SPARE) > (size_t)(-1) / sizeof(XML_Char)) { 153 = (XML_Char *)MALLOC(parser, sizeof(XML_Char) * (len + EXPAND_SPARE)); 225 XML_Char *str; 227 - + (dtd->contentStringLen * sizeof(XML_Char))); 237 + if (dtd->contentStringLen > (size_t)(-1) / sizeof(XML_Char)) { [all …]
|
D | 20-backport-tests-Cover-overeager-DTD-destruction-in-XML_Externa.patch | 21 + const XML_Char *context, 22 + const XML_Char *base, 23 + const XML_Char *systemId, 24 + const XML_Char *publicId) { 37 + const XML_Char *const encodingName = XCS("UTF-8"); // needs something non-NULL
|
D | 09-backport-CVE-2022-25314-Prevent-integer-overflow-in-copyString.patch | 18 static XML_Char * 19 copyString(const XML_Char *s, const XML_Memory_Handling_Suite *memsuite) { 22 XML_Char *result;
|
D | 08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch | 33 dummy_element_decl_handler(void *userData, const XML_Char *name, 94 - XML_Content **contpos, XML_Char **strpos) { 99 - const XML_Char *src; 133 - XML_Char *str; 134 + XML_Char *str; /* the current string writing location */ 142 - str = (XML_Char *)(&ret[dtd->scaffCount]); 177 + str = (XML_Char *)&ret[dtd->scaffCount]; 190 + const XML_Char *src;
|
/third_party/python/Modules/ |
D | pyexpat.c | 75 XML_Char *buffer; /* Buffer used when accumulating characters */ 154 conv_string_to_unicode(const XML_Char *str) in conv_string_to_unicode() 166 conv_string_len_to_unicode(const XML_Char *str, int len) in conv_string_len_to_unicode() 186 const XML_Char *context, in error_external_entity_ref_handler() 187 const XML_Char *base, in error_external_entity_ref_handler() 188 const XML_Char *systemId, in error_external_entity_ref_handler() 189 const XML_Char *publicId) in error_external_entity_ref_handler() 201 noop_character_data_handler(void *userData, const XML_Char *data, int len) in noop_character_data_handler() 259 call_character_handler(xmlparseobject *self, const XML_Char *buffer, int len) in call_character_handler() 308 my_CharacterDataHandler(void *userData, const XML_Char *data, int len) in my_CharacterDataHandler() [all …]
|
/third_party/skia/src/xml/ |
D | SkXMLParser.cpp | 118 const XML_Char *entityName, in entity_decl_handler() 120 const XML_Char *value, in entity_decl_handler() 122 const XML_Char *base, in entity_decl_handler() 123 const XML_Char *systemId, in entity_decl_handler() 124 const XML_Char *publicId, in entity_decl_handler() 125 const XML_Char *notationName) { in entity_decl_handler()
|
/third_party/flutter/skia/src/xml/ |
D | SkXMLParser.cpp | 116 const XML_Char *entityName, in entity_decl_handler() 118 const XML_Char *value, in entity_decl_handler() 120 const XML_Char *base, in entity_decl_handler() 121 const XML_Char *systemId, in entity_decl_handler() 122 const XML_Char *publicId, in entity_decl_handler() 123 const XML_Char *notationName) { in entity_decl_handler()
|
/third_party/python/Include/ |
D | pyexpat.h | 25 const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, 26 const XML_Char *namespaceSeparator); 48 enum XML_Status (*SetEncoding)(XML_Parser parser, const XML_Char *encoding); 50 void *encodingHandlerData, const XML_Char *name, XML_Encoding *info);
|
/third_party/skia/third_party/externals/expat/expat/examples/ |
D | elements.c | 59 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() 71 endElement(void *userData, const XML_Char *name) { in endElement()
|
D | outline.c | 61 start(void *data, const XML_Char *el, const XML_Char **attr) { in start() 79 end(void *data, const XML_Char *el) { in end()
|
/third_party/skia/src/ports/ |
D | SkFontMgr_config_parser.cpp | 461 const XML_Char *entityName, in xml_entity_decl_handler() 463 const XML_Char *value, in xml_entity_decl_handler() 465 const XML_Char *base, in xml_entity_decl_handler() 466 const XML_Char *systemId, in xml_entity_decl_handler() 467 const XML_Char *publicId, in xml_entity_decl_handler() 468 const XML_Char *notationName) in xml_entity_decl_handler()
|