Lines Matching refs:script_encoding

130 …nverter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding) TSRMLS_CC);  in BEGIN_EXTERN_C()
135 … to_length, from, from_length, zend_multibyte_encoding_utf8, LANG_SCNG(script_encoding) TSRMLS_CC); in encoding_filter_script_to_intermediate()
141 LANG_SCNG(script_encoding), zend_multibyte_encoding_utf8 TSRMLS_CC); in encoding_filter_intermediate_to_script()
222 lex_state->script_encoding = SCNG(script_encoding); in zend_save_lexical_state()
252 SCNG(script_encoding) = lex_state->script_encoding; in zend_restore_lexical_state()
326 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode() local
336 script_encoding = zend_multibyte_encoding_utf32be; in zend_multibyte_detect_unicode()
339 script_encoding = zend_multibyte_encoding_utf32le; in zend_multibyte_detect_unicode()
342 script_encoding = zend_multibyte_encoding_utf16be; in zend_multibyte_detect_unicode()
345 script_encoding = zend_multibyte_encoding_utf16le; in zend_multibyte_detect_unicode()
348 script_encoding = zend_multibyte_encoding_utf8; in zend_multibyte_detect_unicode()
352 if (script_encoding) { in zend_multibyte_detect_unicode()
357 return script_encoding; in zend_multibyte_detect_unicode()
409 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding() local
413 script_encoding = zend_multibyte_detect_unicode(TSRMLS_C); in zend_multibyte_find_script_encoding()
414 if (script_encoding != NULL) { in zend_multibyte_find_script_encoding()
416 return script_encoding; in zend_multibyte_find_script_encoding()
436 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter() local
438 if (!script_encoding) { in zend_multibyte_set_filter()
443 LANG_SCNG(script_encoding) = script_encoding; in zend_multibyte_set_filter()
447 if (!internal_encoding || LANG_SCNG(script_encoding) == internal_encoding) { in zend_multibyte_set_filter()
448 if (!zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
462 } else if (zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
514 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in open_file_for_scanning()
682 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_prepare_string_for_scanning()
851 …ng \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_encoding))); in zend_multibyte_yyinput_again()