Searched defs:allowed_tags (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dfilters.c173 const char *allowed_tags; member in struct:_php_strip_tags_filter
179 static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, size_t allowed_tags_len, int persistent) argument
181 if (allowed_tags != NULL) {
182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
185 memcpy((char *)inst->allowed_tags, allowed_tags, allowed_tags_len);
188 inst->allowed_tags = NULL;
198 if (inst->allowed_tags != NULL) {
199 pefree((void *)inst->allowed_tags, inst->persistent);
220 bucket->buflen = php_strip_tags(bucket->buf, bucket->buflen, &(inst->state), (char *)inst->allowed_tags, ins
[all...]
H A Dfile.c1100 char *allowed_tags=NULL; local
1131 allowed_tags = estrndup(allowed->val, allowed->len);
1134 allowed_tags = allowed->val;
1139 retval_len = php_strip_tags(retval, actual_len, &stream->fgetss_state, allowed_tags, allowed_tags_len);
1143 efree(allowed_tags);
H A Dstring.c4139 char *allowed_tags=NULL; local
4151 allowed_tags = estrndup(Z_STRVAL_P(allow), Z_STRLEN_P(allow));
4154 allowed_tags = Z_STRVAL_P(allow);
4160 buf->len = php_strip_tags_ex(buf->val, str->len, NULL, allowed_tags, allowed_tags_len, 0);
4164 efree(allowed_tags);

Completed in 15 milliseconds