Lines Matching refs:script_encoding
142 …ncoding_converter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding)); in encoding_filter_script_to_internal()
147 …verter(to, to_length, from, from_length, zend_multibyte_encoding_utf8, LANG_SCNG(script_encoding)); in encoding_filter_script_to_intermediate()
153 LANG_SCNG(script_encoding), zend_multibyte_encoding_utf8); in encoding_filter_intermediate_to_script()
240 lex_state->script_encoding = SCNG(script_encoding); in zend_save_lexical_state()
280 SCNG(script_encoding) = lex_state->script_encoding; in zend_restore_lexical_state()
366 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode() local
376 script_encoding = zend_multibyte_encoding_utf32be; in zend_multibyte_detect_unicode()
379 script_encoding = zend_multibyte_encoding_utf32le; in zend_multibyte_detect_unicode()
382 script_encoding = zend_multibyte_encoding_utf16be; in zend_multibyte_detect_unicode()
385 script_encoding = zend_multibyte_encoding_utf16le; in zend_multibyte_detect_unicode()
388 script_encoding = zend_multibyte_encoding_utf8; in zend_multibyte_detect_unicode()
392 if (script_encoding) { in zend_multibyte_detect_unicode()
397 return script_encoding; in zend_multibyte_detect_unicode()
449 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding() local
453 script_encoding = zend_multibyte_detect_unicode(); in zend_multibyte_find_script_encoding()
454 if (script_encoding != NULL) { in zend_multibyte_find_script_encoding()
456 return script_encoding; in zend_multibyte_find_script_encoding()
476 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter() local
478 if (!script_encoding) { in zend_multibyte_set_filter()
483 LANG_SCNG(script_encoding) = script_encoding; in zend_multibyte_set_filter()
487 if (!internal_encoding || LANG_SCNG(script_encoding) == internal_encoding) { in zend_multibyte_set_filter()
488 if (!zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
502 } else if (zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
550 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in open_file_for_scanning()
718 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_prepare_string_for_scanning()
858 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_multibyte_yyinput_again()