Lines Matching refs:script_org

223 	lex_state->script_org = SCNG(script_org);  in zend_save_lexical_state()
263 SCNG(script_org) = lex_state->script_org; in zend_restore_lexical_state()
364 if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_BE, sizeof(BOM_UTF32_BE)-1)) { in zend_multibyte_detect_unicode()
367 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_LE, sizeof(BOM_UTF32_LE)-1)) { in zend_multibyte_detect_unicode()
370 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_BE, sizeof(BOM_UTF16_BE)-1)) { in zend_multibyte_detect_unicode()
373 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_LE, sizeof(BOM_UTF16_LE)-1)) { in zend_multibyte_detect_unicode()
376 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF8, sizeof(BOM_UTF8)-1)) { in zend_multibyte_detect_unicode()
383 LANG_SCNG(script_org) += bom_size; in zend_multibyte_detect_unicode()
390 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
392 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
430 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
456 …return zend_multibyte_encoding_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(scri… in zend_multibyte_find_script_encoding()
534 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning()
541 …nput_filter)(&SCNG(script_filtered), &SCNG(script_filtered_size), SCNG(script_org), SCNG(script_or… in open_file_for_scanning()
704 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning()
711 …nput_filter)(&SCNG(script_filtered), &SCNG(script_filtered_size), SCNG(script_org), SCNG(script_or… in zend_prepare_string_for_scanning()
739 if ((size_t)-1 == SCNG(input_filter)(&p, &length, SCNG(script_org), offset)) { in zend_get_scanned_file_offset()
842 new_yy_start = SCNG(script_org); in zend_multibyte_yyinput_again()
844 …if ((size_t)-1 == SCNG(input_filter)(&new_yy_start, &length, SCNG(script_org), SCNG(script_org_siz… in zend_multibyte_yyinput_again()