Lines Matching refs:from_charset
2463 char *from_charset; member
2475 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()
2482 const char *from_charset, size_t from_charset_len, int persistent) in php_iconv_stream_filter_ctor() argument
2488 if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2496 memcpy(self->from_charset, from_charset, from_charset_len); in php_iconv_stream_filter_ctor()
2497 self->from_charset[from_charset_len] = '\0'; in php_iconv_stream_filter_ctor()
2499 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor()
2500 pefree(self->from_charset, persistent); in php_iconv_stream_filter_ctor()
2549 …nv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequence", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2556 …G, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2606 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2611 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2628 …nv stream filter (\"%s\"=>\"%s\"): invalid multibyte sequence", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2634 …G, "iconv stream filter (\"%s\"=>\"%s\"): insufficient buffer", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2642 …iconv stream filter (\"%s\"=>\"%s\"): unexpected octet values", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2683 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2688 …WARNING, "iconv stream filter (\"%s\"=>\"%s\"): unknown error", self->from_charset, self->to_chars… in php_iconv_stream_filter_append_bucket()
2784 char *from_charset = NULL, *to_charset = NULL; in php_iconv_stream_filter_factory_create() local
2787 if ((from_charset = strchr(name, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2790 ++from_charset; in php_iconv_stream_filter_factory_create()
2791 if ((from_charset = strchr(from_charset, '.')) == NULL) { in php_iconv_stream_filter_factory_create()
2794 ++from_charset; in php_iconv_stream_filter_factory_create()
2795 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
2798 from_charset_len = to_charset - from_charset; in php_iconv_stream_filter_factory_create()
2810 …if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len,… in php_iconv_stream_filter_factory_create()