Lines Matching refs:script_encoding
141 …ncoding_converter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding)); in encoding_filter_script_to_internal()
146 …verter(to, to_length, from, from_length, zend_multibyte_encoding_utf8, LANG_SCNG(script_encoding)); in encoding_filter_script_to_intermediate()
152 LANG_SCNG(script_encoding), zend_multibyte_encoding_utf8); in encoding_filter_intermediate_to_script()
245 lex_state->script_encoding = SCNG(script_encoding); in zend_save_lexical_state()
288 SCNG(script_encoding) = lex_state->script_encoding; in zend_restore_lexical_state()
377 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode() local
387 script_encoding = zend_multibyte_encoding_utf32be; in zend_multibyte_detect_unicode()
390 script_encoding = zend_multibyte_encoding_utf32le; in zend_multibyte_detect_unicode()
393 script_encoding = zend_multibyte_encoding_utf16be; in zend_multibyte_detect_unicode()
396 script_encoding = zend_multibyte_encoding_utf16le; in zend_multibyte_detect_unicode()
399 script_encoding = zend_multibyte_encoding_utf8; in zend_multibyte_detect_unicode()
403 if (script_encoding) { in zend_multibyte_detect_unicode()
408 return script_encoding; in zend_multibyte_detect_unicode()
460 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding() local
464 script_encoding = zend_multibyte_detect_unicode(); in zend_multibyte_find_script_encoding()
465 if (script_encoding != NULL) { in zend_multibyte_find_script_encoding()
467 return script_encoding; in zend_multibyte_find_script_encoding()
487 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter() local
489 if (!script_encoding) { in zend_multibyte_set_filter()
494 LANG_SCNG(script_encoding) = script_encoding; in zend_multibyte_set_filter()
498 if (!internal_encoding || LANG_SCNG(script_encoding) == internal_encoding) { in zend_multibyte_set_filter()
499 if (!zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
513 } else if (zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
557 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in open_file_for_scanning()
748 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_prepare_string_for_scanning()
882 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_multibyte_yyinput_again()