Lines Matching refs:script_org

220 	lex_state->script_org = SCNG(script_org);  in zend_save_lexical_state()
260 SCNG(script_org) = lex_state->script_org; in zend_restore_lexical_state()
361 if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_BE, sizeof(BOM_UTF32_BE)-1)) { in zend_multibyte_detect_unicode()
364 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF32_LE, sizeof(BOM_UTF32_LE)-1)) { in zend_multibyte_detect_unicode()
367 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_BE, sizeof(BOM_UTF16_BE)-1)) { in zend_multibyte_detect_unicode()
370 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF16_LE, sizeof(BOM_UTF16_LE)-1)) { in zend_multibyte_detect_unicode()
373 } else if (!memcmp(LANG_SCNG(script_org), BOM_UTF8, sizeof(BOM_UTF8)-1)) { in zend_multibyte_detect_unicode()
380 LANG_SCNG(script_org) += bom_size; in zend_multibyte_detect_unicode()
387 if ((pos1 = memchr(LANG_SCNG(script_org), 0, LANG_SCNG(script_org_size)))) { in zend_multibyte_detect_unicode()
389 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
427 return zend_multibyte_detect_utf_encoding(LANG_SCNG(script_org), LANG_SCNG(script_org_size)); in zend_multibyte_detect_unicode()
453 …return zend_multibyte_encoding_detector(LANG_SCNG(script_org), LANG_SCNG(script_org_size), CG(scri… in zend_multibyte_find_script_encoding()
531 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning()
538 …nput_filter)(&SCNG(script_filtered), &SCNG(script_filtered_size), SCNG(script_org), SCNG(script_or… in open_file_for_scanning()
701 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning()
708 …nput_filter)(&SCNG(script_filtered), &SCNG(script_filtered_size), SCNG(script_org), SCNG(script_or… in zend_prepare_string_for_scanning()
736 if ((size_t)-1 == SCNG(input_filter)(&p, &length, SCNG(script_org), offset)) { in zend_get_scanned_file_offset()
839 new_yy_start = SCNG(script_org); in zend_multibyte_yyinput_again()
841 …if ((size_t)-1 == SCNG(input_filter)(&new_yy_start, &length, SCNG(script_org), SCNG(script_org_siz… in zend_multibyte_yyinput_again()