Lines Matching refs:script_encoding
132 …ncoding_converter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding)); in BEGIN_EXTERN_C()
137 …verter(to, to_length, from, from_length, zend_multibyte_encoding_utf8, LANG_SCNG(script_encoding)); in encoding_filter_script_to_intermediate()
143 LANG_SCNG(script_encoding), zend_multibyte_encoding_utf8); in encoding_filter_intermediate_to_script()
227 lex_state->script_encoding = SCNG(script_encoding); in zend_save_lexical_state()
266 SCNG(script_encoding) = lex_state->script_encoding; in zend_restore_lexical_state()
349 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode() local
359 script_encoding = zend_multibyte_encoding_utf32be; in zend_multibyte_detect_unicode()
362 script_encoding = zend_multibyte_encoding_utf32le; in zend_multibyte_detect_unicode()
365 script_encoding = zend_multibyte_encoding_utf16be; in zend_multibyte_detect_unicode()
368 script_encoding = zend_multibyte_encoding_utf16le; in zend_multibyte_detect_unicode()
371 script_encoding = zend_multibyte_encoding_utf8; in zend_multibyte_detect_unicode()
375 if (script_encoding) { in zend_multibyte_detect_unicode()
380 return script_encoding; in zend_multibyte_detect_unicode()
432 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding() local
436 script_encoding = zend_multibyte_detect_unicode(); in zend_multibyte_find_script_encoding()
437 if (script_encoding != NULL) { in zend_multibyte_find_script_encoding()
439 return script_encoding; in zend_multibyte_find_script_encoding()
459 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter() local
461 if (!script_encoding) { in zend_multibyte_set_filter()
466 LANG_SCNG(script_encoding) = script_encoding; in zend_multibyte_set_filter()
470 if (!internal_encoding || LANG_SCNG(script_encoding) == internal_encoding) { in zend_multibyte_set_filter()
471 if (!zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
485 } else if (zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
537 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in open_file_for_scanning()
699 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_prepare_string_for_scanning()
866 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_multibyte_yyinput_again()