Searched refs:entity (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c182 mbfl_html_entity_entry *entity; local
197 /* numeric entity */
216 /* numeric entity */
243 /* named entity */
245 entity = (mbfl_html_entity_entry *)mbfl_html_entity_list;
246 while (entity->name) {
247 if (!strcmp(buffer+1, entity->name)) {
248 ent = entity->code;
251 entity++;
/PHP_TRUNK/ext/xml/
H A Dcompat.c352 _build_entity(const xmlChar *name, int len, xmlChar **entity, int *entity_len) argument
355 *entity = xmlMalloc(*entity_len + 1);
356 (*entity)[0] = '&';
357 memcpy(*entity+1, name, len);
358 (*entity)[len+1] = ';';
359 (*entity)[*entity_len] = '\0';
389 xmlChar *entity; local
392 _build_entity(name, xmlStrlen(name), &entity, &len);
393 parser->h_default(parser->user, (const xmlChar *) entity, len);
394 xmlFree(entity);
[all...]
/PHP_TRUNK/ext/standard/
H A Dhtml_tables.h80 /* longest entity name length excluding & and ; */
1098 * the table and the default entity (maybe NULL) and the rest being
1108 const char *entity; member in struct:__anon5::__anon7
1115 char ambiguous; /* if 0 look into entity */
1118 const char *entity; /* may be NULL */ member in struct:__anon8::__anon9::__anon10
1143 /* {{{ Start of HTML5 multi-stage table for codepoint -> entity */
2603 /* end of HTML5 multi-stage table for codepoint -> entity }}} */
2605 /* {{{ HTML5 hash table for entity -> codepoint */
2608 const char *entity; member in struct:__anon12
5331 /* end of HTML5 hash table for entity
[all...]
H A Dhtml.c25 * HTML entity resources:
862 while (s->entity) {
864 if (memcmp(start, s->entity, length) == 0) {
970 /* numerical entity */
979 stage3_table_be_apos_00000[code].data.ent.entity == NULL))
982 /* are we allowed to decode this entity in this document type?
984 * a numeric entity but is allowed literally (U+000D). The
1031 /* jump over the valid entity; may go beyond size of buffer; np */
1073 * Entity table to use. Note that entity tables are defined in terms of
1147 const unsigned char **entity,
1143 find_entity_for_char( unsigned int k, enum entity_charset charset, const entity_stage1_row *table, const unsigned char **entity, size_t *entity_len, unsigned char *old, size_t oldlen, size_t *cursor) argument
1206 find_entity_for_char_basic( unsigned int k, const entity_stage3_row *table, const unsigned char **entity, size_t *entity_len) argument
1576 char entity[LONGEST_ENTITY_LENGTH + 2] = {'&'}; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1388 } else if (strcasecmp("entity", new_value->val) == 0) {
1981 RETURN_STRING("entity");
1994 } else if (strncasecmp("entity", Z_STRVAL_P(arg1), Z_STRLEN_P(arg1)) == 0) {
3305 Returns an array of all supported entity encodings */
3768 /* {{{ HTML numeric entity */
4408 add_assoc_string(return_value, "substitute_character", "entity");
4489 RETVAL_STRING("entity");

Completed in 37 milliseconds