Lines Matching refs:from_charset

2586 	char *from_charset;  member
2598 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()
2605 const char *from_charset, size_t from_charset_len, int persistent) in php_iconv_stream_filter_ctor() argument
2611 if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2619 memcpy(self->from_charset, from_charset, from_charset_len); in php_iconv_stream_filter_ctor()
2620 self->from_charset[from_charset_len] = '\0'; in php_iconv_stream_filter_ctor()
2622 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor()
2623 pefree(self->from_charset, persistent); in php_iconv_stream_filter_ctor()
2672 …nv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequence", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2679 …G, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2691 …nv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequence", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2732 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2737 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2754 …nv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequence", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2760 …G, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2768 …iconv stream filter (\"%s\"=>\"%s\"): unexpected octet values", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2809 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2814 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2910 char *from_charset = NULL, *to_charset = NULL; in php_iconv_stream_filter_factory_create() local
2913 if ((from_charset = strchr(name, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2916 ++from_charset; in php_iconv_stream_filter_factory_create()
2917 if ((from_charset = strchr(from_charset, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2920 ++from_charset; in php_iconv_stream_filter_factory_create()
2921 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
2924 from_charset_len = to_charset - from_charset; in php_iconv_stream_filter_factory_create()
2936 …if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len,… in php_iconv_stream_filter_factory_create()