Home
last modified time | relevance | path

Searched refs:entity (Results 51 – 75 of 82) sorted by path

1234

/php-src/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_variation2.phpt43 Warning: DOMDocument::validate(): Failed to load external entity "-//FOO/BAR" in %s on line %d
H A Dnull_returned_by_resolver.phpt32 Warning: DOMDocument::loadHTMLFile(): Failed to load external entity because the resolver function …
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c184 mbfl_html_entity_entry *entity; in mbfl_filt_conv_html_dec() local
251 while (entity->name) { in mbfl_filt_conv_html_dec()
253 ent = entity->code; in mbfl_filt_conv_html_dec()
256 entity++; in mbfl_filt_conv_html_dec()
402 while (entity->name) { in mb_htmlent_to_wchar()
403 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar()
404 *out++ = entity->code; in mb_htmlent_to_wchar()
408 entity++; in mb_htmlent_to_wchar()
450 while (entity->name) { in mb_wchar_to_htmlent()
451 if (w == entity->code) { in mb_wchar_to_htmlent()
[all …]
/php-src/ext/mbstring/
H A Dmbstring.c3940 unsigned char entity[16]; /* For converting wchars to hex/decimal string */ in html_numeric_entity_encode() local
3971 unsigned char *p = entity + sizeof(entity); in html_numeric_entity_encode()
3983 while (p < entity + sizeof(entity)) { in html_numeric_entity_encode()
/php-src/ext/mbstring/tests/data/
H A DMacJapanese-SJIS.txt285 # characters should be treated as a single entity for transcoding. The
294 # 0xF860 group next 2 characters as a single entity for transcoding
295 # 0xF861 group next 3 characters as a single entity for transcoding
296 # 0xF862 group next 4 characters as a single entity for transcoding
/php-src/ext/mbstring/tests/
H A Dhtmlent.phpt28 // and they do not have a named entity representation.
H A Dmb_decode_numericentity.phpt37 // Typical convmap, typical numeric entity-encoded string
89 // An entity can come right after a preceding ampersand
92 // An entity can come right after a preceding &#
98 // The starting & of an entity can terminate a preceding entity
102 // An entity can come right after an entity which is invalid because of being too long
106 test("Starting entity immediately after invalid decimal entity", "&#0&#65;", "&#0A", [0x1, 0xFFFF, …
107 test("Starting entity immediately after invalid hex entity", "&#x0&#65;", "&#x0A", [0x1, 0xFFFF, 0,…
175 Starting entity immediately after decimal entity which is too long: string(18) "&#10000000000&#65;"…
176 Starting entity immediately after hex entity which is too long: string(17) "&#x111111111&#65;" => s…
177 Starting entity immediately after invalid decimal entity: string(8) "&#0&#65;" => string(4) "&#0A" …
[all …]
H A Dmb_decode_numericentity_large_ints.phpt36 testNonAscii("Starting entity immediately after valid decimal entity which is just within maximum l…
38 testNonAscii("Starting entity immediately after valid hex entity which is just within maximum lengt…
40 test("Starting entity immediately after too-big decimal entity", "&#7001492542&#65;", "&#7001492542…
42 // If the numeric entity decodes to 0xFFFFFFFF, that should be passed through
44 // that the entity could not be successfully decoded, so if the entity decoded successfully to
45 // 0xFFFFFFFF (-1), it would be treated as an invalid entity
46 test("Regression test (entity which decodes to 0xFFFFFFFF)", "&#xe;", "?", [0xFFFFFF86, 0xFFFFFFFF,…
57 Starting entity immediately after valid decimal entity which is just within maximum length: 0000002…
58 Starting entity immediately after valid hex entity which is just within maximum length: 00000026000…
59 Starting entity immediately after too-big decimal entity: string(17) "&#7001492542&#65;" => string(…
[all …]
H A Dmb_str_split_error_conditions.phpt41 // HTML entity error markers
42 mb_substitute_character("entity");
44 // The output here will actually include an HTML entity #x3AC;
H A Dmb_substitute_character.phpt22 var_dump(mb_substitute_character('entity'));
43 string(6) "entity"
45 mb_substitute_character(): Argument #1 ($substitute_character) must be "none", "long", "entity" or …
H A Dmb_substitute_character_basic.phpt39 mb_substitute_character(): Argument #1 ($substitute_character) must be "none", "long", "entity" or …
H A Dmb_substitute_character_variation_strict_types.phpt150 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
152 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
154 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
156 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
158 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
160 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
H A Dmb_substitute_character_variation_weak_types.phpt126 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
128 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
154 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
156 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
158 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
160 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
162 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
164 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
166 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
/php-src/ext/simplexml/tests/
H A D003.phpt11 <!ENTITY included-entity "This is text included from an entity">
19 &included-entity;
53 ["included-entity"]=>
55 ["included-entity"]=>
56 string(36) "This is text included from an entity"
H A Dbug79971_1.phpt25 Warning: simplexml_load_file(): I/O warning : failed to load external entity "%s/bug79971_1.xml%%r0…
H A Dlibxml_global_state_entity_loader_bypass.phpt2 GHSA-3qrf-m4j2-pcrr (libxml global state entity loader bypass)
/php-src/ext/soap/tests/bugs/
H A Dbug42151.phpt29 SOAP-ERROR: Parsing WSDL: Couldn't load from 'httpx://' : failed to load external entity "httpx://"
/php-src/ext/standard/
H A Dhtml.c745 while (s->entity) { in resolve_named_entity_html()
1036 *entity = NULL; in find_entity_for_char()
1044 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char()
1069 *entity = (const unsigned char *) s->normal_entry.entity; in find_entity_for_char()
1092 *entity = NULL; in find_entity_for_char_basic()
1097 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic()
1406 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data()
1407 entity[l + 1] = ';'; in write_s3row_data()
1417 entity[l + 1] = ';'; in write_s3row_data()
1438 memcpy(&entity[1], mcpr[i].normal_entry.entity, l); in write_s3row_data()
[all …]
H A Dhtml_tables.h1102 const char *entity; member
1113 const char *entity; /* may be NULL */ member
2603 const char *entity; member
/php-src/ext/standard/libavifinfo/
H A DPATENTS36 participates in a lawsuit against another entity or any person asserting
41 brought against an initiating entity, or 2) that suit was brought to
60 2.1. Affiliate. "Affiliate" means an entity that directly or indirectly
65 entity, the power to direct management of such entity.
84 2.8. Licensee. "Licensee" means any person or entity who exercises patent
89 or entity that has a licensing obligation to the Implementation as a
/php-src/ext/standard/tests/strings/
H A Dbug73817.phpt6 foreach ($entities as $entity) {
7 if (substr($entity, -1) !== ';') {
8 var_dump($entity);
H A Dhtml_entity_decode3.phpt13 "&#x0D;", //note that HTML5 is unique in that it forbids this entity, but allows a literal U+0D
H A Dhtmlentities22.phpt12 "&#x0D;", //note that HTML5 is unique in that it forbids this entity, but allows a literal U+0D
/php-src/ext/xml/
H A Dcompat.c342 _build_entity(const xmlChar *name, size_t len, xmlChar **entity, size_t *entity_len) in _build_entity() argument
345 *entity = xmlMalloc(*entity_len + 1); in _build_entity()
346 (*entity)[0] = '&'; in _build_entity()
347 memcpy(*entity+1, name, len); in _build_entity()
348 (*entity)[len+1] = ';'; in _build_entity()
349 (*entity)[*entity_len] = '\0'; in _build_entity()
382 xmlChar *entity; in _get_entity() local
385 _build_entity(name, (size_t) xmlStrlen(name), &entity, &len); in _get_entity()
386 parser->h_default(parser->user, (const xmlChar *) entity, len); in _get_entity()
387 xmlFree(entity); in _get_entity()
/php-src/ext/xml/tests/
H A Dbug71592.phpt2 Bug #71592 (External entity processing never fails)

Completed in 126 milliseconds

1234