Lines Matching refs:from_encoding

2390 	const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name;  in PHP_FUNCTION()  local
2395 … *)&haystack.len, (char **)&needle.val, (int *)&needle.len, &offset, &from_encoding, &from_encodin… in PHP_FUNCTION()
2402 …har *)haystack.val, haystack.len, (char *)needle.val, needle.len, offset, from_encoding TSRMLS_CC); in PHP_FUNCTION()
2419 const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name; in PHP_FUNCTION() local
2424 … *)&haystack.len, (char **)&needle.val, (int *)&needle.len, &offset, &from_encoding, &from_encodin… in PHP_FUNCTION()
2428 …har *)haystack.val, haystack.len, (char *)needle.val, needle.len, offset, from_encoding TSRMLS_CC); in PHP_FUNCTION()
2564 const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name; in PHP_FUNCTION() local
2573 …ystack.val, &haystack.len, (char **)&needle.val, &needle.len, &part, &from_encoding, &from_encodin… in PHP_FUNCTION()
2582 haystack.no_encoding = needle.no_encoding = mbfl_name2no_encoding(from_encoding); in PHP_FUNCTION()
2584 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in PHP_FUNCTION()
2588 …0, (char *)haystack.val, haystack.len, (char *)needle.val, needle.len, 0, from_encoding TSRMLS_CC); in PHP_FUNCTION()
2622 const char *from_encoding = MBSTRG(current_internal_encoding)->name; in PHP_FUNCTION() local
2631 …ystack.val, &haystack.len, (char **)&needle.val, &needle.len, &part, &from_encoding, &from_encodin… in PHP_FUNCTION()
2635 haystack.no_encoding = needle.no_encoding = mbfl_name2no_encoding(from_encoding); in PHP_FUNCTION()
2637 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in PHP_FUNCTION()
2641 …1, (char *)haystack.val, haystack.len, (char *)needle.val, needle.len, 0, from_encoding TSRMLS_CC); in PHP_FUNCTION()
2951 const mbfl_encoding *from_encoding, *to_encoding; in php_mb_convert_encoding() local
2977 from_encoding = MBSTRG(current_internal_encoding); in php_mb_convert_encoding()
2978 string.no_encoding = from_encoding->no_encoding; in php_mb_convert_encoding()
2989 from_encoding = *list; in php_mb_convert_encoding()
2990 string.no_encoding = from_encoding->no_encoding; in php_mb_convert_encoding()
2993 from_encoding = mbfl_identify_encoding2(&string, list, size, MBSTRG(strict_detection)); in php_mb_convert_encoding()
2994 if (from_encoding) { in php_mb_convert_encoding()
2995 string.no_encoding = from_encoding->no_encoding; in php_mb_convert_encoding()
2998 from_encoding = &mbfl_encoding_pass; in php_mb_convert_encoding()
2999 to_encoding = from_encoding; in php_mb_convert_encoding()
3000 string.no_encoding = from_encoding->no_encoding; in php_mb_convert_encoding()
3011 convd = mbfl_buffer_converter_new2(from_encoding, to_encoding, string.len); in php_mb_convert_encoding()
3112 const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name; in PHP_FUNCTION() local
3121 &case_mode, &from_encoding, &from_encoding_len) == FAILURE) in PHP_FUNCTION()
3124 …newstr = php_unicode_convert_case(case_mode, str, (size_t) str_len, &ret_len, from_encoding TSRMLS… in PHP_FUNCTION()
3137 const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name; in PHP_FUNCTION() local
3144 &from_encoding, &from_encoding_len) == FAILURE) { in PHP_FUNCTION()
3147 …ode_convert_case(PHP_UNICODE_CASE_UPPER, str, (size_t) str_len, &ret_len, from_encoding TSRMLS_CC); in PHP_FUNCTION()
3161 const char *from_encoding = MBSTRG(current_internal_encoding)->mime_name; in PHP_FUNCTION() local
3168 &from_encoding, &from_encoding_len) == FAILURE) { in PHP_FUNCTION()
3171 …ode_convert_case(PHP_UNICODE_CASE_LOWER, str, (size_t) str_len, &ret_len, from_encoding TSRMLS_CC); in PHP_FUNCTION()
3495 const mbfl_encoding *from_encoding, *to_encoding; in PHP_FUNCTION() local
3519 from_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3520 string.no_encoding = from_encoding->no_encoding; in PHP_FUNCTION()
3536 from_encoding = &mbfl_encoding_pass; in PHP_FUNCTION()
3538 from_encoding = *elist; in PHP_FUNCTION()
3541 from_encoding = NULL; in PHP_FUNCTION()
3598 from_encoding = mbfl_encoding_detector_judge2(identd); in PHP_FUNCTION()
3603 if (!from_encoding) { in PHP_FUNCTION()
3605 from_encoding = &mbfl_encoding_pass; in PHP_FUNCTION()
3613 if (from_encoding != &mbfl_encoding_pass) { in PHP_FUNCTION()
3614 convd = mbfl_buffer_converter_new2(from_encoding, to_encoding, 0); in PHP_FUNCTION()
3696 if (from_encoding) { in PHP_FUNCTION()
3697 RETURN_STRING(from_encoding->name, 1); in PHP_FUNCTION()
4657 …st char *old_needle, unsigned int old_needle_len, long offset, const char *from_encoding TSRMLS_DC) in php_mb_stripos()
4672 …ase(PHP_UNICODE_CASE_UPPER, (char *)old_haystack, old_haystack_len, &len, from_encoding TSRMLS_CC); in php_mb_stripos()
4683 …rt_case(PHP_UNICODE_CASE_UPPER, (char *)old_needle, old_needle_len, &len, from_encoding TSRMLS_CC); in php_mb_stripos()
4694 haystack.no_encoding = needle.no_encoding = mbfl_name2no_encoding(from_encoding); in php_mb_stripos()
4696 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown encoding \"%s\"", from_encoding); in php_mb_stripos()