/third_party/python/Tools/scripts/ |
D | parse_html5_entities.py | 15 from html.entities import html5 25 def create_dict(entities): argument 28 for name, value in entities.items(): 53 def write_items(entities, file=sys.stdout): argument 63 keys = sorted(entities.keys()) 67 print(' {!r}: {!a},'.format(name, entities[name]), file=file)
|
/third_party/python/Doc/library/ |
D | html.entities.rst | 1 :mod:`html.entities` --- Definitions of HTML general entities 4 .. module:: html.entities 5 :synopsis: Definitions of HTML general entities. 9 **Source code:** :source:`Lib/html/entities.py`
|
D | xml.sax.utils.rst | 19 .. function:: escape(data, entities={}) 24 *entities* parameter. The keys and values must all be strings; each key will be 26 ``'>'`` are always escaped, even if *entities* is provided. 29 .. function:: unescape(data, entities={}) 34 *entities* parameter. The keys and values must all be strings; each key will be 36 are always unescaped, even if *entities* is provided. 39 .. function:: quoteattr(data, entities={})
|
D | xml.rst | 77 2. :mod:`xml.etree.ElementTree` doesn't expand external entities and raises a 79 3. :mod:`xml.dom.minidom` doesn't expand external entities and simply returns 81 4. :mod:`xmlrpclib` doesn't expand external entities and omits them. 82 5. Since Python 3.7.1, external general entities are no longer processed by 88 uses multiple levels of nested entities. Each entity refers to another entity 95 entity expansion, too. Instead of nested entities it repeats one large entity 98 that forbid deeply-nested entities.
|
D | xml.sax.handler.rst | 34 (unparsed entities and attributes). 39 Basic interface for resolving entities. If you create an object implementing 41 the method in your object to resolve all external entities. 91 | true: Report all validation errors (implies external-general-entities and 92 external-parameter-entities). 99 | value: ``"http://xml.org/sax/features/external-general-entities"`` 100 | true: Include all external general (text) entities. 101 | false: Do not include external general entities. 107 | value: ``"http://xml.org/sax/features/external-parameter-entities"`` 108 | true: Include all external parameter entities, including the external DTD [all …]
|
D | html.rst | 30 HTML 5 named character references <html.entities.html5>`. 39 * :mod:`html.entities` -- HTML entity definitions
|
D | pyexpat.rst | 176 Control parsing of parameter entities (including the external DTD subset). 388 Called for all entity declarations. For parameter and internal entities, 390 be ``None`` for external entities. The *notationName* parameter will be 391 ``None`` for parsed entities, and the name of the notation for unparsed 392 entities. *is_parameter_entity* will be true if the entity is a parameter entity 393 or false for general entities (most applications only need to be concerned with 394 general entities). This is only available starting with version 1.95.0 of the 450 of internal entities. The entity reference will not be passed to the default 466 Called for references to external entities. *base* is the current base, as set 472 For external entities to be parsed, this handler must be implemented. It is [all …]
|
D | markup.rst | 17 html.entities.rst
|
/third_party/python/Lib/xml/sax/ |
D | saxutils.py | 18 def escape(data, entities={}): argument 30 if entities: 31 data = __dict_replace(data, entities) 34 def unescape(data, entities={}): argument 43 if entities: 44 data = __dict_replace(data, entities) 48 def quoteattr(data, entities={}): argument 59 entities = {**entities, '\n': ' ', '\r': ' ', '\t':'	'} 60 data = escape(data, entities)
|
/third_party/typescript/tests/baselines/reference/ |
D | keyofAndIndexedAccess2.js | 82 entities: { [key: string]: E, [key: number]: E }; 87 const { ids, entities } = state; 88 return ids.map(id => entities[id]); 92 const { ids, entities } = state; 98 return entities[id]; 230 const { ids, entities } = state; 231 return ids.map(id => entities[id]); 234 const { ids, entities } = state; 238 return entities[id];
|
D | keyofAndIndexedAccess2.types | 353 entities: { [key: string]: E, [key: number]: E }; 354 >entities : { [key: string]: E; [key: number]: E; } 364 const { ids, entities } = state; 366 >entities : { [key: string]: E; [key: number]: E; } 369 return ids.map(id => entities[id]); 370 >ids.map(id => entities[id]) : { [key: string]: E; [key: number]: E; }[IdOf<E>][] 374 >id => entities[id] : (id: IdOf<E>) => { [key: string]: E; [key: number]: E; }[IdOf<E>] 376 >entities[id] : { [key: string]: E; [key: number]: E; }[IdOf<E>] 377 >entities : { [key: string]: E; [key: number]: E; } 386 const { ids, entities } = state; [all …]
|
D | keyofAndIndexedAccess2.symbols | 309 entities: { [key: string]: E, [key: number]: E }; 310 >entities : Symbol(EntityState.entities, Decl(keyofAndIndexedAccess2.ts, 79, 19)) 327 const { ids, entities } = state; 329 >entities : Symbol(entities, Decl(keyofAndIndexedAccess2.ts, 85, 16)) 332 return ids.map(id => entities[id]); 337 >entities : Symbol(entities, Decl(keyofAndIndexedAccess2.ts, 85, 16)) 353 const { ids, entities } = state; 355 >entities : Symbol(entities, Decl(keyofAndIndexedAccess2.ts, 90, 16)) 368 return entities[id]; 369 >entities : Symbol(entities, Decl(keyofAndIndexedAccess2.ts, 90, 16))
|
D | keyofAndIndexedAccess2.errors.txt | 160 entities: { [key: string]: E, [key: number]: E }; 165 const { ids, entities } = state; 166 return ids.map(id => entities[id]); 170 const { ids, entities } = state; 176 return entities[id];
|
/third_party/typescript/tests/cases/conformance/types/keyof/ |
D | keyofAndIndexedAccess2.ts | 84 entities: { [key: string]: E, [key: number]: E }; property 89 const { ids, entities } = state; constant 90 return ids.map(id => entities[id]); 94 const { ids, entities } = state; constant 100 return entities[id];
|
/third_party/libxml2/ |
D | backport-CVE-2022-40304-Fix-dict-corruption-caused-by-entity-.patch | 20 entities.c | 55 ++++++++++++++++-------------------------------------- 23 diff --git a/entities.c b/entities.c 25 --- a/entities.c 26 +++ b/entities.c
|
D | backport-xpath-Ignore-entity-ref-nodes-when-computing-node-ha.patch | 6 XPath queries only work reliably if entities are substituted. 8 nodes. xmllint even deletes entities when the `--dropdtd` option is
|
D | backport-parser-Don-t-increase-depth-twice-when-parsing-internal.patch | 5 entities
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsConverter.java | 396 String[] entities = poweredEntity.split(Pattern.quote("^")); in addPoweredEntity() local 397 assert (entities.length == 1 || entities.length == 2); in addPoweredEntity() 399 int power = entities.length == 2 ? Integer.parseInt(entities[1]) : 1; in addPoweredEntity() 400 this.addEntity(entities[0], power); in addPoweredEntity()
|
/third_party/python/Lib/test/ |
D | test_minidom.py | 32 doctype.entities._seq = [] 43 doctype.entities._seq.append(entity) 49 doctype.entities.item(0).ownerDocument = doc 731 and len(clone.entities) == len(doctype.entities) 732 and clone.entities.item(len(clone.entities)) is None 736 for i in range(len(doctype.entities)): 737 se = doctype.entities.item(i) 738 ce = clone.entities.item(i) 770 and len(clone.entities) == 0 771 and clone.entities.item(0) is None [all …]
|
/third_party/rust/crates/cxx/book/ |
D | build.js | 7 const entities = new Entities(); constant 67 const target = entities.decode(node.text());
|
/third_party/python/Lib/xml/dom/ |
D | expatbuilder.py | 181 if self._options.entities: 255 doctype.entities._seq = [] 310 if not self._options.entities: 319 self.document.doctype.entities._seq.append(node) 321 del self.document.doctype.entities._seq[-1] 668 for i in range(doctype.entities.length): 669 entity = doctype.entities.item(i)
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ability/ |
D | want.js | 26 entities: [paramMock.paramStringMock] property
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_application_Want.js | 27 this.entities = [paramMock.paramStringMock]; property
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/bundle/ |
D | applicationInfo.js | 62 entities: [paramMock.paramStringMock], property
|
/third_party/python/Lib/html/ |
D | __init__.py | 6 from html.entities import html5 as _html5
|