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/standard/
H A Dhtml.c25 * HTML entity resources:
863 while (s->entity) {
865 if (memcmp(start, s->entity, length) == 0) {
971 /* numerical entity */
980 stage3_table_be_apos_00000[code].data.ent.entity == NULL))
983 /* are we allowed to decode this entity in this document type?
985 * a numeric entity but is allowed literally (U+000D). The
1032 /* jump over the valid entity; may go beyond size of buffer; np */
1074 * Entity table to use. Note that entity tables are defined in terms of
1148 const unsigned char **entity,
1144 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
1207 find_entity_for_char_basic( unsigned int k, const entity_stage3_row *table, const unsigned char **entity, size_t *entity_len) argument
1577 char entity[LONGEST_ENTITY_LENGTH + 2] = {'&'}; local
[all...]
H A Dhtml_tables.h80 /* longest entity name length excluding & and ; */
1097 /* The default entity may be NULL. Binary search is still possible while
1106 const char *entity; member in struct:__anon5::__anon7
1114 char ambiguous; /* if 0 look into entity */
1117 const char *entity; /* may be NULL */ member in struct:__anon8::__anon9::__anon10
1142 /* {{{ Start of HTML5 multi-stage table for codepoint -> entity */
2602 /* end of HTML5 multi-stage table for codepoint -> entity }}} */
2604 /* {{{ HTML5 hash table for entity -> codepoint */
2607 const char *entity; member in struct:__anon12
5330 /* end of HTML5 hash table for entity
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c343 _build_entity(const xmlChar *name, int len, xmlChar **entity, int *entity_len) argument
346 *entity = xmlMalloc(*entity_len + 1);
347 (*entity)[0] = '&';
348 memcpy(*entity+1, name, len);
349 (*entity)[len+1] = ';';
350 (*entity)[*entity_len] = '\0';
380 xmlChar *entity; local
383 _build_entity(name, xmlStrlen(name), &entity, &len);
384 parser->h_default(parser->user, (const xmlChar *) entity, len);
385 xmlFree(entity);
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1384 } else if (strcasecmp("entity", new_value->val) == 0) {
1989 RETURN_STRING("entity");
2002 } else if (strncasecmp("entity", Z_STRVAL_P(arg1), Z_STRLEN_P(arg1)) == 0) {
3313 Returns an array of all supported entity encodings */
3776 /* {{{ HTML numeric entity */
4420 add_assoc_string(return_value, "substitute_character", "entity");
4501 RETVAL_STRING("entity");

Completed in 66 milliseconds