Lines Matching refs:LANG_SCNG

84 #define SCNG	LANG_SCNG
141 …encoding_converter(to, to_length, from, from_length, internal_encoding, LANG_SCNG(script_encoding)… in encoding_filter_script_to_internal()
146 …nverter(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()
381 if (LANG_SCNG(script_org_size) < sizeof(BOM_UTF32_LE)-1) { in zend_multibyte_detect_unicode()
386 if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_BE, sizeof(BOM_UTF32_BE)-1)) { in zend_multibyte_detect_unicode()
389 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_LE, sizeof(BOM_UTF32_LE)-1)) { in zend_multibyte_detect_unicode()
392 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_BE, sizeof(BOM_UTF16_BE)-1)) { in zend_multibyte_detect_unicode()
395 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_LE, sizeof(BOM_UTF16_LE)-1)) { in zend_multibyte_detect_unicode()
398 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF8, sizeof(BOM_UTF8)-1)) { in zend_multibyte_detect_unicode()
405 LANG_SCNG(script_org) += bom_size; in zend_multibyte_detect_unicode()
406 LANG_SCNG(script_org_size) -= bom_size; in zend_multibyte_detect_unicode()
412 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
414 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
452 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
478 …return zend_multibyte_encoding_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(scri… in zend_multibyte_find_script_encoding()
494 LANG_SCNG(script_encoding) = script_encoding; in zend_multibyte_set_filter()
495 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
496 LANG_SCNG(output_filter) = NULL; 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()
501 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter()
502 LANG_SCNG(output_filter) = encoding_filter_intermediate_to_script; in zend_multibyte_set_filter()
504 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
505 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
511 LANG_SCNG(input_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter()
512 LANG_SCNG(output_filter) = NULL; in zend_multibyte_set_filter()
513 } else if (zend_multibyte_check_lexer_compatibility(LANG_SCNG(script_encoding))) { in zend_multibyte_set_filter()
514 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
515 LANG_SCNG(output_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter()
518 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter()
519 LANG_SCNG(output_filter) = encoding_filter_intermediate_to_internal; in zend_multibyte_set_filter()
557 …"encoding \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_enco… in open_file_for_scanning()
676 LANG_SCNG(yy_state) = yycINITIAL; in zend_compile_string_to_ast()
748 …"encoding \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_enco… in zend_prepare_string_for_scanning()
882 …"encoding \"%s\" to a compatible encoding", zend_multibyte_get_encoding_name(LANG_SCNG(script_enco… in zend_multibyte_yyinput_again()
2676 LANG_SCNG(on_event) = NULL;