Lines Matching refs:str
32 smart_str str = {0}; in php_filter_encode_html() local
43 smart_str_appendl(&str, "&#", 2); in php_filter_encode_html()
44 smart_str_append_unsigned(&str, (unsigned long)*s); in php_filter_encode_html()
45 smart_str_appendc(&str, ';'); in php_filter_encode_html()
48 smart_str_appendc(&str, *s); in php_filter_encode_html()
53 smart_str_0(&str); in php_filter_encode_html()
55 Z_STRVAL_P(value) = str.c; in php_filter_encode_html()
56 Z_STRLEN_P(value) = str.len; in php_filter_encode_html()
69 unsigned char *str, *p; in php_filter_encode_url() local
90 p = str = (unsigned char *) safe_emalloc(3, Z_STRLEN_P(value), 1); in php_filter_encode_url()
106 Z_STRVAL_P(value) = (char *)str; in php_filter_encode_url()
107 Z_STRLEN_P(value) = p - str; in php_filter_encode_url()
112 unsigned char *buf, *str; in php_filter_strip() local
120 str = (unsigned char *)Z_STRVAL_P(value); in php_filter_strip()
124 if ((str[i] >= 127) && (flags & FILTER_FLAG_STRIP_HIGH)) { in php_filter_strip()
125 } else if ((str[i] < 32) && (flags & FILTER_FLAG_STRIP_LOW)) { in php_filter_strip()
126 } else if ((str[i] == '`') && (flags & FILTER_FLAG_STRIP_BACKTICK)) { in php_filter_strip()
128 buf[c] = str[i]; in php_filter_strip()
158 unsigned char *buf, *str; in filter_map_apply() local
161 str = (unsigned char *)Z_STRVAL_P(value); in filter_map_apply()
165 if ((*map)[str[i]]) { in filter_map_apply()
166 buf[c] = str[i]; in filter_map_apply()